@visulima/packem 2.0.0-alpha.3 → 2.0.0-alpha.30

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 (58) hide show
  1. package/CHANGELOG.md +346 -1
  2. package/README.md +16 -12
  3. package/dist/builder/typedoc/index.d.ts +6 -3
  4. package/dist/builder/typedoc/index.js +3 -3
  5. package/dist/cli/index.js +37 -37
  6. package/dist/config/index.d.ts +6 -3
  7. package/dist/index.d.ts +8 -5
  8. package/dist/index.js +1 -1
  9. package/dist/packem_shared/default-BYM_JvQL.js +1 -0
  10. package/dist/packem_shared/default-Bi3Aj6a9.js +1 -0
  11. package/dist/packem_shared/{default-DqRcOUe1.js → default-CTae39UA.js} +1 -1
  12. package/dist/packem_shared/{default-B6X7-Lx3.js → default-C_x8DHoD.js} +1 -1
  13. package/dist/packem_shared/default-YwldmWl4.js +1 -0
  14. package/dist/packem_shared/esbuildPlugin-BrFhdKJk-C8Y7RuGP.js +3 -0
  15. package/dist/packem_shared/{index-DySckW0r.d.ts → index-BYO428ZM.d.ts} +641 -510
  16. package/dist/packem_shared/index-dFhGUj4X.js +180 -0
  17. package/dist/packem_shared/isolatedDeclarationsTypescriptTransformer-DkuEkofo-BCM0B079.js +3 -0
  18. package/dist/packem_shared/oxcResolvePlugin-BJpi-eSG-RVsiMbfI.js +1 -0
  19. package/dist/packem_shared/resolveTypescriptMjsCtsPlugin-DcZrZTmM-DYkwKhiN.js +6 -0
  20. package/dist/packem_shared/{types-CaBbG-vU.d.ts → types-BXtpQcRr.d.ts} +16 -4
  21. package/dist/rollup/plugins/css/loaders/less.d.ts +1 -1
  22. package/dist/rollup/plugins/css/loaders/less.js +1 -1
  23. package/dist/rollup/plugins/css/loaders/lightningcss.d.ts +1 -1
  24. package/dist/rollup/plugins/css/loaders/lightningcss.js +1 -1
  25. package/dist/rollup/plugins/css/loaders/postcss.d.ts +1 -1
  26. package/dist/rollup/plugins/css/loaders/postcss.js +1 -1
  27. package/dist/rollup/plugins/css/loaders/sass.d.ts +1 -1
  28. package/dist/rollup/plugins/css/loaders/sass.js +1 -1
  29. package/dist/rollup/plugins/css/loaders/sourcemap.d.ts +9 -8
  30. package/dist/rollup/plugins/css/loaders/sourcemap.js +1 -1
  31. package/dist/rollup/plugins/css/loaders/stylus.d.ts +1 -1
  32. package/dist/rollup/plugins/css/loaders/stylus.js +1 -1
  33. package/dist/rollup/plugins/css/loaders/tailwindcss.d.ts +1 -0
  34. package/dist/rollup/plugins/css/loaders/tailwindcss.js +1 -0
  35. package/dist/rollup/plugins/css/minifiers/cssnano.d.ts +1 -1
  36. package/dist/rollup/plugins/css/minifiers/cssnano.js +1 -1
  37. package/dist/rollup/plugins/css/minifiers/lightningcss.d.ts +1 -1
  38. package/dist/rollup/plugins/css/minifiers/lightningcss.js +1 -1
  39. package/dist/rollup/plugins/esbuild/index.d.ts +4 -2
  40. package/dist/rollup/plugins/esbuild/index.js +1 -1
  41. package/dist/rollup/plugins/oxc/isolated-declarations-oxc-transformer.d.ts +5 -3
  42. package/dist/rollup/plugins/oxc/oxc-transformer.d.ts +4 -2
  43. package/dist/rollup/plugins/sucrase/index.d.ts +3 -1
  44. package/dist/rollup/plugins/sucrase/index.js +1 -1
  45. package/dist/rollup/plugins/swc/isolated-declarations-swc-transformer.d.ts +9 -2
  46. package/dist/rollup/plugins/swc/swc-plugin.d.ts +4 -8
  47. package/dist/rollup/plugins/typescript/isolated-declarations-typescript-transformer.d.ts +3 -1
  48. package/dist/rollup/plugins/typescript/isolated-declarations-typescript-transformer.js +1 -1
  49. package/files.d.ts +37 -0
  50. package/package.json +50 -26
  51. package/dist/packem_shared/default-B_dUKZ_J.js +0 -1
  52. package/dist/packem_shared/default-C3sdXf4G.js +0 -1
  53. package/dist/packem_shared/default-DR5Fia_R.js +0 -1
  54. package/dist/packem_shared/esbuildPlugin-BAwyhG6L-yty60jMl.js +0 -3
  55. package/dist/packem_shared/index-DWE3PZRE.js +0 -138
  56. package/dist/packem_shared/isolatedDeclarationsTypescriptTransformer-DkuEkofo-Cwe3ODMG.js +0 -3
  57. package/dist/packem_shared/oxcResolvePlugin-BJpi-eSG-BsYx9cDO.js +0 -1
  58. package/dist/packem_shared/resolveTypescriptMjsCtsPlugin-DcZrZTmM-BEkYWTsH.js +0 -6
