Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Karrys <luke@lukekarrys.com>2022-03-29 01:55:02 +0300
committerLuke Karrys <luke@lukekarrys.com>2022-03-30 00:51:53 +0300
commitaac01b89caf6336a2eb34d696296303cdadd5c08 (patch)
treec322cc32001ab169bd2e9e335ba7e4a45f31b4aa /package.json
parentb48a2bfde3745fa21ea4fc18d6f562fd82f82545 (diff)
deps: @npmcli/template-oss@3.2.1
- `no-shadow` was disabled for the cli and arborist due to the amount of changes required. These should be fixed later. - Manually updated linting in the cli root to match closer to what template-oss does - Included docs to be managed with template-oss. This required adding an empty test for now, with the plan to add real tests later.
Diffstat (limited to 'package.json')
-rw-r--r--package.json30
1 files changed, 7 insertions, 23 deletions
diff --git a/package.json b/package.json
index 2cafe3223..193a9d572 100644
--- a/package.json
+++ b/package.json
@@ -202,9 +202,8 @@
"write-file-atomic"
],
"devDependencies": {
- "@npmcli/eslint-config": "^2.0.0",
- "@npmcli/template-oss": "^2.9.2",
- "eslint": "^8.12.0",
+ "@npmcli/eslint-config": "^3.0.1",
+ "@npmcli/template-oss": "3.2.1",
"licensee": "^8.2.0",
"nock": "^13.2.4",
"spawk": "^1.7.1",
@@ -222,9 +221,9 @@
"sudotest": "sudo npm run test --",
"sudotest:nocleanup": "sudo NO_TEST_CLEANUP=1 npm run test --",
"posttest": "npm run lint",
- "eslint": "eslint",
- "lint": "npm run eslint -- bin lib scripts smoke-tests test ./*.js",
+ "lint": "eslint \"**/*.js\"",
"lintfix": "npm run lint -- --fix",
+ "lint-all": "npm run lint --if-present --workspaces --include-workspace-root",
"prelint": "rimraf test/npm_cache*",
"resetdeps": "bash scripts/resetdeps.sh",
"smoke-tests": "tap smoke-tests/index.js"
@@ -239,24 +238,9 @@
"timeout": 600
},
"templateOSS": {
- "applyRootRepoFiles": false,
- "applyWorkspaceRepoFiles": true,
- "applyRootModuleFiles": false,
- "workspaces": [
- "@npmcli/arborist",
- "libnpmaccess",
- "libnpmdiff",
- "libnpmfund",
- "libnpmexec",
- "libnpmorg",
- "libnpmhook",
- "libnpmpack",
- "libnpmpublish",
- "libnpmsearch",
- "libnpmteam",
- "libnpmversion"
- ],
- "version": "2.9.2"
+ "rootRepo": false,
+ "rootModule": false,
+ "version": "3.2.1"
},
"license": "Artistic-2.0",
"engines": {