diff options
Diffstat (limited to 'workspaces/libnpmorg')
-rw-r--r-- | workspaces/libnpmorg/.eslintrc.js | 3 | ||||
-rw-r--r-- | workspaces/libnpmorg/.gitignore | 22 | ||||
-rw-r--r-- | workspaces/libnpmorg/.npmrc | 3 | ||||
-rw-r--r-- | workspaces/libnpmorg/SECURITY.md | 3 | ||||
-rw-r--r-- | workspaces/libnpmorg/package.json | 20 |
5 files changed, 23 insertions, 28 deletions
diff --git a/workspaces/libnpmorg/.eslintrc.js b/workspaces/libnpmorg/.eslintrc.js index 022767bc3..0e8ad0071 100644 --- a/workspaces/libnpmorg/.eslintrc.js +++ b/workspaces/libnpmorg/.eslintrc.js @@ -1,4 +1,4 @@ -// This file is automatically added by @npmcli/template-oss. Do not edit. +/* This file is automatically added by @npmcli/template-oss. Do not edit. */ const { readdirSync: readdir } = require('fs') @@ -7,6 +7,7 @@ const localConfigs = readdir(__dirname) .map((file) => `./${file}`) module.exports = { + root: true, extends: [ '@npmcli', ...localConfigs, diff --git a/workspaces/libnpmorg/.gitignore b/workspaces/libnpmorg/.gitignore index 6ed44c72b..617e50ca0 100644 --- a/workspaces/libnpmorg/.gitignore +++ b/workspaces/libnpmorg/.gitignore @@ -4,20 +4,18 @@ /* # keep these -!/.commitlintrc.js -!/.npmrc -!/.eslintrc* -!/.github +!/.eslintrc.local.* !**/.gitignore -!/package.json -!/docs -!/bin -!/lib +!/docs/ +!/tap-snapshots/ +!/test/ !/map.js -!/tap-snapshots -!/test -!/scripts +!/scripts/ !/README* !/LICENSE* -!/SECURITY* !/CHANGELOG* +!/.eslintrc.js +!/.gitignore +!/bin/ +!/lib/ +!/package.json diff --git a/workspaces/libnpmorg/.npmrc b/workspaces/libnpmorg/.npmrc deleted file mode 100644 index 878b7ddef..000000000 --- a/workspaces/libnpmorg/.npmrc +++ /dev/null @@ -1,3 +0,0 @@ -;This file is automatically added by @npmcli/template-oss. Do not edit. - -package-lock=false diff --git a/workspaces/libnpmorg/SECURITY.md b/workspaces/libnpmorg/SECURITY.md deleted file mode 100644 index a93106d0c..000000000 --- a/workspaces/libnpmorg/SECURITY.md +++ /dev/null @@ -1,3 +0,0 @@ -<!-- This file is automatically added by @npmcli/template-oss. Do not edit. --> - -Please send vulnerability reports through [hackerone](https://hackerone.com/github). diff --git a/workspaces/libnpmorg/package.json b/workspaces/libnpmorg/package.json index e48b6e5ac..9096f799b 100644 --- a/workspaces/libnpmorg/package.json +++ b/workspaces/libnpmorg/package.json @@ -17,30 +17,31 @@ "preversion": "npm test", "postversion": "npm publish", "prepublishOnly": "git push origin --follow-tags", - "lint": "eslint '**/*.js'", + "lint": "eslint \"**/*.js\"", "test": "tap", "posttest": "npm run lint", - "postlint": "npm-template-check", + "postlint": "template-oss-check", "lintfix": "npm run lint -- --fix", "snap": "tap", - "template-copy": "npm-template-copy --force" + "template-oss-apply": "template-oss-apply --force" }, "files": [ - "bin", - "lib" + "bin/", + "lib/" ], "tap": { "check-coverage": true }, "devDependencies": { - "@npmcli/template-oss": "^2.4.2", + "@npmcli/eslint-config": "^3.0.1", + "@npmcli/template-oss": "3.2.1", "minipass": "^3.1.1", "nock": "^13.2.4", "tap": "^15.0.0" }, "repository": { "type": "git", - "url": "https://github.com/npm/cli", + "url": "https://github.com/npm/cli.git", "directory": "workspaces/libnpmorg" }, "bugs": "https://github.com/npm/libnpmorg/issues", @@ -50,9 +51,10 @@ "npm-registry-fetch": "^13.0.0" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16" + "node": "^12.13.0 || ^14.15.0 || >=16.0.0" }, "templateOSS": { - "version": "2.9.2" + "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", + "version": "3.2.1" } } |