@open-pioneer/build-package-cli 3.2.1 → 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 CHANGED
@@ -1,12 +1,33 @@
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
+
16
+ ## 3.2.2
17
+
18
+ ### Patch Changes
19
+
20
+ - 3b1f9cf: Migrate from eslint to oxlint and from prettier to oxfmt
21
+ - Updated dependencies [3b1f9cf]
22
+ - @open-pioneer/build-package@4.3.2
23
+
3
24
  ## 3.2.1
4
25
 
5
26
  ### Patch Changes
6
27
 
7
28
  - 1a78924: Bump dependencies
8
29
  - Updated dependencies [1a78924]
9
- - @open-pioneer/build-package@4.3.1
30
+ - @open-pioneer/build-package@4.3.1
10
31
 
11
32
  ## 3.2.0
12
33
 
@@ -20,7 +41,7 @@
20
41
  - Updated dependencies [78e38e2]
21
42
  - Updated dependencies [f7e6e6a]
22
43
  - Updated dependencies [7d706a3]
23
- - @open-pioneer/build-package@4.3.0
44
+ - @open-pioneer/build-package@4.3.0
24
45
 
25
46
  ## 3.1.0
26
47
 
@@ -29,8 +50,8 @@
29
50
  - 9dda91c: Support `publishConfig.validation: false` to disable validation entirely.
30
51
  - 9dda91c: Add support for the new `open-pioneer:deployment` import when building packages.
31
52
 
32
- 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.
33
- Trails projects that consume such a package need an updated versions of the Open Pioneer Trails Vite plugin that supports the new target version.
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.
34
55
 
35
56
  ### Patch Changes
36
57
 
@@ -38,14 +59,14 @@
38
59
  - Updated dependencies [b49be74]
39
60
  - Updated dependencies [9dda91c]
40
61
  - Updated dependencies [9dda91c]
41
- - @open-pioneer/build-package@4.2.0
62
+ - @open-pioneer/build-package@4.2.0
42
63
 
43
64
  ## 3.0.9
44
65
 
45
66
  ### Patch Changes
46
67
 
47
68
  - Updated dependencies [50ddcbd]
48
- - @open-pioneer/build-package@4.1.2
69
+ - @open-pioneer/build-package@4.1.2
49
70
 
50
71
  ## 3.0.8
51
72
 
@@ -53,7 +74,7 @@
53
74
 
54
75
  - fa84b0e: Bump dependencies
55
76
  - Updated dependencies [fa84b0e]
56
- - @open-pioneer/build-package@4.1.1
77
+ - @open-pioneer/build-package@4.1.1
57
78
 
58
79
  ## 3.0.7
59
80
 
@@ -61,7 +82,7 @@
61
82
 
62
83
  - Updated dependencies [eac3ef4]
63
84
  - Updated dependencies [19aa36f]
64
- - @open-pioneer/build-package@4.1.0
85
+ - @open-pioneer/build-package@4.1.0
65
86
 
66
87
  ## 3.0.6
67
88
 
@@ -70,7 +91,7 @@
70
91
  - 2c45a18: Bump dependencies
71
92
  - Updated dependencies [2c45a18]
72
93
  - Updated dependencies [1d5852a]
73
- - @open-pioneer/build-package@4.0.6
94
+ - @open-pioneer/build-package@4.0.6
74
95
 
75
96
  ## 3.0.5
76
97
 
@@ -78,7 +99,7 @@
78
99
 
79
100
  - f229f63: Bump dependencies
80
101
  - Updated dependencies [f229f63]
81
- - @open-pioneer/build-package@4.0.5
102
+ - @open-pioneer/build-package@4.0.5
82
103
 
83
104
  ## 3.0.4
84
105
 
@@ -92,7 +113,7 @@
92
113
 
93
114
  - 340c415: Update dependencies
94
115
  - Updated dependencies [340c415]
95
- - @open-pioneer/build-package@4.0.3
116
+ - @open-pioneer/build-package@4.0.3
96
117
 
97
118
  ## 3.0.2
98
119
 
@@ -100,7 +121,7 @@
100
121
 
101
122
  - 26cb9d8: Bump dependencies
102
123
  - Updated dependencies [26cb9d8]
103
- - @open-pioneer/build-package@4.0.2
124
+ - @open-pioneer/build-package@4.0.2
104
125
 
105
126
  ## 3.0.1
106
127
 
@@ -110,7 +131,7 @@
110
131
  - Updated dependencies [23c031a]
111
132
  - Updated dependencies [23c031a]
112
133
  - Updated dependencies [67ba039]
113
- - @open-pioneer/build-package@4.0.1
134
+ - @open-pioneer/build-package@4.0.1
114
135
 
115
136
  ## 3.0.0
116
137
 
@@ -126,7 +147,7 @@
126
147
 
127
148
  - Updated dependencies [798ef0b]
128
149
  - Updated dependencies [798ef0b]
129
- - @open-pioneer/build-package@4.0.0
150
+ - @open-pioneer/build-package@4.0.0
130
151
 
