@varlet/cli 1.24.5-alpha.1640957936827 → 1.24.5-alpha.1640959312386

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.
@@ -129,7 +129,7 @@ function updateVersion(version) {
129
129
  }
130
130
  function release() {
131
131
  return __awaiter(this, void 0, void 0, function () {
132
- var currentVersion, name_1, ret, type, isPreRelease, expectVersion, confirm_1, e_1, error_1;
132
+ var currentVersion, name_1, ret, type, isPreRelease, expectVersion, confirm_1, ret_1, e_1, error_1;
133
133
  return __generator(this, function (_a) {
134
134
  switch (_a.label) {
135
135
  case 0:
@@ -188,14 +188,15 @@ function release() {
188
188
  _a.label = 8;
189
189
  case 8:
190
190
  _a.trys.push([8, 10, , 11]);
191
- return [4 /*yield*/, (0, execa_1.default)('git', ['restore', '**/package.json'])
192
- // eslint-disable-next-line no-empty
193
- ];
191
+ return [4 /*yield*/, (0, execa_1.default)('git', ['checkout', '**/package.json'])];
194
192
  case 9:
195
- _a.sent();
193
+ ret_1 = _a.sent();
194
+ console.log(ret_1.stderr);
195
+ console.log(ret_1.stdout);
196
196
  return [3 /*break*/, 11];
197
197
  case 10:
198
198
  e_1 = _a.sent();
199
+ console.log(e_1.toString());
199
200
  return [3 /*break*/, 11];
200
201
  case 11:
201
202
  logger_1.default.success("Release version ".concat(expectVersion, " successfully!"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/cli",
3
- "version": "1.24.5-alpha.1640957936827",
3
+ "version": "1.24.5-alpha.1640959312386",
4
4
  "description": "cli of varlet",
5
5
  "bin": {
6
6
  "varlet-cli": "./lib/index.js"
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "gitHead": "ee9c3866bedad96c86365b0f9888a3a6bb781b1f",
31
31
  "dependencies": {
32
- "@varlet/icons": "1.24.5-alpha.1640957936827",
33
- "@varlet/markdown-vite-plugin": "1.24.5-alpha.1640957936827",
34
- "@varlet/touch-emulator": "1.24.5-alpha.1640957936827",
32
+ "@varlet/icons": "1.24.5-alpha.1640959312386",
33
+ "@varlet/markdown-vite-plugin": "1.24.5-alpha.1640959312386",
34
+ "@varlet/touch-emulator": "1.24.5-alpha.1640959312386",
35
35
  "@babel/core": "^7.14.8",
36
36
  "@babel/preset-env": "^7.14.8",
37
37
  "@babel/preset-typescript": "^7.14.5",
@@ -73,7 +73,7 @@
73
73
  "@types/lodash-es": "^4.17.5"
74
74
  },
75
75
  "peerDependencies": {
76
- "@varlet/touch-emulator": "1.24.5-alpha.1640957936827",
76
+ "@varlet/touch-emulator": "1.24.5-alpha.1640959312386",
77
77
  "@vue/test-utils": "^2.0.0-rc.6",
78
78
  "vue": "3.2.16",
79
79
  "vue-router": "4.0.12",