@colyseus/tools 0.15.38 → 0.16.0-preview.0

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/package.json +3 -3
  2. package/post-deploy.js +5 -5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colyseus/tools",
3
- "version": "0.15.38",
3
+ "version": "0.16.0-preview.0",
4
4
  "description": "Colyseus Tools for Production",
5
5
  "input": "./src/index.ts",
6
6
  "main": "./build/index.js",
@@ -41,8 +41,8 @@
41
41
  "cors": "^2.8.5",
42
42
  "dotenv": "^8.2.0",
43
43
  "express": "^4.16.2",
44
- "@colyseus/core": "^0.15.36",
45
- "@colyseus/ws-transport": "^0.15.1"
44
+ "@colyseus/core": "^0.16.0-preview.0",
45
+ "@colyseus/ws-transport": "^0.16.0-preview.0"
46
46
  },
47
47
  "publishConfig": {
48
48
  "access": "public"
package/post-deploy.js CHANGED
@@ -7,11 +7,11 @@ const path = require('path');
7
7
  const opts = { env: process.env.NODE_ENV || "production" };
8
8
  const maxCPU = os.cpus().length;
9
9
 
10
- // allow deploying from other path as root.
11
- if (process.env.npm_config_local_prefix) {
12
- process.chdir(process.env.npm_config_local_prefix);
13
- pm2.cwd = process.env.npm_config_local_prefix;
14
- }
10
+ // // allow deploying from other path as root.
11
+ // if (process.env.npm_config_local_prefix) {
12
+ // process.chdir(process.env.npm_config_local_prefix);
13
+ // pm2.cwd = process.env.npm_config_local_prefix;
14
+ // }
15
15
 
16
16
  const CONFIG_FILE = [
17
17
  'ecosystem.config.cjs',