xhs-mp-compiler-cli 2.0.7 → 2.0.8-beta.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.
@@ -284,7 +284,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
284
284
  }
285
285
  reCompilePkgs(opts) {
286
286
  return __awaiter(this, void 0, void 0, function* () {
287
- var _a, _b, _c;
287
+ var _a, _b;
288
288
  const { compilePkgs } = opts;
289
289
  const entryType = constant_config_1.COMPILE_ENTRY.simulator;
290
290
  const compiler = this.getCompiler(entryType);
@@ -294,10 +294,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
294
294
  console.log('[compiler]reCompilePkgs', config);
295
295
  try {
296
296
  this.emit('recompile-pkgs-start', { config });
297
- (_a = (0, sharedFs_1.default)(true)) === null || _a === void 0 ? void 0 : _a.clear();
297
+ // getSharedFs(true)?.clear()
298
298
  yield compiler.reCompilePkgs(config);
299
299
  this.emit('recompile-pkgs-end', { config });
300
- (_b = this.report) === null || _b === void 0 ? void 0 : _b.call(this, 'compile', {
300
+ (_a = this.report) === null || _a === void 0 ? void 0 : _a.call(this, 'compile', {
301
301
  result: 'success',
302
302
  entryType,
303
303
  config: JSON.stringify(config),
@@ -306,7 +306,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
306
306
  }
307
307
  catch (error) {
308
308
  this.emit('recompile-pkgs-error', { config, error });
309
- (_c = this.report) === null || _c === void 0 ? void 0 : _c.call(this, 'compile', {
309
+ (_b = this.report) === null || _b === void 0 ? void 0 : _b.call(this, 'compile', {
310
310
  result: 'fail',
311
311
  entryType,
312
312
  config: JSON.stringify(config),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "xhs-mp-compiler-cli",
3
- "version": "2.0.7",
3
+ "version": "2.0.8-beta.0",
4
4
  "description": "xhs mp command tool.",
5
5
  "preferGlobal": true,
6
6
  "category": "esm",
@@ -88,18 +88,18 @@
88
88
  "webpack-chain": "^6.5.1",
89
89
  "webpack-sources": "^3.2.2",
90
90
  "xhs-mp-workerpool": "^9.1.3",
91
- "xhs-mp-ml-loader": "2.0.7",
92
- "xhs-mp-compiler-utils": "2.0.7",
93
- "xhs-mp-pack": "2.0.7",
94
- "xhs-mp-project": "2.0.7",
95
- "xhs-mp-shared": "2.0.7",
96
- "xhs-mp-shared-fs": "2.0.7",
97
- "xhs-mp-sjs-loader": "2.0.7",
98
- "xhs-mp-sketch-loader": "2.0.7",
91
+ "xhs-mp-ml-loader": "2.0.8-beta.0",
92
+ "xhs-mp-compiler-utils": "2.0.8-beta.0",
93
+ "xhs-mp-pack": "2.0.8-beta.0",
94
+ "xhs-mp-project": "2.0.8-beta.0",
95
+ "xhs-mp-shared": "2.0.8-beta.0",
96
+ "xhs-mp-shared-fs": "2.0.8-beta.0",
97
+ "xhs-mp-sjs-loader": "2.0.8-beta.0",
98
+ "xhs-mp-sketch-loader": "2.0.8-beta.0",
99
99
  "yauzl": "^2.10.0"
100
100
  },
101
101
  "peerDependencies": {
102
- "xhs-mp-ml-parser": "2.0.7"
102
+ "xhs-mp-ml-parser": "2.0.8-beta.0"
103
103
  },
104
104
  "devDependencies": {
105
105
  "@types/babel__generator": "7.6.3",
@@ -123,7 +123,7 @@
123
123
  "typescript": "5.1.6",
124
124
  "vue3-jest": "27.0.0-alpha.2",
125
125
  "webpack-dev-server": "4.0.0-beta.3",
126
- "xhs-mp-ml-parser": "2.0.7"
126
+ "xhs-mp-ml-parser": "2.0.8-beta.0"
127
127
  },
128
128
  "scripts": {
129
129
  "version": "formula changelog && git add .",