Skip to content

Commit 395b90b

Browse files
committed
deps: @npmcli/name-from-folder@2.0.0
1 parent a2b76a7 commit 395b90b

File tree

9 files changed

+37
-95
lines changed

9 files changed

+37
-95
lines changed

node_modules/.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@
2121
!/@npmcli/git
2222
!/@npmcli/installed-package-contents
2323
!/@npmcli/map-workspaces
24-
!/@npmcli/map-workspaces/node_modules/
25-
/@npmcli/map-workspaces/node_modules/*
26-
!/@npmcli/map-workspaces/node_modules/@npmcli/
27-
/@npmcli/map-workspaces/node_modules/@npmcli/*
28-
!/@npmcli/map-workspaces/node_modules/@npmcli/name-from-folder
2924
!/@npmcli/metavuln-calculator
3025
!/@npmcli/name-from-folder
3126
!/@npmcli/node-gyp

node_modules/@npmcli/map-workspaces/node_modules/@npmcli/name-from-folder/LICENSE

Lines changed: 0 additions & 15 deletions
This file was deleted.

node_modules/@npmcli/map-workspaces/node_modules/@npmcli/name-from-folder/package.json

Lines changed: 0 additions & 43 deletions
This file was deleted.

node_modules/@npmcli/name-from-folder/index.js

Lines changed: 0 additions & 7 deletions
This file was deleted.
Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,43 @@
11
{
22
"name": "@npmcli/name-from-folder",
3-
"version": "1.0.1",
3+
"version": "2.0.0",
44
"files": [
5-
"index.js"
5+
"bin/",
6+
"lib/"
67
],
8+
"main": "lib/index.js",
79
"description": "Get the package name from a folder path",
810
"repository": {
911
"type": "git",
10-
"url": "git+https://github.com/npm/name-from-folder"
12+
"url": "https://github.com/npm/name-from-folder.git"
1113
},
12-
"author": "Isaac Z. Schlueter <i@izs.me> (https://izs.me)",
14+
"author": "GitHub Inc.",
1315
"license": "ISC",
1416
"scripts": {
1517
"test": "tap",
1618
"snap": "tap",
17-
"preversion": "npm test",
18-
"postversion": "npm publish",
19-
"prepublishOnly": "git push origin --follow-tags"
20-
},
21-
"tap": {
22-
"check-coverage": true
19+
"lint": "eslint \"**/*.js\"",
20+
"postlint": "template-oss-check",
21+
"template-oss-apply": "template-oss-apply --force",
22+
"lintfix": "npm run lint -- --fix",
23+
"posttest": "npm run lint"
2324
},
2425
"devDependencies": {
25-
"tap": "^14.10.7"
26+
"@npmcli/eslint-config": "^4.0.1",
27+
"@npmcli/template-oss": "4.11.0",
28+
"tap": "^16.3.2"
29+
},
30+
"engines": {
31+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
32+
},
33+
"templateOSS": {
34+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
35+
"version": "4.11.0"
36+
},
37+
"tap": {
38+
"nyc-arg": [
39+
"--exclude",
40+
"tap-snapshots/**"
41+
]
2642
}
2743
}

package-lock.json

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2177,15 +2177,6 @@
21772177
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
21782178
}
21792179
},
2180-
"node_modules/@npmcli/map-workspaces/node_modules/@npmcli/name-from-folder": {
2181-
"version": "2.0.0",
2182-
"resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz",
2183-
"integrity": "sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==",
2184-
"inBundle": true,
2185-
"engines": {
2186-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
2187-
}
2188-
},
21892180
"node_modules/@npmcli/metavuln-calculator": {
21902181
"version": "5.0.0",
21912182
"license": "ISC",
@@ -2204,8 +2195,13 @@
22042195
"link": true
22052196
},
22062197
"node_modules/@npmcli/name-from-folder": {
2207-
"version": "1.0.1",
2208-
"license": "ISC"
2198+
"version": "2.0.0",
2199+
"resolved": "https://registry.npmjs.org/@npmcli/name-from-folder/-/name-from-folder-2.0.0.tgz",
2200+
"integrity": "sha512-pwK+BfEBZJbKdNYpHHRTNBwBoqrN/iIMO0AiGvYsp3Hoaq0WbgGSWQR6SCldZovoDpY3yje5lkFUe6gsDgJ2vg==",
2201+
"inBundle": true,
2202+
"engines": {
2203+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
2204+
}
22092205
},
22102206
"node_modules/@npmcli/node-gyp": {
22112207
"version": "3.0.0",
@@ -14387,7 +14383,7 @@
1438714383
"@npmcli/installed-package-contents": "^2.0.0",
1438814384
"@npmcli/map-workspaces": "^3.0.1",
1438914385
"@npmcli/metavuln-calculator": "^5.0.0",
14390-
"@npmcli/name-from-folder": "^1.0.1",
14386+
"@npmcli/name-from-folder": "^2.0.0",
1439114387
"@npmcli/node-gyp": "^3.0.0",
1439214388
"@npmcli/package-json": "^3.0.0",
1439314389
"@npmcli/query": "^3.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
},
251251
"templateOSS": {
252252
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
253-
"version": "4.11.1",
253+
"version": "4.11.3",
254254
"content": "./scripts/template-oss/root.js"
255255
},
256256
"license": "Artistic-2.0",

workspaces/arborist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@npmcli/installed-package-contents": "^2.0.0",
99
"@npmcli/map-workspaces": "^3.0.1",
1010
"@npmcli/metavuln-calculator": "^5.0.0",
11-
"@npmcli/name-from-folder": "^1.0.1",
11+
"@npmcli/name-from-folder": "^2.0.0",
1212
"@npmcli/node-gyp": "^3.0.0",
1313
"@npmcli/package-json": "^3.0.0",
1414
"@npmcli/query": "^3.0.0",

0 commit comments

Comments
 (0)