1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-01 16:51:13 -05:00
denoland-deno/cli/tests/testdata/npm
2023-07-03 18:41:09 +00:00
..
binary_package fix(npm): improved optional dependency support (#19135) 2023-05-17 17:38:50 -04:00
builtin_module_module
cached_only refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
cached_only_after_first_run
check_errors
child_process_fork_test
cjs-invalid-name-exports fix(npm): escape export identifier in double quoted string (#19694) 2023-07-03 18:41:09 +00:00
cjs_local_global_decls
cjs_module_export_assignment refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
cjs_module_export_assignment_number refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
cjs_reexport_collision
cjs_sub_path
cjs_this_in_exports
cjs_with_deps fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
cjs_yargs fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
compare_globals refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
conditional_exports fix(node): conditional exports edge case (#19082) 2023-05-10 23:55:48 +02:00
create_require
dual_cjs_esm
dynamic_import
dynamic_import_invalid_package_name fix(cli): avoid crash on import of invalid module names (#19523) 2023-06-15 18:36:33 +00:00
dynamic_import_reload_same_package
env_var_re_export
error_version_after_subpath
esm chore: fix flaky tests checking ms when CI is slow (#18559) 2023-04-06 23:48:07 +02:00
esm_import_cjs_default refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
import_map refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
info refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
invalid_package_name
local_dir_resolves_symlinks fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
lock_file
mixed_case_package_name fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
no_npm_after_first_run
no_types_cjs
no_types_in_conditional_exports
node_modules_deno_node_modules fix(npm): create node_modules/.deno/node_modules folder (#19242) 2023-05-24 15:04:21 -04:00
node_modules_import fix(npm): support bare specifiers in package.json having a path (#17903) 2023-02-23 17:33:23 +00:00
nonexistent_file
peer_deps_with_copied_folders fix(npm): show a progress bar when initializing the node_modules folder (#18136) 2023-03-13 18:18:29 +00:00
permissions_outside_package
registry fix(npm): escape export identifier in double quoted string (#19694) 2023-07-03 18:41:09 +00:00
reload
remote_npm_specifier feat(npm): support npm specifiers in remote modules without --unstable (#17889) 2023-02-23 09:48:29 -05:00
require_added_nm_folder
require_json
require_main fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
reserved_word_exports fix(npm): handle more reserved words as cjs exports (#19672) 2023-07-01 21:43:17 -04:00
sub_paths
tarball_with_global_header refactor: merge Deno & Node inspectors (#18691) 2023-04-30 07:24:13 +00:00
translate_cjs_to_esm
types
types_ambient_module
types_entry_value_not_exists
types_exports_import_types
types_no_types_entry
typescript_file_in_package refactor: use deno_graph for npm specifiers (#17858) 2023-02-22 14:15:25 -05:00
deno_cache.out
deno_run_cjs.out
deno_run_cowsay.out
deno_run_cowsay_no_permissions.out fix(compile): implicit read permission to npm vfs (#19281) 2023-05-26 13:33:38 -04:00
deno_run_cowthink.out
deno_run_esm.out
deno_run_no_ext.out
deno_run_non_existent.out fix(npm): reload an npm package's dependency's information when version not found (#18622) 2023-04-06 21:41:19 -04:00
deno_run_special_chars_in_bin_name.out fix(ext/node): json encode binary command name (#18596) 2023-04-06 01:46:21 +02:00
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.