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/registry
Bartek Iwańczuk 44f8b05f5b
feat: Expand 'imports' section of deno.json (#22087)
This commit adds automatic expansion of "imports" field in "deno.json"
file.

If "npm:" or "jsr:" imports are encountered we automatically try to add
a "directory" remapping.

Previously users had to specify entries for both `foo` and `foo/` to be
able to import like
`import { symbol1 } from "foo";` and `import { symbol2 } from
"foo/some_file.js"`:
```
{
  "imports": {
    "foo": "npm:@foo/bar",
    "foo/": "npm:/@foo/bar/",
}
```

With this change users can only add entry for `foo`:
```
{
  "imports": {
    "foo": "npm:@foo/bar",
}
```
The entry for `foo/` will be provided automatically.

Similarly if user provides "directory" remapping explicitly, we will not
overwrite it.
2024-01-24 23:44:06 +01:00
..
@babel/parser fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
@denotest feat: Expand 'imports' section of deno.json (#22087) 2024-01-24 23:44:06 +01:00
@ljharb/has-package-exports-patterns fix(npm): conditional exports with --node-modules-dir (#17111) 2022-12-19 17:09:54 +01:00
@types/node feat(unstable/npm): initial type checking of npm specifiers (#16332) 2022-10-21 15:20:18 +00:00
@vue fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
ajv feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
ajv-formats feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
ansi-regex feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
ansi-styles feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
asn1 fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
assertion-error feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
autoprefixer fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
bcrypt-pbkdf fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
browserslist fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
buildcheck fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
camelcase feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
caniuse-lite fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
chai feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
chalk feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
check-error feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
cliui feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
color-convert feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
color-name feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
cowsay feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
cpu-features fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
crypto-js fix(npm): add more context to errors when file doesn't exist (#15749) 2022-09-03 15:43:35 +02:00
csstype fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
decamelize feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
deep-eql feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
define-properties fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
electron-to-chromium fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
emoji-regex feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
escalade fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
estree-walker fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
fast-deep-equal feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
find-up feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
fraction.js fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
fs-extra fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) 2022-08-31 00:31:59 +02:00
function-bind fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
get-caller-file feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
get-func-name feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
get-intrinsic fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
get-stdin feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
globals fix(npm): handle json files in require (#16125) 2022-10-01 22:21:19 +02:00
graceful-fs fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) 2022-08-31 00:31:59 +02:00
has fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
has-flag feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
has-package-exports fix(npm): conditional exports with --node-modules-dir (#17111) 2022-12-19 17:09:54 +01:00
has-property-descriptors fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
has-symbols fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
is-fullwidth-code-point feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
js-tokens feat: support subpaths in npm package references (#15578) 2022-08-24 11:25:32 -04:00
json-schema-traverse feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
jsonfile fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) 2022-08-31 00:31:59 +02:00
locate-path feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
loose-envify feat: support subpaths in npm package references (#15578) 2022-08-24 11:25:32 -04:00
loupe feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
magic-string fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
mkdirp feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
nan fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
nanoid fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
node-releases fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
normalize-range fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
object-keys fix(npm): canonicalize filename before returning (#18948) 2023-05-02 02:35:33 +02:00
p-limit feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
p-locate feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
p-try feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
path-exists feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
pathval feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
picocolors fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
postcss fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
postcss-value-parser fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
punycode feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
react feat: support subpaths in npm package references (#15578) 2022-08-24 11:25:32 -04:00
react-dom feat: support subpaths in npm package references (#15578) 2022-08-24 11:25:32 -04:00
require-directory feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
require-from-string feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
require-main-filename feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
safer-buffer fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
scheduler feat: support subpaths in npm package references (#15578) 2022-08-24 11:25:32 -04:00
set-blocking feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
source-map fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
source-map-js fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
sourcemap-codec fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
ssh2 fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
string-width feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
strip-ansi feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
strip-final-newline feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
supports-color feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
supports-esm fix(npm): conditional exports with --node-modules-dir (#17111) 2022-12-19 17:09:54 +01:00
tweetnacl fix(npm): skip extracting pax_global_header from tarballs (#15677) 2022-08-30 17:15:41 +02:00
type-detect feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
type-fest fix(npm): handle json files in require (#16125) 2022-10-01 22:21:19 +02:00
universalify fix(npm): translate CJS to ESM with name clashes for files and dirs (#15697) 2022-08-31 00:31:59 +02:00
update-browserslist-db fix(ext/node): fix unable to resolve fraction.js (#18544) 2023-04-06 16:12:50 +02:00
uri-js feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
vue fix(npm): recursive translation of reexports, remove window global in node code (#15806) 2022-09-08 22:01:48 +02:00
which-module feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
wrap-ansi feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
y18n feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
yargs feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00
yargs-parser feat(npm): support packages with multiple command names (#15565) 2022-08-23 22:01:21 -04:00