1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-27 16:10:57 -05:00
denoland-deno/cli/tests/testdata/npm/registry/@denotest
David Sherret be97170a19
feat(unstable): ability to npm install then deno run main.ts (#20967)
This PR adds a new unstable "bring your own node_modules" (BYONM)
functionality currently behind a `--unstable-byonm` flag (`"unstable":
["byonm"]` in a deno.json).

This enables users to run a separate install command (ex. `npm install`,
`pnpm install`) then run `deno run main.ts` and Deno will respect the
layout of the node_modules directory as setup by the separate install
command. It also works with npm/yarn/pnpm workspaces.

For this PR, the behaviour is opted into by specifying
`--unstable-byonm`/`"unstable": ["byonm"]`, but in the future we may
make this the default behaviour as outlined in
https://github.com/denoland/deno/issues/18967#issuecomment-1761248941

This is an extremely rough initial implementation. Errors are
terrible in this and the LSP requires frequent restarts. Improvements
will be done in follow up PRs.
2023-10-25 14:39:00 -04:00
..
bin fix(cli): for main-module that exists in package.json, use the version defined in package.json directly (#20328) 2023-09-18 20:02:58 +00:00
binary-package/1.0.0 fix(npm): improved optional dependency support (#19135) 2023-05-17 17:38:50 -04:00
binary-package-linux/1.0.0 fix(npm): improved optional dependency support (#19135) 2023-05-17 17:38:50 -04:00
binary-package-mac/1.0.0 fix(npm): improved optional dependency support (#19135) 2023-05-17 17:38:50 -04:00
binary-package-windows/1.0.0 fix(npm): improved optional dependency support (#19135) 2023-05-17 17:38:50 -04:00
breaking-change-between-versions fix(check): should bust check cache when json module or npm resolution changes (#19941) 2023-07-26 17:23:07 -04:00
builtin-module-module/1.0.0 fix(ext/node): fix builtin module module (#15904) 2022-09-17 20:35:32 +09:00
CAPITALS/1.0.0 fix(npm): support non-all lowercase package names (#16669) 2022-11-16 18:44:31 +00:00
check-error/1.0.0 fix(npm): handle directory resolution when resolving declaration files (#16706) 2022-11-19 10:40:01 -05:00
child-process-fork/1.0.0 refactor: remove Deno.core (#16881) 2023-01-24 18:54:10 +01:00
cjs-default-export/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
cjs-invalid-name-exports/1.0.0 fix(npm): escape export identifier in double quoted string (#19694) 2023-07-03 18:41:09 +00:00
cjs-local-global-decls/1.0.0 perf: faster node globals access in cjs (#19997) 2023-07-31 19:45:32 +00:00
cjs-module-export-assignment/1.0.0 chore(npm): add explicit tests for module.exports assignment with type checking (#16435) 2022-10-27 17:54:46 -04:00
cjs-module-export-assignment-number/1.0.0 chore(npm): add explicit tests for module.exports assignment with type checking (#16435) 2022-10-27 17:54:46 -04:00
cjs-reexport-collision/1.0.0 fix(npm): handle cjs re-exports with the same name as an export (#15626) 2022-08-26 14:34:35 -04:00
cjs-require-esm-error/1.0.0 fix(node): improve require esm error messages (#19853) 2023-07-17 14:00:44 -04:00
cjs-this-in-exports/1.0.0 fix(npm): remove export binding to match node (#15837) 2022-09-10 11:38:11 -04:00
cjs-with-file-stem/1.0.0 fix(npm): probing for files that have a file stem (#16641) 2022-11-15 13:58:04 +01:00
conditional-exports/1.0.0 feat(unstable): ability to npm install then deno run main.ts (#20967) 2023-10-25 14:39:00 -04:00
conditional-exports-strict/1.0.0 feat(unstable): ability to npm install then deno run main.ts (#20967) 2023-10-25 14:39:00 -04:00
create-require/1.0.0 fix(ext/node): allow absolute path in createRequire (#16853) 2022-11-29 14:13:14 +09:00
d-ext/1.0.0 fix(node): resolve file.d specifiers in npm packages (#20918) 2023-10-17 00:26:38 +09:00
dual-cjs-esm/1.0.0 feat(unstable): ability to npm install then deno run main.ts (#20967) 2023-10-25 14:39:00 -04:00
dual-cjs-esm-dep/1.0.0 fix(npm): create node_modules/.deno/node_modules folder (#19242) 2023-05-24 15:04:21 -04:00
dual-cjs-esm-dep-missing/1.0.0 fix(npm): create node_modules/.deno/node_modules folder (#19242) 2023-05-24 15:04:21 -04:00
dynamic-import/1.0.0 fix(npm): support dynamic import of Deno TS from npm package (#19858) 2023-07-17 17:17:58 -04:00
env-var-re-export/1.0.0 fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
esm-basic/1.0.0 feat(compile): unstable npm and node specifier support (#19005) 2023-05-10 20:06:59 -04:00
esm-import-cjs-default/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
file-dts-dmts-dcts/1.0.0 fix(npm): improve declaration resolution for filename with different extensions (#19966) 2023-07-28 11:24:22 -04:00
globals/1.0.0 feat(ext/node): properly segregate node globals (#19307) 2023-07-19 10:30:04 +02:00
MixedCase/1.0.0 fix(npm): support non-all lowercase package names (#16669) 2022-11-16 18:44:31 +00:00
no-types-cjs/1.0.0 fix(npm): don't resolve JS files when resolving types (#16854) 2022-11-28 17:48:56 -05:00
no-types-in-conditional-exports/1.0.0 fix(npm): don't fail if conditional exports don't contains types (#16651) 2022-11-16 01:40:03 +01:00
non-existent-dep/1.0.0 fix(npm): reload an npm package's dependency's information when version not found (#18622) 2023-04-06 21:41:19 -04:00
non-existent-dep-version/1.0.0 fix(npm): reload an npm package's dependency's information when version not found (#18622) 2023-04-06 21:41:19 -04:00
peer-dep-test-child feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
peer-dep-test-grandchild/1.0.0 feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
peer-dep-test-peer feat(unstable/npm): support peer dependencies (#16561) 2022-11-08 14:17:24 -05:00
permissions-outside-package/1.0.0 fix(npm): allow to read package.json if permissions are granted (#17209) 2023-01-10 14:35:44 +01:00
require-added-nm-folder/1.0.0 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
reserved-word-exports/1.0.0 fix(npm): handle more reserved words as cjs exports (#19672) 2023-07-01 21:43:17 -04:00
special-chars-in-bin-name/1.0.0 fix(ext/node): json encode binary command name (#18596) 2023-04-06 01:46:21 +02:00
sub-folders/1.0.0 fix(npm): improve error message on directory import in npm package (#19538) 2023-07-14 16:47:18 +00:00
types/1.0.0 fix(npm): using types for packages with subpath (#16656) 2022-11-16 20:41:27 +01:00
types-ambient/1.0.0 feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
types-entry-value-not-exists/1.0.0 fix(npm/check): prioritize exports over types entry (#16788) 2022-11-24 17:07:36 +00:00
types-exports-import-types/1.0.0 fix(npm): improve package.json exports support for types (#16880) 2022-11-30 23:07:32 +00:00
types-exports-subpaths/1.0.0 fix(npm): handle declaration file resolution where packages incorrectly define "types" last in "exports" (#17290) 2023-01-06 12:57:52 -05:00
types-no-types-entry/1.0.0 fix(npm): dependency types were sometimes not being resolved when package had no types entry (#16958) 2022-12-05 20:09:31 -05:00
types_imported/1.0.0 fix(npm): using types for packages with subpath (#16656) 2022-11-16 20:41:27 +01:00
typescript-file/1.0.0 fix(npm): better error message when attempting to use typescript in npm packages (#16813) 2022-11-25 13:42:05 -05:00