@colpu/cli 0.1.3 → 0.2.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.
- package/command/build.js +1 -1
- package/command/dev.js +1 -1
- package/config/shipit.js +1 -1
- package/package.json +3 -1
package/command/build.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @param {String} argv bash 参数
|
|
5
5
|
* @description 执行打包
|
|
6
6
|
*/
|
|
7
|
-
const build = require(
|
|
7
|
+
const build = require(`${process.cwd()}/node_modules/@colpu/build/src/build`);
|
|
8
8
|
module.exports = async function commond(env, argv) {
|
|
9
9
|
process.env.NODE_ENV = 'production';
|
|
10
10
|
await build();
|
package/command/dev.js
CHANGED
package/config/shipit.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colpu/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "项目启动cli",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -13,9 +13,11 @@
|
|
|
13
13
|
"author": "",
|
|
14
14
|
"license": "ISC",
|
|
15
15
|
"dependencies": {
|
|
16
|
+
"@colpu/cli": "^0.1.5",
|
|
16
17
|
"chalk": "^4.1.1",
|
|
17
18
|
"debug": "^4.3.2",
|
|
18
19
|
"git-clone": "^0.1.0",
|
|
20
|
+
"global": "^4.4.0",
|
|
19
21
|
"inquirer": "^8.1.1",
|
|
20
22
|
"lodash": "^4.17.21",
|
|
21
23
|
"ora": "^5.4.1",
|