@@ -12,7 +12,7 @@ Array [
1212 The following package.json fields are incorrect:
1313 Field: "author" Expected: "GitHub Inc." Found: "Bob"
1414 Field: "files" Expected: ["bin","lib"] Found: undefined
15- Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
15+ Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","template-copy":"npm-template-copy --force"," lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
1616 Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
1717 ),
1818 "solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
@@ -29,6 +29,7 @@ Array [
2929 Field: "files" Expected: ["bin","lib"] Found: undefined
3030 Field: "scripts.lint" Expected: "eslint '**/*.js'" Found: undefined
3131 Field: "scripts.postlint" Expected: "npm-template-check" Found: undefined
32+ Field: "scripts.template-copy" Expected: "npm-template-copy --force" Found: undefined
3233 Field: "scripts.lintfix" Expected: "npm run lint -- --fix" Found: undefined
3334 Field: "scripts.preversion" Expected: "npm test" Found: undefined
3435 Field: "scripts.postversion" Expected: "npm publish" Found: undefined
@@ -50,7 +51,7 @@ Array [
5051 The following package.json fields are incorrect:
5152 Field: "author" Expected: "GitHub Inc." Found: undefined
5253 Field: "files" Expected: ["bin","lib"] Found: undefined
53- Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
54+ Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","template-copy":"npm-template-copy --force"," lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
5455 Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
5556 ),
5657 "solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
@@ -65,7 +66,7 @@ Array [
6566 The following package.json fields are incorrect:
6667 Field: "author" Expected: "GitHub Inc." Found: undefined
6768 Field: "files" Expected: ["bin","lib"] Found: undefined
68- Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
69+ Field: "scripts" Expected: {"lint":"eslint '**/*.js'","postlint":"npm-template-check","template-copy":"npm-template-copy --force"," lintfix":"npm run lint -- --fix","preversion":"npm test","postversion":"npm publish","prepublishOnly":"git push origin --follow-tags","snap":"tap","test":"tap","posttest":"npm run lint"} Found: undefined
6970 Field: "engines" Expected: {"node":"^12.13.0 || ^14.15.0 || >=16"} Found: undefined
7071 ),
7172 "solution": "npm rm @npmcli/template-oss && npm i -D @npmcli/template-oss",
0 commit comments