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-11-11chore: @npmcli/template-oss@4.10.0HEADlatestLuke Karrys
2022-11-10chore: release 9.1.1v9.1.1libnpmpublish-v7.0.3libnpmpack-v5.0.3libnpmfund-v4.0.3libnpmexec-v5.0.3libnpmdiff-v5.0.3arborist-v6.1.2github-actions[bot]
2022-11-10chore: fix async realpath in smoke publish (#5836)Luke Karrys
2022-11-10chore: dont run git commands when not in git repoLuke Karrys
2022-11-10chore: @npmcli/template-oss@4.9.0Luke Karrys
2022-11-10fix(npx): look for bins in local package.jsonGar
2022-11-09chore: remove minify-registry-metadataLuke Karrys
2022-11-09chore: use mock-registry in cli testsLuke Karrys
2022-11-09chore: move mock-registry to workspaceLuke Karrys
2022-11-09chore(smoke-tests): refactor smoke testsLuke Karrys
2022-11-08chore(docs): replace cmark/marked with remarkLuke Karrys
2022-11-08deps: cacache@17.0.2Luke Karrys
2022-11-08deps: @npmcli/fs@3.1.0Luke Karrys
This also removes `readdir-scoped-modules` and `@npmcli/fs` since those are now a part of `@npmcli/fs`
2022-11-08docs(config): document `npm config fix` (#5819)Gar
2022-11-07chore(node-pr): various fixes and updates for the node PR script (#5818)Luke Karrys
2022-11-03chore: tag backported workspaces during publish scriptLuke Karrys
2022-11-02chore: release 9.1.0v9.1.0libnpmversion-v4.0.1libnpmpublish-v7.0.2libnpmpack-v5.0.2libnpmfund-v4.0.2libnpmexec-v5.0.2libnpmdiff-v5.0.2config-v6.1.0arborist-v6.1.1github-actions[bot]
2022-11-02deps: cli-table3@0.6.3Gar
2022-11-02deps: fastest-levenshtein@1.0.16Gar
2022-11-02deps: @npmcli/ci-detect@3.0.1Gar
2022-11-02deps: abbrev@2.0.0Gar
2022-11-02deps: nopt@7.0.0Gar
2022-11-02deps: tar@6.1.12Gar
2022-11-02deps: node-gyp@9.3.0Gar
2022-11-02fix: don't set `stdioString` for any spawn/run-script callsLuke Karrys
These libraries now return strings by default which is what we always want in the CLI for error reporting. Fixes #5766
2022-11-02deps: @npmcli/run-script@6.0.0Luke Karrys
2022-11-02deps: pacote@15.0.6Luke Karrys
2022-11-02fix: use promiseSpawn.open instead of openernlf
2022-11-02fix: use an absolute path to notepad.exe by default, correct docsnlf
2022-11-02deps: remove opener, @npmcli/promise-spawn@6.0.1, @npmcli/run-script@5.1.1, ↵nlf
@npmcli/git@4.0.3, pacote@15.0.5, which@3.0.0
2022-11-02chore: ignore-scripts when installing docs depsLuke Karrys
2022-11-01chore: remove install.sh scriptLuke Karrys
The readme already points to the canonical url (https://www.npmjs.com/install.sh) which is sourced from https://github.com/npm/npm-install-script so this file does not need to live in this repo anymore.
2022-11-01chore: automatically remove ignored node_modules filesLuke Karrys
Previously it would report the errors and require rerunning the script. It's been safe enough that we know automatically remove the files. We then run the `git ls-files` command again to make sure they were all removed. Only if any are left do we error with a message requiring a manual fix.
2022-11-01feat: set --no-audit when installing outside of a project (like --global)Nathan Fritz
2022-11-01chore: bring in @npmcli/config as a workspaceNathan Fritz
2022-11-01chore: @npmcli/temlate-oss@4.8.0Luke Karrys
2022-11-01chore: move doc deps to devLuke Karrys
This moves all the dependencies of the `docs/` workspace to dev deps. I had originally moved them out of devDeps as part of #5309, but this seems to go against the grain of other tooling. We would have to special case both `audit` and `licensee` to run on a custom subset of our dependency tree. Maybe one day when all tools can be piped the output of an `npm query` this will be possible. It would be nice if we could only audit dependencies that are bundled as part of the CLI. But for now it's easier to move these to devDeps and then reinstall only the docs workspace after pruning during the publish step.
2022-11-01chore: licensee@9.0.0Luke Karrys
2022-11-01chore: remove mdx from docs buildLuke Karrys
We will be updating to mdx@2 soon which is esm only, but built in to Gatsby. Due to the new documentation build process here and in `npm/documentation`, there is much less need for us to verify all our docs here. Therefore, it is best to remove this dependency now to avoid needing to update it here at the same time as the docs site.
2022-11-01chore: @npmcli/template-oss@4.7.1Luke Karrys
2022-11-01chore: rewrite `scripts/` with javascriptLuke Karrys
Goals of this rewrite: - Better portability of scripts to anywhere we can run `node` and no reliance on `make` or other tools - More code inside `scripts/` and less inside of CI workflows to allow for easier local testing - Reuse the same scripts for similar workflows (eg `publish` and `smoke-publish`) Future goals: - Allow testing of `scripts` Some highlights of the new scripts: `scripts/create-node-pr.js` - This now operates on cloned copy of the base repo that is pushed to our fork, so we no longer need to manually sync our fork. - Uses the published registry tarball for as much of the PR as possible, falling back to including local files from source. This will enable for easier migration to eventually only using the tarball contents. `scripts/publish.js` - Replaces `make publish` - Will publish all workspaces that need to be published, before publishing the CLI. - Makes running tests an optional part of the script, since CI now runs the tests. - Can optionally only pack the tarball, for use in CI to test installing the tarball. `scripts/util.js` - Shared utilities for spawning commands including helpers for `npm` and `gh`. - Common interface for running, parsing args, logging, and debugging of scripts.
2022-11-01fix: use hosted-git-info to parse registry urls (#5758)Luke Karrys
Previously this was using `new URL` which would fail on some urls that `hosted-git-info` is able to parse. But if we still get a url that can't be parsed, we now set it to be removed from the tree instead of erroring. Fixes: #5278
2022-11-01docs: fixed some typos (#5763)Andrew Dawes
fixed some typos
2022-10-27chore: release 9.0.1v9.0.1libnpmpublish-v7.0.1libnpmpack-v5.0.1libnpmfund-v4.0.1libnpmexec-v5.0.1libnpmdiff-v5.0.1arborist-v6.1.0github-actions[bot]
2022-10-26deps: @npmcli/promise-spawn@5.0.0 (#5757)nlf
2022-10-26deps: hosted-git-info@6.1.0 (#5755)Luke Karrys
2022-10-26deps: npm-packlist@7.0.2 (#5754)nlf
2022-10-26docs: Better npx link (#5742)Michael Rienstra
2022-10-26feat: sort and quote yarn lock keys according to yarn rules (#5751)Gar
Co-authored-by: shalvah <diakon.ng@gmail.com>
2022-10-20chore: release 9.0.0v9.0.0libnpmversion-v4.0.0libnpmteam-v5.0.0libnpmsearch-v6.0.0libnpmpublish-v7.0.0libnpmpack-v5.0.0libnpmorg-v5.0.0libnpmhook-v9.0.0libnpmfund-v4.0.0libnpmexec-v5.0.0libnpmdiff-v5.0.0libnpmaccess-v7.0.0arborist-v6.0.0github-actions[bot]