@startupjs/cli 0.57.0-canary.75 → 0.59.0-canary.10

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/commands/index.js CHANGED
@@ -3,5 +3,6 @@ export * as pr from './pm/pr.js'
3
3
  export * as task from './pm/task.js'
4
4
  export * as postinstall from './postinstall.js'
5
5
  export * as startProduction from './start-production.js'
6
+ export * as startWorker from './start-worker.js'
6
7
  export * as build from './build.js'
7
8
  export * as install from 'create-startupjs/install'
@@ -0,0 +1,13 @@
1
+ import { $ } from 'execa'
2
+
3
+ export const name = 'start-worker'
4
+ export const description = 'Start worker node server'
5
+
6
+ export async function action () {
7
+ await $({ stdio: 'inherit' })`\
8
+ node \
9
+ --experimental-detect-module \
10
+ --import=startupjs/nodeRegister \
11
+ -e import('startupjs/startWorker') \
12
+ `
13
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startupjs/cli",
3
- "version": "0.57.0-canary.75",
3
+ "version": "0.59.0-canary.10",
4
4
  "description": "The command-line tool for StartupJS apps.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9,12 +9,12 @@
9
9
  "access": "public"
10
10
  },
11
11
  "dependencies": {
12
- "@startupjs/patches": "^0.57.0-canary.75",
13
- "@startupjs/pm": "^0.57.0-canary.75",
12
+ "@startupjs/patches": "^0.59.0-canary.0",
13
+ "@startupjs/pm": "^0.59.0-canary.0",
14
14
  "chalk": "^5.3.0",
15
15
  "commander": "^12.0.0",
16
- "create-startupjs": "^0.57.0-canary.75",
16
+ "create-startupjs": "^0.59.0-canary.3",
17
17
  "execa": "^8.0.1"
18
18
  },
19
- "gitHead": "7011d93d87bf3b17c6743bd808d940876936ecee"
19
+ "gitHead": "993af934183af979810d84bd96fe8abe1c0a2584"
20
20
  }