@ruan-cat/vercel-deploy-tool 0.0.10 → 0.0.11
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/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ruan-cat/vercel-deploy-tool",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.11",
|
|
4
4
|
"description": "阮喵喵自用的vercel部署工具,用于实现复杂项目的部署。",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.ts",
|
|
7
7
|
"types": "./src/index.ts",
|
|
8
|
-
"homepage": "https://github.com/
|
|
8
|
+
"homepage": "https://github.com/ruan-cat/vercel-monorepo-test/tree/main/demos/vercel-deploy-tool",
|
|
9
9
|
"bugs": {
|
|
10
|
-
"url": "https://github.com/
|
|
10
|
+
"url": "https://github.com/ruan-cat/vercel-monorepo-test/issues"
|
|
11
11
|
},
|
|
12
12
|
"repository": {
|
|
13
13
|
"type": "git",
|
|
14
|
-
"url": "git+https://github.com/
|
|
14
|
+
"url": "git+https://github.com/ruan-cat/vercel-monorepo-test.git",
|
|
15
15
|
"directory": "demos/vercel-deploy-tool"
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": {
|
|
28
28
|
"name": "ruan-cat",
|
|
29
29
|
"email": "1219043956@qq.com",
|
|
30
|
-
"url": "https://github.com/
|
|
30
|
+
"url": "https://github.com/ruan-cat"
|
|
31
31
|
},
|
|
32
32
|
"license": "MIT",
|
|
33
33
|
"publishConfig": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"consola": "^3.2.3",
|
|
46
46
|
"cpx": "^1.5.0",
|
|
47
47
|
"execa": "^9.3.1",
|
|
48
|
-
"lodash-es": "
|
|
48
|
+
"lodash-es": "4.17.21",
|
|
49
49
|
"mkdirp": "^3.0.1",
|
|
50
50
|
"pathe": "^1.1.2",
|
|
51
51
|
"rimraf": "^5.0.7",
|
package/src/index.ts
CHANGED
|
@@ -244,8 +244,8 @@ function generateCopyDistTasks(deployTarget: WithUserCommands) {
|
|
|
244
244
|
parameters: [],
|
|
245
245
|
});
|
|
246
246
|
const { code, stdout } = await commandFunction();
|
|
247
|
-
consola.info(`
|
|
248
|
-
consola.box(stdout);
|
|
247
|
+
consola.info(` 执行了命令 🐓: `, command);
|
|
248
|
+
// consola.box(stdout);
|
|
249
249
|
});
|
|
250
250
|
});
|
|
251
251
|
|
|
@@ -311,7 +311,7 @@ function generateAfterBuildTasksConfig(config: Config): Task {
|
|
|
311
311
|
consola.start(` 开始用户 afterBuildTasks 命令任务 `);
|
|
312
312
|
const { code, stdout } = await userCommand();
|
|
313
313
|
consola.success(` 完成用户 afterBuildTasks 命令任务 ${code} `);
|
|
314
|
-
consola.box(stdout);
|
|
314
|
+
// consola.box(stdout);
|
|
315
315
|
});
|
|
316
316
|
}),
|
|
317
317
|
};
|
|
@@ -355,7 +355,7 @@ async function main() {
|
|
|
355
355
|
const { code, stdout } = await build();
|
|
356
356
|
consola.success(` 完成build任务 `);
|
|
357
357
|
consola.info(` 完成命令 ${code} `);
|
|
358
|
-
consola.box(stdout);
|
|
358
|
+
// consola.box(stdout);
|
|
359
359
|
});
|
|
360
360
|
}),
|
|
361
361
|
},
|
|
@@ -388,7 +388,7 @@ async function main() {
|
|
|
388
388
|
consola.start(` 开始用户命令任务 `);
|
|
389
389
|
const { code, stdout } = await userCommand();
|
|
390
390
|
consola.success(` 完成用户命令任务 ${code} `);
|
|
391
|
-
consola.box(stdout);
|
|
391
|
+
// consola.box(stdout);
|
|
392
392
|
});
|
|
393
393
|
}),
|
|
394
394
|
},
|
|
@@ -125,11 +125,11 @@ export async function executePromiseTasks(
|
|
|
125
125
|
|
|
126
126
|
res = await task(lastParams);
|
|
127
127
|
lastParams = res;
|
|
128
|
-
console.log(` 串行任务 单独 res `, res);
|
|
128
|
+
// console.log(` 串行任务 单独 res `, res);
|
|
129
129
|
} else {
|
|
130
130
|
res = await executePromiseTasks(task, lastParams);
|
|
131
131
|
lastParams = res;
|
|
132
|
-
console.log(` 串行任务 配置 res `, res);
|
|
132
|
+
// console.log(` 串行任务 配置 res `, res);
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|