@vibe80/vibe80 0.1.2 → 0.1.3

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.
Files changed (2) hide show
  1. package/bin/vibe80.js +4 -4
  2. package/package.json +11 -2
package/bin/vibe80.js CHANGED
@@ -7,7 +7,6 @@ const path = require("path");
7
7
  const os = require("os");
8
8
 
9
9
  const rootDir = path.resolve(__dirname, "..");
10
- const npmCmd = process.platform === "win32" ? "npm.cmd" : "npm";
11
10
  const homeDir = process.env.HOME || os.homedir();
12
11
  const monoAuthUrlFile = path.join(
13
12
  os.tmpdir(),
@@ -22,8 +21,8 @@ const defaultEnv = {
22
21
  const deploymentMode = process.env.DEPLOYMENT_MODE || defaultEnv.DEPLOYMENT_MODE;
23
22
  const serverPort = process.env.PORT || "5179";
24
23
 
25
- const spawnProcess = (args, label, extraEnv = {}) => {
26
- const child = spawn(npmCmd, args, {
24
+ const spawnProcess = (cmd, args, label, extraEnv = {}) => {
25
+ const child = spawn(cmd, args, {
27
26
  cwd: rootDir,
28
27
  env: {
29
28
  ...defaultEnv,
@@ -130,7 +129,8 @@ const shutdown = (code = 0) => {
130
129
  const startServer = () => {
131
130
  unlinkMonoAuthUrlFile();
132
131
  server = spawnProcess(
133
- ["--workspace", "server", "run", "start"],
132
+ process.execPath,
133
+ ["server/src/index.js"],
134
134
  "server",
135
135
  { VIBE80_MONO_AUTH_URL_FILE: monoAuthUrlFile }
136
136
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vibe80/vibe80",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "private": false,
5
5
  "workspaces": [
6
6
  "server",
@@ -31,7 +31,16 @@
31
31
  "prepack": "npm --workspace client run build"
32
32
  },
33
33
  "dependencies": {
34
- "concurrently": "^8.2.2"
34
+ "concurrently": "^8.2.2",
35
+ "docker-names": "^1.2.1",
36
+ "express": "^4.19.2",
37
+ "express-rate-limit": "^7.4.0",
38
+ "jsonwebtoken": "^9.0.3",
39
+ "multer": "^1.4.5-lts.1",
40
+ "node-pty": "^1.0.0",
41
+ "redis": "^4.7.1",
42
+ "sqlite3": "^5.1.7",
43
+ "ws": "^8.17.1"
35
44
  },
36
45
  "license": "Apache-2.0"
37
46
  }