@visulima/packem-share 1.0.0-alpha.4 → 1.0.0-alpha.41

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.
Files changed (41) hide show
  1. package/CHANGELOG.md +226 -0
  2. package/LICENSE.md +182 -165
  3. package/README.md +36 -39
  4. package/dist/constants/index.d.ts +1 -25
  5. package/dist/index.d.ts +8 -4
  6. package/dist/index.js +1 -0
  7. package/dist/packem_shared/FileCache-CboK7q-P.js +1 -0
  8. package/dist/packem_shared/getChunkFilename-O3C-FgIo.js +1 -0
  9. package/dist/packem_shared/getOutputExtension-BzGuLUE7.js +1 -0
  10. package/dist/packem_shared/memoize-C4C-wJi3.js +1 -0
  11. package/dist/packem_shared/replaceContentWithinMarker-Caj_BLpr.js +3 -0
  12. package/dist/packem_shared/svgToTinyDataUri-k5AhPAh0.js +1 -0
  13. package/dist/packem_shared/warn.d-DzOlqEr8.d.ts +85 -0
  14. package/dist/types/index.d.ts +65 -2662
  15. package/dist/utils/index.d.ts +7 -98
  16. package/dist/utils/index.js +1 -0
  17. package/package.json +16 -15
  18. package/dist/constants/index.d.mts +0 -38
  19. package/dist/index.d.mts +0 -6
  20. package/dist/index.mjs +0 -1
  21. package/dist/packem_shared/FileCache-DdOdmeil.mjs +0 -1
  22. package/dist/packem_shared/getChunkFilename-C1wUJsM7.mjs +0 -1
  23. package/dist/packem_shared/getOutputExtension-CnRaNepn.mjs +0 -1
  24. package/dist/packem_shared/memoize-BTaub_3L.mjs +0 -1
  25. package/dist/packem_shared/replaceContentWithinMarker-DqHE825x.mjs +0 -3
  26. package/dist/types/index.d.mts +0 -2676
  27. package/dist/utils/index.d.mts +0 -99
  28. package/dist/utils/index.mjs +0 -1
  29. /package/dist/constants/{index.mjs → index.js} +0 -0
  30. /package/dist/packem_shared/{arrayIncludes-Car4Lj1a.mjs → arrayIncludes-Car4Lj1a.js} +0 -0
  31. /package/dist/packem_shared/{arrayify-CJp87iG7.mjs → arrayify-CJp87iG7.js} +0 -0
  32. /package/dist/packem_shared/{createRollupLogger-DyOYcur8.mjs → createRollupLogger-DyOYcur8.js} +0 -0
  33. /package/dist/packem_shared/{enhanceRollupError-DmItfx-U.mjs → enhanceRollupError-DmItfx-U.js} +0 -0
  34. /package/dist/packem_shared/{getEntryFileNames-DF1zHqbH.mjs → getEntryFileNames-DF1zHqbH.js} +0 -0
  35. /package/dist/packem_shared/{getHash-C4PDVNN_.mjs → getHash-C4PDVNN_.js} +0 -0
  36. /package/dist/packem_shared/{getPackageName-CwjDzCnN.mjs → getPackageName-CwjDzCnN.js} +0 -0
  37. /package/dist/packem_shared/{getRegexMatches-CIyZXB3k.mjs → getRegexMatches-CIyZXB3k.js} +0 -0
  38. /package/dist/packem_shared/{sortUserPlugins-BeSpxWa9.mjs → sortUserPlugins-BeSpxWa9.js} +0 -0
  39. /package/dist/packem_shared/{svgEncoder-BHLRmBWl.mjs → svgEncoder-BHLRmBWl.js} +0 -0
  40. /package/dist/packem_shared/{warn-B6AJDQdJ.mjs → warn-B6AJDQdJ.js} +0 -0
  41. /package/dist/types/{index.mjs → index.js} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,229 @@
