David Sherret
f6a9b49dfb
perf: don't re-download package tarball to global cache if local node_modules folder exists for package ( #16005 )
2022-09-23 17:35:48 -04:00
David Sherret
716005a0d4
feat(npm): add flag for creating and resolving npm packages to a local node_modules folder ( #15971 )
2022-09-22 11:17:02 -04:00
Bartek Iwańczuk
9a216806d5
feat(npm): add support for --reload=npm: and --reload=npm:<package> ( #15972 )
2022-09-22 10:39:58 -04:00
David Sherret
73efed218f
refactor(npm): create general use NpmPackageResolver
( #15882 )
2022-09-13 11:59:01 -04:00
Bartek Iwańczuk
f92bd986de
feat: download progress bar ( #15814 )
2022-09-09 15:57:39 -04:00
Bartek Iwańczuk
4a250b2f25
feat: add --no-npm flag to disable npm: imports ( #15673 )
...
This commit adds "--no-npm" flag, it's similar to "--no-remote"
flag. This flag makes Deno error out if "npm:" specifier is encountered.
2022-09-07 15:33:51 +02:00
Bartek Iwańczuk
223403e899
feat(info): add information about npm modules cache ( #15750 )
2022-09-03 15:31:01 +02:00
David Sherret
5262937285
fix(npm): respect latest
dist tag for getting current version ( #15746 )
2022-09-02 13:06:42 -04:00
David Sherret
03e6727a04
fix(npm): correct exact matching of pre-release versions ( #15745 )
2022-09-02 11:21:40 -04:00
David Sherret
3a601e56f4
fix(npm): ignore npm cache directory creation errors ( #15728 )
2022-09-01 12:37:14 -04:00
David Sherret
e1d7d7b0e3
fix(npm): better node version and version requirement compatibility ( #15714 )
2022-09-01 11:50:12 -04:00
Bartek Iwańczuk
54be07d05e
fix(npm): skip extracting pax_global_header from tarballs ( #15677 )
2022-08-30 17:15:41 +02:00
David Sherret
376665d115
fix: avoid global declaration collisions in cjs ( #15608 )
...
* 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-25 20:24:18 -04:00
David Sherret
348291f5ec
fix(npm): always require --unstable flag even for esm ( #15583 )
2022-08-24 13:44:38 -04:00
Bartek Iwańczuk
5268fa0e0f
fix(unstable): various resolution bugs for npm: specifiers ( #15546 )
...
Co-authored-by: David Sherret <dsherret@gmail.com>
2022-08-24 14:54:20 +02:00
David Sherret
f0993f413b
fix: parse scoped npm specifiers with no version ( #15564 )
2022-08-23 13:08:37 -04:00
David Sherret
e7367044d9
feat: binary npm commands ( #15542 )
2022-08-23 10:39:19 -04:00
Ikko Ashimine
cf80b0a202
chore: typo ( #15536 )
2022-08-22 12:42:03 -04:00
Bartek Iwańczuk
c66386dbd2
feat(unstable): Respect --cached-only flags for npm: specifiers ( #15512 )
...
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-22 17:35:04 +02:00
David Sherret
87f80ff6be
feat(unstable): initial support for npm specifiers ( #15484 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2022-08-20 11:31:33 -04:00
David Sherret
18dcc64910
fix(npm): handle storing non-all lowercase package names ( #15470 )
2022-08-14 09:09:16 -04:00
David Sherret
d9fae38d1e
feat: add initial internal npm client and dependency resolver ( #15446 )
2022-08-10 15:23:58 -04:00