@open-pioneer/vite-plugin-pioneer 7.0.0-dev.20260729122223 → 7.0.0

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 (2) hide show
  1. package/CHANGELOG.md +76 -76
  2. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog @open-pioneer/vite-plugin-pioneer
2
2
 
3
- ## 7.0.0-dev.20260729122223
3
+ ## 7.0.0
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -12,7 +12,7 @@
12
12
  - Updated dependencies [8e38b33]
13
13
  - Updated dependencies [8e38b33]
14
14
  - Updated dependencies [8e38b33]
15
- - @open-pioneer/build-common@5.0.0-dev.20260729122223
15
+ - @open-pioneer/build-common@5.0.0
16
16
 
17
17
  ## 6.0.3
18
18
 
@@ -20,7 +20,7 @@
20
20
 
21
21
  - 3b1f9cf: Migrate from eslint to oxlint and from prettier to oxfmt
22
22
  - Updated dependencies [3b1f9cf]
23
- - @open-pioneer/build-common@4.0.3
23
+ - @open-pioneer/build-common@4.0.3
24
24
 
25
25
  ## 6.0.2
26
26
 
@@ -30,7 +30,7 @@
30
30
  - 82b4559: Fix parsing of `qualifier` for services defined by dependencies in `node_modules`.
31
31
  - Updated dependencies [1a78924]
32
32
  - Updated dependencies [82b4559]
33
- - @open-pioneer/build-common@4.0.2
33
+ - @open-pioneer/build-common@4.0.2
34
34
 
35
35
  ## 6.0.1
36
36
 
@@ -39,7 +39,7 @@
39
39
  - 78e38e2: Bump various dependencies
40
40
  - 7d706a3: Refactor: use private javascript properties instead of typescript private keyword
41
41
  - Updated dependencies [78e38e2]
42
- - @open-pioneer/build-common@4.0.1
42
+ - @open-pioneer/build-common@4.0.1
43
43
 
44
44
  ## 6.0.0
45
45
 
@@ -51,14 +51,14 @@
51
51
 
52
52
  - 9dda91c: Support a new virtual module to get the current deployment's base URL both during development and production:
53
53
 
54
- ```ts
55
- import { baseUrl } from "open-pioneer:deployment";
54
+ ```ts
55
+ import { baseUrl } from "open-pioneer:deployment";
56
56
 
57
- // Base URL of the deployed application, for example:
58
- // - http://localhost:5173/ or http://localhost:5173/optional/path/ (during development)
59
- // - https://example.com/path/to/root/ (during production)
60
- console.log(baseUrl);
61
- ```
57
+ // Base URL of the deployed application, for example:
58
+ // - http://localhost:5173/ or http://localhost:5173/optional/path/ (during development)
59
+ // - https://example.com/path/to/root/ (during production)
60
+ console.log(baseUrl);
61
+ ```
62
62
 
63
63
  - 18c9d75: Add codegen support for hot reloading of i18n message during development.
64
64
  HMR of i18n messages requires the latest version of the runtime package.
@@ -72,7 +72,7 @@
72
72
  - Updated dependencies [9dda91c]
73
73
  - Updated dependencies [9dda91c]
74
74
  - Updated dependencies [9dda91c]
75
- - @open-pioneer/build-common@4.0.0
75
+ - @open-pioneer/build-common@4.0.0
76
76
 
77
77
  ## 5.1.2
78
78
 
@@ -80,7 +80,7 @@
80
80
 
81
81
  - 50ddcbd: Fix default package property values not being applied correctly when using a trails package from node modules.
82
82
  - Updated dependencies [50ddcbd]
83
- - @open-pioneer/build-common@3.2.2
83
+ - @open-pioneer/build-common@3.2.2
84
84
 
85
85
  ## 5.1.1
86
86
 
@@ -89,7 +89,7 @@
89
89
  - fa84b0e: Bump dependencies
90
90
  - 093ae42: Prevent detection of duplicated packages on windows
91
91
  - Updated dependencies [fa84b0e]
92
- - @open-pioneer/build-common@3.2.1
92
+ - @open-pioneer/build-common@3.2.1
93
93
 
94
94
  ## 5.1.0
95
95
 
@@ -97,27 +97,27 @@
97
97
 
98
98
  - eac3ef4: Add service modules of trails packages from `node_modules` to the modules optimized by vite's deps optimizer.
99
99
 
100
- This can reduce the number of events like this:
100
+ This can reduce the number of events like this:
101
101
 
