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. --- workspaces/libnpmsearch/package.json | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'workspaces/libnpmsearch/package.json') diff --git a/workspaces/libnpmsearch/package.json b/workspaces/libnpmsearch/package.json index b25fa709f..9d44e4057 100644 --- a/workspaces/libnpmsearch/package.json +++ b/workspaces/libnpmsearch/package.json @@ -5,8 +5,8 @@ "author": "GitHub Inc.", "main": "lib/index.js", "files": [ - "bin", - "lib" + "bin/", + "lib/" ], "keywords": [ "npm", @@ -21,23 +21,24 @@ "prepublishOnly": "git push origin --follow-tags", "posttest": "npm run lint", "test": "tap", - "lint": "eslint '**/*.js'", - "postlint": "npm-template-check", + "lint": "eslint \"**/*.js\"", + "postlint": "template-oss-check", "lintfix": "npm run lint -- --fix", "snap": "tap", - "template-copy": "npm-template-copy --force" + "template-oss-apply": "template-oss-apply --force" }, "tap": { "check-coverage": true }, "devDependencies": { - "@npmcli/template-oss": "^2.4.2", + "@npmcli/eslint-config": "^3.0.1", + "@npmcli/template-oss": "3.2.1", "nock": "^13.2.4", "tap": "^15" }, "repository": { "type": "git", - "url": "https://github.com/npm/cli", + "url": "https://github.com/npm/cli.git", "directory": "workspaces/libnpmsearch" }, "bugs": "https://github.com/npm/libnpmsearch/issues", @@ -46,9 +47,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" } } -- cgit v1.2.3