131
152
  ## 2.1.1
132
153
 
@@ -135,7 +156,7 @@
135
156
  - Updated dependencies [2526935]
136
157
  - Updated dependencies [7668cd9]
137
158
  - Updated dependencies [7668cd9]
138
- - @open-pioneer/build-package@3.1.0
159
+ - @open-pioneer/build-package@3.1.0
139
160
 
140
161
  ## 2.1.0
141
162
 
@@ -143,17 +164,18 @@
143
164
 
144
165
  - e4ae880: Switch to `type: module`
145
166
  - e4ae880: Implement additional validations when importing modules from other packages.
146
- - When importing modules from normal node packages, `build-package` will now check that the imported module actually exists.
147
- - 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`).
148
167
 
149
- These validations are designed to errors where a package would run locally (in Vite's development mode)
150
- but end up broken when published (see also https://github.com/open-pioneer/trails-core-packages/issues/42).
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`).
170
+
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).
151
173
 
152
174
  - e4ae880: Introduce an option to configure the root directory (`-r` for the CLI, `rootDirectory` for the JavaScript API).
153
175
 
154
- The root directory is used to detect which packages are local to the project.
155
- 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.
156
- However, it can also be configured manually.
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.
157
179
 
158
180
  ### Patch Changes
159
181
 
@@ -163,7 +185,7 @@
163
185
  - Updated dependencies [3550ca8]
164
186
  - Updated dependencies [e4ae880]
165
187
  - Updated dependencies [e4ae880]
166
- - @open-pioneer/build-package@3.0.0
188
+ - @open-pioneer/build-package@3.0.0
167
189
 
168
190
  ## 2.0.3
169
191
 
@@ -171,7 +193,7 @@
171
193
 
172
194
  - 017b8f3: Harmonize naming of Open Pioneer Trails in READMEs, package.json files and error messages.
173
195
  - Updated dependencies [017b8f3]
174
- - @open-pioneer/build-package@2.0.3
196
+ - @open-pioneer/build-package@2.0.3
175
197
 
176
198
  ## 2.0.2
177
199
 
@@ -180,7 +202,7 @@
180
202
  - c08520d: Update dependencies
181
203
  - Updated dependencies [c08520d]
182
204
  - Updated dependencies [c08520d]
183
- - @open-pioneer/build-package@2.0.2
205
+ - @open-pioneer/build-package@2.0.2
184
206
 
185
207
  ## 2.0.1
186
208
 
@@ -189,7 +211,7 @@
189
211
  - 715b45e: Update package.json metadata
190
212
  - Updated dependencies [9d4a9d5]
191
213
  - Updated dependencies [715b45e]
192
- - @open-pioneer/build-package@2.0.1
214
+ - @open-pioneer/build-package@2.0.1
193
215
 
194
216
  ## 2.0.0
195
217
 
@@ -202,21 +224,21 @@
202
224
  - 5601a5e: Bump dependencies
203
225
  - Updated dependencies [5601a5e]
204
226
  - Updated dependencies [5601a5e]
205
- - @open-pioneer/build-package@2.0.0
227
+ - @open-pioneer/build-package@2.0.0
206
228
 
207
229
  ## 1.0.4
208
230
 
209
231
  ### Patch Changes
210
232
 
211
233
  - Updated dependencies [c62a32b]
212
- - @open-pioneer/build-package@1.0.4
234
+ - @open-pioneer/build-package@1.0.4
213
235
 
214
236
  ## 1.0.3
215
237
 
216
238
  ### Patch Changes
217
239
 
218
240
  - Updated dependencies [adcd8b9]
219
- - @open-pioneer/build-package@1.0.3
241
+ - @open-pioneer/build-package@1.0.3
220
242
 
221
243
  ## 1.0.2
222
244
 
@@ -224,7 +246,7 @@
224
246
 
225
247
  - 146743d: Bump dependencies
226
248
  - Updated dependencies [146743d]
227
- - @open-pioneer/build-package@1.0.2
249
+ - @open-pioneer/build-package@1.0.2
228
250
 
229
251
  ## 1.0.1
230
252
 
@@ -241,21 +263,21 @@
241
263
  ### Patch Changes
242
264
 
243
265
  - Updated dependencies [991be0f]
244
- - @open-pioneer/build-package@1.0.0
266
+ - @open-pioneer/build-package@1.0.0
245
267
 
246
268
  ## 0.2.3
247
269
 
248
270
  ### Patch Changes
249
271
 
250
272
  - Updated dependencies [763acf3]
251
- - @open-pioneer/build-package@0.7.3
273
+ - @open-pioneer/build-package@0.7.3
252
274
 
253
275
  ## 0.2.2
254
276
 
255
277
  ### Patch Changes
256
278
 
257
279
  - Updated dependencies [766bcb8]
258
- - @open-pioneer/build-package@0.7.2
280
+ - @open-pioneer/build-package@0.7.2
259
281
 
260
282
  ## 0.2.1
