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

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