@cocos/ccbuild 2.0.3-alpha.5 → 2.0.3-alpha.7
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/CHANGELOG.md +17 -0
- package/lib/src/index.d.ts +3 -1
- package/lib/src/index.d.ts.map +1 -1
- package/lib/src/index.js +3 -1
- package/lib/src/index.js.map +1 -1
- package/modules/build-engine/lib/engine-js/index.d.ts.map +1 -1
- package/modules/build-engine/lib/engine-js/index.js +7 -1
- package/modules/build-engine/lib/engine-js/index.js.map +1 -1
- package/modules/build-engine/lib/engine-js/rollup-plugins/module-query-plugin.d.ts +3 -0
- package/modules/build-engine/lib/engine-js/rollup-plugins/module-query-plugin.d.ts.map +1 -0
- package/modules/build-engine/lib/engine-js/rollup-plugins/module-query-plugin.js +43 -0
- package/modules/build-engine/lib/engine-js/rollup-plugins/module-query-plugin.js.map +1 -0
- package/modules/build-engine/lib/engine-ts/engine-builder.d.ts.map +1 -1
- package/modules/build-engine/lib/engine-ts/engine-builder.js +13 -5
- package/modules/build-engine/lib/engine-ts/engine-builder.js.map +1 -1
- package/modules/build-engine/lib/engine-ts/plugins/external-wasm-loader.d.ts.map +1 -1
- package/modules/build-engine/lib/engine-ts/plugins/external-wasm-loader.js +19 -2
- package/modules/build-engine/lib/engine-ts/plugins/external-wasm-loader.js.map +1 -1
- package/modules/build-engine/lib/engine-ts/plugins/module-query-plugin.d.ts +3 -0
- package/modules/build-engine/lib/engine-ts/plugins/module-query-plugin.d.ts.map +1 -0
- package/modules/build-engine/lib/engine-ts/plugins/module-query-plugin.js +52 -0
- package/modules/build-engine/lib/engine-ts/plugins/module-query-plugin.js.map +1 -0
- package/modules/build-engine/lib/index.d.ts +6 -0
- package/modules/build-engine/lib/index.d.ts.map +1 -1
- package/modules/build-engine/lib/index.js +6 -0
- package/modules/build-engine/lib/index.js.map +1 -1
- package/modules/modularize/lib/index.d.ts +3 -20
- package/modules/modularize/lib/index.d.ts.map +1 -1
- package/modules/modularize/lib/index.js +20 -75
- package/modules/modularize/lib/index.js.map +1 -1
- package/modules/modularize/lib/module-config.d.ts +125 -0
- package/modules/modularize/lib/module-config.d.ts.map +1 -0
- package/modules/modularize/lib/module-config.js +6 -0
- package/modules/modularize/lib/module-config.js.map +1 -0
- package/modules/modularize/lib/module-config.schema.json +418 -0
- package/modules/modularize/lib/module-query.d.ts +50 -0
- package/modules/modularize/lib/module-query.d.ts.map +1 -0
- package/modules/modularize/lib/module-query.js +181 -0
- package/modules/modularize/lib/module-query.js.map +1 -0
- package/modules/modularize/lib/platform-config.d.ts +43 -0
- package/modules/modularize/lib/platform-config.d.ts.map +1 -0
- package/modules/modularize/lib/platform-config.js +52 -0
- package/modules/modularize/lib/platform-config.js.map +1 -0
- package/modules/stats-query/lib/cc.config.schema.json +216 -0
- package/modules/stats-query/lib/config-interface.js +1 -1
- package/modules/stats-query/lib/config-interface.js.map +1 -1
- package/modules/stats-query/lib/index.d.ts +8 -19
- package/modules/stats-query/lib/index.d.ts.map +1 -1
- package/modules/stats-query/lib/index.js +5 -0
- package/modules/stats-query/lib/index.js.map +1 -1
- package/modules/transformer/lib/babel/plugins.d.ts +1 -0
- package/modules/transformer/lib/babel/plugins.d.ts.map +1 -1
- package/modules/transformer/lib/babel/plugins.js +2 -4
- package/modules/transformer/lib/babel/plugins.js.map +1 -1
- package/modules/transformer/lib/index.d.ts +2 -1
- package/modules/transformer/lib/index.d.ts.map +1 -1
- package/modules/transformer/lib/index.js +4 -2
- package/modules/transformer/lib/index.js.map +1 -1
- package/modules/transformer/lib/typescript/index.d.ts +2 -0
- package/modules/transformer/lib/typescript/index.d.ts.map +1 -0
- package/modules/transformer/lib/typescript/index.js +39 -0
- package/modules/transformer/lib/typescript/index.js.map +1 -0
- package/modules/transformer/static/types-polyfill.d.ts +18 -0
- package/modules/utils/lib/index.d.ts +3 -1
- package/modules/utils/lib/index.d.ts.map +1 -1
- package/modules/utils/lib/index.js +61 -4
- package/modules/utils/lib/index.js.map +1 -1
- package/modules/utils/lib/path.d.ts +3 -0
- package/modules/utils/lib/path.d.ts.map +1 -1
- package/modules/utils/lib/path.js +16 -4
- package/modules/utils/lib/path.js.map +1 -1
- package/package.json +11 -5
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import * as ps from './path';
|
|
2
|
+
export { ps };
|
|
3
|
+
export { formatPath, absolutePathFuncFactory, replaceExtname, rebasePath, filePathToModuleRequest, toExtensionLess, readdirR } from './path';
|
|
2
4
|
export declare function asserts(expr: boolean, message?: string): boolean;
|
|
3
5
|
export declare function isThenable(value: any): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,MAAM,QAAQ,CAAC;AAE7B,OAAO,EAAE,EAAE,EAAE,CAAC;AAGd,OAAO,EACH,UAAU,EACV,uBAAuB,EACvB,cAAc,EACd,UAAU,EACV,uBAAuB,EACvB,eAAe,EACf,QAAQ,GACX,MAAM,QAAQ,CAAC;AAEhB,wBAAgB,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAKhE;AAED,wBAAgB,UAAU,CAAE,KAAK,EAAE,GAAG,GAAG,OAAO,CAG/C"}
|
|
@@ -16,14 +16,71 @@ var __createBinding = this && this.__createBinding || (Object.create ? function
|
|
|
16
16
|
if (k2 === undefined) k2 = k;
|
|
17
17
|
o[k2] = m[k];
|
|
18
18
|
});
|
|
19
|
-
var
|
|
20
|
-
|
|
19
|
+
var __setModuleDefault = this && this.__setModuleDefault || (Object.create ? function (o, v) {
|
|
20
|
+
Object.defineProperty(o, "default", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
value: v
|
|
23
|
+
});
|
|
24
|
+
} : function (o, v) {
|
|
25
|
+
o["default"] = v;
|
|
26
|
+
});
|
|
27
|
+
var __importStar = this && this.__importStar || function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
21
33
|
};
|
|
22
34
|
Object.defineProperty(exports, "__esModule", {
|
|
23
35
|
value: true
|
|
24
36
|
});
|
|
25
|
-
exports.isThenable = exports.asserts = void 0;
|
|
26
|
-
|
|
37
|
+
exports.isThenable = exports.asserts = exports.readdirR = exports.toExtensionLess = exports.filePathToModuleRequest = exports.rebasePath = exports.replaceExtname = exports.absolutePathFuncFactory = exports.formatPath = exports.ps = void 0;
|
|
38
|
+
const ps = __importStar(require("./path"));
|
|
39
|
+
exports.ps = ps;
|
|
40
|
+
// TODO: for module compatibility, to be removed.
|
|
41
|
+
var path_1 = require("./path");
|
|
42
|
+
Object.defineProperty(exports, "formatPath", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function () {
|
|
45
|
+
return path_1.formatPath;
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "absolutePathFuncFactory", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () {
|
|
51
|
+
return path_1.absolutePathFuncFactory;
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "replaceExtname", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function () {
|
|
57
|
+
return path_1.replaceExtname;
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "rebasePath", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () {
|
|
63
|
+
return path_1.rebasePath;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
Object.defineProperty(exports, "filePathToModuleRequest", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function () {
|
|
69
|
+
return path_1.filePathToModuleRequest;
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "toExtensionLess", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () {
|
|
75
|
+
return path_1.toExtensionLess;
|
|
76
|
+
}
|
|
77
|
+
});
|
|
78
|
+
Object.defineProperty(exports, "readdirR", {
|
|
79
|
+
enumerable: true,
|
|
80
|
+
get: function () {
|
|
81
|
+
return path_1.readdirR;
|
|
82
|
+
}
|
|
83
|
+
});
|
|
27
84
|
function asserts(expr, message) {
|
|
28
85
|
if (!expr) {
|
|
29
86
|
throw new Error(message);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2CAA6B;AAEpB,gBAAE;AAEX,iDAAiD;AACjD,+BAQgB;AAPZ,kGAAA,UAAU,OAAA;AACV,+GAAA,uBAAuB,OAAA;AACvB,sGAAA,cAAc,OAAA;AACd,kGAAA,UAAU,OAAA;AACV,+GAAA,uBAAuB,OAAA;AACvB,uGAAA,eAAe,OAAA;AACf,gGAAA,QAAQ,OAAA;AAGZ,SAAgB,OAAO,CAAC,IAAa,EAAE,OAAgB;IACnD,IAAI,CAAC,IAAI,EAAE;QACP,MAAM,IAAI,KAAK,CAAC,OAAO,CAAC,CAAC;KAC5B;IACD,OAAO,IAAI,CAAC;AAChB,CAAC;AALD,0BAKC;AAED,SAAgB,UAAU,CAAE,KAAU;IAClC,gDAAgD;IAChD,OAAO,OAAO,CAAC,KAAK,IAAI,OAAO,KAAK,CAAC,IAAI,KAAK,UAAU,CAAC,CAAC;AAC9D,CAAC;AAHD,gCAGC"}
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
export declare function dirname(path: string): string;
|
|
2
|
+
export declare function join(...args: string[]): string;
|
|
3
|
+
export declare function relative(from: string, to: string): string;
|
|
1
4
|
export declare function formatPath(path: string): string;
|
|
2
5
|
export declare function absolutePathFuncFactory(dirname: string): (relativePath: string) => string;
|
|
3
6
|
export declare function replaceExtname(path: string, extname: string): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":"AAGA,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,uBAAuB,CAAE,OAAO,EAAE,MAAM,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAI1F;AAED,wBAAgB,cAAc,CAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEtF;AAED,wBAAgB,uBAAuB,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,eAAe,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAErD;AAED,wBAAsB,QAAQ,CAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CASnF"}
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":"AAGA,wBAAgB,OAAO,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE7C;AAED,wBAAgB,IAAI,CAAE,GAAG,IAAI,EAAE,MAAM,EAAE,GAAG,MAAM,CAE/C;AAED,wBAAgB,QAAQ,CAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM,CAE1D;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAEhD;AAED,wBAAgB,uBAAuB,CAAE,OAAO,EAAE,MAAM,GAAG,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAI1F;AAED,wBAAgB,cAAc,CAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM,CAErE;AAED,wBAAgB,UAAU,CAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,CAEtF;AAED,wBAAgB,uBAAuB,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAE7D;AAED,wBAAgB,eAAe,CAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAErD;AAED,wBAAsB,QAAQ,CAAE,IAAI,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CASnF"}
|
|
@@ -61,16 +61,28 @@ var __awaiter = this && this.__awaiter || function (thisArg, _arguments, P, gene
|
|
|
61
61
|
Object.defineProperty(exports, "__esModule", {
|
|
62
62
|
value: true
|
|
63
63
|
});
|
|
64
|
-
exports.readdirR = exports.toExtensionLess = exports.filePathToModuleRequest = exports.rebasePath = exports.replaceExtname = exports.absolutePathFuncFactory = exports.formatPath = void 0;
|
|
64
|
+
exports.readdirR = exports.toExtensionLess = exports.filePathToModuleRequest = exports.rebasePath = exports.replaceExtname = exports.absolutePathFuncFactory = exports.formatPath = exports.relative = exports.join = exports.dirname = void 0;
|
|
65
65
|
const ps = __importStar(require("path"));
|
|
66
66
|
const fs = __importStar(require("fs-extra"));
|
|
67
|
+
function dirname(path) {
|
|
68
|
+
return formatPath(ps.dirname(path));
|
|
69
|
+
}
|
|
70
|
+
exports.dirname = dirname;
|
|
71
|
+
function join(...args) {
|
|
72
|
+
return formatPath(ps.join(...args));
|
|
73
|
+
}
|
|
74
|
+
exports.join = join;
|
|
75
|
+
function relative(from, to) {
|
|
76
|
+
return formatPath(ps.relative(from, to));
|
|
77
|
+
}
|
|
78
|
+
exports.relative = relative;
|
|
67
79
|
function formatPath(path) {
|
|
68
80
|
return path.replace(/\\/g, '/');
|
|
69
81
|
}
|
|
70
82
|
exports.formatPath = formatPath;
|
|
71
83
|
function absolutePathFuncFactory(dirname) {
|
|
72
84
|
return function absolutePath(relativePath) {
|
|
73
|
-
return
|
|
85
|
+
return join(dirname, relativePath);
|
|
74
86
|
};
|
|
75
87
|
}
|
|
76
88
|
exports.absolutePathFuncFactory = absolutePathFuncFactory;
|
|
@@ -79,7 +91,7 @@ function replaceExtname(path, extname) {
|
|
|
79
91
|
}
|
|
80
92
|
exports.replaceExtname = replaceExtname;
|
|
81
93
|
function rebasePath(path, originDir, rebaseDir) {
|
|
82
|
-
return
|
|
94
|
+
return join(rebaseDir, ps.relative(originDir, path));
|
|
83
95
|
}
|
|
84
96
|
exports.rebasePath = rebasePath;
|
|
85
97
|
function filePathToModuleRequest(path) {
|
|
@@ -95,7 +107,7 @@ function readdirR(item, reduceOutput) {
|
|
|
95
107
|
if ((yield fs.stat(item)).isDirectory()) {
|
|
96
108
|
const dirItems = yield fs.readdir(item);
|
|
97
109
|
for (const subItem of dirItems) {
|
|
98
|
-
yield readdirR(
|
|
110
|
+
yield readdirR(join(item, subItem), reduceOutput);
|
|
99
111
|
}
|
|
100
112
|
} else {
|
|
101
113
|
reduceOutput.push(item);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path.js","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+B;AAE/B,SAAgB,UAAU,CAAE,IAAY;IACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACpC,CAAC;AAFD,gCAEC;AAED,SAAgB,uBAAuB,CAAE,OAAe;IACpD,OAAO,SAAS,YAAY,CAAE,YAAoB;QAC9C,OAAO,
|
|
1
|
+
{"version":3,"file":"path.js","sourceRoot":"","sources":["../src/path.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,6CAA+B;AAE/B,SAAgB,OAAO,CAAE,IAAY;IACjC,OAAO,UAAU,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACxC,CAAC;AAFD,0BAEC;AAED,SAAgB,IAAI,CAAE,GAAG,IAAc;IACnC,OAAO,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;AACxC,CAAC;AAFD,oBAEC;AAED,SAAgB,QAAQ,CAAE,IAAY,EAAE,EAAU;IAC9C,OAAO,UAAU,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;AAC7C,CAAC;AAFD,4BAEC;AAED,SAAgB,UAAU,CAAE,IAAY;IACpC,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;AACpC,CAAC;AAFD,gCAEC;AAED,SAAgB,uBAAuB,CAAE,OAAe;IACpD,OAAO,SAAS,YAAY,CAAE,YAAoB;QAC9C,OAAO,IAAI,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IACvC,CAAC,CAAC;AACN,CAAC;AAJD,0DAIC;AAED,SAAgB,cAAc,CAAE,IAAY,EAAE,OAAe;IACzD,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,GAAG,OAAO,CAAC;AAC7D,CAAC;AAFD,wCAEC;AAED,SAAgB,UAAU,CAAE,IAAY,EAAE,SAAiB,EAAE,SAAiB;IAC1E,OAAO,IAAI,CAAC,SAAS,EAAE,EAAE,CAAC,QAAQ,CAAC,SAAS,EAAE,IAAI,CAAC,CAAC,CAAC;AACzD,CAAC;AAFD,gCAEC;AAED,SAAgB,uBAAuB,CAAE,IAAY;IACjD,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;AACvC,CAAC;AAFD,0DAEC;AAED,SAAgB,eAAe,CAAE,IAAY;IACzC,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,CAAC;AACnD,CAAC;AAFD,0CAEC;AAED,SAAsB,QAAQ,CAAE,IAAY,EAAE,YAAsB;;QAChE,IAAI,CAAC,MAAM,EAAE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,WAAW,EAAE,EAAE;YACrC,MAAM,QAAQ,GAAG,MAAM,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;YACxC,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE;gBAC5B,MAAM,QAAQ,CAAC,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC;aACrD;SACJ;aAAM;YACH,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;SAC3B;IACL,CAAC;CAAA;AATD,4BASC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocos/ccbuild",
|
|
3
|
-
"version": "2.0.3-alpha.
|
|
3
|
+
"version": "2.0.3-alpha.7",
|
|
4
4
|
"description": "The next generation of build tool for Cocos engine.",
|
|
5
5
|
"main": "./lib/src/index.js",
|
|
6
6
|
"types": "./lib/src/index.d.ts",
|
|
@@ -43,20 +43,26 @@
|
|
|
43
43
|
"@rollup/plugin-virtual": "^3.0.1",
|
|
44
44
|
"@rollup/plugin-typescript": "~11.1.2",
|
|
45
45
|
"rollup-plugin-terser": "^7.0.2",
|
|
46
|
-
"path": "~0.12.7",
|
|
47
46
|
"commander": "~11.0.0",
|
|
48
47
|
"ejs": "~3.1.9",
|
|
48
|
+
"path": "~0.12.7",
|
|
49
|
+
"@types/babel__core": "7.1.20",
|
|
50
|
+
"@types/babel__generator": "7.6.4",
|
|
51
|
+
"@types/babel__helper-module-imports": "7.18.0",
|
|
52
|
+
"@types/babel__preset-env": "7.9.2",
|
|
53
|
+
"@types/babel__template": "7.4.1",
|
|
54
|
+
"@types/babel__traverse": "7.18.2",
|
|
49
55
|
"@babel/core": "^7.20.12",
|
|
56
|
+
"@babel/helper-module-imports": "7.18.6",
|
|
50
57
|
"@babel/parser": "^7.20.13",
|
|
51
58
|
"@babel/plugin-syntax-decorators": "^7.19.0",
|
|
52
59
|
"@babel/plugin-syntax-typescript": "^7.20.0",
|
|
53
60
|
"@babel/plugin-transform-for-of": "^7.21.0",
|
|
61
|
+
"@babel/plugin-transform-modules-systemjs": "~7.22.5",
|
|
54
62
|
"@babel/preset-env": "^7.20.2",
|
|
55
63
|
"@babel/traverse": "^7.20.13",
|
|
56
64
|
"@cocos/babel-plugin-dynamic-import-vars": "^1.0.2",
|
|
57
|
-
"@cocos/creator-programming-babel-preset-cc": "1.0.1-alpha.4"
|
|
58
|
-
"@babel/plugin-transform-modules-systemjs": "~7.22.5",
|
|
59
|
-
"@babel/helper-module-imports": "7.18.6"
|
|
65
|
+
"@cocos/creator-programming-babel-preset-cc": "1.0.1-alpha.4"
|
|
60
66
|
},
|
|
61
67
|
"exports": {
|
|
62
68
|
".": {
|