261
283
 
@@ -263,7 +285,7 @@
263
285
 
264
286
  - f0cd283: Add package.json metadata
265
287
  - Updated dependencies [f0cd283]
266
- - @open-pioneer/build-package@0.7.1
288
+ - @open-pioneer/build-package@0.7.1
267
289
 
268
290
  ## 0.2.0
269
291
 
@@ -283,4 +305,4 @@
283
305
  - Updated dependencies [b6f55fe]
284
306
  - Updated dependencies [e6bbbfb]
285
307
  - Updated dependencies [e6bbbfb]
286
- - @open-pioneer/build-package@0.7.0
308
+ - @open-pioneer/build-package@0.7.0
package/dist/index.js CHANGED
@@ -1,48 +1,47 @@
1
- // src/index.ts
1
+ #!/usr/bin/env node
2
+ import { cwd, exit } from "node:process";
2
3
  import { build } from "@open-pioneer/build-package";
3
4
  import { Command } from "commander";
4
- import { cwd, exit } from "node:process";
5
-
6
- // package.json
7
- var version = "3.2.1";
8
-
9
- // src/index.ts
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
- const chalk = (await import("chalk")).default;
15
- const opts = program.opts();
16
- const debug = opts.debug ?? false;
17
- const silent = opts.silent ?? false;
18
- const packagePath = opts.package ?? cwd();
19
- const rootDirectory = opts.root;
20
- try {
21
- await build({
22
- packageDirectory: packagePath,
23
- rootDirectory,
24
- logger: silent ? null : console
25
- });
26
- exit(0);
27
- } catch (e) {
28
- if (debug) {
29
- console.error(e);
30
- } else {
31
- let current = e;
32
- let prefix = "";
33
- while (current != null) {
34
- console.error(
35
- chalk.red(`${prefix}${current.message ?? String(current)}`)
36
- );
37
- current = current.cause;
38
- prefix = "Caused by: ";
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
- console.error("Fatal error", e);
46
- exit(1);
41
+ console.error("Fatal error", e);
42
+ exit(1);
47
43
  });
48
- //# sourceMappingURL=index.js.map
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\nimport { build } from \"@open-pioneer/build-package\";\nimport { Command } from \"commander\";\nimport { cwd, exit } from \"node:process\";\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 \"description\": \"Provides a CLI tool to compile Open Pioneer Trails packages.\",\n \"version\": \"3.2.1\",\n \"type\": \"module\",\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 \"homepage\": \"https://github.com/open-pioneer\",\n \"keywords\": [\n \"open-pioneer-trails\"\n ],\n \"bin\": {\n \"build-pioneer-package\": \"./dist/index.js\"\n },\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 \"files\": [\n \"dist/**/*.js\",\n \"dist/**/*.js.map\",\n \"CHANGELOG.md\",\n \"README.md\",\n \"LICENSE\"\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": ";AAEA,SAAS,aAAa;AACtB,SAAS,eAAe;AACxB,SAAS,KAAK,YAAY;;;ACDtB,cAAW;;;ADIf,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,43 +1,43 @@
1
1
  {
2
2
  "name": "@open-pioneer/build-package-cli",
3
+ "version": "4.0.0-dev.20260729122223",
3
4
  "description": "Provides a CLI tool to compile Open Pioneer Trails packages.",
4
- "version": "3.2.1",
5
- "type": "module",
5
+ "keywords": [
6
+ "open-pioneer-trails"
7
+ ],
8
+ "homepage": "https://github.com/open-pioneer",
6
9
  "license": "Apache-2.0",
7
10
  "repository": {
8
11
  "type": "git",
9
- "url": "https://github.com/open-pioneer/trails-build-tools.git",
12
+ "url": "git+https://github.com/open-pioneer/trails-build-tools.git",
10
13
  "directory": "packages/build-package-cli"
11
14
  },
12
- "homepage": "https://github.com/open-pioneer",
13
- "keywords": [
14
- "open-pioneer-trails"
15
- ],
16
15
  "bin": {
17
16
  "build-pioneer-package": "./dist/index.js"
18
17
  },
19
18
  "files": [
20
- "dist/**/*.js",
21
- "dist/**/*.js.map",
19
+ "dist",
22
20
  "CHANGELOG.md",
23
21
  "README.md",
24
22
  "LICENSE"
25
23
  ],
24
+ "type": "module",
26
25
  "dependencies": {
27
26
  "chalk": "^5.6.2",
28
27
  "commander": "^15.0.0",
29
- "@open-pioneer/build-package": "^4.3.1"
28
+ "@open-pioneer/build-package": "^5.0.0-dev.20260729122223"
30
29
  },
31
30
  "devDependencies": {
32
- "build-tools": "0.0.1"
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": "node build.mjs build",
40
- "build-dev": "node build.mjs buildDev",
41
- "dev": "node build.mjs watch"
40
+ "build": "tsdown",
41
+ "dev": "tsdown --watch"
42
42
  }
43
43
  }