package/CHANGELOG.md CHANGED
@@ -1,3 +1,348 @@
1
+ ## @visulima/packem [2.0.0-alpha.30](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.29...@visulima/packem@2.0.0-alpha.30) (2025-10-14)
2
+
3
+
4
+ ### Dependencies
5
+
6
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.23
7
+
8
+ ## @visulima/packem [2.0.0-alpha.29](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.28...@visulima/packem@2.0.0-alpha.29) (2025-10-12)
9
+
10
+ ### Bug Fixes
11
+
12
+ * update readme ([3b5467f](https://github.com/visulima/packem/commit/3b5467f8ba57e39495582a8914d970fe455c70e8))
13
+
14
+ ### Miscellaneous Chores
15
+
16
+ * add .cursorignore and update package.json for isolated transformers ([750e101](https://github.com/visulima/packem/commit/750e101a6d5b88f0b9a6c5952ee1223c825eb2ad))
17
+ * update pnpm workspace and package configurations ([feacec9](https://github.com/visulima/packem/commit/feacec93d1b0cefb8ea5d2b730fc1c6918925826))
18
+ * update TypeScript SDK path and adjust package dependencies ([b3a3661](https://github.com/visulima/packem/commit/b3a3661299bcb2343a0da19dddebb43678575750))
19
+
20
+ ## @visulima/packem [2.0.0-alpha.28](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.27...@visulima/packem@2.0.0-alpha.28) (2025-10-11)
21
+
22
+ ### Bug Fixes
23
+
24
+ * update dependencies and improve require CJS transformer ([a8d4fb7](https://github.com/visulima/packem/commit/a8d4fb7f35a313fd22c123b4b6487a346eb66e0a))
25
+
26
+
27
+ ### Dependencies
28
+
29
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.22
30
+
31
+ ## @visulima/packem [2.0.0-alpha.27](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.26...@visulima/packem@2.0.0-alpha.27) (2025-10-08)
32
+
33
+ ### Bug Fixes
34
+
35
+ * enhance minifyHTMLLiterals plugin options to include logger ([ca6ecae](https://github.com/visulima/packem/commit/ca6ecae6ea18fd5ee4cb13111d3fe3938bd489b0))
36
+
37
+ ## @visulima/packem [2.0.0-alpha.26](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.25...@visulima/packem@2.0.0-alpha.26) (2025-10-08)
38
+
39
+ ### Bug Fixes
40
+
41
+ * update dependencies and improve minification options ([25b69b5](https://github.com/visulima/packem/commit/25b69b50f7631655303a417e61f3a37e2aa3c017))
42
+
43
+
44
+ ### Dependencies
45
+
46
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.21
47
+
48
+ ## @visulima/packem [2.0.0-alpha.25](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.24...@visulima/packem@2.0.0-alpha.25) (2025-10-08)
49
+
50
+ ### Bug Fixes
51
+
52
+ * enhance package-json-exports and preserve-directives tests ([c3b58f2](https://github.com/visulima/packem/commit/c3b58f251ea9ed3d8747a967b6f53fd4c1773509))
53
+
54
+ ### Miscellaneous Chores
55
+
56
+ * update dependencies and add minify-html-literals plugin ([e20007d](https://github.com/visulima/packem/commit/e20007ddf3cbb80c34c323ed37164baaf6f9a649))
57
+ * update dependencies and improve package validation tests ([b4fd83b](https://github.com/visulima/packem/commit/b4fd83bf3f5749d53c1c01eaf10d61f88530d9f4))
58
+
59
+ ### Tests
60
+
61
+ * enhance infer-entries and package validation tests ([42624c1](https://github.com/visulima/packem/commit/42624c1b14f937e4365222753ace3f4b4b0d9b3c))
62
+
63
+
64
+ ### Dependencies
65
+
66
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.20
67
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.13
68
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.7
69
+
70
+ ## @visulima/packem [2.0.0-alpha.24](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.23...@visulima/packem@2.0.0-alpha.24) (2025-10-07)
71
+
72
+ ### Bug Fixes
73
+
74
+ * update documentation and references from Packen to Packem ([9983009](https://github.com/visulima/packem/commit/99830099c953e2b12269ea18606838d80f1e6e2b))
75
+
76
+ ### Miscellaneous Chores
77
+
78
+ * update package.json dependencies for packem and rollup-plugin-css ([8ff92d6](https://github.com/visulima/packem/commit/8ff92d6a904882076bda9ac796b4fe8740fc4f57))
79
+
80
+
81
+ ### Dependencies
82
+
83
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.19
84
+
85
+ ## @visulima/packem [2.0.0-alpha.23](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.22...@visulima/packem@2.0.0-alpha.23) (2025-10-02)
86
+
87
+ ### Bug Fixes
88
+
89
+ * update dependencies and versions across multiple packages ([a0d209d](https://github.com/visulima/packem/commit/a0d209d847b1feb171850994a64591ab7d26f8cb))
90
+
91
+
92
+ ### Dependencies
93
+
94
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.18
95
+
96
+ ## @visulima/packem [2.0.0-alpha.22](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.21...@visulima/packem@2.0.0-alpha.22) (2025-09-30)
97
+
98
+ ### Features
99
+
100
+ * added support for attw and publint, fixed caching issue on validation ([6f05388](https://github.com/visulima/packem/commit/6f0538802b3cd5a2cd84a373c96b25eb7fa1c01c))
101
+ * update dependencies and add requireCJS transformer support ([050ed47](https://github.com/visulima/packem/commit/050ed47cf1ced64e74e0cf5c043edd1b8f4dead1))
102
+
103
+ ### Miscellaneous Chores
104
+
105
+ * update dependencies and versions across multiple packages ([5bd26ea](https://github.com/visulima/packem/commit/5bd26ea047d62464758e5810307f6e059f5c1025))
106
+ * update dependencies and versions across multiple packages ([3e5b4a2](https://github.com/visulima/packem/commit/3e5b4a229fc514828ab9e012a5d556163b30c2fc))
107
+
108
+ ### Code Refactoring
109
+
110
+ * remove publint integration and clean up related code ([68c0215](https://github.com/visulima/packem/commit/68c021590b5224e85d0609fad39705f71323fc6b))
111
+
112
+
113
+ ### Dependencies
114
+
115
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.17
116
+
117
+ ## @visulima/packem [2.0.0-alpha.21](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.20...@visulima/packem@2.0.0-alpha.21) (2025-09-22)
118
+
119
+ ### Bug Fixes
120
+
121
+ * updated deps, added usage of pnpm catalog ([14987df](https://github.com/visulima/packem/commit/14987dff37121ca7aab6f9d0a07b24a1a2f5284a))
122
+
123
+
124
+ ### Dependencies
125
+
126
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.16
127
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.12
128
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.6
129
+
130
+ ## @visulima/packem [2.0.0-alpha.20](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.19...@visulima/packem@2.0.0-alpha.20) (2025-09-17)
131
+
132
+ ### Bug Fixes
133
+
134
+ * update dependencies and versions across multiple packages ([b17ec3b](https://github.com/visulima/packem/commit/b17ec3b30f1bfa6267e9eede14fbb569c55b09cf))
135
+
136
+
137
+ ### Dependencies
138
+
139
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.15
140
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.11
141
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.5
142
+
143
+ ## @visulima/packem [2.0.0-alpha.19](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.18...@visulima/packem@2.0.0-alpha.19) (2025-09-05)
144
+
145
+ ### Bug Fixes
146
+
147
+ * update dependencies and versions across multiple packages ([1bf21ee](https://github.com/visulima/packem/commit/1bf21ee3bf5e06c6ac53872ec33d64b4ad7cf588))
148
+
149
+
150
+ ### Dependencies
151
+
152
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.14
153
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.10
154
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.4
155
+
156
+ ## @visulima/packem [2.0.0-alpha.18](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.17...@visulima/packem@2.0.0-alpha.18) (2025-09-03)
157
+
158
+ ### Bug Fixes
159
+
160
+ * enhance integration tests for CSS and raw data handling ([67aecd3](https://github.com/visulima/packem/commit/67aecd337192d8ea284425db7230661e87de7ad5))
161
+
162
+ ### Code Refactoring
163
+
164
+ * update integration tests to use toContain for better readability ([f4015b1](https://github.com/visulima/packem/commit/f4015b10f9910e6f6e4f214a9e0a423c57c0291f))
165
+
166
+
167
+ ### Dependencies
168
+
169
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.13
170
+
171
+ ## @visulima/packem [2.0.0-alpha.17](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.16...@visulima/packem@2.0.0-alpha.17) (2025-09-03)
172
+
173
+ ### Bug Fixes
174
+
175
+ * update .gitignore and enhance tests for CSS processing ([4e706a2](https://github.com/visulima/packem/commit/4e706a267ee2d7b9a89796b7227ae65f80823b71))
176
+
177
+ ### Miscellaneous Chores
178
+
179
+ * update dependencies and versions in package.json and pnpm-lock.yaml ([df62809](https://github.com/visulima/packem/commit/df628094fc6fd5e79cbb939a61bab79d6c89b833))
180
+
181
+
182
+ ### Dependencies
183
+
184
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.3
185
+
186
+ ## @visulima/packem [2.0.0-alpha.16](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.15...@visulima/packem@2.0.0-alpha.16) (2025-09-01)
187
+
188
+ ### Features
189
+
190
+ * add inline CSS processing mode to rollup-plugin-css ([2605997](https://github.com/visulima/packem/commit/2605997bc1e76a80b22529fd71ec053c02111ea2))
191
+
192
+ ### Miscellaneous Chores
193
+
194
+ * update dependencies and versions in package.json and pnpm-lock.yaml ([e6086fb](https://github.com/visulima/packem/commit/e6086fbd6ad21bbc35b8365b03e8a5d543354154))
195
+
196
+
197
+ ### Dependencies
198
+
199
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.2
200
+
201
+ ## @visulima/packem [2.0.0-alpha.15](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.14...@visulima/packem@2.0.0-alpha.15) (2025-08-29)
202
+
203
+ ### Features
204
+
205
+ * added the first migration for the rolldown-plugin-dts for rollup ([fb3321f](https://github.com/visulima/packem/commit/fb3321fedb5101368bdf8e711db30d00d9ef26f3))
206
+ * enhance jiti import resolution in create-stub ([6c4ddb3](https://github.com/visulima/packem/commit/6c4ddb32238fd5cb3ac94e9f98ce27999c58034a))
207
+ * implement lazy barrel optimization in rollup-plugin ([2cdcb34](https://github.com/visulima/packem/commit/2cdcb342f41940b4b277698740153953b905acd0))
208
+ * introduce debarrel optimization for improved import handling ([129435e](https://github.com/visulima/packem/commit/129435ee941f2cd9f003046225e2a8862eb2cba7))
209
+ * update rollup-plugin-dts with new dependencies and type handling improvements ([b9ca7f8](https://github.com/visulima/packem/commit/b9ca7f802247977c5cd0a4debf8fe3a376c525df))
210
+
211
+ ### Code Refactoring
212
+
213
+ * rename rollup-css-plugin to rollup-plugin-css and update related imports ([876e241](https://github.com/visulima/packem/commit/876e241ec8cf727e9f1666902733996752b18295))
214
+
215
+
216
+ ### Dependencies
217
+
218
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.12
219
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.9
220
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.1
221
+
222
+ ## @visulima/packem [2.0.0-alpha.14](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.13...@visulima/packem@2.0.0-alpha.14) (2025-08-25)
223
+
224
+ ### Features
225
+
226
+ * Add Data URI plugin support for SVG files ([8528648](https://github.com/visulima/packem/commit/852864828d09a70367c93228b1bee8699e1e00f2))
227
+
228
+
229
+ ### Dependencies
230
+
231
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.11
232
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.8
233
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.10
234
+
235
+ ## @visulima/packem [2.0.0-alpha.13](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.12...@visulima/packem@2.0.0-alpha.13) (2025-08-21)
236
+
237
+ ### Bug Fixes
238
+
239
+ * Introduce Button and Card components with Tailwind CSS styles ([bd9d5c3](https://github.com/visulima/packem/commit/bd9d5c371afbc6adf030ade6a64b572f6eb4c2cc))
240
+
241
+ ### Code Refactoring
242
+
243
+ * Update component imports and CSS references for Tailwind integration ([46a1293](https://github.com/visulima/packem/commit/46a1293c5694fccd79670f9c9f51565374f26069))
244
+ * Update CSS imports and component structure for Tailwind integration ([8f4535a](https://github.com/visulima/packem/commit/8f4535a6cf762ae8a5369154fdc870e76e817ffc))
245
+
246
+
247
+ ### Dependencies
248
+
249
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.10
250
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.9
251
+
252
+ ## @visulima/packem [2.0.0-alpha.12](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.11...@visulima/packem@2.0.0-alpha.12) (2025-08-21)
253
+
254
+
255
+ ### Dependencies
256
+
257
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.8
258
+
259
+ ## @visulima/packem [2.0.0-alpha.11](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.10...@visulima/packem@2.0.0-alpha.11) (2025-08-20)
260
+
261
+ ### Bug Fixes
262
+
263
+ * update raw plugin to handle .js?raw imports and improve file reading ([670dad5](https://github.com/visulima/packem/commit/670dad559e535af5c883556e6a7af7794465c669))
264
+
265
+
266
+ ### Dependencies
267
+
268
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.9
269
+
270
+ ## @visulima/packem [2.0.0-alpha.10](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.9...@visulima/packem@2.0.0-alpha.10) (2025-08-20)
271
+
272
+ ### Bug Fixes
273
+
274
+ * fixed the custom resolver for tailwind loader ([1fd0b43](https://github.com/visulima/packem/commit/1fd0b4345aa90f5c250eba9fd8c741e569b84abc))
275
+
276
+ ### Miscellaneous Chores
277
+
278
+ * update dependencies for Tailwind CSS and CSS Style Inject ([ef84f41](https://github.com/visulima/packem/commit/ef84f4193be1008b630e9bb29b2cbc78a6d93532))
279
+
280
+
281
+ ### Dependencies
282
+
283
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.8
284
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.7
285
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.7
286
+
287
+ ## @visulima/packem [2.0.0-alpha.9](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.8...@visulima/packem@2.0.0-alpha.9) (2025-08-17)
288
+
289
+ ### Features
290
+
291
+ * added tailwindcss oxide loader ([#166](https://github.com/visulima/packem/issues/166)) ([acbbc59](https://github.com/visulima/packem/commit/acbbc59071e771a94d1a0c5435b267e483e3ad73))
292
+
293
+
294
+ ### Dependencies
295
+
296
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.7
297
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.6
298
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.6
299
+
300
+ ## @visulima/packem [2.0.0-alpha.8](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.7...@visulima/packem@2.0.0-alpha.8) (2025-08-11)
301
+
302
+ ### Bug Fixes
303
+
304
+ * fixed undefined based on exitCode ([9bd9a54](https://github.com/visulima/packem/commit/9bd9a5413d78163b56efda75c18270ad9f099106))
305
+
306
+ ## @visulima/packem [2.0.0-alpha.7](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.6...@visulima/packem@2.0.0-alpha.7) (2025-08-10)
307
+
308
+ ### Features
309
+
310
+ * add lucide-static integration and SVG comment stripping ([ac344b3](https://github.com/visulima/packem/commit/ac344b3eb9566e479764625cd877617379d10c16))
311
+
312
+
313
+ ### Dependencies
314
+
315
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.6
316
+
317
+ ## @visulima/packem [2.0.0-alpha.6](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.5...@visulima/packem@2.0.0-alpha.6) (2025-08-10)
318
+
319
+ ### Bug Fixes
320
+
321
+ * update dependencies and add data-uri plugin support ([a52dab5](https://github.com/visulima/packem/commit/a52dab541290324218949ad5ea9502b127d0b0dd))
322
+
323
+
324
+ ### Dependencies
325
+
326
+ * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.5
327
+ * **@visulima/packem-share:** upgraded to 1.0.0-alpha.5
328
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.5
329
+
330
+ ## @visulima/packem [2.0.0-alpha.5](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.4...@visulima/packem@2.0.0-alpha.5) (2025-07-31)
331
+
332
+ ### Bug Fixes
333
+
334
+ * add comprehensive tests for glob pattern validation in package exports ([00cdaf1](https://github.com/visulima/packem/commit/00cdaf1770ce8997174392a5e6ef3f53c3e54da7))
335
+
336
+ ## @visulima/packem [2.0.0-alpha.4](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.3...@visulima/packem@2.0.0-alpha.4) (2025-07-31)
337
+
338
+ ### Bug Fixes
339
+
340
+ * enhance `ignoreExportKeys` functionality to support wildcard patterns ([18370ae](https://github.com/visulima/packem/commit/18370ae4d298119ccc3ccfdb95b1c82968990209))
341
+
342
+ ### Tests
343
+
344
+ * adjust assertions in package-json-exports integration test ([1b75e29](https://github.com/visulima/packem/commit/1b75e29d2c9e04e27c8ef00a64374c374c6a8f24))
345
+
1
346
  ## @visulima/packem [2.0.0-alpha.3](https://github.com/visulima/packem/compare/@visulima/packem@2.0.0-alpha.2...@visulima/packem@2.0.0-alpha.3) (2025-07-31)
2
347
 
3
348
  ### Features
@@ -163,7 +508,7 @@
163
508
 
164
509
  * **@visulima/packem-rollup:** upgraded to 1.0.0-alpha.1
165
510
  * **@visulima/packem-share:** upgraded to 1.0.0-alpha.1
166
- * **@visulima/rollup-css-plugin:** upgraded to 1.0.0-alpha.1
511
+ * **@visulima/rollup-plugin-css:** upgraded to 1.0.0-alpha.1
167
512
 
168
513
  ## @visulima/packem [1.28.2](https://github.com/visulima/packem/compare/@visulima/packem@1.28.1...@visulima/packem@1.28.2) (2025-06-24)
169
514
 
package/README.md CHANGED
@@ -53,7 +53,7 @@ It uses the `exports` configuration in `package.json` and recognizes entry file
53
53
  - ✅ Supports react server and client components
54
54
  - ✅ Supports shared modules
55
55
  - ✅ Supports dynamic import
56
- - ✅ Supports `tsconfig.json` paths and `package.json` imports resolution
56
+ - ✅ Supports `tsconfig.json` paths and `package.json`, `package.yml`, `package.yaml` and `package.json5` imports resolution
57
57
  - ✅ ESM ⇄ CJS interoperability
58
58
  - ✅ Supports isolated declaration types (experimental) (Typescript version 5.5 or higher)
59
59
  - ✅ Supports wasm [WebAssembly modules](http://webassembly.org)
@@ -163,13 +163,9 @@ Enable the automatic `node 10` typesVersions generation in packem.config.js:
163
163
  ```js
164
164
  export default defineConfig({
165
165
  // ...
166
- rollup: {
167
- // ...
168
- node10Compatibility: {
169
- typeScriptVersion: ">=5.0", // Chose the version of TypeScript you want to support
170
- writeToPackageJson: true,
171
- },
172
- // ...
166
+ node10Compatibility: {
167
+ typeScriptVersion: ">=5.0", // Chose the version of TypeScript you want to support
168
+ writeToPackageJson: true,
173
169
  },
174
170
  transformer,
175
171
  });
@@ -454,13 +450,13 @@ Native Node.js import mapping supports conditional imports (eg. resolving differ
454
450
  {
455
451
  // ...
456
452
 
457
- "imports": {
453
+ imports: {
458
454
  // Mapping '~utils' to './src/utils.js'
459
455
  "~utils": "./src/utils.js",
460
456
 
461
457
  // Native Node.js import mapping (can't reference ./src)
462
- "#internal-package": "./vendors/package/index.js"
463
- }
458
+ "#internal-package": "./vendors/package/index.js",
459
+ },
464
460
  }
465
461
  ```
466
462
 
@@ -895,7 +891,15 @@ Will look for `_custom` first (_with the appropriate extension(s)_), and then fo
895
891
  styles({
896
892
  mode: "inject", // Unnecessary, set by default
897
893
  // ...or with custom options for injector
898
- mode: ["inject", { attributes: { id: "global" }, container: "body", prepend: true, singleTag: true }],
894
+ mode: [
895
+ "inject",
896
+ {
897
+ attributes: { id: "global" },
898
+ container: "body",
899
+ prepend: true,
900
+ singleTag: true,
901
+ },
902
+ ],
899
903
  // ...or with custom injector
900
904
  mode: ["inject", (varname, id) => `console.log(${varname},${JSON.stringify(id)})`],
901
905
  });
@@ -1,5 +1,5 @@
1
- import { B as BuildContext } from '../../packem_shared/index-DySckW0r.js';
2
- import { I as InternalBuildOptions } from '../../packem_shared/types-CaBbG-vU.js';
1
+ import { B as BuildContext } from '../../packem_shared/index-BYO428ZM.js';
2
+ import { I as InternalBuildOptions } from '../../packem_shared/types-BXtpQcRr.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -12,13 +12,16 @@ import 'rollup-plugin-dts';
12
12
  import 'rollup-plugin-polyfill-node';
13
13
  import 'rollup-plugin-pure';
14
14
  import 'rollup-plugin-visualizer';
15
+ import 'magic-string';
16
+ import 'html-minifier-next';
15
17
  import 'esbuild';
16
18
  import '@visulima/package';
17
19
  import '@visulima/colorize';
18
20
  import 'oxc-resolver';
19
21
  import 'oxc-transform';
20
22
  import 'sucrase';
21
- import '@visulima/rollup-css-plugin';
23
+ import '@arethetypeswrong/core';
24
+ import '@visulima/rollup-plugin-css';
22
25
  import 'jiti';
23
26
  import 'typedoc';
24
27
 
@@ -1,3 +1,3 @@
1
- var j=Object.defineProperty;var g=(e,o)=>j(e,"name",{value:o,configurable:!0});import{cyan as v}from"@visulima/colorize";import{join as h}from"@visulima/path";import{p as $,d as P}from"../../packem_shared/create-or-update-key-storage-GwAIWW7R.js";import{readdirSync as A}from"node:fs";import{readFileSync as w,writeFileSync as F}from"@visulima/fs";import{Application as b}from"typedoc";var T=Object.defineProperty,_=g((e,o)=>T(e,"name",{value:o,configurable:!0}),"w");const C=_(async(e,o,a,s)=>{if(o.length===0)return;const{format:t,jsonFileName:n,marker:i,output:x,plugin:k,readmePath:p,...y}=e;if(t==="inline"&&p===void 0)throw new Error("The `readmePath` option is required when using the `inline` format.");if(t!=="inline"&&typeof p=="string"&&s.warn({message:"The `readmePath` option is only used when the `inline` format is used.",prefix:"typedoc"}),t==="json"){if(n===void 0)throw new Error("The `jsonFileName` option is required when using the `json` format.");if(!n.endsWith(".json"))throw new Error("The `jsonFileName` option must end with `.json`.")}t!=="json"&&typeof n=="string"&&s.warn({message:"The `jsonFileName` option is only used when the `json` format is used.",prefix:"typedoc"});const E=o.map(m=>m.input),u=k??[];u.push("typedoc-plugin-rename-defaults"),(t==="inline"||t==="markdown")&&u.push("typedoc-plugin-markdown");const l=await b.bootstrapWithPlugins({...y,compilerOptions:{allowJs:!0,declaration:!1,declarationMap:!1,esModuleInterop:!0,module:99,moduleResolution:100,noEmit:!0,noImplicitAny:!1,skipLibCheck:!0,sourceMap:!1,target:99,...y.compilerOptions},entryPoints:E,hideGenerator:!0,out:a,plugin:u,...t==="inline"?{hideBreadcrumbs:!0,hidePageHeader:!0,navigation:!1,outputFileStrategy:"modules",useCodeBlocks:!0}:{}},[]),d=await l.convert();if(d){if(t==="json")await l.generateJson(d,n);else if(t==="html")await l.generateDocs(d,a);else if(await l.generateOutputs(d),t==="inline"){if(i===void 0)throw new Error("The `marker` option is required when using the `inline` format.");const m=A(a,{withFileTypes:!0}).filter(r=>r.isFile());let f="";for(const r of m)r.name==="README.md"&&o.length>1||(f+=w(h(a,r.name)).replaceAll(`<!-- ${i}`,`<!-- _REPLACE_${i}`).replaceAll("<!-- ${marker}",`<!-- _REPLACE_\\${i}`));if(f!==""){const r=w(p),c=$(r,i,`
2
- ${f}`);if(!c){s.error({message:`Could not find the typedoc marker: <!-- ${i} --><!-- /${i} --> in ${p}`,prefix:"typedoc"});return}if(r===c)return;c&&F(p,c.replaceAll(`<!-- _REPLACE_${i}`,`<!-- ${i}`).replaceAll(`<!-- _REPLACE_\\${i}`,"<!-- ${marker}"),{overwrite:!0})}}}},"generateReferenceDocumentation");var R=Object.defineProperty,D=g((e,o)=>R(e,"name",{value:o,configurable:!0}),"r");const B=D(async(e,o,a,s)=>{if(e.options.typedoc&&e.options.typedoc.format!==void 0){let t="unknown";e.pkg.dependencies?.typedoc?t=e.pkg.dependencies.typedoc:e.pkg.devDependencies?.typedoc&&(t=e.pkg.devDependencies.typedoc),o&&P("typedoc",o,e.logger,!0),s&&e.logger.raw(`
3
- `),e.logger.info({message:`Using ${v("typedoc")} ${t} to generate reference documentation`,prefix:"typedoc"}),await e.hooks.callHook("typedoc:before",e);let n=e.options.rootDir;e.options.typedoc.output?n=e.options.typedoc.output:e.options.typedoc.format==="inline"&&o?n=h(o,"typedoc"):e.options.typedoc.format!=="json"&&(n=h(n,"api-docs")),await C(e.options.typedoc,e.options.entries,n,e.logger),await e.hooks.callHook("typedoc:done",e)}},"builder");export{B as default};
1
+ var v=Object.defineProperty;var f=(e,o)=>v(e,"name",{value:o,configurable:!0});import{createRequire as E}from"node:module";import{cyan as P}from"@visulima/colorize";import{join as y}from"@visulima/path";import{p as A,d as T}from"../../packem_shared/create-or-update-key-storage-GwAIWW7R.js";import{readFileSync as j,writeFileSync as R}from"@visulima/fs";import{Application as C}from"typedoc";const $=E(import.meta.url),l=typeof globalThis<"u"&&typeof globalThis.process<"u"?globalThis.process:process,b=f(e=>{if(typeof l<"u"&&l.versions&&l.versions.node){const[o,r]=l.versions.node.split(".").map(Number);if(o>22||o===22&&r>=3||o===20&&r>=16)return l.getBuiltinModule(e)}return $(e)},"__cjs_getBuiltinModule"),{readdirSync:F}=b("node:fs");var q=Object.defineProperty,D=f((e,o)=>q(e,"name",{value:o,configurable:!0}),"w");const M=D(async(e,o,r,a)=>{if(o.length===0)return;const{format:t,jsonFileName:n,marker:i,output:N,plugin:k,readmePath:p,...w}=e;if(t==="inline"&&p===void 0)throw new Error("The `readmePath` option is required when using the `inline` format.");if(t!=="inline"&&typeof p=="string"&&a.warn({message:"The `readmePath` option is only used when the `inline` format is used.",prefix:"typedoc"}),t==="json"){if(n===void 0)throw new Error("The `jsonFileName` option is required when using the `json` format.");if(!n.endsWith(".json"))throw new Error("The `jsonFileName` option must end with `.json`.")}t!=="json"&&typeof n=="string"&&a.warn({message:"The `jsonFileName` option is only used when the `json` format is used.",prefix:"typedoc"});const _=o.map(g=>g.input),m=k??[];m.push("typedoc-plugin-rename-defaults"),(t==="inline"||t==="markdown")&&m.push("typedoc-plugin-markdown");const d=await C.bootstrapWithPlugins({...w,compilerOptions:{allowJs:!0,declaration:!1,declarationMap:!1,esModuleInterop:!0,module:99,moduleResolution:100,noEmit:!0,noImplicitAny:!1,skipLibCheck:!0,sourceMap:!1,target:99,...w.compilerOptions},entryPoints:_,hideGenerator:!0,out:r,plugin:m,...t==="inline"?{hideBreadcrumbs:!0,hidePageHeader:!0,navigation:!1,outputFileStrategy:"modules",useCodeBlocks:!0}:{}},[]),c=await d.convert();if(c){if(t==="json")await d.generateJson(c,n);else if(t==="html")await d.generateDocs(c,r);else if(await d.generateOutputs(c),t==="inline"){if(i===void 0)throw new Error("The `marker` option is required when using the `inline` format.");const g=F(r,{withFileTypes:!0}).filter(s=>s.isFile());let h="";for(const s of g)s.name==="README.md"&&o.length>1||(h+=j(y(r,s.name)).replaceAll(`<!-- ${i}`,`<!-- _REPLACE_${i}`).replaceAll("<!-- ${marker}",`<!-- _REPLACE_\\${i}`));if(h!==""){const s=j(p),u=A(s,i,`
2
+ ${h}`);if(!u){a.error({message:`Could not find the typedoc marker: <!-- ${i} --><!-- /${i} --> in ${p}`,prefix:"typedoc"});return}if(s===u)return;u&&R(p,u.replaceAll(`<!-- _REPLACE_${i}`,`<!-- ${i}`).replaceAll(`<!-- _REPLACE_\\${i}`,"<!-- ${marker}"),{overwrite:!0})}}}},"generateReferenceDocumentation");var x=Object.defineProperty,L=f((e,o)=>x(e,"name",{value:o,configurable:!0}),"r");const G=L(async(e,o,r,a)=>{if(e.options.typedoc&&e.options.typedoc.format!==void 0){let t="unknown";e.pkg.dependencies?.typedoc?t=e.pkg.dependencies.typedoc:e.pkg.devDependencies?.typedoc&&(t=e.pkg.devDependencies.typedoc),o&&T("typedoc",o,e.logger,!0),a&&e.logger.raw(`
3
+ `),e.logger.info({message:`Using ${P("typedoc")} ${t} to generate reference documentation`,prefix:"typedoc"}),await e.hooks.callHook("typedoc:before",e);let n=e.options.rootDir;e.options.typedoc.output?n=e.options.typedoc.output:e.options.typedoc.format==="inline"&&o?n=y(o,"typedoc"):e.options.typedoc.format!=="json"&&(n=y(n,"api-docs")),await M(e.options.typedoc,e.options.entries,n,e.logger),await e.hooks.callHook("typedoc:done",e)}},"builder");export{G as default};