@varlet/cli 2.0.0-alpha.1664327588712 → 2.0.0-alpha.1664332224687
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/lib/commands/gen.js
CHANGED
|
@@ -122,6 +122,9 @@ function gen(options) {
|
|
|
122
122
|
_c.sent();
|
|
123
123
|
return [4 /*yield*/, (0, fs_extra_1.copy)(code, dest)];
|
|
124
124
|
case 12:
|
|
125
|
+
_c.sent();
|
|
126
|
+
return [4 /*yield*/, (0, fs_extra_1.rename)((0, path_1.resolve)(dest, '_gitignore'), (0, path_1.resolve)(dest, '.gitignore'))];
|
|
127
|
+
case 13:
|
|
125
128
|
_c.sent();
|
|
126
129
|
syncVersion(name);
|
|
127
130
|
logger_1.default.success('✨ Application generated successfully!');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/cli",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.1664332224687",
|
|
4
4
|
"description": "cli of varlet",
|
|
5
5
|
"bin": {
|
|
6
6
|
"varlet-cli": "./lib/index.js"
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@babel/helper-plugin-utils": "^7.14.5",
|
|
33
33
|
"@babel/preset-env": "^7.14.8",
|
|
34
34
|
"@babel/preset-typescript": "^7.14.5",
|
|
35
|
-
"@varlet/icons": "2.0.0-alpha.
|
|
36
|
-
"@varlet/markdown-vite-plugin": "2.0.0-alpha.
|
|
37
|
-
"@varlet/shared": "2.0.0-alpha.
|
|
38
|
-
"@varlet/touch-emulator": "2.0.0-alpha.
|
|
35
|
+
"@varlet/icons": "2.0.0-alpha.1664332224687",
|
|
36
|
+
"@varlet/markdown-vite-plugin": "2.0.0-alpha.1664332224687",
|
|
37
|
+
"@varlet/shared": "2.0.0-alpha.1664332224687",
|
|
38
|
+
"@varlet/touch-emulator": "2.0.0-alpha.1664332224687",
|
|
39
39
|
"@vitejs/plugin-vue": "3.0.1",
|
|
40
40
|
"@vitejs/plugin-vue-jsx": "2.0.0",
|
|
41
41
|
"@vue/babel-plugin-jsx": "1.1.1",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@types/semver": "^7.3.9"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@varlet/touch-emulator": "2.0.0-alpha.
|
|
83
|
+
"@varlet/touch-emulator": "2.0.0-alpha.1664332224687",
|
|
84
84
|
"@vue/runtime-core": "3.2.16",
|
|
85
85
|
"@vue/test-utils": "^2.0.2",
|
|
86
86
|
"clipboard": "^2.0.6",
|