@ray-js/cli 1.6.1 → 1.6.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.
package/bin/ray-build.js CHANGED
@@ -52,6 +52,7 @@ program
52
52
  const devtools = process.env.TUYA_DEVTOOLS !== undefined
53
53
  const analyze = !!process.env.CI_BUILD_ANALYZE || options.analyze
54
54
  const mode = process.env.NODE_ENV
55
+ process.chdir(cwd)
55
56
  require('../lib/build').default({ ...options, cwd, mode, devtools, analyze })
56
57
  })
57
58
  .parse(process.argv)
package/bin/ray-start.js CHANGED
@@ -52,6 +52,7 @@ program
52
52
  cwd = path.join(process.cwd(), cwd)
53
53
  const devtools = process.env.TUYA_DEVTOOLS !== undefined
54
54
  const mode = process.env.NODE_ENV
55
+ process.chdir(cwd)
55
56
  require('../lib/start').default({ ...options, cwd, mode, devtools })
56
57
  })
57
58
  .parse(process.argv)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/cli",
3
- "version": "1.6.1",
3
+ "version": "1.6.3",
4
4
  "description": "Ray cli",
5
5
  "keywords": [
6
6
  "ray"
@@ -27,14 +27,14 @@
27
27
  "watch": "tsc -p ./tsconfig.build.json --watch"
28
28
  },
29
29
  "dependencies": {
30
- "@ray-js/build-plugin-ray": "1.6.1",
31
- "@ray-js/build-plugin-router": "1.6.1",
32
- "@ray-js/builder-component": "1.6.1",
33
- "@ray-js/builder-mp": "1.6.1",
34
- "@ray-js/builder-web": "1.6.1",
35
- "@ray-js/raypack": "1.6.1",
36
- "@ray-js/shared": "1.6.1",
37
- "@ray-js/types": "1.6.1",
30
+ "@ray-js/build-plugin-ray": "1.6.3",
31
+ "@ray-js/build-plugin-router": "1.6.3",
32
+ "@ray-js/builder-component": "1.6.3",
33
+ "@ray-js/builder-mp": "1.6.3",
34
+ "@ray-js/builder-web": "1.6.3",
35
+ "@ray-js/raypack": "1.6.3",
36
+ "@ray-js/shared": "1.6.3",
37
+ "@ray-js/types": "1.6.3",
38
38
  "colors": "1.4.0",
39
39
  "commander": "^8.3.0",
40
40
  "webpack-chain": "^6.5.1"
@@ -43,7 +43,7 @@
43
43
  "access": "public",
44
44
  "registry": "https://registry.npmjs.com"
45
45
  },
46
- "gitHead": "cb6ffc5dc0ace4c698bf12ab2102420550964a7d",
46
+ "gitHead": "f0390bf5a5c5867f2157214b900ca656877853fd",
47
47
  "devDependencies": {
48
48
  "typescript": "^5.7.2"
49
49
  }