@open-pioneer/build-package-cli 3.2.2 → 4.0.0-dev.20260729122223
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 +49 -36
- package/dist/index.js +38 -39
- package/dist/index.js.map +1 -7
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
# Changelog @open-pioneer/build-package-cli
|
|
2
2
|
|
|
3
|
+
## 4.0.0-dev.20260729122223
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 8e38b33: Switch this package from legacy `main` / `types` fields to the modern `exports` field in `package.json`
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 8e38b33: Change build setup: now uses tsdown instead of esbuild.
|
|
12
|
+
- Updated dependencies [8e38b33]
|
|
13
|
+
- Updated dependencies [8e38b33]
|
|
14
|
+
- @open-pioneer/build-package@5.0.0-dev.20260729122223
|
|
15
|
+
|
|
3
16
|
## 3.2.2
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
6
19
|
|
|
7
20
|
- 3b1f9cf: Migrate from eslint to oxlint and from prettier to oxfmt
|
|
8
21
|
- Updated dependencies [3b1f9cf]
|
|
9
|
-
|
|
22
|
+
- @open-pioneer/build-package@4.3.2
|
|
10
23
|
|
|
11
24
|
## 3.2.1
|
|
12
25
|
|
|
@@ -14,7 +27,7 @@
|
|
|
14
27
|
|
|
15
28
|
- 1a78924: Bump dependencies
|
|
16
29
|
- Updated dependencies [1a78924]
|
|
17
|
-
|
|
30
|
+
- @open-pioneer/build-package@4.3.1
|
|
18
31
|
|
|
19
32
|
## 3.2.0
|
|
20
33
|
|
|
@@ -28,7 +41,7 @@
|
|
|
28
41
|
- Updated dependencies [78e38e2]
|
|
29
42
|
- Updated dependencies [f7e6e6a]
|
|
30
43
|
- Updated dependencies [7d706a3]
|
|
31
|
-
|
|
44
|
+
- @open-pioneer/build-package@4.3.0
|
|
32
45
|
|
|
33
46
|
## 3.1.0
|
|
34
47
|
|
|
@@ -37,8 +50,8 @@
|
|
|
37
50
|
- 9dda91c: Support `publishConfig.validation: false` to disable validation entirely.
|
|
38
51
|
- 9dda91c: Add support for the new `open-pioneer:deployment` import when building packages.
|
|
39
52
|
|
|
40
|
-
|
|
41
|
-
|
|
53
|
+
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.
|
|
54
|
+
Trails projects that consume such a package need an updated versions of the Open Pioneer Trails Vite plugin that supports the new target version.
|
|
42
55
|
|
|
43
56
|
### Patch Changes
|
|
44
57
|
|
|
@@ -46,14 +59,14 @@
|
|
|
46
59
|
- Updated dependencies [b49be74]
|
|
47
60
|
- Updated dependencies [9dda91c]
|
|
48
61
|
- Updated dependencies [9dda91c]
|
|
49
|
-
|
|
62
|
+
- @open-pioneer/build-package@4.2.0
|
|
50
63
|
|
|
51
64
|
## 3.0.9
|
|
52
65
|
|
|
53
66
|
### Patch Changes
|
|
54
67
|
|
|
55
68
|
- Updated dependencies [50ddcbd]
|
|
56
|
-
|
|
69
|
+
- @open-pioneer/build-package@4.1.2
|
|
57
70
|
|
|
58
71
|
## 3.0.8
|
|
59
72
|
|
|
@@ -61,7 +74,7 @@
|
|
|
61
74
|
|
|
62
75
|
- fa84b0e: Bump dependencies
|
|
63
76
|
- Updated dependencies [fa84b0e]
|
|
64
|
-
|
|
77
|
+
- @open-pioneer/build-package@4.1.1
|
|
65
78
|
|
|
66
79
|
## 3.0.7
|
|
67
80
|
|
|
@@ -69,7 +82,7 @@
|
|
|
69
82
|
|
|
70
83
|
- Updated dependencies [eac3ef4]
|
|
71
84
|
- Updated dependencies [19aa36f]
|
|
72
|
-
|
|
85
|
+
- @open-pioneer/build-package@4.1.0
|
|
73
86
|
|
|
74
87
|
## 3.0.6
|
|
75
88
|
|
|
@@ -78,7 +91,7 @@
|
|
|
78
91
|
- 2c45a18: Bump dependencies
|
|
79
92
|
- Updated dependencies [2c45a18]
|
|
80
93
|
- Updated dependencies [1d5852a]
|
|
81
|
-
|
|
94
|
+
- @open-pioneer/build-package@4.0.6
|
|
82
95
|
|
|
83
96
|
## 3.0.5
|
|
84
97
|
|
|
@@ -86,7 +99,7 @@
|
|
|
86
99
|
|
|
87
100
|
- f229f63: Bump dependencies
|
|
88
101
|
- Updated dependencies [f229f63]
|
|
89
|
-
|
|
102
|
+
- @open-pioneer/build-package@4.0.5
|
|
90
103
|
|
|
91
104
|
## 3.0.4
|
|
92
105
|
|
|
@@ -100,7 +113,7 @@
|
|
|
100
113
|
|
|
101
114
|
- 340c415: Update dependencies
|
|
102
115
|
- Updated dependencies [340c415]
|
|
103
|
-
|
|
116
|
+
- @open-pioneer/build-package@4.0.3
|
|
104
117
|
|
|
105
118
|
## 3.0.2
|
|
106
119
|
|
|
@@ -108,7 +121,7 @@
|
|
|
108
121
|
|
|
109
122
|
- 26cb9d8: Bump dependencies
|
|
110
123
|
- Updated dependencies [26cb9d8]
|
|
111
|
-
|
|
124
|
+
- @open-pioneer/build-package@4.0.2
|
|
112
125
|
|
|
113
126
|
## 3.0.1
|
|
114
127
|
|
|
@@ -118,7 +131,7 @@
|
|
|
118
131
|
- Updated dependencies [23c031a]
|
|
119
132
|
- Updated dependencies [23c031a]
|
|
120
133
|
- Updated dependencies [67ba039]
|
|
121
|
-
|
|
134
|
+
- @open-pioneer/build-package@4.0.1
|
|
122
135
|
|
|
123
136
|
## 3.0.0
|
|
124
137
|
|
|
@@ -134,7 +147,7 @@
|
|
|
134
147
|
|
|
135
148
|
- Updated dependencies [798ef0b]
|
|
136
149
|
- Updated dependencies [798ef0b]
|
|
137
|
-
|
|
150
|
+
- @open-pioneer/build-package@4.0.0
|
|
138
151
|
|
|
139
152
|
## 2.1.1
|
|
140
153
|
|
|
@@ -143,7 +156,7 @@
|
|
|
143
156
|
- Updated dependencies [2526935]
|
|
144
157
|
- Updated dependencies [7668cd9]
|
|
145
158
|
- Updated dependencies [7668cd9]
|
|
146
|
-
|
|
159
|
+
- @open-pioneer/build-package@3.1.0
|
|
147
160
|
|
|
148
161
|
## 2.1.0
|
|
149
162
|
|
|
@@ -152,17 +165,17 @@
|
|
|
152
165
|
- e4ae880: Switch to `type: module`
|
|
153
166
|
- e4ae880: Implement additional validations when importing modules from other packages.
|
|
154
167
|
|
|
155
|
-
|
|
156
|
-
|
|
168
|
+
- When importing modules from normal node packages, `build-package` will now check that the imported module actually exists.
|
|
169
|
+
- 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`).
|
|
157
170
|
|
|
158
|
-
|
|
159
|
-
|
|
171
|
+
These validations are designed to errors where a package would run locally (in Vite's development mode)
|
|
172
|
+
but end up broken when published (see also https://github.com/open-pioneer/trails-core-packages/issues/42).
|
|
160
173
|
|
|
161
174
|
- e4ae880: Introduce an option to configure the root directory (`-r` for the CLI, `rootDirectory` for the JavaScript API).
|
|
162
175
|
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
176
|
+
The root directory is used to detect which packages are local to the project.
|
|
177
|
+
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.
|
|
178
|
+
However, it can also be configured manually.
|
|
166
179
|
|
|
167
180
|
### Patch Changes
|
|
168
181
|
|
|
@@ -172,7 +185,7 @@
|
|
|
172
185
|
- Updated dependencies [3550ca8]
|
|
173
186
|
- Updated dependencies [e4ae880]
|
|
174
187
|
- Updated dependencies [e4ae880]
|
|
175
|
-
|
|
188
|
+
- @open-pioneer/build-package@3.0.0
|
|
176
189
|
|
|
177
190
|
## 2.0.3
|
|
178
191
|
|
|
@@ -180,7 +193,7 @@
|
|
|
180
193
|
|
|
181
194
|
- 017b8f3: Harmonize naming of Open Pioneer Trails in READMEs, package.json files and error messages.
|
|
182
195
|
- Updated dependencies [017b8f3]
|
|
183
|
-
|
|
196
|
+
- @open-pioneer/build-package@2.0.3
|
|
184
197
|
|
|
185
198
|
## 2.0.2
|
|
186
199
|
|
|
@@ -189,7 +202,7 @@
|
|
|
189
202
|
- c08520d: Update dependencies
|
|
190
203
|
- Updated dependencies [c08520d]
|
|
191
204
|
- Updated dependencies [c08520d]
|
|
192
|
-
|
|
205
|
+
- @open-pioneer/build-package@2.0.2
|
|
193
206
|
|
|
194
207
|
## 2.0.1
|
|
195
208
|
|
|
@@ -198,7 +211,7 @@
|
|
|
198
211
|
- 715b45e: Update package.json metadata
|
|
199
212
|
- Updated dependencies [9d4a9d5]
|
|
200
213
|
- Updated dependencies [715b45e]
|
|
201
|
-
|
|
214
|
+
- @open-pioneer/build-package@2.0.1
|
|
202
215
|
|
|
203
216
|
## 2.0.0
|
|
204
217
|
|
|
@@ -211,21 +224,21 @@
|
|
|
211
224
|
- 5601a5e: Bump dependencies
|
|
212
225
|
- Updated dependencies [5601a5e]
|
|
213
226
|
- Updated dependencies [5601a5e]
|
|
214
|
-
|
|
227
|
+
- @open-pioneer/build-package@2.0.0
|
|
215
228
|
|
|
216
229
|
## 1.0.4
|
|
217
230
|
|
|
218
231
|
### Patch Changes
|
|
219
232
|
|
|
220
233
|
- Updated dependencies [c62a32b]
|
|
221
|
-
|
|
234
|
+
- @open-pioneer/build-package@1.0.4
|
|
222
235
|
|
|
223
236
|
## 1.0.3
|
|
224
237
|
|
|
225
238
|
### Patch Changes
|
|
226
239
|
|
|
227
240
|
- Updated dependencies [adcd8b9]
|
|
228
|
-
|
|
241
|
+
- @open-pioneer/build-package@1.0.3
|
|
229
242
|
|
|
230
243
|
## 1.0.2
|
|
231
244
|
|
|
@@ -233,7 +246,7 @@
|
|
|
233
246
|
|
|
234
247
|
- 146743d: Bump dependencies
|
|
235
248
|
- Updated dependencies [146743d]
|
|
236
|
-
|
|
249
|
+
- @open-pioneer/build-package@1.0.2
|
|
237
250
|
|
|
238
251
|
## 1.0.1
|
|
239
252
|
|
|
@@ -250,21 +263,21 @@
|
|
|
250
263
|
### Patch Changes
|
|
251
264
|
|
|
252
265
|
- Updated dependencies [991be0f]
|
|
253
|
-
|
|
266
|
+
- @open-pioneer/build-package@1.0.0
|
|
254
267
|
|
|
255
268
|
## 0.2.3
|
|
256
269
|
|
|
257
270
|
### Patch Changes
|
|
258
271
|
|
|
259
272
|
- Updated dependencies [763acf3]
|
|
260
|
-
|
|
273
|
+
- @open-pioneer/build-package@0.7.3
|
|
261
274
|
|
|
262
275
|
## 0.2.2
|
|
263
276
|
|
|
264
277
|
### Patch Changes
|
|
265
278
|
|
|
266
279
|
- Updated dependencies [766bcb8]
|
|
267
|
-
|
|
280
|
+
- @open-pioneer/build-package@0.7.2
|
|
268
281
|
|
|
269
282
|
## 0.2.1
|
|
270
283
|
|
|
@@ -272,7 +285,7 @@
|
|
|
272
285
|
|
|
273
286
|
- f0cd283: Add package.json metadata
|
|
274
287
|
- Updated dependencies [f0cd283]
|
|
275
|
-
|
|
288
|
+
- @open-pioneer/build-package@0.7.1
|
|
276
289
|
|
|
277
290
|
## 0.2.0
|
|
278
291
|
|
|
@@ -292,4 +305,4 @@
|
|
|
292
305
|
- Updated dependencies [b6f55fe]
|
|
293
306
|
- Updated dependencies [e6bbbfb]
|
|
294
307
|
- Updated dependencies [e6bbbfb]
|
|
295
|
-
|
|
308
|
+
- @open-pioneer/build-package@0.7.0
|
package/dist/index.js
CHANGED
|
@@ -1,48 +1,47 @@
|
|
|
1
|
-
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
import { cwd, exit } from "node:process";
|
|
3
3
|
import { build } from "@open-pioneer/build-package";
|
|
4
4
|
import { Command } from "commander";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
var program = new Command();
|
|
5
|
+
//#region package.json
|
|
6
|
+
var version = "4.0.0-dev.20260729122223";
|
|
7
|
+
//#endregion
|
|
8
|
+
//#region src/index.ts
|
|
9
|
+
const program = new Command();
|
|
11
10
|
program.name("build-pioneer-package").description("Builds an Open Pioneer Trails package for publishing.").option("-p, --package <path>", "package directory (defaults to current directory)").option("-r, --root <path>", "the root directory (optional, defaults to the workspace root)").option("-q, --silent", "disable logging").option("-d, --debug", "show exception stack traces").version(version);
|
|
12
11
|
program.parse();
|
|
13
12
|
async function main() {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
exit(1);
|
|
42
|
-
}
|
|
13
|
+
const chalk = (await import("chalk")).default;
|
|
14
|
+
const opts = program.opts();
|
|
15
|
+
const debug = opts.debug ?? false;
|
|
16
|
+
const silent = opts.silent ?? false;
|
|
17
|
+
const packagePath = opts.package ?? cwd();
|
|
18
|
+
const rootDirectory = opts.root;
|
|
19
|
+
try {
|
|
20
|
+
await build({
|
|
21
|
+
packageDirectory: packagePath,
|
|
22
|
+
rootDirectory,
|
|
23
|
+
logger: silent ? null : console
|
|
24
|
+
});
|
|
25
|
+
exit(0);
|
|
26
|
+
} catch (e) {
|
|
27
|
+
if (debug) console.error(e);
|
|
28
|
+
else {
|
|
29
|
+
let current = e;
|
|
30
|
+
let prefix = "";
|
|
31
|
+
while (current != null) {
|
|
32
|
+
console.error(chalk.red(`${prefix}${current.message ?? String(current)}`));
|
|
33
|
+
current = current.cause;
|
|
34
|
+
prefix = "Caused by: ";
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exit(1);
|
|
38
|
+
}
|
|
43
39
|
}
|
|
44
40
|
main().catch((e) => {
|
|
45
|
-
|
|
46
|
-
|
|
41
|
+
console.error("Fatal error", e);
|
|
42
|
+
exit(1);
|
|
47
43
|
});
|
|
48
|
-
//#
|
|
44
|
+
//#endregion
|
|
45
|
+
export {};
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1,7 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/index.ts", "../package.json"],
|
|
4
|
-
"sourcesContent": ["// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\n\nimport { cwd, exit } from \"node:process\";\nimport { build } from \"@open-pioneer/build-package\";\nimport { Command } from \"commander\";\nimport { version } from \"../package.json\";\n\nconst program = new Command();\nprogram\n .name(\"build-pioneer-package\")\n .description(\"Builds an Open Pioneer Trails package for publishing.\")\n .option(\"-p, --package <path>\", \"package directory (defaults to current directory)\")\n .option(\"-r, --root <path>\", \"the root directory (optional, defaults to the workspace root)\")\n .option(\"-q, --silent\", \"disable logging\")\n .option(\"-d, --debug\", \"show exception stack traces\")\n .version(version);\nprogram.parse();\n\nasync function main() {\n const chalk = (await import(\"chalk\")).default;\n const opts = program.opts();\n const debug = opts.debug ?? false;\n const silent = opts.silent ?? false;\n const packagePath = opts.package ?? cwd();\n const rootDirectory = opts.root;\n try {\n await build({\n packageDirectory: packagePath,\n rootDirectory,\n logger: silent ? null : console\n });\n exit(0);\n } catch (e) {\n if (debug) {\n console.error(e);\n } else {\n let current: unknown = e;\n let prefix = \"\";\n while (current != null) {\n console.error(\n chalk.red(`${prefix}${(current as Error).message ?? String(current)}`)\n );\n current = (current as Error).cause;\n prefix = \"Caused by: \";\n }\n }\n exit(1);\n }\n}\n\nmain().catch((e) => {\n console.error(\"Fatal error\", e);\n exit(1);\n});\n", "{\n \"name\": \"@open-pioneer/build-package-cli\",\n \"version\": \"3.2.2\",\n \"description\": \"Provides a CLI tool to compile Open Pioneer Trails packages.\",\n \"keywords\": [\n \"open-pioneer-trails\"\n ],\n \"homepage\": \"https://github.com/open-pioneer\",\n \"license\": \"Apache-2.0\",\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/open-pioneer/trails-build-tools.git\",\n \"directory\": \"packages/build-package-cli\"\n },\n \"bin\": {\n \"build-pioneer-package\": \"./dist/index.js\"\n },\n \"files\": [\n \"dist/**/*.js\",\n \"dist/**/*.js.map\",\n \"CHANGELOG.md\",\n \"README.md\",\n \"LICENSE\"\n ],\n \"type\": \"module\",\n \"scripts\": {\n \"clean\": \"rimraf dist\",\n \"build\": \"node build.mjs build\",\n \"build-dev\": \"node build.mjs buildDev\",\n \"dev\": \"node build.mjs watch\"\n },\n \"dependencies\": {\n \"@open-pioneer/build-package\": \"workspace:^\",\n \"chalk\": \"catalog:\",\n \"commander\": \"catalog:\"\n },\n \"devDependencies\": {\n \"build-tools\": \"workspace:*\"\n },\n \"engines\": {\n \"node\": \">= 20\"\n }\n}\n"],
|
|
5
|
-
"mappings": ";AAGA,SAAS,KAAK,YAAY;AAC1B,SAAS,aAAa;AACtB,SAAS,eAAe;;;ACHpB,cAAW;;;ADMf,IAAM,UAAU,IAAI,QAAQ;AAC5B,QACK,KAAK,uBAAuB,EAC5B,YAAY,uDAAuD,EACnE,OAAO,wBAAwB,mDAAmD,EAClF,OAAO,qBAAqB,+DAA+D,EAC3F,OAAO,gBAAgB,iBAAiB,EACxC,OAAO,eAAe,6BAA6B,EACnD,QAAQ,OAAO;AACpB,QAAQ,MAAM;AAEd,eAAe,OAAO;AAClB,QAAM,SAAS,MAAM,OAAO,OAAO,GAAG;AACtC,QAAM,OAAO,QAAQ,KAAK;AAC1B,QAAM,QAAQ,KAAK,SAAS;AAC5B,QAAM,SAAS,KAAK,UAAU;AAC9B,QAAM,cAAc,KAAK,WAAW,IAAI;AACxC,QAAM,gBAAgB,KAAK;AAC3B,MAAI;AACA,UAAM,MAAM;AAAA,MACR,kBAAkB;AAAA,MAClB;AAAA,MACA,QAAQ,SAAS,OAAO;AAAA,IAC5B,CAAC;AACD,SAAK,CAAC;AAAA,EACV,SAAS,GAAG;AACR,QAAI,OAAO;AACP,cAAQ,MAAM,CAAC;AAAA,IACnB,OAAO;AACH,UAAI,UAAmB;AACvB,UAAI,SAAS;AACb,aAAO,WAAW,MAAM;AACpB,gBAAQ;AAAA,UACJ,MAAM,IAAI,GAAG,MAAM,GAAI,QAAkB,WAAW,OAAO,OAAO,CAAC,EAAE;AAAA,QACzE;AACA,kBAAW,QAAkB;AAC7B,iBAAS;AAAA,MACb;AAAA,IACJ;AACA,SAAK,CAAC;AAAA,EACV;AACJ;AAEA,KAAK,EAAE,MAAM,CAAC,MAAM;AAChB,UAAQ,MAAM,eAAe,CAAC;AAC9B,OAAK,CAAC;AACV,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../package.json","../src/index.ts"],"sourcesContent":["","#!/usr/bin/env node\n// SPDX-FileCopyrightText: 2023-2025 Open Pioneer project (https://github.com/open-pioneer)\n// SPDX-License-Identifier: Apache-2.0\n\nimport { cwd, exit } from \"node:process\";\nimport { build } from \"@open-pioneer/build-package\";\nimport { Command } from \"commander\";\nimport { version } from \"../package.json\";\n\nconst program = new Command();\nprogram\n .name(\"build-pioneer-package\")\n .description(\"Builds an Open Pioneer Trails package for publishing.\")\n .option(\"-p, --package <path>\", \"package directory (defaults to current directory)\")\n .option(\"-r, --root <path>\", \"the root directory (optional, defaults to the workspace root)\")\n .option(\"-q, --silent\", \"disable logging\")\n .option(\"-d, --debug\", \"show exception stack traces\")\n .version(version);\nprogram.parse();\n\nasync function main() {\n const chalk = (await import(\"chalk\")).default;\n const opts = program.opts();\n const debug = opts.debug ?? false;\n const silent = opts.silent ?? false;\n const packagePath = opts.package ?? cwd();\n const rootDirectory = opts.root;\n try {\n await build({\n packageDirectory: packagePath,\n rootDirectory,\n logger: silent ? null : console\n });\n exit(0);\n } catch (e) {\n if (debug) {\n console.error(e);\n } else {\n let current: unknown = e;\n let prefix = \"\";\n while (current != null) {\n console.error(\n chalk.red(`${prefix}${(current as Error).message ?? String(current)}`)\n );\n current = (current as Error).cause;\n prefix = \"Caused by: \";\n }\n }\n exit(1);\n }\n}\n\nmain().catch((e) => {\n console.error(\"Fatal error\", e);\n exit(1);\n});\n"],"mappings":";;;;;;;;ACSA,MAAM,UAAU,IAAI,QAAQ;AAC5B,QACK,KAAK,uBAAuB,CAAC,CAC7B,YAAY,uDAAuD,CAAC,CACpE,OAAO,wBAAwB,mDAAmD,CAAC,CACnF,OAAO,qBAAqB,+DAA+D,CAAC,CAC5F,OAAO,gBAAgB,iBAAiB,CAAC,CACzC,OAAO,eAAe,6BAA6B,CAAC,CACpD,QAAQ,OAAO;AACpB,QAAQ,MAAM;AAEd,eAAe,OAAO;CAClB,MAAM,SAAS,MAAM,OAAO,SAAA,CAAU;CACtC,MAAM,OAAO,QAAQ,KAAK;CAC1B,MAAM,QAAQ,KAAK,SAAS;CAC5B,MAAM,SAAS,KAAK,UAAU;CAC9B,MAAM,cAAc,KAAK,WAAW,IAAI;CACxC,MAAM,gBAAgB,KAAK;CAC3B,IAAI;EACA,MAAM,MAAM;GACR,kBAAkB;GAClB;GACA,QAAQ,SAAS,OAAO;EAC5B,CAAC;EACD,KAAK,CAAC;CACV,SAAS,GAAG;EACR,IAAI,OACA,QAAQ,MAAM,CAAC;OACZ;GACH,IAAI,UAAmB;GACvB,IAAI,SAAS;GACb,OAAO,WAAW,MAAM;IACpB,QAAQ,MACJ,MAAM,IAAI,GAAG,SAAU,QAAkB,WAAW,OAAO,OAAO,GAAG,CACzE;IACA,UAAW,QAAkB;IAC7B,SAAS;GACb;EACJ;EACA,KAAK,CAAC;CACV;AACJ;AAEA,KAAK,CAAC,CAAC,OAAO,MAAM;CAChB,QAAQ,MAAM,eAAe,CAAC;CAC9B,KAAK,CAAC;AACV,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-pioneer/build-package-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-dev.20260729122223",
|
|
4
4
|
"description": "Provides a CLI tool to compile Open Pioneer Trails packages.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"open-pioneer-trails"
|
|
@@ -9,15 +9,14 @@
|
|
|
9
9
|
"license": "Apache-2.0",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
|
-
"url": "https://github.com/open-pioneer/trails-build-tools.git",
|
|
12
|
+
"url": "git+https://github.com/open-pioneer/trails-build-tools.git",
|
|
13
13
|
"directory": "packages/build-package-cli"
|
|
14
14
|
},
|
|
15
15
|
"bin": {
|
|
16
16
|
"build-pioneer-package": "./dist/index.js"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
|
-
"dist
|
|
20
|
-
"dist/**/*.js.map",
|
|
19
|
+
"dist",
|
|
21
20
|
"CHANGELOG.md",
|
|
22
21
|
"README.md",
|
|
23
22
|
"LICENSE"
|
|
@@ -26,18 +25,19 @@
|
|
|
26
25
|
"dependencies": {
|
|
27
26
|
"chalk": "^5.6.2",
|
|
28
27
|
"commander": "^15.0.0",
|
|
29
|
-
"@open-pioneer/build-package": "^
|
|
28
|
+
"@open-pioneer/build-package": "^5.0.0-dev.20260729122223"
|
|
30
29
|
},
|
|
31
30
|
"devDependencies": {
|
|
32
|
-
"
|
|
31
|
+
"publint": "^0.3.22",
|
|
32
|
+
"tsdown": "^0.22.14",
|
|
33
|
+
"shared-configs": "0.0.1"
|
|
33
34
|
},
|
|
34
35
|
"engines": {
|
|
35
36
|
"node": ">= 20"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|
|
38
39
|
"clean": "rimraf dist",
|
|
39
|
-
"build": "
|
|
40
|
-
"
|
|
41
|
-
"dev": "node build.mjs watch"
|
|
40
|
+
"build": "tsdown",
|
|
41
|
+
"dev": "tsdown --watch"
|
|
42
42
|
}
|
|
43
43
|
}
|