102
- ```
103
- 5:14:21 PM [vite] (client) ✨ new dependencies optimized: <...>
104
- 5:14:21 PM [vite] (client) ✨ optimized dependencies changed. reloading
105
- ```
102
+ ```
103
+ 5:14:21 PM [vite] (client) ✨ new dependencies optimized: <...>
104
+ 5:14:21 PM [vite] (client) ✨ optimized dependencies changed. reloading
105
+ ```
106
106
 
107
107
  - 19aa36f: Implement sourceId helper which provides an easy way to obtain an id for the current source file:
108
108
 
109
- ```ts
110
- import { sourceId } from "open-pioneer:source-info";
109
+ ```ts
110
+ import { sourceId } from "open-pioneer:source-info";
111
111
 
112
- // If imported from foo/bar/baz.ts in package my-package: my-package/foo/bar/baz
113
- console.log(sourceId);
114
- ```
112
+ // If imported from foo/bar/baz.ts in package my-package: my-package/foo/bar/baz
113
+ console.log(sourceId);
114
+ ```
115
115
 
116
116
  ### Patch Changes
117
117
 
118
118
  - eac3ef4: Switch from fast-glob to tinyglobby (it has fewer dependencies).
119
119
  - Updated dependencies [19aa36f]
120
- - @open-pioneer/build-common@3.2.0
120
+ - @open-pioneer/build-common@3.2.0
121
121
 
122
122
  ## 5.0.3
123
123
 
@@ -125,7 +125,7 @@
125
125
 
126
126
  - 2c45a18: Bump dependencies
127
127
  - Updated dependencies [2c45a18]
128
- - @open-pioneer/build-common@3.1.2
128
+ - @open-pioneer/build-common@3.1.2
129
129
 
130
130
  ## 5.0.2
131
131
 
@@ -134,7 +134,7 @@
134
134
  - fe37e18: Remove obsolete eslint directive from typings.
135
135
  - f229f63: Bump dependencies
136
136
  - Updated dependencies [f229f63]
137
- - @open-pioneer/build-common@3.1.1
137
+ - @open-pioneer/build-common@3.1.1
138
138
 
139
139
  ## 5.0.1
140
140
 
@@ -143,17 +143,17 @@
143
143
  - 1b99d82: Update eslint to version 9.
144
144
  - f12e73f: Emit better errors when an application's i18n configuration does not match the supported locales of its dependencies.
145
145
 
146
- This can happen if:
146
+ This can happen if:
147
147
 
148
- - An application does not list the `i18n` option in its `build.config.mjs` at all, or if
149
- - there is no overlap between the application's locales and the locales supported by one of its dependencies.
148
+ - An application does not list the `i18n` option in its `build.config.mjs` at all, or if
149
+ - there is no overlap between the application's locales and the locales supported by one of its dependencies.
150
150
 
151
- The vite plugin will now throw errors such as this to make it easier to detect the issue:
151
+ The vite plugin will now throw errors such as this to make it easier to detect the issue:
152
152
 
153
- ```
154
- [plugin:pioneer:codegen] Invalid i18n configuration in application at <...>/src/samples/chakra-sample/chakra-app:
155
- There is no match between the locales supported by the application (none) and the locales supported by the packages '@open-pioneer/chakra-snippets' (de, en).
156
- ```
153
+ ```
154
+ [plugin:pioneer:codegen] Invalid i18n configuration in application at <...>/src/samples/chakra-sample/chakra-app:
155
+ There is no match between the locales supported by the application (none) and the locales supported by the packages '@open-pioneer/chakra-snippets' (de, en).
156
+ ```
157
157
 
158
158
  ## 5.0.0
159
159
 
@@ -171,7 +171,7 @@
171
171
  - 6dc999e: Refactor caching of package.json, build.config.mjs and i18n files. Manual caching code was removed.
172
172
  - Updated dependencies [340c415]
173
173
  - Updated dependencies [ba600ea]
174
- - @open-pioneer/build-common@3.1.0
174
+ - @open-pioneer/build-common@3.1.0
175
175
 
176
176
  ## 4.0.2
177
177
 
@@ -179,7 +179,7 @@
179
179
 
180
180
  - 26cb9d8: Bump dependencies
181
181
  - Updated dependencies [26cb9d8]
182
- - @open-pioneer/build-common@3.0.2
182
+ - @open-pioneer/build-common@3.0.2
183
183
 
184
184
  ## 4.0.1
185
185
 
@@ -190,7 +190,7 @@
190
190
  - 67ba039: Bump dependencies
