importmapify 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deno.json +2 -2
- package/dist/mod.d.mts +3 -3
- package/import_map.json +7 -7
- package/package.json +4 -4
package/deno.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://raw.githubusercontent.com/denoland/deno/refs/heads/main/cli/schemas/config-file.v1.json",
|
|
3
3
|
"name": "@kjanat/importmapify",
|
|
4
|
-
"version": "1.6.
|
|
4
|
+
"version": "1.6.1",
|
|
5
5
|
"exports": "./src/mod.ts",
|
|
6
6
|
"publish": {
|
|
7
7
|
"include": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"command": "bun scripts/generate-importmap.ts"
|
|
33
33
|
},
|
|
34
34
|
"doc:html": {
|
|
35
|
-
"command": "
|
|
35
|
+
"command": "./scripts/build-docs.sh",
|
|
36
36
|
"description": "generate categorized HTML docs into .denodocs (requires bun)"
|
|
37
37
|
},
|
|
38
38
|
"doc:json": {
|
package/dist/mod.d.mts
CHANGED
|
@@ -147,7 +147,7 @@ interface CreateImportMapOptions {
|
|
|
147
147
|
*
|
|
148
148
|
* Manifest targets are written relative to {@link root}, but Deno resolves an import map's relative targets
|
|
149
149
|
* from the location of the map file. Each relative target is rewritten to be relative to this directory
|
|
150
|
-
* instead, so it still points at the right file once the map moves.
|
|
150
|
+
* instead, so it still points at the right file once the map moves. {@link writeImportMap} and the CLI set
|
|
151
151
|
* this automatically to the output file's directory; set it yourself only when placing an in-memory map
|
|
152
152
|
* somewhere other than {@link root}. Defaults to {@link root}.
|
|
153
153
|
*
|
|
@@ -301,7 +301,7 @@ interface ImportMapHooks {
|
|
|
301
301
|
}) => void | Promise<void>;
|
|
302
302
|
}
|
|
303
303
|
/**
|
|
304
|
-
* An importmapify config file: the shape a config file's default export and
|
|
304
|
+
* An importmapify config file: the shape a config file's default export and {@linkcode defineConfig} take.
|
|
305
305
|
* Every field is optional; the config loader and CLI supply {@linkcode CreateImportMapOptions.root | root}
|
|
306
306
|
* and the remaining defaults.
|
|
307
307
|
*
|
|
@@ -319,7 +319,7 @@ interface ImportMapHooks {
|
|
|
319
319
|
*/
|
|
320
320
|
interface Config extends Partial<WriteImportMapOptions> {
|
|
321
321
|
/**
|
|
322
|
-
* Lifecycle hooks the CLI runs around generation. Ignored by
|
|
322
|
+
* Lifecycle hooks the CLI runs around generation. Ignored by {@link writeImportMap} and {@link createImportMap}.
|
|
323
323
|
*
|
|
324
324
|
* @example
|
|
325
325
|
* ```ts
|
package/import_map.json
CHANGED
|
@@ -9,20 +9,20 @@
|
|
|
9
9
|
"#src/mod": "./src/mod.ts",
|
|
10
10
|
"#src/types": "./src/types.ts",
|
|
11
11
|
"@types/bun": "npm:@types/bun@1.3.14",
|
|
12
|
-
"ansispeck": "jsr:@kjanat/ansispeck@0.
|
|
13
|
-
"ansispeck/": "jsr:/@kjanat/ansispeck@0.
|
|
12
|
+
"ansispeck": "jsr:@kjanat/ansispeck@0.4.1",
|
|
13
|
+
"ansispeck/": "jsr:/@kjanat/ansispeck@0.4.1/",
|
|
14
14
|
"bun": "npm:bun-types@1.3.14",
|
|
15
15
|
"bun:test": "npm:bun-types@1.3.14/test.d.ts",
|
|
16
|
-
"dreamcli": "jsr:@kjanat/dreamcli@3.0.
|
|
17
|
-
"dreamcli/": "jsr:/@kjanat/dreamcli@3.0.
|
|
16
|
+
"dreamcli": "jsr:@kjanat/dreamcli@3.0.1",
|
|
17
|
+
"dreamcli/": "jsr:/@kjanat/dreamcli@3.0.1/",
|
|
18
18
|
"sort-package-json": "npm:sort-package-json@4.0.0",
|
|
19
19
|
"sort-package-json/": "npm:/sort-package-json@4.0.0/",
|
|
20
|
-
"tsdown": "npm:tsdown@0.22.
|
|
21
|
-
"tsdown/": "npm:/tsdown@0.22.
|
|
20
|
+
"tsdown": "npm:tsdown@0.22.12",
|
|
21
|
+
"tsdown/": "npm:/tsdown@0.22.12/"
|
|
22
22
|
},
|
|
23
23
|
"scopes": {
|
|
24
24
|
"./tests/": {
|
|
25
|
-
"dreamcli/testkit": "jsr:@kjanat/dreamcli@3.0.
|
|
25
|
+
"dreamcli/testkit": "jsr:@kjanat/dreamcli@3.0.1/testkit"
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "importmapify",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.1",
|
|
4
4
|
"description": "Expand package.json subpath-pattern imports into explicit Deno import map entries.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"deno",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"volta:bump": "volta pin node@latest npm@11; node --version>.node-version; run bd"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"ansispeck": "^0.
|
|
69
|
-
"dreamcli": "npm:@kjanat/dreamcli@^3.0.
|
|
68
|
+
"ansispeck": "^0.4.1",
|
|
69
|
+
"dreamcli": "npm:@kjanat/dreamcli@^3.0.1"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
72
|
"@arethetypeswrong/core": "^0.18.5",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"biome": "npm:@biomejs/biome@^2.5.4",
|
|
78
78
|
"dprint": "^0.55.2",
|
|
79
79
|
"publint": "^0.3.21",
|
|
80
|
-
"runner-run": "^0.
|
|
80
|
+
"runner-run": "^0.21.0",
|
|
81
81
|
"sort-package-json": "^4.0.0",
|
|
82
82
|
"tombi": "^1.2.1",
|
|
83
83
|
"tsdown": "^0.22.7",
|