@open-pioneer/build-package-cli 4.0.0-dev.20260729122223 → 4.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.
- package/CHANGELOG.md +43 -38
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,17 +1,22 @@
|
|
|
1
1
|
# Changelog @open-pioneer/build-package-cli
|
|
2
2
|
|
|
3
|
-
## 4.0.0
|
|
3
|
+
## 4.0.0
|
|
4
4
|
|
|
5
5
|
### Major Changes
|
|
6
6
|
|
|
7
7
|
- 8e38b33: Switch this package from legacy `main` / `types` fields to the modern `exports` field in `package.json`
|
|
8
8
|
|
|
9
|
+
### Minor Changes
|
|
10
|
+
|
|
11
|
+
- 14379bb: Copy the `publishConfig` field when generating the contents of the `package.json` in `dist`.
|
|
12
|
+
|
|
9
13
|
### Patch Changes
|
|
10
14
|
|
|
11
15
|
- 8e38b33: Change build setup: now uses tsdown instead of esbuild.
|
|
12
16
|
- Updated dependencies [8e38b33]
|
|
17
|
+
- Updated dependencies [14379bb]
|
|
13
18
|
- Updated dependencies [8e38b33]
|
|
14
|
-
|
|
19
|
+
- @open-pioneer/build-package@5.0.0
|
|
15
20
|
|
|
16
21
|
## 3.2.2
|
|
17
22
|
|
|
@@ -19,7 +24,7 @@
|
|
|
19
24
|
|
|
20
25
|
- 3b1f9cf: Migrate from eslint to oxlint and from prettier to oxfmt
|
|
21
26
|
- Updated dependencies [3b1f9cf]
|
|
22
|
-
|
|
27
|
+
- @open-pioneer/build-package@4.3.2
|
|
23
28
|
|
|
24
29
|
## 3.2.1
|
|
25
30
|
|
|
@@ -27,7 +32,7 @@
|
|
|
27
32
|
|
|
28
33
|
- 1a78924: Bump dependencies
|
|
29
34
|
- Updated dependencies [1a78924]
|
|
30
|
-
|
|
35
|
+
- @open-pioneer/build-package@4.3.1
|
|
31
36
|
|
|
32
37
|
## 3.2.0
|
|
33
38
|
|
|
@@ -41,7 +46,7 @@
|
|
|
41
46
|
- Updated dependencies [78e38e2]
|
|
42
47
|
- Updated dependencies [f7e6e6a]
|
|
43
48
|
- Updated dependencies [7d706a3]
|
|
44
|
-
|
|
49
|
+
- @open-pioneer/build-package@4.3.0
|
|
45
50
|
|
|
46
51
|
## 3.1.0
|
|
47
52
|
|
|
@@ -50,8 +55,8 @@
|
|
|
50
55
|
- 9dda91c: Support `publishConfig.validation: false` to disable validation entirely.
|
|
51
56
|
- 9dda91c: Add support for the new `open-pioneer:deployment` import when building packages.
|
|
52
57
|
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
When compiling packages that make use of this new module, you must set the package format target (`--target` via CLI) to `1.1` or later.
|
|
59
|
+
Trails projects that consume such a package need an updated versions of the Open Pioneer Trails Vite plugin that supports the new target version.
|
|
55
60
|
|
|
56
61
|
### Patch Changes
|
|
57
62
|
|
|
@@ -59,14 +64,14 @@
|
|
|
59
64
|
- Updated dependencies [b49be74]
|
|
60
65
|
- Updated dependencies [9dda91c]
|
|
61
66
|
- Updated dependencies [9dda91c]
|
|
62
|
-
|
|
67
|
+
- @open-pioneer/build-package@4.2.0
|
|
63
68
|
|
|
64
69
|
## 3.0.9
|
|
65
70
|
|
|
66
71
|
### Patch Changes
|
|
67
72
|
|
|
68
73
|
- Updated dependencies [50ddcbd]
|
|
69
|
-
|
|
74
|
+
- @open-pioneer/build-package@4.1.2
|
|
70
75
|
|
|
71
76
|
## 3.0.8
|
|
72
77
|
|
|
@@ -74,7 +79,7 @@
|
|
|
74
79
|
|
|
75
80
|
- fa84b0e: Bump dependencies
|
|
76
81
|
- Updated dependencies [fa84b0e]
|
|
77
|
-
|
|
82
|
+
- @open-pioneer/build-package@4.1.1
|
|
78
83
|
|
|
79
84
|
## 3.0.7
|
|
80
85
|
|
|
@@ -82,7 +87,7 @@
|
|
|
82
87
|
|
|
83
88
|
- Updated dependencies [eac3ef4]
|
|
84
89
|
- Updated dependencies [19aa36f]
|
|
85
|
-
|
|
90
|
+
- @open-pioneer/build-package@4.1.0
|
|
86
91
|
|
|
87
92
|
## 3.0.6
|
|
88
93
|
|
|
@@ -91,7 +96,7 @@
|
|
|
91
96
|
- 2c45a18: Bump dependencies
|
|
92
97
|
- Updated dependencies [2c45a18]
|
|
93
98
|
- Updated dependencies [1d5852a]
|
|
94
|
-
|
|
99
|
+
- @open-pioneer/build-package@4.0.6
|
|
95
100
|
|
|
96
101
|
## 3.0.5
|
|
97
102
|
|
|
@@ -99,7 +104,7 @@
|
|
|
99
104
|
|
|
100
105
|
- f229f63: Bump dependencies
|
|
101
106
|
- Updated dependencies [f229f63]
|
|
102
|
-
|
|
107
|
+
- @open-pioneer/build-package@4.0.5
|
|
103
108
|
|
|
104
109
|
## 3.0.4
|
|
105
110
|
|
|
@@ -113,7 +118,7 @@
|
|
|
113
118
|
|
|
114
119
|
- 340c415: Update dependencies
|
|
115
120
|
- Updated dependencies [340c415]
|
|
116
|
-
|
|
121
|
+
- @open-pioneer/build-package@4.0.3
|
|
117
122
|
|
|
118
123
|
## 3.0.2
|
|
119
124
|
|
|
@@ -121,7 +126,7 @@
|
|
|
121
126
|
|
|
122
127
|
- 26cb9d8: Bump dependencies
|
|
123
128
|
- Updated dependencies [26cb9d8]
|
|
124
|
-
|
|
129
|
+
- @open-pioneer/build-package@4.0.2
|
|
125
130
|
|
|
126
131
|
## 3.0.1
|
|
127
132
|
|
|
@@ -131,7 +136,7 @@
|
|
|
131
136
|
- Updated dependencies [23c031a]
|
|
132
137
|
- Updated dependencies [23c031a]
|
|
133
138
|
- Updated dependencies [67ba039]
|
|
134
|
-
|
|
139
|
+
- @open-pioneer/build-package@4.0.1
|
|
135
140
|
|
|
136
141
|
## 3.0.0
|
|
137
142
|
|
|
@@ -147,7 +152,7 @@
|
|
|
147
152
|
|
|
148
153
|
- Updated dependencies [798ef0b]
|
|
149
154
|
- Updated dependencies [798ef0b]
|
|
150
|
-
|
|
155
|
+
- @open-pioneer/build-package@4.0.0
|
|
151
156
|
|
|
152
157
|
## 2.1.1
|
|
153
158
|
|
|
@@ -156,7 +161,7 @@
|
|
|
156
161
|
- Updated dependencies [2526935]
|
|
157
162
|
- Updated dependencies [7668cd9]
|
|
158
163
|
- Updated dependencies [7668cd9]
|
|
159
|
-
|
|
164
|
+
- @open-pioneer/build-package@3.1.0
|
|
160
165
|
|
|
161
166
|
## 2.1.0
|
|
162
167
|
|
|
@@ -165,17 +170,17 @@
|
|
|
165
170
|
- e4ae880: Switch to `type: module`
|
|
166
171
|
- e4ae880: Implement additional validations when importing modules from other packages.
|
|
167
172
|
|
|
168
|
-
|
|
169
|
-
|
|
173
|
+
- When importing modules from normal node packages, `build-package` will now check that the imported module actually exists.
|
|
174
|
+
- When importing modules from another trails package in the same repository, `build-package` now verifies that the imported module is an actual entry point of that package (declared in the `build.config.mjs`).
|
|
170
175
|
|
|
171
|
-
|
|
172
|
-
|
|
176
|
+
These validations are designed to errors where a package would run locally (in Vite's development mode)
|
|
177
|
+
but end up broken when published (see also https://github.com/open-pioneer/trails-core-packages/issues/42).
|
|
173
178
|
|
|
174
179
|
- e4ae880: Introduce an option to configure the root directory (`-r` for the CLI, `rootDirectory` for the JavaScript API).
|
|
175
180
|
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
181
|
+
The root directory is used to detect which packages are local to the project.
|
|
182
|
+
The option defaults to the root of the current workspace (e.g. the PNPM workspace root), or, if that doesn't work, to the root of the current git repository.
|
|
183
|
+
However, it can also be configured manually.
|
|
179
184
|
|
|
180
185
|
### Patch Changes
|
|
181
186
|
|
|
@@ -185,7 +190,7 @@
|
|
|
185
190
|
- Updated dependencies [3550ca8]
|
|
186
191
|
- Updated dependencies [e4ae880]
|
|
187
192
|
- Updated dependencies [e4ae880]
|
|
188
|
-
|
|
193
|
+
- @open-pioneer/build-package@3.0.0
|
|
189
194
|
|
|
190
195
|
## 2.0.3
|
|
191
196
|
|
|
@@ -193,7 +198,7 @@
|
|
|
193
198
|
|
|
194
199
|
- 017b8f3: Harmonize naming of Open Pioneer Trails in READMEs, package.json files and error messages.
|
|
195
200
|
- Updated dependencies [017b8f3]
|
|
196
|
-
|
|
201
|
+
- @open-pioneer/build-package@2.0.3
|
|
197
202
|
|
|
198
203
|
## 2.0.2
|
|
199
204
|
|
|
@@ -202,7 +207,7 @@
|
|
|
202
207
|
- c08520d: Update dependencies
|
|
203
208
|
- Updated dependencies [c08520d]
|
|
204
209
|
- Updated dependencies [c08520d]
|
|
205
|
-
|
|
210
|
+
- @open-pioneer/build-package@2.0.2
|
|
206
211
|
|
|
207
212
|
## 2.0.1
|
|
208
213
|
|
|
@@ -211,7 +216,7 @@
|
|
|
211
216
|
- 715b45e: Update package.json metadata
|
|
212
217
|
- Updated dependencies [9d4a9d5]
|
|
213
218
|
- Updated dependencies [715b45e]
|
|
214
|
-
|
|
219
|
+
- @open-pioneer/build-package@2.0.1
|
|
215
220
|
|
|
216
221
|
## 2.0.0
|
|
217
222
|
|
|
@@ -224,21 +229,21 @@
|
|
|
224
229
|
- 5601a5e: Bump dependencies
|
|
225
230
|
- Updated dependencies [5601a5e]
|
|
226
231
|
- Updated dependencies [5601a5e]
|
|
227
|
-
|
|
232
|
+
- @open-pioneer/build-package@2.0.0
|
|
228
233
|
|
|
229
234
|
## 1.0.4
|
|
230
235
|
|
|
231
236
|
### Patch Changes
|
|
232
237
|
|
|
233
238
|
- Updated dependencies [c62a32b]
|
|
234
|
-
|
|
239
|
+
- @open-pioneer/build-package@1.0.4
|
|
235
240
|
|
|
236
241
|
## 1.0.3
|
|
237
242
|
|
|
238
243
|
### Patch Changes
|
|
239
244
|
|
|
240
245
|
- Updated dependencies [adcd8b9]
|
|
241
|
-
|
|
246
|
+
- @open-pioneer/build-package@1.0.3
|
|
242
247
|
|
|
243
248
|
## 1.0.2
|
|
244
249
|
|
|
@@ -246,7 +251,7 @@
|
|
|
246
251
|
|
|
247
252
|
- 146743d: Bump dependencies
|
|
248
253
|
- Updated dependencies [146743d]
|
|
249
|
-
|
|
254
|
+
- @open-pioneer/build-package@1.0.2
|
|
250
255
|
|
|
251
256
|
## 1.0.1
|
|
252
257
|
|
|
@@ -263,21 +268,21 @@
|
|
|
263
268
|
### Patch Changes
|
|
264
269
|
|
|
265
270
|
- Updated dependencies [991be0f]
|
|
266
|
-
|
|
271
|
+
- @open-pioneer/build-package@1.0.0
|
|
267
272
|
|
|
268
273
|
## 0.2.3
|
|
269
274
|
|
|
270
275
|
### Patch Changes
|
|
271
276
|
|
|
272
277
|
- Updated dependencies [763acf3]
|
|
273
|
-
|
|
278
|
+
- @open-pioneer/build-package@0.7.3
|
|
274
279
|
|
|
275
280
|
## 0.2.2
|
|
276
281
|
|
|
277
282
|
### Patch Changes
|
|
278
283
|
|
|
279
284
|
- Updated dependencies [766bcb8]
|
|
280
|
-
|
|
285
|
+
- @open-pioneer/build-package@0.7.2
|
|
281
286
|
|
|
282
287
|
## 0.2.1
|
|
283
288
|
|
|
@@ -285,7 +290,7 @@
|
|
|
285
290
|
|
|
286
291
|
- f0cd283: Add package.json metadata
|
|
287
292
|
- Updated dependencies [f0cd283]
|
|
288
|
-
|
|
293
|
+
- @open-pioneer/build-package@0.7.1
|
|
289
294
|
|
|
290
295
|
## 0.2.0
|
|
291
296
|
|
|
@@ -305,4 +310,4 @@
|
|
|
305
310
|
- Updated dependencies [b6f55fe]
|
|
306
311
|
- Updated dependencies [e6bbbfb]
|
|
307
312
|
- Updated dependencies [e6bbbfb]
|
|
308
|
-
|
|
313
|
+
- @open-pioneer/build-package@0.7.0
|
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { cwd, exit } from "node:process";
|
|
|
3
3
|
import { build } from "@open-pioneer/build-package";
|
|
4
4
|
import { Command } from "commander";
|
|
5
5
|
//#region package.json
|
|
6
|
-
var version = "4.0.0
|
|
6
|
+
var version = "4.0.0";
|
|
7
7
|
//#endregion
|
|
8
8
|
//#region src/index.ts
|
|
9
9
|
const program = new Command();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-pioneer/build-package-cli",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"description": "Provides a CLI tool to compile Open Pioneer Trails packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"open-pioneer-trails"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"chalk": "^5.6.2",
|
|
27
27
|
"commander": "^15.0.0",
|
|
28
|
-
"@open-pioneer/build-package": "^5.0.0
|
|
28
|
+
"@open-pioneer/build-package": "^5.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"publint": "^0.3.22",
|