191
191
  - Updated dependencies [23c031a]
192
192
  - Updated dependencies [67ba039]
193
- - @open-pioneer/build-common@3.0.1
193
+ - @open-pioneer/build-common@3.0.1
194
194
 
195
195
  ## 4.0.0
196
196
 
@@ -207,7 +207,7 @@
207
207
 
208
208
  - Updated dependencies [798ef0b]
209
209
  - Updated dependencies [798ef0b]
210
- - @open-pioneer/build-common@3.0.0
210
+ - @open-pioneer/build-common@3.0.0
211
211
 
212
212
  ## 3.0.5
213
213
 
@@ -217,7 +217,7 @@
217
217
  - 7668cd9: Update dependencies.
218
218
  - Updated dependencies [2526935]
219
219
  - Updated dependencies [7668cd9]
220
- - @open-pioneer/build-common@2.0.5
220
+ - @open-pioneer/build-common@2.0.5
221
221
 
222
222
  ## 3.0.4
223
223
 
@@ -225,11 +225,11 @@
225
225
 
226
226
  - 1b84a49: Fix a problem that may produce dev server errors on newer versions of vite:
227
227
 
228
- ```
229
- 11:11:21 AM [vite] Internal server error: Failed to resolve services entry point for package $DIR/src/samples/showcase/showcase-app
228
+ ```
229
+ 11:11:21 AM [vite] Internal server error: Failed to resolve services entry point for package $DIR/src/samples/showcase/showcase-app
230
230
 
231
- Caused by: Cannot read properties of undefined (reading 'resolveId')
232
- ```
231
+ Caused by: Cannot read properties of undefined (reading 'resolveId')
232
+ ```
233
233
 
234
234
  ## 3.0.3
235
235
 
@@ -237,7 +237,7 @@
237
237
 
238
238
  - 3550ca8: Update dependencies
239
239
  - Updated dependencies [d9a0c1b]
240
- - @open-pioneer/build-common@2.0.4
240
+ - @open-pioneer/build-common@2.0.4
241
241
 
242
242
  ## 3.0.2
243
243
 
@@ -251,7 +251,7 @@
251
251
 
252
252
  - 017b8f3: Harmonize naming of Open Pioneer Trails in READMEs, package.json files and error messages.
253
253
  - Updated dependencies [017b8f3]
254
- - @open-pioneer/build-common@2.0.3
254
+ - @open-pioneer/build-common@2.0.3
255
255
 
256
256
  ## 3.0.0
257
257
 
@@ -266,7 +266,7 @@
266
266
  - c08520d: Update dependencies
267
267
  - Updated dependencies [c08520d]
268
268
  - Updated dependencies [c08520d]
269
- - @open-pioneer/build-common@2.0.2
269
+ - @open-pioneer/build-common@2.0.2
270
270
 
271
271
  ## 2.0.1
272
272
 
@@ -275,7 +275,7 @@
275
275
  - 9d4a9d5: Bump dependencies
276
276
  - 715b45e: Update package.json metadata
277
277
  - Updated dependencies [715b45e]
278
- - @open-pioneer/build-common@2.0.1
278
+ - @open-pioneer/build-common@2.0.1
279
279
 
280
280
  ## 2.0.0
281
281
 
@@ -285,17 +285,17 @@
285
285
  - c15512c: **Breaking Change:** A trails package's `devDependencies` are no longer included in the build (fixes #43).
286
286
  For normal dependencies, service classes are automatically picked up and compiled into the application.
287
287
 
288
- This behavior is surprising for `devDependencies`: license scanners and cve scanner sometimes chose to exclude
289
- `devDependencies`; which would have been invalid prior to this change (as the code was compiled in anyway).
288
+ This behavior is surprising for `devDependencies`: license scanners and cve scanner sometimes chose to exclude
289
+ `devDependencies`; which would have been invalid prior to this change (as the code was compiled in anyway).
290
290
 
291
- If your package depends on another trails package at runtime, configure an entry in `peerDependencies` instead.
291
+ If your package depends on another trails package at runtime, configure an entry in `peerDependencies` instead.
292
292
 
293
293
  ### Patch Changes
294
294
 
295
295
  - 5601a5e: Bump dependencies
296
296
  - Updated dependencies [5601a5e]
297
297
  - Updated dependencies [5601a5e]
298
- - @open-pioneer/build-common@2.0.0
298
+ - @open-pioneer/build-common@2.0.0
299
299
 
300
300
  ## 1.1.2
