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