Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-12 | fix(npm): cache bust npm specifiers more aggressively (#18636) | David Sherret | |
Part 1: #18622 Part 2: This PR Closes #16901 --------- Co-authored-by: Luca Casonato <hello@lcas.dev> | |||
2023-04-06 | fix(npm): reload an npm package's dependency's information when version not ↵ | David Sherret | |
found (#18622) This reloads an npm package's dependency's information when a version/version req/tag is not found. This PR applies only to dependencies of npm packages. It does NOT yet cause npm specifiers to have their dependency information cache busted. That requires a different solution, but this should help cache bust in more scenarios. Part of #16901, but doesn't close it yet | |||
2023-04-06 | refactor(npm): use deno_npm and deno_semver (#18602) | David Sherret | |
2022-11-08 | feat(unstable/npm): support peer dependencies (#16561) | David Sherret | |
This adds support for peer dependencies in npm packages. 1. If not found higher in the tree (ancestor and ancestor siblings), peer dependencies are resolved like a dependency similar to npm 7. 2. Optional peer dependencies are only resolved if found higher in the tree. 3. This creates "copy packages" or duplicates of a package when a package has different resolution due to peer dependency resolution—see https://pnpm.io/how-peers-are-resolved. Unlike pnpm though, duplicates of packages will have `_1`, `_2`, etc. added to the end of the package version in the directory in order to minimize the chance of hitting the max file path limit on Windows. This is done for both the local "node_modules" directory and also the global npm cache. The files are hard linked in this case to reduce hard drive space. This is a first pass and the code is definitely more inefficient than it could be. Closes #15823 | |||
2022-11-02 | fix(lockfile): error if a referenced package id doesn't exist in list of ↵ | David Sherret | |
packages (#16509) Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-10-28 | feat: support npm specifiers in `deno info` for display text output only ↵ | David Sherret | |
(#16470) | |||
2022-10-25 | fix(npm): add support for npm packages in lock files (#15938) | Bartek Iwańczuk | |
This commit adds support for npm packages in the lock file. | |||
2022-10-21 | feat(unstable/npm): initial type checking of npm specifiers (#16332) | David Sherret | |
2022-10-17 | perf(npm): parallelize caching of npm specifier package infos (#16323) | David Sherret | |
2022-10-17 | feat(unstable/npm): support providing npm dist-tag in npm package specifier ↵ | David Sherret | |
(#16293) | |||
2022-10-03 | fix(npm): better error is version is specified after subpath (#16131) | Bartek Iwańczuk | |
2022-10-03 | fix(npm): panic on invalid package name (#16123) | Bartek Iwańczuk | |
2022-09-28 | feat(npm): functionality to support child_process.fork (#15891) | David Sherret | |
2022-09-22 | feat(npm): add flag for creating and resolving npm packages to a local ↵ | David Sherret | |
node_modules folder (#15971) | |||
2022-09-13 | refactor(npm): create general use `NpmPackageResolver` (#15882) | David Sherret | |
2022-09-02 | fix(npm): respect `latest` dist tag for getting current version (#15746) | David Sherret | |
2022-09-02 | fix(npm): correct exact matching of pre-release versions (#15745) | David Sherret | |
2022-09-01 | fix(npm): better node version and version requirement compatibility (#15714) | David Sherret | |
2022-08-24 | fix(unstable): various resolution bugs for npm: specifiers (#15546) | Bartek Iwańczuk | |
Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-23 | fix: parse scoped npm specifiers with no version (#15564) | David Sherret | |
2022-08-23 | feat: binary npm commands (#15542) | David Sherret | |
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-10 | feat: add initial internal npm client and dependency resolver (#15446) | David Sherret | |