@ray-js/cli 1.5.44-beta.0 → 1.5.45
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 +3 -2
- package/package.json +10 -10
package/bin/ray-build.js
CHANGED
|
@@ -26,7 +26,7 @@ program
|
|
|
26
26
|
.option('--debug [debug]', '开启运行时日志', (v) => {
|
|
27
27
|
return JSON.parse(v === '1' || v === 'true')
|
|
28
28
|
})
|
|
29
|
-
.action(
|
|
29
|
+
.action((cwd = '', options) => {
|
|
30
30
|
log.verbose('cli', options)
|
|
31
31
|
if (options.target === 'tuya') {
|
|
32
32
|
log.verbose('cli', 'change target tuya -> thing')
|
|
@@ -50,7 +50,8 @@ program
|
|
|
50
50
|
})
|
|
51
51
|
cwd = path.resolve(process.cwd(), cwd)
|
|
52
52
|
const devtools = process.env.TUYA_DEVTOOLS !== undefined
|
|
53
|
+
const analyze = !!process.env.CI_BUILD_ANALYZE || options.analyze
|
|
53
54
|
const mode = process.env.NODE_ENV
|
|
54
|
-
require('../lib/build').default({ ...options, cwd, mode, devtools })
|
|
55
|
+
require('../lib/build').default({ ...options, cwd, mode, devtools, analyze })
|
|
55
56
|
})
|
|
56
57
|
.parse(process.argv)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ray-js/cli",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.45",
|
|
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": "
|
|
31
|
-
"@ray-js/build-plugin-router": "
|
|
32
|
-
"@ray-js/builder-component": "
|
|
33
|
-
"@ray-js/builder-mp": "
|
|
34
|
-
"@ray-js/builder-web": "
|
|
35
|
-
"@ray-js/raypack": "
|
|
36
|
-
"@ray-js/shared": "
|
|
37
|
-
"@ray-js/types": "
|
|
30
|
+
"@ray-js/build-plugin-ray": "1.5.45",
|
|
31
|
+
"@ray-js/build-plugin-router": "1.5.45",
|
|
32
|
+
"@ray-js/builder-component": "1.5.45",
|
|
33
|
+
"@ray-js/builder-mp": "1.5.45",
|
|
34
|
+
"@ray-js/builder-web": "1.5.45",
|
|
35
|
+
"@ray-js/raypack": "1.5.45",
|
|
36
|
+
"@ray-js/shared": "1.5.45",
|
|
37
|
+
"@ray-js/types": "1.5.45",
|
|
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": "
|
|
46
|
+
"gitHead": "4839da28164b7fdee7bfe4a9bb61d8cab98ce909",
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"typescript": "^5.6.3"
|
|
49
49
|
}
|