301
301
 
@@ -320,29 +320,29 @@
320
320
  - 99354bf: Improve error message when two versions of the same Trails package are encountered.
321
321
  Only a single version per Trails package per app is supported: all packages must share the same version and location on disk.
322
322
 
323
- The vite overlay in the browser now shows a comprehensible error message such as this:
323
+ The vite overlay in the browser now shows a comprehensible error message such as this:
324
324
 
325
- ```text
326
- [plugin:pioneer:codegen] Encountered the package '@open-pioneer/runtime' at two different locations.
327
- Trails packages cannot be used more than once in the same application.
328
- All packages must use a common version of '@open-pioneer/runtime'.
325
+ ```text
326
+ [plugin:pioneer:codegen] Encountered the package '@open-pioneer/runtime' at two different locations.
327
+ Trails packages cannot be used more than once in the same application.
328
+ All packages must use a common version of '@open-pioneer/runtime'.
329
329
 
330
- 1. @open-pioneer/runtime@1.0.0 at $HOME/projects/pioneer/starter/node_modules/.pnpm/@open-pioneer+runtime@1.0.0_@formatjs+intl@2.9.0_@open-pioneer+chakra-integration@1.0.0_@open_4cza3noe47gq2v2rsqn2cypo4q/node_modules/@open-pioneer/runtime
330
+ 1. @open-pioneer/runtime@1.0.0 at $HOME/projects/pioneer/starter/node_modules/.pnpm/@open-pioneer+runtime@1.0.0_@formatjs+intl@2.9.0_@open-pioneer+chakra-integration@1.0.0_@open_4cza3noe47gq2v2rsqn2cypo4q/node_modules/@open-pioneer/runtime
331
331
 
332
- 2. @open-pioneer/runtime@0.1.5 at $HOME/projects/pioneer/starter/node_modules/.pnpm/@open-pioneer+runtime@0.1.5_@formatjs+intl@2.9.0_@open-pioneer+chakra-integration@0.1.4_@open_m544g2vyxvedm3ipuqpqhltgfy/node_modules/@open-pioneer/runtime
333
- ```
332
+ 2. @open-pioneer/runtime@0.1.5 at $HOME/projects/pioneer/starter/node_modules/.pnpm/@open-pioneer+runtime@0.1.5_@formatjs+intl@2.9.0_@open-pioneer+chakra-integration@0.1.4_@open_m544g2vyxvedm3ipuqpqhltgfy/node_modules/@open-pioneer/runtime
333
+ ```
334
334
 
335
335
  - 146743d: Bump dependencies
336
336
  - Updated dependencies [3a0fb62]
337
337
  - Updated dependencies [146743d]
338
- - @open-pioneer/build-common@1.0.2
338
+ - @open-pioneer/build-common@1.0.2
339
339
 
340
340
  ## 1.0.2
341
341
 
342
342
  ### Patch Changes
343
343
 
344
344
  - Updated dependencies [1a8c745]
345
- - @open-pioneer/build-common@1.0.1
345
+ - @open-pioneer/build-common@1.0.1
346
346
 
347
347
  ## 1.0.1
348
348
 
@@ -359,7 +359,7 @@
359
359
  ### Patch Changes
360
360
 
361
361
  - Updated dependencies [991be0f]
362
- - @open-pioneer/build-common@1.0.0
362
+ - @open-pioneer/build-common@1.0.0
363
363
 
364
364
  ## 0.8.7
365
365
 
@@ -367,7 +367,7 @@
367
367
 
368
368
  - f0cd283: Add package.json metadata
369
369
  - Updated dependencies [f0cd283]
370
- - @open-pioneer/build-common@0.6.1
370
+ - @open-pioneer/build-common@0.6.1
371
371
 
372
372
  ## 0.8.6
373
373
 
@@ -375,9 +375,9 @@
375
375
 
376
376
  - cf32df5: Add another workaround that unfortunately currently requires pnpm's `shamefully-hoist` option.
377
377
 
