create-vxrn 1.18.1 → 1.18.2

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.
@@ -1,2 +1,2 @@
1
1
  $ tamagui-build --skip-types
2
- built create-vxrn in 308 ms
2
+ built create-vxrn in 869 ms
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-vxrn",
3
- "version": "1.18.1",
3
+ "version": "1.18.2",
4
4
  "bin": "run.js",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@types/validate-npm-package-name": "^4.0.2",
32
- "@vxrn/utils": "1.18.1",
32
+ "@vxrn/utils": "1.18.2",
33
33
  "ansis": "^3.1.0",
34
34
  "async-retry": "1.3.1",
35
35
  "citty": "^0.1.6",
@@ -41,7 +41,7 @@
41
41
  "yocto-spinner": "^0.1.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@tamagui/build": "2.1.0",
44
+ "@tamagui/build": "2.3.0",
45
45
  "@types/prompts": "^2.4.9",
46
46
  "typescript": "^5.7.3"
47
47
  },
package/run.js CHANGED
@@ -3,10 +3,11 @@
3
3
  const command = require.resolve('create-vxrn')
4
4
  const args = process.argv.slice(2)
5
5
 
6
- try {
7
- require('node:child_process').execSync(`node ${command} ${args.join(' ')}`, {
8
- stdio: 'inherit',
9
- })
10
- } catch (err) {
11
- process.exit(1)
6
+ // use the array form (shell: false) so user-supplied args can't be interpreted by a shell
7
+ const result = require('node:child_process').spawnSync('node', [command, ...args], {
8
+ stdio: 'inherit',
9
+ })
10
+
11
+ if (result.status !== 0) {
12
+ process.exit(result.status ?? 1)
12
13
  }