From aac01b89caf6336a2eb34d696296303cdadd5c08 Mon Sep 17 00:00:00 2001 From: Luke Karrys Date: Mon, 28 Mar 2022 15:55:02 -0700 Subject: 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. --- package.json | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) (limited to 'package.json') 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": { -- cgit v1.2.3