Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-11-11 | feat(unstable/npm): module graph derived npm specifier resolution order (#16602) | 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-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-09-23 | perf: don't re-download package tarball to global cache if local ↵ | David Sherret | |
node_modules folder exists for package (#16005) | |||
2022-09-22 | feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972) | Bartek Iwańczuk | |
2022-09-13 | refactor(npm): create general use `NpmPackageResolver` (#15882) | David Sherret | |
2022-09-09 | feat: download progress bar (#15814) | Bartek Iwańczuk | |
2022-09-03 | feat(info): add information about npm modules cache (#15750) | Bartek Iwańczuk | |
2022-09-01 | fix(npm): ignore npm cache directory creation errors (#15728) | David Sherret | |
2022-09-01 | fix(npm): better node version and version requirement compatibility (#15714) | David Sherret | |
2022-08-25 | fix: avoid global declaration collisions in cjs (#15608) | David Sherret | |
* Use a default stack size * 2 in debug for Windows because swc using so much stack size. We should look into this more later though. | |||
2022-08-22 | feat(unstable): Respect --cached-only flags for npm: specifiers (#15512) | Bartek Iwańczuk | |
This commit changes "npm:" specifier handling to respect "--cached-only" flags and adds "Download" messages for npm registry api calls. Co-authored-by: David Sherret <dsherret@gmail.com> | |||
2022-08-20 | feat(unstable): initial support for npm specifiers (#15484) | David Sherret | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-08-14 | fix(npm): handle storing non-all lowercase package names (#15470) | David Sherret | |
2022-08-10 | feat: add initial internal npm client and dependency resolver (#15446) | David Sherret | |