hbuilder-build-move 0.0.1 → 0.0.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/README.md +5 -0
- package/move.js +1 -2
- package/package.json +7 -2
package/README.md
ADDED
package/move.js
CHANGED
|
@@ -72,8 +72,7 @@ async function main(src, dest, commitInfo) {
|
|
|
72
72
|
|
|
73
73
|
console.log("🎉 所有文件复制完成 ");
|
|
74
74
|
spawnSync("cd", [projectRoot]);
|
|
75
|
-
|
|
76
|
-
console.log("当前执行路径:", pwd.stdout.toString());
|
|
75
|
+
console.log("当前执行路径:", process.pwd());
|
|
77
76
|
|
|
78
77
|
const gitCommands = [
|
|
79
78
|
{ cmd: "git", args: ["add", "."] },
|
package/package.json
CHANGED
|
@@ -1,10 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hbuilder-build-move",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.3",
|
|
4
4
|
"description": "将打包好的资源移动到项目指定的目录下",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Hbuilder",
|
|
7
|
+
"h5",
|
|
8
|
+
"build"
|
|
9
|
+
],
|
|
5
10
|
"main": "index.js",
|
|
6
11
|
"bin": {
|
|
7
|
-
"hbm": "
|
|
12
|
+
"hbm": "index.mjs"
|
|
8
13
|
},
|
|
9
14
|
"scripts": {
|
|
10
15
|
"test": "echo \"Error: no test specified\" && exit 1"
|