378
- [`shamefully-hoist`](https://pnpm.io/npmrc#shamefully-hoist) allows the application to 'see' all other installed node packages.
379
- This is usually a bad practice but we currently require it for the virtual module that imports all Open Pioneer Trails services.
380
- For more details see the linked commit.
378
+ [`shamefully-hoist`](https://pnpm.io/npmrc#shamefully-hoist) allows the application to 'see' all other installed node packages.
379
+ This is usually a bad practice but we currently require it for the virtual module that imports all Open Pioneer Trails services.
380
+ For more details see the linked commit.
381
381
 
382
382
  ## 0.8.5
383
383
 
@@ -399,7 +399,7 @@
399
399
  - e6bbbfb: Simplify license comment in README
400
400
  - Updated dependencies [b6f55fe]
401
401
  - Updated dependencies [e6bbbfb]
402
- - @open-pioneer/build-common@0.6.0
402
+ - @open-pioneer/build-common@0.6.0
403
403
 
404
404
  ## 0.8.2
405
405
 
@@ -407,7 +407,7 @@
407
407
 
408
408
  - fdb5347: Use unresolved module ids for generated code.
409
409
  - Updated dependencies [fdb5347]
410
- - @open-pioneer/build-common@0.5.1
410
+ - @open-pioneer/build-common@0.5.1
411
411
 
412
412
  ## 0.8.1
413
413
 
@@ -415,7 +415,7 @@
415
415
 
416
416
  - 9f82090: Use react hooks code generation from @open-pioneer/build-common
417
417
  - Updated dependencies [9f82090]
418
- - @open-pioneer/build-common@0.5.0
418
+ - @open-pioneer/build-common@0.5.0
419
419
 
420
420
  ## 0.8.0
421
421
 
@@ -430,7 +430,7 @@
430
430
  - 38c8ee0: Don't re-emit warnings when a cached metadata entry is returned.
431
431
  - Updated dependencies [348afd8]
432
432
  - Updated dependencies [aeb702c]
433
- - @open-pioneer/build-common@0.4.0
433
+ - @open-pioneer/build-common@0.4.0
434
434
 
435
435
  ## 0.7.0
436
436
 
@@ -444,7 +444,7 @@
444
444
 
445
445
  - 0692aa2: Revert back to commonjs
446
446
  - Updated dependencies [0692aa2]
447
- - @open-pioneer/build-common@0.3.1
447
+ - @open-pioneer/build-common@0.3.1
448
448
 
449
449
  ## 0.6.0
450
450
 
@@ -458,7 +458,7 @@
458
458
  - Updated dependencies [393b294]
459
459
  - Updated dependencies [454ea2b]
460
460
  - Updated dependencies [39855ce]
461
- - @open-pioneer/build-common@0.3.0
461
+ - @open-pioneer/build-common@0.3.0
462
462
 
463
463
  ## 0.5.3
464
464
 
@@ -468,7 +468,7 @@
468
468
  - Updated dependencies [ef54f35]
469
469
  - Updated dependencies [125fd57]
470
470
  - Updated dependencies [37413f4]
471
- - @open-pioneer/build-common@0.2.0
471
+ - @open-pioneer/build-common@0.2.0
472
472
 
473
473
  ## 0.5.2
474
474
 
@@ -477,7 +477,7 @@
477
477
  - 434cc23: Migrate all tests to vitest.
478
478
  - 41399fa: Use new shared package to validate build.config.mjs
479
479
  - Updated dependencies [41399fa]
480
- - @open-pioneer/build-common@0.1.0
480
+ - @open-pioneer/build-common@0.1.0
481
481
 
482
482
  ## 0.5.1
483
483
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-pioneer/vite-plugin-pioneer",
3
- "version": "7.0.0-dev.20260729122223",
3
+ "version": "7.0.0",
4
4
  "description": "The vite plugin provided by this package is required by Open Pioneer Trails applications.",
5
5
  "keywords": [
6
6
  "open-pioneer-trails"
@@ -38,7 +38,7 @@
38
38
  "vitefu": "^1.1.3",
39
39
  "zod": "^4.4.3",
40
40
  "zod-validation-error": "^5.0.0",
41
- "@open-pioneer/build-common": "^5.0.0-dev.20260729122223"
41
+ "@open-pioneer/build-common": "^5.0.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@open-pioneer/runtime": ">= 4.0.0",
@@ -54,8 +54,8 @@
54
54
  "tsdown": "^0.22.14",
55
55
  "typescript": "^6.0.3",
56
56
  "vite": "^8.1.5",
57
- "@open-pioneer/vite-plugin-pioneer": "^7.0.0-dev.20260729122223",
58
- "@open-pioneer/build-support": "^4.0.0-dev.20260729122223",
57
+ "@open-pioneer/build-support": "^4.0.0",
58
+ "@open-pioneer/vite-plugin-pioneer": "^7.0.0",
59
59
  "shared-configs": "0.0.1"
60
60
  },
61
61
  "peerDependencies": {