Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-04-14chore: add DEPENDENCIES.md (#4710)Gar
This adds a script to generate dependency information for the npm cli. The dependency info shows all of the packages in npm that the npm-cli team themselves manage.
2022-03-30deps: @npmcli/template-oss@3.2.2 (#4639)Luke Karrys
- add some basic tests for docs - make dockhand script work on windows - cleanup main CI to match template-oss - add a git status check for cli ci tests - use resetdeps for ci steps
2022-03-30deps: @npmcli/template-oss@3.2.1Luke Karrys
- `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.
2021-05-27chore(ci): add input to cli deps pr workflowDaniel Park
Moves workflow to create NPM CLI dependency pull request from npm/node. Adds input to workflow dispatch trigger PR-URL: https://github.com/npm/cli/pull/3294 Credit: @gimli01 Close: #3294 Reviewed-by: @darcyclarke
2020-10-23docs: use "dockhand" for static generationEdward Thomson
Drop Gatsby, use a simplified custom static site generator that uses GFM and a template for extremely lightweight docs.
2020-09-01add .editorconfig to .gitignore/.npmignoreRuy Adorno
2020-08-04ignore coverage and packed cli versionsisaacs
2020-07-31Add 'npm exec', port npx to use it directlyisaacs
This removes libnpx, and adds a new command, 'npm exec', which implements the functionality. As of this change going live, we are dropping support for the standalone top-level package 'npx'. Not all of the functionality of the old version of npx is maintained. The shell fallback functionality is dropped. It's insecure, and not something we want to support or encourage. If anyone wants it, they can hack up their .bashrc file themselves. --no-install is not supported. If the package is not found locally, it is installed in a predictable location in the cache, rather than failing. This is something we might want to review, as automatically installing in the case of misspellings may be a security footgun. --ignore-existing is dropped. Existing packages are always given priority. --quiet or -q can be accomplished by using the --silent npm option, so it's also dropped. --npm option is dropped. npx will always use the npm that it ships with. --node-arg is dropped. There are other ways to set node options via environment variables in the Node.js versions we support. --always-spawn is dropped. npx will always spawn a child process to execute commands. The --shell option can be accomplished by using the --script-shell npm option. --version and --help are just passed through to npm. As an added bonus, I noticed that the files in `bin/` were not getting run. So now we have full coverage for npm-cli.js and npx-cli.js. PR-URL: https://github.com/npm/cli/pull/1588 Credit: @isaacs Close: #1588 Reviewed-by: @ruyadorno
2020-03-24chore: ignore any nested .DS_Store fileRuy Adorno
PR-URL: https://github.com/npm/cli/pull/1057 Credit: @ruyadorno Close: #1057 Reviewed-by: @ruyadorno
2019-11-14chore(docs): docs cleanupclaudiahdz
chore(docs): change chmod markdown files chore(docs): update gitignore
2019-11-05docs: migrate existing docs to gatsbyclaudiahdz
- chore(docs): remove html from docs build - feat(docs): migrate new Gatsby site to cli/docs - chore(docs): fix docs url path - chore(docs): add new build doc step - chore(docs): add static linking - chore(docs): add npm favicon - chore(docs): update files for tests - chore(docs): make relative paths absolute - chore(docs): fix routing on docs dependant tests - chore(docs): add prepublishOnly docs building step - chore(docs): add docs/public to .gitignore - chore(docs): rename dot json markdown files with hyphen names - chore(docs): clean package.json - chore(docs): highlight scripts in list - chore(docs): add strong styles - chore(docs): fix .json links on markdown - Added copy to the features page - Added an install page (copied from existing online docs) - Added a FeatureLink component to components/links.js - feat(docs): replace docs sh script with node - chore(docs): fix docs building process - chore(docs): docs folder cleanup PR-URL: https://github.com/npm/cli/pull/274 Credit: @claudiahdz Close: #274 Reviewed-by: @ruyadorno
2019-06-30tests: parallel testsisaacs
Several changes to the test suite to support running tests in parallel, bringing the overall test time down considerably. - Replace all literal 1337 and 1234 ports with a custom per-process port assignment based on the TAP_CHILD_ID environment variable. - Add common.pkg as a per-test working directory instead of polluting __dirname or accidentally reusing the same working directory for multiple tests. - Rework test config handling so that tests don't rely on config setup being run in a particular order. - Remove the npm-registry-couchapp tests, since it (a) relies on CouchDB, (b) is no longer a reliable indicator of registry compatibility, and (c) is already superceded in most cases by tests that use npm-registry-mock. (A test suite that runs against a reference implementation is a thing that should exist, but not here.) - Remove the fake-registry logging when TAP_CHILD_ID is set, since this is extremely hard to make sense of when running multiple tests in parallel. When Node v6 compatibility is dropped in npm v7, we can upgrade to the latest version of tap for a bit more speed, dropping Domains (and the associated deprecation warnings), and a fancier test reporter.
2018-06-08scripts: auto generate ignoresRebecca Turner
2018-03-09gitignore: remove unused devDependency nock (#19879)Daijiro Wachi
PR-URL: https://github.com/npm/npm/pull/19879 Credit: @watilde Reviewed-By: @zkat
2016-05-28npmignore: ignore .nyc_outputMyles Borins
This will help avoid an accidental publish or commit filled with code coverage data Fixes: https://github.com/npm/npm/issues/12873 Credit: @TheAlphaNerd PR-URL: https://github.com/npm/npm/pull/12878 Reviewed-By: @zkat
2016-05-04test: enable coverage, handle coverageForrest L Norvell
nyc has come a long way over the last few months, and now only one test is wily enough to detect its presence. Handle that, and we get coverage information about the CLI! Credit: @othiym23 PR-URL: https://github.com/npm/npm/pull/11444 Reviewed-By: @zkat Reviewed-By: @iarna Reviewed-By: @othiym23
2016-02-19tacks@1.0.9Rebecca Turner
Tool to generate fixtures from folders and module for creating and tearing down filesystem fixtures easily. Credit: @iarna PR-URL: https://github.com/npm/npm/pull/11292 Reviewed-By: @zkat Reviewed-By: @othiym23
2015-12-18src: always install in npm in legacy modeForrest L Norvell
Also, clean out the docs and prune the tree before making a release tarball, to keep as much cruft as possible out of the release tarball. PR-URL: https://github.com/npm/npm/pull/10798 Credit: @othiym23
2015-12-12dep: Make readable-stream@2.0.2 a regular dependencyRebecca Turner
Previously it was only used in tests, but we needed a modern pass through stream to provide buffering for 0.8 http streams, which have a bug around backpressure.
2015-11-03src: standard now depends on lazy-cacheForrest L Norvell
PR-URL: https://github.com/npm/npm/pull/10180
2015-10-27gitignore: Update to include new tap depsRebecca Turner
2015-10-23gitignore: Add ignores for flat tap w/ new nyc->yargs->cliuiRebecca Turner
2015-10-22gitignore: Add ignores for flat tap subdepsRebecca Turner
2015-10-22gitignore: Add ignores for flat npm-registry-mock subdepsRebecca Turner
2015-10-22gitignore: Add ignores for flat npm-registry-couchapp subdepsRebecca Turner
2015-10-22gitignore: Add ignores for flat nock subdepsRebecca Turner
2015-10-22gitignore: Add ignores for flat standard subdepsRebecca Turner
2015-10-16src: install npm@3 with npm@2Forrest L Norvell
Restore the ability to do one-shot upgrades from the versions of npm bundled with Node 0.8 to npm@3, which simplifies using Travis with old Node and new npm, for compatibility testing purposes. Older versions of npm repack packages on install, which works poorly with the way npm@3 handles bundledDependencies with flat trees. Fixes: #9668 PR-URL: https://github.com/npm/npm/pull/9981
2015-10-07gitignore: updateRebecca Turner
2015-09-25gitignore: Add subsubdep required by updated subdepRebecca Turner
2015-09-09doc: remove misleading API documentationForrest L Norvell
The API is awkward, brittle, and frequently counterintuitive. Having it documented sets an unrealistic expectation of it being a supported / encouraged thing for developers outside the team to use. Until we have an API we should stand behind, having it be undocumented is actually a net win because people won't be misled into thinking they're gonna have a good time by using it.
2015-09-04tap@1.4.0Forrest L Norvell
Add t.contains() as alias to t.match(), and switch to version of `same` that supports cycles in the object graph.
2015-08-27gitignore: Ignore new dev sub-sub-sub-sub-sub-sub-sub-depRebecca Turner
2015-08-21gitignore: Update dev deps ignoresRebecca Turner
tap->nyc->yargs added a bunch of new deps that we now need to ignore
2015-08-21doc: stop building HTML partialsisaacs
This reverts commit 8b58ad09b719295461167a34f666c5aa4d6e26f2. As it turned out, those partial docs aren't actually used by the http://docs.npmjs.com site, so there's no sense slowing down the build. PR-URL: https://github.com/npm/npm/pull/9201
2015-08-01gitignore: Add y18n – a yargs dep which is a tap depRebecca Turner
2015-07-24standard@4.3.3Rebecca Turner
2015-07-17gitignore: Update to include latest dev subdepsRebecca Turner
2015-07-01unpipe@1.0.0Rebecca Turner
2015-06-26gitignore: Ignore dev subdep unpipeRebecca Turner
It's now used via this chain: npm-registry-couchapp -> couchapp -> connect -> finalhandler -> unpipe
2015-06-26standard@4.3.2Forrest L Norvell
Also add it to the test stanzas in package.json.
2015-06-26deps: deduplicate npm@3 styleRebecca Turner
2015-05-01test: there are a few valid treesForrest L Norvell
Unfortunately small changes to the installer can result in different trees with git dependencies -- all are valid, but some are lossier than others. Handle all three valid alternatives in the test so it's not so sensitive to raciness, and also not coupled too tightly to the implementation.
2015-02-07tests: who *wouldn't* want a real printf implementation?Forrest L Norvell
2014-10-16defactored npmconf back into npmForrest L Norvell
2014-10-04Fixed lint issues.Chris Meyers
2014-10-04tests run with no system-wide side effectsChris Meyers
All changes should be confined to the test repo.
2014-09-30doc: build partial html content as well as full-baked pagesisaacs
The better to docs.npmjs.com for great good
2014-09-11s/ronn/marked-man/gisaacs
2014-09-05don't commit devDependenciesForrest L Norvell