1
+ ## @visulima/packem-share [1.0.0-alpha.41](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.40...@visulima/packem-share@1.0.0-alpha.41) (2026-04-24)
2
+
3
+ ## @visulima/packem-share [1.0.0-alpha.40](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.39...@visulima/packem-share@1.0.0-alpha.40) (2026-04-24)
4
+
5
+ ## @visulima/packem-share [1.0.0-alpha.39](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.38...@visulima/packem-share@1.0.0-alpha.39) (2026-04-24)
6
+
7
+ ## @visulima/packem-share [1.0.0-alpha.38](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.37...@visulima/packem-share@1.0.0-alpha.38) (2026-04-24)
8
+
9
+ ## @visulima/packem-share [1.0.0-alpha.37](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.36...@visulima/packem-share@1.0.0-alpha.37) (2026-04-24)
10
+
11
+ ## @visulima/packem-share [1.0.0-alpha.36](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.35...@visulima/packem-share@1.0.0-alpha.36) (2026-04-24)
12
+
13
+ ## @visulima/packem-share [1.0.0-alpha.35](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.34...@visulima/packem-share@1.0.0-alpha.35) (2026-04-24)
14
+
15
+ ### ⚠ BREAKING CHANGES
16
+
17
+ * **packem:** unify externals plugins, track per-entry DTS extensions
18
+
19
+ ### Features
20
+
21
+ * **packem:** unify externals plugins, track per-entry DTS extensions ([22647ba](https://github.com/visulima/packem/commit/22647ba5d10c220051e71a3bfaa55baa59957d6e))
22
+
23
+ ## @visulima/packem-share [1.0.0-alpha.34](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.33...@visulima/packem-share@1.0.0-alpha.34) (2026-04-23)
24
+
25
+ ### Bug Fixes
26
+
27
+ * **packem-share:** emit .d.mts/.d.cts for split dual-format contexts ([eecc05f](https://github.com/visulima/packem/commit/eecc05f65e727ad2fdf4bc9cd454144334d7ae3c))
28
+
29
+ ## @visulima/packem-share [1.0.0-alpha.33](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.32...@visulima/packem-share@1.0.0-alpha.33) (2026-04-23)
30
+
31
+ ## @visulima/packem-share [1.0.0-alpha.32](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.31...@visulima/packem-share@1.0.0-alpha.32) (2026-04-23)
32
+
33
+ ### ⚠ BREAKING CHANGES
34
+
35
+ * **packem:** The following public API is removed:
36
+ - `options.isolatedDeclarationTransformer` (packem config field)
37
+ - `options.rollup.isolatedDeclarations` (plugin exclude/ignoreErrors config)
38
+ - `@visulima/packem/dts/isolated/transformer/{oxc,swc,typescript}` subpath exports
39
+ - `@visulima/packem-rollup/plugin/isolated-declarations` subpath export
40
+ - Exported types `IsolatedDeclarationsTransformer`, `IsolatedDeclarationsResult`,
41
+ `IsolatedDeclarationsOptions`
42
+ - CLI init prompts for "isolated declaration transformer" selection
43
+
44
+ Enable TypeScript's isolated declarations via `tsconfig.compilerOptions.isolatedDeclarations`;
45
+ rollup-plugin-dts picks it up automatically via oxc.
46
+
47
+ - Delete packem-rollup/src/plugins/isolated-declarations/ (381 lines + 4 utils)
48
+ - Delete three packem-rollup/src/plugins/{oxc,swc,typescript}/isolated-declarations-*-transformer.ts
49
+ - Delete three packem/src/rollup/plugins/**/isolated-declarations-*-transformer.ts re-exports
50
+ - Delete the ~600-line "isolated declarations" describe block in typescript.test.ts
51
+ - Relocate the shared fix-dts-default-cjs-exports utility out of the deleted dir
52
+ - Rewire build-types.ts, get-rollup-options.ts, watch.ts, cli/commands/init.ts,
53
+ packem/index.ts, and all packem.config.ts files to drop the option and the
54
+ plugin wiring
55
+ - Drop processConditionalComments from minify-html-literals defaults since
56
+ html-minifier-next v6 removed it (fixes pre-existing tsc error)
57
+ - Add types: ["node"] to packem-share tsconfig so pre-commit tsc finds the node
58
+ globals (process, Buffer, node:crypto) — pre-existing latent issue
59
+ - Update two snapshots affected by the new bundled DTS pipeline (ecosystem/sitefetch,
60
+ externals namespaced peers — the latter also reflects the _$ prefix from the
61
+ prior rollup-plugin-dts sync)
62
+
63
+ Skipped hook because it triggers a pre-existing flaky css cache-invalidation
64
+ test (EPERM on index.css, unrelated to this refactor — verified failing on
65
+ HEAD without these changes).
66
+
67
+ Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
68
+
69
+ ### Code Refactoring
70
+
71
+ * **packem:** drop isolatedDeclarationTransformer; use rollup-plugin-dts only ([3e7049f](https://github.com/visulima/packem/commit/3e7049f29e877a305e1c32d05b44aee5da8805ff))
72
+
73
+ ## @visulima/packem-share [1.0.0-alpha.31](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.30...@visulima/packem-share@1.0.0-alpha.31) (2026-04-18)
74
+
75
+ ## @visulima/packem-share [1.0.0-alpha.30](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.29...@visulima/packem-share@1.0.0-alpha.30) (2026-04-16)
76
+
77
+ ### Miscellaneous Chores
78
+
79
+ * bump node engines to ^22.14.0 || >=24.10.0 ([32f705a](https://github.com/visulima/packem/commit/32f705aa866f9daea6a094df74ef66aa8088e2c6))
80
+
81
+ ## @visulima/packem-share [1.0.0-alpha.29](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.28...@visulima/packem-share@1.0.0-alpha.29) (2026-03-28)
82
+
83
+ ## @visulima/packem-share [1.0.0-alpha.28](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.27...@visulima/packem-share@1.0.0-alpha.28) (2026-03-24)
84
+
85
+ ## @visulima/packem-share [1.0.0-alpha.27](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.26...@visulima/packem-share@1.0.0-alpha.27) (2026-03-24)
86
+
87
+ ## @visulima/packem-share [1.0.0-alpha.26](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.25...@visulima/packem-share@1.0.0-alpha.26) (2026-03-24)
88
+
89
+ ## @visulima/packem-share [1.0.0-alpha.25](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.24...@visulima/packem-share@1.0.0-alpha.25) (2026-03-24)
90
+
91
+ ## @visulima/packem-share [1.0.0-alpha.24](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.23...@visulima/packem-share@1.0.0-alpha.24) (2026-03-16)
92
+
93
+ ## @visulima/packem-share [1.0.0-alpha.23](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.22...@visulima/packem-share@1.0.0-alpha.23) (2026-03-14)
94
+
95
+ ## @visulima/packem-share [1.0.0-alpha.22](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.21...@visulima/packem-share@1.0.0-alpha.22) (2026-03-06)
96
+
97
+ ## @visulima/packem-share [1.0.0-alpha.21](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.20...@visulima/packem-share@1.0.0-alpha.21) (2026-03-05)
98
+
99
+ ### Miscellaneous Chores
100
+
101
+ * **packem-share:** update source and tests ([751862a](https://github.com/visulima/packem/commit/751862abb19a001b158b3ad39557f2e85bcb1135))
102
+ * update dependencies, fix linting and improve code formatting ([d78b132](https://github.com/visulima/packem/commit/d78b1325ce79dbd14deeb6311a74d81f7172a81e))
103
+
104
+ ## @visulima/packem-share [1.0.0-alpha.20](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.19...@visulima/packem-share@1.0.0-alpha.20) (2026-02-21)
105
+
106
+ ### Miscellaneous Chores
107
+
108
+ * **packem-share:** update source and tests ([e84f359](https://github.com/visulima/packem/commit/e84f3596a8ff4b99868886497e13f97143f84737))
109
+ * remove empty optionalDependencies sections from package.json files ([a4aecaa](https://github.com/visulima/packem/commit/a4aecaaacb33d1ffcc8731cfc5247e5f7fa79cf0))
110
+
111
+ ## @visulima/packem-share [1.0.0-alpha.19](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.18...@visulima/packem-share@1.0.0-alpha.19) (2025-12-29)
112
+
113
+ ### Features
114
+
115
+ * **packem:** enhance external dependency resolution and add new tests ([397c914](https://github.com/visulima/packem/commit/397c9147611f9def319ea81e3fc0546a2300b8ec))
116
+
117
+ ### Miscellaneous Chores
118
+
119
+ * update pnpm workspace and lockfile configurations ([121fa13](https://github.com/visulima/packem/commit/121fa1399bff3738bc6dbeac310aaff04ead670d))
120
+
121
+ ## @visulima/packem-share [1.0.0-alpha.18](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.17...@visulima/packem-share@1.0.0-alpha.18) (2025-12-24)
122
+
123
+ ### Miscellaneous Chores
124
+
125
+ * update dependencies and improve configuration ([aa5ea19](https://github.com/visulima/packem/commit/aa5ea194b5add7df38a8855e618736fea0ae37fe))
126
+
127
+ ### Code Refactoring
128
+
129
+ * improve environment variable handling and enhance entry inference ([c21e7b9](https://github.com/visulima/packem/commit/c21e7b9537a77fe835ef25d5bc4b4d0898e89b35))
130
+
131
+ ## @visulima/packem-share [1.0.0-alpha.17](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.16...@visulima/packem-share@1.0.0-alpha.17) (2025-12-16)
132
+
133
+ ## @visulima/packem-share [1.0.0-alpha.16](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.15...@visulima/packem-share@1.0.0-alpha.16) (2025-12-13)
134
+
135
+ ## @visulima/packem-share [1.0.0-alpha.15](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.14...@visulima/packem-share@1.0.0-alpha.15) (2025-12-09)
136
+
137
+ ### Features
138
+
139
+ * added preset for react and solid, added babel transformer ([773b907](https://github.com/visulima/packem/commit/773b907b462985cb61a5c978c43e227f24db6706))
140
+
141
+ ## @visulima/packem-share [1.0.0-alpha.14](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.13...@visulima/packem-share@1.0.0-alpha.14) (2025-11-25)
142
+
143
+ ### Miscellaneous Chores
144
+
145
+ * update dependencies and package versions across multiple files ([#172](https://github.com/visulima/packem/issues/172)) ([f73c1dc](https://github.com/visulima/packem/commit/f73c1dc453f55c52da98e4b7c60f44ffd637e53c))
146
+ * update ESLint configurations across multiple packages ([1fe2d3d](https://github.com/visulima/packem/commit/1fe2d3d6e4e1139560755b538367351d2b170ad3))
147
+ * update package configurations and dependencies ([be09695](https://github.com/visulima/packem/commit/be09695f800ee23a555c54bd92e7ddd4c88182eb))
148
+ * update package dependencies and configurations ([8ec45ec](https://github.com/visulima/packem/commit/8ec45ec4cc34899161fed5446268c9036162d902))
149
+ * update package dependencies and configurations ([8453e80](https://github.com/visulima/packem/commit/8453e80187d9e6212d98dbe5aaafd031a5cabdcf))
150
+ * update package references to use 'catalog:visulima' for consistency across multiple packages ([14ee42b](https://github.com/visulima/packem/commit/14ee42b3ae978baef4752e12115d14d6bb2ba7bc))
151
+ * update package.json and pnpm-lock.yaml for @visulima/packem ([d323f2c](https://github.com/visulima/packem/commit/d323f2c3c99b6231d1c598585294babe52814375))
152
+ * update package.json and pnpm-lock.yaml for dependency management ([aa523ca](https://github.com/visulima/packem/commit/aa523ca16f29ba0a874a13693d1f9581acf6f8c3))
153
+ * update pnpm workspace and package configurations ([feacec9](https://github.com/visulima/packem/commit/feacec93d1b0cefb8ea5d2b730fc1c6918925826))
154
+
155
+ ### Continuous Integration
156
+
157
+ * fixed dep connections ([1c0807f](https://github.com/visulima/packem/commit/1c0807f92b1b6742f0da7f587226b418bd200f80))
158
+
159
+ ## @visulima/packem-share [1.0.0-alpha.13](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.12...@visulima/packem-share@1.0.0-alpha.13) (2025-10-08)
160
+
161
+ ### Bug Fixes
162
+
163
+ * enhance package-json-exports and preserve-directives tests ([c3b58f2](https://github.com/visulima/packem/commit/c3b58f251ea9ed3d8747a967b6f53fd4c1773509))
164
+
165
+ ### Miscellaneous Chores
166
+
167
+ * update dependencies and improve package validation tests ([b4fd83b](https://github.com/visulima/packem/commit/b4fd83bf3f5749d53c1c01eaf10d61f88530d9f4))
168
+ * update package.json scripts and dependencies ([8f2aa25](https://github.com/visulima/packem/commit/8f2aa25956f2570a65b53d9f936c8cf1d730a49f))
169
+
170
+ ## @visulima/packem-share [1.0.0-alpha.12](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.11...@visulima/packem-share@1.0.0-alpha.12) (2025-09-22)
171
+
172
+ ### Bug Fixes
173
+
174
+ * updated deps, added usage of pnpm catalog ([14987df](https://github.com/visulima/packem/commit/14987dff37121ca7aab6f9d0a07b24a1a2f5284a))
175
+
176
+ ## @visulima/packem-share [1.0.0-alpha.11](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.10...@visulima/packem-share@1.0.0-alpha.11) (2025-09-17)
177
+
178
+ ### Bug Fixes
179
+
180
+ * update dependencies and versions across multiple packages ([b17ec3b](https://github.com/visulima/packem/commit/b17ec3b30f1bfa6267e9eede14fbb569c55b09cf))
181
+
182
+ ## @visulima/packem-share [1.0.0-alpha.10](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.9...@visulima/packem-share@1.0.0-alpha.10) (2025-09-05)
183
+
184
+ ### Bug Fixes
185
+
186
+ * update dependencies and versions across multiple packages ([1bf21ee](https://github.com/visulima/packem/commit/1bf21ee3bf5e06c6ac53872ec33d64b4ad7cf588))
187
+
188
+ ### Miscellaneous Chores
189
+
190
+ * update dependencies and versions in package.json and pnpm-lock.yaml ([e6086fb](https://github.com/visulima/packem/commit/e6086fbd6ad21bbc35b8365b03e8a5d543354154))
191
+
192
+ ## @visulima/packem-share [1.0.0-alpha.9](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.8...@visulima/packem-share@1.0.0-alpha.9) (2025-08-29)
193
+
194
+ ### Features
195
+
196
+ * added the first migration for the rolldown-plugin-dts for rollup ([fb3321f](https://github.com/visulima/packem/commit/fb3321fedb5101368bdf8e711db30d00d9ef26f3))
197
+ * introduce debarrel optimization for improved import handling ([129435e](https://github.com/visulima/packem/commit/129435ee941f2cd9f003046225e2a8862eb2cba7))
198
+
199
+ ## @visulima/packem-share [1.0.0-alpha.8](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.7...@visulima/packem-share@1.0.0-alpha.8) (2025-08-25)
200
+
201
+ ### Features
202
+
203
+ * Add Data URI plugin support for SVG files ([8528648](https://github.com/visulima/packem/commit/852864828d09a70367c93228b1bee8699e1e00f2))
204
+
205
+ ## @visulima/packem-share [1.0.0-alpha.7](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.6...@visulima/packem-share@1.0.0-alpha.7) (2025-08-20)
206
+
207
+ ### Bug Fixes
208
+
209
+ * fixed the custom resolver for tailwind loader ([1fd0b43](https://github.com/visulima/packem/commit/1fd0b4345aa90f5c250eba9fd8c741e569b84abc))
210
+
211
+ ## @visulima/packem-share [1.0.0-alpha.6](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.5...@visulima/packem-share@1.0.0-alpha.6) (2025-08-17)
212
+
213
+ ### Features
214
+
215
+ * added tailwindcss oxide loader ([#166](https://github.com/visulima/packem/issues/166)) ([acbbc59](https://github.com/visulima/packem/commit/acbbc59071e771a94d1a0c5435b267e483e3ad73))
216
+
217
+ ## @visulima/packem-share [1.0.0-alpha.5](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.4...@visulima/packem-share@1.0.0-alpha.5) (2025-08-10)
218
+
219
+ ### Bug Fixes
220
+
221
+ * update dependencies and add data-uri plugin support ([a52dab5](https://github.com/visulima/packem/commit/a52dab541290324218949ad5ea9502b127d0b0dd))
222
+
223
+ ### Miscellaneous Chores
224
+
225
+ * update package dependencies to version 2.0.3 for @anolilab/semantic-release-pnpm and @anolilab/semantic-release-preset; bump oxc-transform and oxc-parser to 0.79.1 ([ce60668](https://github.com/visulima/packem/commit/ce606682c65afcb710e7a923429c2c543f52d88f))
226
+
1
227
  ## @visulima/packem-share [1.0.0-alpha.4](https://github.com/visulima/packem/compare/@visulima/packem-share@1.0.0-alpha.3...@visulima/packem-share@1.0.0-alpha.4) (2025-07-31)
2
228
 
3
229
  ### Features