@arcgis/components-build-utils 4.34.0-next.70 → 4.34.0-next.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/components-build-utils",
3
- "version": "4.34.0-next.70",
3
+ "version": "4.34.0-next.72",
4
4
  "description": "Collection of common internal build-time patterns and utilities for ArcGIS Maps SDK for JavaScript components.",
5
5
  "homepage": "https://developers.arcgis.com/javascript/latest/",
6
6
  "type": "module",
@@ -1,15 +1,6 @@
1
1
  #!/usr/bin/env node
2
- import { spawn } from "node:child_process";
3
- import { join } from "node:path";
4
-
5
- const scriptPath = join(import.meta.dirname, "run.ts");
6
- const commandArguments = process.argv.slice(2);
7
-
8
- const child = spawn("npx", ["tsx", scriptPath, ...commandArguments], {
9
- stdio: "inherit",
10
- });
11
-
12
- // Forward the exit code
13
- child.on("exit", function (code) {
14
- process.exit(code);
15
- });
2
+ // Register tsx's TypeScript loader that will do on the fly transpilation of any
3
+ // imported .ts file
4
+ import "tsx";
5
+ // This still has to be async import until native TS support in Node 24
6
+ await import("./run.ts");