Skip to content

Commit

Permalink
deps: @npmcli/map-workspaces@3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzy committed Feb 1, 2023
1 parent a39556f commit 1d4be7a
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 11 deletions.
@@ -0,0 +1,15 @@
The ISC License

Copyright npm, Inc.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL WARRANTIES WITH REGARD
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL NPM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
SOFTWARE.
@@ -0,0 +1,7 @@
const { basename, dirname } = require('path')

const getName = (parent, base) =>
parent.charAt(0) === '@' ? `${parent}/${base}` : base

module.exports = dir => dir ? getName(basename(dirname(dir)), basename(dir))
: false
@@ -0,0 +1,43 @@
{
"name": "@npmcli/name-from-folder",
"version": "2.0.0",
"files": [
"bin/",
"lib/"
],
"main": "lib/index.js",
"description": "Get the package name from a folder path",
"repository": {
"type": "git",
"url": "https://github.com/npm/name-from-folder.git"
},
"author": "GitHub Inc.",
"license": "ISC",
"scripts": {
"test": "tap",
"snap": "tap",
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run lint -- --fix",
"posttest": "npm run lint"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.1",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.3.2"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.11.0"
},
"tap": {
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}
10 changes: 5 additions & 5 deletions node_modules/@npmcli/map-workspaces/package.json
@@ -1,6 +1,6 @@
{
"name": "@npmcli/map-workspaces",
"version": "3.0.0",
"version": "3.0.1",
"main": "lib/index.js",
"files": [
"bin/",
Expand Down Expand Up @@ -42,18 +42,18 @@
]
},
"devDependencies": {
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "4.5.1",
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.11.0",
"tap": "^16.0.1"
},
"dependencies": {
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/name-from-folder": "^2.0.0",
"glob": "^8.0.1",
"minimatch": "^5.0.1",
"read-package-json-fast": "^3.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.5.1"
"version": "4.11.0"
}
}
6 changes: 3 additions & 3 deletions package-lock.json
Expand Up @@ -87,7 +87,7 @@
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/arborist": "^6.2.0",
"@npmcli/config": "^6.1.1",
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"@npmcli/package-json": "^3.0.0",
"@npmcli/run-script": "^6.0.0",
"abbrev": "^2.0.0",
Expand Down Expand Up @@ -14385,7 +14385,7 @@
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/fs": "^3.1.0",
"@npmcli/installed-package-contents": "^2.0.0",
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"@npmcli/metavuln-calculator": "^5.0.0",
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/node-gyp": "^3.0.0",
Expand Down Expand Up @@ -14439,7 +14439,7 @@
"version": "6.1.1",
"license": "ISC",
"dependencies": {
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"ini": "^3.0.0",
"nopt": "^7.0.0",
"proc-log": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -55,7 +55,7 @@
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/arborist": "^6.2.0",
"@npmcli/config": "^6.1.1",
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"@npmcli/package-json": "^3.0.0",
"@npmcli/run-script": "^6.0.0",
"abbrev": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Expand Up @@ -6,7 +6,7 @@
"@isaacs/string-locale-compare": "^1.1.0",
"@npmcli/fs": "^3.1.0",
"@npmcli/installed-package-contents": "^2.0.0",
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"@npmcli/metavuln-calculator": "^5.0.0",
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/node-gyp": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/config/package.json
Expand Up @@ -37,7 +37,7 @@
"tap": "^16.3.2"
},
"dependencies": {
"@npmcli/map-workspaces": "^3.0.0",
"@npmcli/map-workspaces": "^3.0.1",
"ini": "^3.0.0",
"nopt": "^7.0.0",
"proc-log": "^3.0.0",
Expand Down

0 comments on commit 1d4be7a

Please sign in to comment.