Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
300 commits
Select commit Hold shift + click to select a range
26d2e55
deps: @npmcli/query@1.2.0
lukekarrys Aug 25, 2022
7c7f656
deps: read-package-json@5.0.2
lukekarrys Aug 25, 2022
7fbf6f7
deps: bin-links@3.0.3
lukekarrys Aug 25, 2022
b12ac01
deps: npm-pick-manifest@7.0.2
lukekarrys Aug 25, 2022
8f7abbe
deps: npm-packlist@5.1.3
lukekarrys Aug 25, 2022
f4205e5
deps: diff@5.1.0
lukekarrys Aug 25, 2022
6e2d6b4
chore: run dep graph during reset
lukekarrys Aug 25, 2022
e401a81
deps: npm-bundled@2.0.1
lukekarrys Aug 25, 2022
2c4e387
deps: hosted-git-info@5.1.0
lukekarrys Aug 25, 2022
d7e9a8e
deps: ini@3.0.1
lukekarrys Aug 25, 2022
1286f03
deps: unique-filename@2.0.1
lukekarrys Aug 25, 2022
02541a0
chore: @npmcli/template-oss@3.7.0
lukekarrys Aug 25, 2022
f628431
chore: @npmcli/template-oss@3.7.1
lukekarrys Aug 25, 2022
6f08157
chore: use release please
lukekarrys Aug 31, 2022
44bfedc
chore: release 8.19.0
github-actions[bot] Aug 31, 2022
00a2158
chore: post pull request
npm-cli-bot Aug 31, 2022
d2712d1
chore: set prerelease flag
lukekarrys Aug 31, 2022
dcc3765
chore: remove some outdated release steps
lukekarrys Aug 31, 2022
68e1677
chore: revert prerelease mode for now
lukekarrys Sep 1, 2022
4bc7029
chore: @npmcli/template-oss@3.8.1 (#5461)
lukekarrys Sep 1, 2022
d60b43f
fix: Turn off progress bar when using web based authorization (#5438)
sandeepmeduru Sep 1, 2022
155b714
chore: release 8.19.1
github-actions[bot] Sep 1, 2022
63186c8
chore: post pull request
npm-cli-bot Sep 1, 2022
eb1998a
chore: make all workspaces prerelease (#5452)
lukekarrys Sep 1, 2022
457d388
feat: update supported node engines in package.json
wraithgar Sep 8, 2022
41481f8
fix: attempt more graceful failure in older node versions
wraithgar Sep 8, 2022
c927afe
chore: fix failing tests in windows + node 18
lukekarrys Sep 7, 2022
412cbab
chore: make npm a prerelease
wraithgar Sep 8, 2022
2e92800
feat: remove `npm bin` (#5459)
wraithgar Sep 8, 2022
2a8c2fc
feat: default `install-links` to true (#5458)
wraithgar Sep 8, 2022
926f0ad
feat: remove `npm set-script` (#5456)
wraithgar Sep 8, 2022
09c46e8
feat(arborist): allow for selectors and function names with :semver p…
nlf Aug 18, 2022
285b39f
docs: add documentation for expanded :semver selector
nlf Aug 18, 2022
49bbb2f
feat: remove `npm birthday` (#5455)
wraithgar Sep 8, 2022
2db6c08
fix: loadActual cleanup
wraithgar Aug 24, 2022
548e70e
fix: link.target setter
wraithgar Aug 24, 2022
7fc2b6f
docs: remove duplicate description for `prepare` script (#5468)
kidonng Sep 8, 2022
fe926ed
fix: don't mark workspaces as invalid if installing links (#5484)
wraithgar Sep 8, 2022
e95017a
feat(workspaces): update supported node engines in package.json (#5485)
lukekarrys Sep 8, 2022
063a23b
chore: release 9.0.0-pre.0
github-actions[bot] Sep 8, 2022
8623a2b
chore: post pull request
npm-cli-bot Sep 8, 2022
601bb11
chore: template-oss@4.1.2
lukekarrys Sep 14, 2022
854521b
feat(rewrite): Rewrite libnpmaccess
wraithgar Aug 30, 2022
9c32c6c
feat(rewrite): rewrite `npm access`
wraithgar Aug 31, 2022
c3d7549
fix: add tag to publish log message
wraithgar Sep 12, 2022
64801aa
chore: remove postpublish
wraithgar Sep 12, 2022
88fa2a0
chore: remove reference to removed workspace-deps plugin
lukekarrys Sep 14, 2022
fd0eebe
docs: update registry docs header
hughlilly Sep 6, 2022
f3b0c43
fix: keep saveTypes separate for each `add`
wraithgar Sep 13, 2022
2d16b43
chore: release 9.0.0-pre.1
github-actions[bot] Sep 14, 2022
e5761b9
chore: post pull request
npm-cli-bot Sep 14, 2022
83f8942
chore: template-oss@4.3.2
lukekarrys Sep 19, 2022
d3ff2aa
chore: apply template-oss changes
lukekarrys Sep 19, 2022
314311c
feat: separate login/adduser, remove auth types (#5550)
wraithgar Sep 21, 2022
d030f10
deps: @npmcli/query@2.0.0
nlf Sep 20, 2022
ebf167b
feat: add `:outdated` pseudo selector
nlf Sep 20, 2022
6ee5b32
feat(query): display `queryContext` in results
nlf Sep 20, 2022
8402fd8
docs: add `:outdated` pseudo selector to docs
nlf Sep 20, 2022
19762b4
docs: modify misleading doc about package.json:bin (#5529)
Hafizur046 Sep 21, 2022
5645c51
docs: link mentions of config parameters (#5521)
mrienstra Sep 21, 2022
8743366
docs: add hash to "tag" config link (#5519)
mrienstra Sep 21, 2022
0d90a01
fix(audit): add a condition to allow third-party registries returning…
juanheyns Sep 21, 2022
66ed584
feat: default auth-type to web (#5551)
wraithgar Sep 21, 2022
9f5e6bd
chore(ci): run link before testing
lukekarrys Sep 21, 2022
a1ef180
chore(ci): rebuild cmark-gfm only before tests
lukekarrys Sep 21, 2022
2d756cb
docs: add instruction to query objects with npm view (#5527)
moonith Sep 22, 2022
9e05ecd
chore(ci): use globally installed npm executable (#5555)
lukekarrys Sep 22, 2022
07922e9
chore(ci): turn off smoke publish that test doesnt work on windows (#…
lukekarrys Sep 22, 2022
83fd0a8
chore: @npmcli/template-oss@4.4.1 (#5559)
lukekarrys Sep 22, 2022
578ed5e
chore: extend ci and test steps from template-oss (#5560)
lukekarrys Sep 22, 2022
00a3693
chore(release-manager): get package name for workspace commands (#5562)
lukekarrys Sep 23, 2022
84598fe
chore: release 9.0.0-pre.2
github-actions[bot] Sep 23, 2022
3445da0
feat: timings are now written alongside debug log files
lukekarrys Sep 23, 2022
e64d69a
feat: write eresolve error files to the logs directory
lukekarrys Sep 25, 2022
7e6b824
chore(make): docs should come before test during publish
lukekarrys Sep 23, 2022
bc21552
deps: npm-package-arg@9.1.2
lukekarrys Sep 28, 2022
525654e
feat: default access to `public`
wraithgar Sep 27, 2022
f0e7584
docs: update docs/logging for new --access default
wraithgar Sep 28, 2022
3ae796d
feat: implement new `npm-packlist` behavior
lukekarrys Sep 28, 2022
45e43f1
chore(libnpmpack): add sleep to tests to reduce flakiness
lukekarrys Sep 29, 2022
b397774
chore: release 9.0.0-pre.3
github-actions[bot] Sep 30, 2022
130bc9f
docs: Remove circular reference (#5626)
giovanniPepi Oct 3, 2022
4c52d85
chore: @npmcli/template-oss@4.4.4 (#5588)
lukekarrys Oct 4, 2022
02fcbb6
fix: ensure Arborist constructor gets passed around everywhere for pa…
nlf Oct 4, 2022
eab47e6
chore: @npmcli/template-oss@4.4.5 (#5636)
lukekarrys Oct 4, 2022
f8433cb
chore(deps-script): only walk deps for ours (#5635)
lukekarrys Oct 4, 2022
1ebbb44
deps: npm-profile@7.0.0 (#5638)
wraithgar Oct 4, 2022
8b072dc
deps: @npmcli/ci-detect@3.0.0 (#5639)
wraithgar Oct 4, 2022
97c32ed
docs: remove link to cache command (#5637)
wraithgar Oct 4, 2022
9609e9e
feat: use v3 lockfiles by default (#5605)
Oct 4, 2022
07fabc9
fix: `npm link` should override `--install-links` (#5633)
Oct 4, 2022
501f8ca
deps: semver@7.3.8 (#5640)
wraithgar Oct 5, 2022
f37caad
docs: accurately describe install-links effect on relative paths (#5606)
lukekarrys Oct 5, 2022
6a43b31
deps: @npmcli/metavuln-calculator@4.0.0
wraithgar Oct 5, 2022
5344d2c
deps: pacote@14.0.0
wraithgar Oct 5, 2022
e9eda68
chore: @npmcli/template-oss@4.5.0 (#5646)
lukekarrys Oct 5, 2022
92e94e3
chore: use packlist to write node_module ignores (#5363)
lukekarrys Oct 5, 2022
e4e8ae2
fix(libnpmpack): obey foregroundScripts
winterqt Oct 3, 2022
9e3a823
chore: add spawk as a dev dependency
wraithgar Oct 5, 2022
9f8e3f0
chore: simplify foregroundScripts test
wraithgar Oct 5, 2022
37bf6d3
chore: release 9.0.0-pre.4
github-actions[bot] Oct 5, 2022
fb4be71
chore: turn off dependabot
lukekarrys Oct 12, 2022
a990c3c
fix(libnpmpack): obey ignoreScripts
winterqt Oct 6, 2022
542efdb
docs: update `folders` page for modern npm
shalvah Oct 9, 2022
b70e119
Fix typo
shalvah Oct 9, 2022
bf53d6d
chore: @npmcli/template-oss@4.5.1
lukekarrys Oct 10, 2022
a5fec08
feat: rewrite docs generation
lukekarrys Oct 5, 2022
6c5c2a8
chore: yaml@2.1.3, jsdom@20.0.1
lukekarrys Oct 10, 2022
877829e
chore: scripts/resetdeps.sh checks for cmark-gfm bindings
Oct 12, 2022
a8532eb
docs: typo missing parentheses
hbrls Oct 10, 2022
0a22c19
chore: add new issue template for v9
darcyclarke Oct 6, 2022
9f4d367
chore: fix resetdeps.sh to use checkout npm
Oct 12, 2022
2a740b1
deps: hosted-git-info@6.0.0
lukekarrys Oct 12, 2022
d01bb92
chore: call local npm during prepack
lukekarrys Oct 13, 2022
a35c784
fix(config): remove `node-version` and `npm-version`
wraithgar Oct 12, 2022
cee3fd9
deps: @npmcli/config@5.0.0
nlf Oct 6, 2022
d2963c6
feat: explicitly validate config within the cli
nlf Oct 6, 2022
a09e19d
feat: introduce the `npm config fix` command
nlf Oct 6, 2022
9d7a6ff
chore: only audit production workspaces
lukekarrys Oct 13, 2022
32336f6
chore: release 9.0.0-pre.5
github-actions[bot] Oct 13, 2022
475e9b6
feat: do not alter file ownership
nlf Oct 17, 2022
58065bc
feat: do not alter file ownership
nlf Oct 17, 2022
38dc7f6
chore: @npmcli/template-oss@4.6.1
lukekarrys Oct 17, 2022
aa01072
deps: update the following dependencies
lukekarrys Oct 17, 2022
353b5bb
fix: remove chownr and mkdirp-infer-owner
nlf Oct 18, 2022
de2d33f
feat: add --install-strategy=hoisted|nested|shallow, deprecate --glob…
Oct 18, 2022
1afe5ba
fix: account for new npm-package-arg behavior
wraithgar Oct 11, 2022
2008ea6
deps: npm-package-arg@10.0.0, pacote@15.0.2
lukekarrys Oct 18, 2022
5aa0c2d
chore: @npmcli/template-oss@4.6.2
lukekarrys Oct 18, 2022
e2e7622
chore: update arborist snapshot from hosted-git-info changes
lukekarrys Oct 18, 2022
f653785
feat: deprecated `key`, `cert` config options and updated registry sc…
Oct 18, 2022
7b92544
chore: manually hoist latest versions of some of our deps
lukekarrys Oct 18, 2022
332914b
feat: separate configs for `--timing` and `--loglevel`
lukekarrys Oct 19, 2022
88137a3
deps: npmlog@7.0.1
lukekarrys Oct 19, 2022
6ffa5b7
fix: `npm hook ls` duplicates hook name prefixes (#5295)
Oct 19, 2022
be642c6
feat: refuse to set deprecated/invalid config (#5719)
wraithgar Oct 19, 2022
d3543e9
feat: output json formatted errors on stdout (#5716)
lukekarrys Oct 19, 2022
239ba8e
chore: remove legacy changelogs (#5723)
wraithgar Oct 19, 2022
9e74d3e
docs: update supported engines in readme (#5725)
lukekarrys Oct 19, 2022
2929899
chore: release 9.0.0-pre.6
github-actions[bot] Oct 19, 2022
e3b004c
feat: move cli and all workspaces out of prerelease mode
lukekarrys Oct 19, 2022
586e78d
feat: empty commit to trigger all workspace releases
lukekarrys Oct 19, 2022
bc5ec05
chore: release 9.0.0
github-actions[bot] Oct 19, 2022
3dd8d68
feat: sort and quote yarn lock keys according to yarn rules (#5751)
wraithgar Oct 26, 2022
b5fadd0
docs: Better npx link (#5742)
mrienstra Oct 26, 2022
32bdd68
deps: npm-packlist@7.0.2 (#5754)
nlf Oct 26, 2022
5625274
deps: hosted-git-info@6.1.0 (#5755)
lukekarrys Oct 26, 2022
de6618e
deps: @npmcli/promise-spawn@5.0.0 (#5757)
nlf Oct 26, 2022
ca93f3e
chore: release 9.0.1
github-actions[bot] Oct 26, 2022
ce6745c
docs: fixed some typos (#5763)
bitdaw Nov 1, 2022
0c5834e
fix: use hosted-git-info to parse registry urls (#5758)
lukekarrys Nov 1, 2022
9709ae6
chore: rewrite `scripts/` with javascript
lukekarrys Oct 21, 2022
2293fb2
chore: @npmcli/template-oss@4.7.1
lukekarrys Oct 25, 2022
f361796
chore: remove mdx from docs build
lukekarrys Oct 27, 2022
edbbc3a
chore: licensee@9.0.0
lukekarrys Oct 27, 2022
29a3009
chore: move doc deps to dev
lukekarrys Oct 27, 2022
c09abca
chore: @npmcli/temlate-oss@4.8.0
lukekarrys Oct 27, 2022
6df246f
chore: bring in @npmcli/config as a workspace
Oct 31, 2022
706b3d3
feat: set --no-audit when installing outside of a project (like --glo…
Oct 31, 2022
c0fcd27
chore: automatically remove ignored node_modules files
lukekarrys Nov 1, 2022
a90ed81
chore: remove install.sh script
lukekarrys Nov 1, 2022
c88c53b
chore: ignore-scripts when installing docs deps
lukekarrys Nov 1, 2022
ac25863
deps: remove opener, @npmcli/promise-spawn@6.0.1, @npmcli/run-script@…
nlf Nov 1, 2022
41843ad
fix: use an absolute path to notepad.exe by default, correct docs
nlf Nov 1, 2022
8fd614a
fix: use promiseSpawn.open instead of opener
nlf Nov 1, 2022
205e2fd
deps: pacote@15.0.6
lukekarrys Nov 2, 2022
abfb28b
deps: @npmcli/run-script@6.0.0
lukekarrys Nov 2, 2022
1f5382d
fix: don't set `stdioString` for any spawn/run-script calls
lukekarrys Nov 2, 2022
2fef570
deps: node-gyp@9.3.0
wraithgar Nov 1, 2022
5730d17
deps: tar@6.1.12
wraithgar Nov 1, 2022
66f9bcd
deps: nopt@7.0.0
wraithgar Nov 2, 2022
024e612
deps: abbrev@2.0.0
wraithgar Nov 2, 2022
9972ed1
deps: @npmcli/ci-detect@3.0.1
wraithgar Nov 2, 2022
6b6dfca
deps: fastest-levenshtein@1.0.16
wraithgar Nov 2, 2022
b89c19e
deps: cli-table3@0.6.3
wraithgar Nov 2, 2022
b8292d8
chore: release 9.1.0
github-actions[bot] Nov 2, 2022
432e97e
chore: tag backported workspaces during publish script
lukekarrys Nov 2, 2022
50d2ec2
chore(node-pr): various fixes and updates for the node PR script (#5818)
lukekarrys Nov 7, 2022
1bff064
docs(config): document `npm config fix` (#5819)
wraithgar Nov 7, 2022
878ddfb
deps: @npmcli/fs@3.1.0
lukekarrys Nov 3, 2022
335c7e4
deps: cacache@17.0.2
lukekarrys Nov 4, 2022
a73a4c6
chore(docs): replace cmark/marked with remark
lukekarrys Nov 4, 2022
6a15d8a
chore(smoke-tests): refactor smoke tests
lukekarrys Nov 8, 2022
f36df46
chore: move mock-registry to workspace
lukekarrys Nov 9, 2022
6fffad7
chore: use mock-registry in cli tests
lukekarrys Nov 9, 2022
1b29306
chore: remove minify-registry-metadata
lukekarrys Nov 9, 2022
a767aae
fix(npx): look for bins in local package.json
wraithgar Nov 9, 2022
46b2728
chore: @npmcli/template-oss@4.9.0
lukekarrys Nov 9, 2022
fd856d3
chore: dont run git commands when not in git repo
lukekarrys Nov 9, 2022
139bce1
chore: fix async realpath in smoke publish (#5836)
lukekarrys Nov 9, 2022
3794f03
chore: release 9.1.1
github-actions[bot] Nov 9, 2022
221ed4f
chore: @npmcli/template-oss@4.10.0
lukekarrys Nov 10, 2022
3f13818
fix: refactor / inline single use code (#5859)
wraithgar Nov 16, 2022
a351685
deps: move from @npmcli/ci-detect to ci-info (#5858)
wraithgar Nov 16, 2022
cc0ad27
fix(npx): properly look for local bins when there are more than one (…
wraithgar Nov 16, 2022
d9654cf
fix: remove unwanted package.json entries (#5861)
wraithgar Nov 16, 2022
dc8e6bd
chore: release 9.1.2
github-actions[bot] Nov 16, 2022
153c142
chore: fix tests for node 19
nlf Nov 23, 2022
968e124
chore: add option for strict mock registry (#5902)
lukekarrys Nov 30, 2022
da6cf30
chore(libnpmexec): refactor tests to use mock registry
lukekarrys Nov 12, 2022
80c6c4a
fix: do not reset hidden lockfile data before saving (#5907)
nlf Nov 30, 2022
c26d708
fix: validate username at get-identity (#5884)
sosoba Nov 30, 2022
681a45b
docs: add workspace directory example (#5875)
1aron Nov 30, 2022
29dbd1e
chore(smoke-test): dont mock tarball for update request (#5913)
lukekarrys Nov 30, 2022
40f2c21
docs: ci-info url (#5865)
wraithgar Nov 30, 2022
ffbdea2
fix: npm pack filename on scoped packages (#5894)
HenryNguyen5 Nov 30, 2022
ea948dc
docs: update description of npm exec (#5881)
styfle Nov 30, 2022
34db562
chore: release 9.1.3
github-actions[bot] Nov 30, 2022
280b7a4
deps: npm-packlist@7.0.3
lukekarrys Dec 7, 2022
4a1ebeb
chore: move tests to use mock registry
wraithgar Dec 7, 2022
83fb125
fix: audit package mismatch in special case
Dec 7, 2022
cf57ffa
feat: discrete npm doctor commands (#5888)
wraithgar Dec 7, 2022
e25bba8
chore(smoke-tests): clean times from snapshots (#5931)
lukekarrys Dec 7, 2022
ac14129
chore: @npmcli/template-oss@4.11.0 (#5930)
lukekarrys Dec 7, 2022
dfd5d46
fix: ignore implicit workspaces for completion (#5932)
wraithgar Dec 7, 2022
875bd56
deps: npm-package-arg@10.1.0
lukekarrys Dec 7, 2022
e940917
deps: cacache@17.0.3
lukekarrys Dec 7, 2022
fee9b66
deps: npm-registry-fetch@14.0.3
lukekarrys Dec 7, 2022
3da9a1a
deps: pacote@15.0.7
lukekarrys Dec 7, 2022
cf0a174
deps: ssri@10.0.1
lukekarrys Dec 7, 2022
6b77340
deps: tar@6.1.13
lukekarrys Dec 7, 2022
0a3fe00
deps: minipass@4.0.0
lukekarrys Dec 7, 2022
0e6c28b
deps: ci-info@3.7.0 (#5934)
lukekarrys Dec 7, 2022
372d158
deps: minimatch@5.1.1 (#5935)
lukekarrys Dec 7, 2022
2f2b146
deps: npm-packlist@7.0.4 (#5936)
lukekarrys Dec 7, 2022
55e8e72
chore(deps): tap@16.3.2 (#5937)
lukekarrys Dec 7, 2022
599c25e
chore(deps): minify-registry-metadata@3.0.0 (#5939)
lukekarrys Dec 7, 2022
acbafe2
chore(deps): jsdom@20.0.3 (#5940)
lukekarrys Dec 7, 2022
1a62ca0
chore(deps): licensee@10.0.0 (#5941)
lukekarrys Dec 7, 2022
7018b3d
chore: release 9.2.0
github-actions[bot] Dec 7, 2022
bb2b23b
chore: let mock-registry work with registries with pathname
wraithgar Dec 12, 2022
b82c1a6
chore: refactor tests to use mock registry
wraithgar Dec 12, 2022
28ec922
fix: replace rimraf with fs.rm
lukekarrys Dec 10, 2022
ec09474
deps: minipass-fetch@3.0.1
lukekarrys Dec 10, 2022
c52cf6b
fix: properly handle directory, file, git and alias specs in overrides
nlf Dec 13, 2022
450e50f
fix: evaluate configs in command class
lukekarrys Jan 1, 2023
72e6d6f
fix: generate workspace support for docs pages
lukekarrys Jan 1, 2023
669ef94
fix(fund): correctly parse and use `which` config
lukekarrys Jan 1, 2023
31af1aa
fix: refactor `help` to use `@npmcli/promise-spawn`
lukekarrys Jan 1, 2023
dc52222
fix(init): write package.json workspaces paths with / separators
lukekarrys Jan 1, 2023
69f5ff8
fix(view): convert command to use output instead of console
lukekarrys Jan 1, 2023
629d922
chore: convert ls test to mockNpm
lukekarrys Jan 1, 2023
b54ab92
chore: convert diff test to mock npm and registry
lukekarrys Jan 1, 2023
f963180
chore: convert all test to `mockNpm`
lukekarrys Jan 1, 2023
122938c
chore: use chdir for mockNpm
lukekarrys Jan 1, 2023
b965ebf
Fix typo in scripts.md
ericmutta Dec 31, 2022
054226c
Fix broken fragment links
ericmutta Dec 24, 2022
55093e2
chore: remove unused snapshots
lukekarrys Jan 2, 2023
753b98e
feat: rootless workspace init provides suggestion
Aug 4, 2022
07a2129
feat: added --linked-install
Jan 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions .commitlintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* This file is automatically added by @npmcli/template-oss. Do not edit. */

module.exports = {
extends: ['@commitlint/config-conventional'],
rules: {
'type-enum': [2, 'always', ['feat', 'fix', 'docs', 'deps', 'chore']],
'header-max-length': [2, 'always', 80],
'subject-case': [0, 'always', ['lower-case', 'sentence-case', 'start-case']],
},
}
10 changes: 10 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/* This file is automatically added by @npmcli/template-oss. Do not edit. */

'use strict'

const { readdirSync: readdir } = require('fs')

const localConfigs = readdir(__dirname)
Expand All @@ -6,6 +10,12 @@ const localConfigs = readdir(__dirname)

module.exports = {
root: true,
ignorePatterns: [
'docs/**',
'smoke-tests/**',
'mock-registry/**',
'workspaces/**',
],
extends: [
'@npmcli',
...localConfigs,
Expand Down
17 changes: 1 addition & 16 deletions .eslintrc.local.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
{
"ignorePatterns": [
"docs/",
"workspaces/*"
],
"rules": {
"no-shadow": "off",
"no-console": "error"
},
"overrides": [{
"files": [
"scripts/**",
"bin/**",
"test/**"
],
"rules": {
"no-console": "off"
}
}]
}
}
4 changes: 3 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
* @npm/cli-team
# This file is automatically added by @npmcli/template-oss. Do not edit.

* @npm/cli-team
63 changes: 63 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_9.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: 🐞 Bug v9
description: File a bug/issue against v9.x
title: "[BUG] <title>"
labels: [Bug, Needs Triage, Release 9.x]
body:
- type: checkboxes
attributes:
label: Is there an existing issue for this?
description: Please [search here](https://github.com/npm/cli/issues) to see if an issue already exists for your problem.
options:
- label: I have searched the existing issues
required: true
- type: checkboxes
attributes:
label: This issue exists in the latest npm version
description: Please make sure you have installed the latest npm and verified it is still an issue.
options:
- label: I am using the latest npm
required: true
- type: textarea
attributes:
label: Current Behavior
description: A clear & concise description of what you're experiencing.
validations:
required: false
- type: textarea
attributes:
label: Expected Behavior
description: A clear & concise description of what you expected to happen.
validations:
required: false
- type: textarea
attributes:
label: Steps To Reproduce
description: Steps to reproduce the behavior.
value: |
1. In this environment...
2. With this config...
3. Run '...'
4. See error...
validations:
required: false
- type: textarea
attributes:
label: Environment
description: |
examples:
- **`npm -v`**: **npm**: 7.6.3
- **`node -v`**: **Node.js**: 13.14.0
- **OS Name**: Ubuntu 20.04
- **System Model Name**: Macbook Pro
- **`npm config ls`**: `; "user" config from ...`
value: |
- npm:
- Node.js:
- OS Name:
- System Model Name:
- npm config:
```ini
; copy and paste output from `npm config ls` here
```
validations:
required: false
32 changes: 32 additions & 0 deletions .github/matchers/tap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"//@npmcli/template-oss": "This file is automatically added by @npmcli/template-oss. Do not edit.",
"problemMatcher": [
{
"owner": "tap",
"pattern": [
{
"regexp": "^\\s*not ok \\d+ - (.*)",
"message": 1
},
{
"regexp": "^\\s*---"
},
{
"regexp": "^\\s*at:"
},
{
"regexp": "^\\s*line:\\s*(\\d+)",
"line": 1
},
{
"regexp": "^\\s*column:\\s*(\\d+)",
"column": 1
},
{
"regexp": "^\\s*file:\\s*(.*)",
"file": 1
}
]
}
]
}
36 changes: 36 additions & 0 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This file is automatically added by @npmcli/template-oss. Do not edit.

name: Audit

on:
workflow_dispatch:
schedule:
# "At 08:00 UTC (01:00 PT) on Monday" https://crontab.guru/#0_8_*_*_1
- cron: "0 8 * * 1"

jobs:
audit:
name: Audit Dependencies
if: github.repository_owner == 'npm'
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Git User
run: |
git config --global user.email "npm-cli+bot@github.com"
git config --global user.name "npm CLI robot"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: npm
- name: Reset Deps
run: node . run resetdeps -- --package-lock
- name: Run Production Audit
run: node . audit --omit=dev
- name: Run Full Audit
run: node . audit --audit-level=none
85 changes: 0 additions & 85 deletions .github/workflows/ci-docs.yml

This file was deleted.

Loading