-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f7fe17
commit 672fce8
Showing
19 changed files
with
344 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,6 @@ | |
"overrides": [{ | ||
"files": [ | ||
"scripts/**", | ||
"smoke-tests/**", | ||
"bin/**", | ||
"test/**" | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* This file is automatically added by @npmcli/template-oss. Do not edit. */ | ||
|
||
const { readdirSync: readdir } = require('fs') | ||
|
||
const localConfigs = readdir(__dirname) | ||
.filter((file) => file.startsWith('.eslintrc.local.')) | ||
.map((file) => `./${file}`) | ||
|
||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'@npmcli', | ||
...localConfigs, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file is automatically added by @npmcli/template-oss. Do not edit. | ||
|
||
# ignore everything in the root | ||
/* | ||
|
||
# keep these | ||
!/.eslintrc.local.* | ||
!**/.gitignore | ||
!/docs/ | ||
!/tap-snapshots/ | ||
!/test/ | ||
!/map.js | ||
!/scripts/ | ||
!/README* | ||
!/LICENSE* | ||
!/CHANGELOG* | ||
!/.eslintrc.js | ||
!/.gitignore | ||
!/bin/ | ||
!/lib/ | ||
!/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"name": "smoke-tests", | ||
"description": "The npm cli smoke tests", | ||
"version": "1.0.0", | ||
"private": true, | ||
"scripts": { | ||
"lint": "eslint \"**/*.js\"", | ||
"postlint": "template-oss-check", | ||
"template-oss-apply": "template-oss-apply --force", | ||
"lintfix": "npm run lint -- --fix", | ||
"preversion": "npm test", | ||
"postversion": "git push origin --follow-tags", | ||
"snap": "tap", | ||
"test": "tap", | ||
"posttest": "npm run lint" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/npm/cli.git", | ||
"directory": "smoke-tests" | ||
}, | ||
"devDependencies": { | ||
"@npmcli/eslint-config": "^3.0.1", | ||
"@npmcli/promise-spawn": "^3.0.0", | ||
"@npmcli/template-oss": "3.3.2", | ||
"minify-registry-metadata": "^2.2.0", | ||
"rimraf": "^3.0.2", | ||
"tap": "^16.0.1", | ||
"which": "^2.0.2" | ||
}, | ||
"author": "GitHub Inc.", | ||
"license": "ISC", | ||
"templateOSS": { | ||
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", | ||
"version": "3.3.2", | ||
"workspaceRepo": false | ||
}, | ||
"tap": { | ||
"no-coverage": true, | ||
"files": "test/index.js" | ||
}, | ||
"files": [ | ||
"bin/", | ||
"lib/" | ||
], | ||
"engines": { | ||
"node": "^12.13.0 || ^14.15.0 || >=16.0.0" | ||
} | ||
} |
Oops, something went wrong.