1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-30 02:59:11 -05:00
denoland-deno/tests/specs/npm
David Sherret 8cd257de3d
refactor: remove CliNpmRegistryApi (#27222)
Extracts more code out of the CLI.
2024-12-03 19:44:56 -05:00
..
adding_npm_dep_in_dynamic_import fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
bin_entries_prefer_closer fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
bin_entry_created_by_lifecycle fix(install): re-setup bin entries after running lifecycle scripts (#26752) 2024-11-12 09:23:39 -08:00
builtin_module_module chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
byonm chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
byonm_run_npm feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
cached_only refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
check_all_local chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
check_package_file_dts_dmts_dcts fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
check_pkg_json_import fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
check_prefers_non_types_node_pkg chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
check_types_in_types_pkg chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
child_process_fork_test chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_import_dual fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
cjs_internal_types_default_export chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
cjs_invalid_name_exports chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_local_global_decls fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
cjs_module_export_assignment chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_module_export_assignment_number chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_pkg_imports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
cjs_reexport_collision chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_require_esm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_require_esm_mjs chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_sub_path chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_this_in_exports chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_with_deps chore: fix cjs_with_deps test to use a temp dir (#27199) 2024-12-03 02:37:40 +01:00
compare_globals fix(check): expose more globals from @types/node (#26603) 2024-10-28 17:43:41 -04:00
conditional_exports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
conditional_exports_node_modules_dir fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
create_require chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_cache chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_cjs chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_cjs_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_esm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_esm_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_no_ext chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_special_chars chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay_explicit chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay_with_node_modules_dir chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowthink chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_no_bin_entrypoint_non_existent_subpath chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_non_existent chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
different_nested_dep_node_modules_dir_false chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
different_nested_dep_node_modules_dir_true chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
directory_import chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
dual_cjs_esm feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
dynamic_import_deno_ts_from_npm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_invalid_package_name chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_reload_same_package chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_npm_resolution_failure fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
env_var_re_export_dev chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
env_var_re_export_prod chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
error_version_after_subpath chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
es_module BREAKING: remove deno bundle (#25339) 2024-09-02 17:27:37 +02:00
esm_import_cjs_default fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
exec_file_inside_npm_package chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
future_auto_install_no_package_json chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
future_node_modules_dir_setting chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
import_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
import_map fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
imports_package_json chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
info_chalk_display fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_display_node_modules_dir fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_json fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_json_node_modules_dir fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_cli_chalk_json chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
info_peer_deps fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_peer_deps_json fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
invalid_package_name feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -04:00
lifecycle_scripts chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
local_dir_no_duplicate_resolution refactor: remove DENO_FUTURE (#25314) 2024-08-30 21:58:24 +00:00
local_dir_resolves_symlinks refactor(tests): migrate npm itests to specs (#25764) 2024-09-20 22:38:32 +02:00
local_dir_resolves_symlinks_auto refactor(tests): migrate npm itests to specs (#25764) 2024-09-20 22:38:32 +02:00
lock_file_integrity_failure fix: adjust suggestion for lockfile regeneration (#25107) 2024-08-20 20:13:17 +02:00
lossy_utf8_module fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_package_json fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_script fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_script_from_cjs fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
mixed_case_package_name chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
no_types_cjs fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
no_types_in_conditional_exports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
node_modules_deno_node_modules chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_deno_node_modules_local chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_require_added_node_modules_folder chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_require_main_entry chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_with_deps chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
node_modules_dir_yargs chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_import fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
node_modules_import_auto fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
non_existent_dep fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
non_existent_dep_version fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
nonexistent_file chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
nonexistent_file_node_modules_dir chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
npm_pkg_depend_dep_same_name chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
npmrc fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_bad_registry_config refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_bad_token refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_basic_auth fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_deno_json fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_homedir fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_install_arg fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
npmrc_no_auth fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
npmrc_no_auth_install fix: .npmrc settings not being passed to install/add command (#26473) 2024-10-24 20:03:56 +02:00
npmrc_not_next_to_package_json fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_password_no_username refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_tarball_other_server fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_username_no_password refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_username_password fix(npm): match npm bearer token generation (#26544) 2024-10-28 12:08:51 +01:00
permissions_outside_package feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
pkg_index_ts_and_js fix(node): regression where ts files were sometimes resolved instead of js (#26971) 2024-11-21 16:37:10 +00:00
remote_npm_specifier chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
require_esm feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
require_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
require_resolve_bad_paths_global_cache fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
require_type_commonjs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
reserved_word_exports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
run_existing_npm_package_with_subpath fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
specifier_two_slashes fix(node): handle resolving ".//<something>" in npm packages (#26920) 2024-11-19 09:57:12 -05:00
sub_paths chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
tarball_with_global_header chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
translate_cjs_to_esm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
types_ambient_module chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
types_d_ext fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
types_entry_value_not_exists fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
types_exports_import_types fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
types_general fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
types_no_types_entry fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
typescript_file_in_package fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
typo_in_npm fix: update message for unsupported schemes with npm and jsr (#26884) 2024-11-15 17:09:19 +00:00
unanalyzable_dynamic_import fix: support importing statically unanalyzable npm specifiers (#24107) 2024-06-05 15:18:06 -04:00
user_agent_env_var fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-10-31 22:19:19 -07:00
worker_shutdown_during_npm_import chore: add test for worker shutting down during npm import (#24109) 2024-06-10 13:46:28 +02:00
workers fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062) 2024-08-17 11:16:43 +09:00
workspace_basic chore: reenable some tests disabled during Deno 1->2 migration (#26898) 2024-11-16 18:15:42 +00:00
workspace_conflicting_dep chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
workspace_dep_aliases chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
workspace_sub_deno_json chore: reenable some tests disabled during Deno 1->2 migration (#26898) 2024-11-16 18:15:42 +00:00
workspace_version_wildcards fix: support workspace:^ and workspace:~ version constraints (#27096) 2024-11-30 00:54:26 +01:00
workspace_wildcards refactor: remove DENO_FUTURE (#25314) 2024-08-30 21:58:24 +00:00