0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-11 14:47:26 -04:00
deno/cli/tests/testdata/npm
2022-10-17 09:16:19 -04:00
..
builtin_module_module fix(ext/node): fix builtin module module (#15904) 2022-09-17 20:35:32 +09:00
cached_only
cached_only_after_first_run
child_process_fork_test feat(npm): functionality to support child_process.fork (#15891) 2022-09-28 13:04:16 -04:00
cjs_local_global_decls
cjs_reexport_collision fix(npm): align Deno importing Node cjs with Node esm importing cjs (#15879) 2022-09-12 14:28:51 -04:00
cjs_sub_path
cjs_this_in_exports
cjs_with_deps
compare_globals
conditional_exports
dual_cjs_esm feat(unstable/npm): support providing npm dist-tag in npm package specifier (#16293) 2022-10-17 09:16:19 -04:00
dynamic_import
env_var_re_export
error_version_after_subpath fix(npm): better error is version is specified after subpath (#16131) 2022-10-03 19:10:53 +02:00
esm
esm_import_cjs_default fix(npm): align Deno importing Node cjs with Node esm importing cjs (#15879) 2022-09-12 14:28:51 -04:00
import_map
invalid_package_name fix(npm): panic on invalid package name (#16123) 2022-10-03 17:45:01 +02:00
no_npm_after_first_run
no_unstable
nonexistent_file
registry fix(npm): handle json files in require (#16125) 2022-10-01 22:21:19 +02:00
reload feat(npm): add support for --reload=npm: and --reload=npm:<package> (#15972) 2022-09-22 10:39:58 -04:00
require_added_nm_folder 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
require_json fix(npm): handle json files in require (#16125) 2022-10-01 22:21:19 +02:00
sub_paths
tarball_with_global_header
translate_cjs_to_esm
deno_cache.out feat(unstable): add support for npm specifier cli arguments for 'deno cache' (#16141) 2022-10-03 23:26:42 +02:00
deno_run_cjs.out fix(npm): binary entrypoint for .js or no extension (#15900) 2022-09-14 10:41:47 -04:00
deno_run_cowsay.out
deno_run_cowthink.out
deno_run_esm.out
deno_run_no_ext.out fix(npm): binary entrypoint for .js or no extension (#15900) 2022-09-14 10:41:47 -04:00
deno_run_non_existent.out
README.md

npm test data

This folder contains test data for npm specifiers.

Registry

The registry is served by the test server (server in test_util) at http://localhost:4545/npm/registry/ via the ./registry folder.

Updating with real npm packages

  1. Set the DENO_TEST_UTIL_UPDATE_NPM=1 environment variable
  2. Run the test and it should download the packages.

Using a custom npm package

  1. Add the custom package to ./registry/@denotest
  2. Reference npm:@denotest/<your-package-name> in the tests.