@cocos/ccbuild 1.0.0-alpha.8 → 1.0.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.
- package/CHANGELOG.md +51 -0
- package/README.md +14 -14
- package/lib/api-builder.js +1 -1
- package/lib/build-engine/engine-js/index.d.ts +2 -2
- package/lib/build-engine/engine-js/index.d.ts.map +1 -1
- package/lib/build-engine/engine-js/index.js +458 -459
- package/lib/build-engine/engine-js/index.js.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/asset-ref.d.ts +36 -36
- package/lib/build-engine/engine-js/rollup-plugins/asset-ref.js +87 -87
- package/lib/build-engine/engine-js/rollup-plugins/asset-ref.js.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/asset-url.d.ts +7 -7
- package/lib/build-engine/engine-js/rollup-plugins/asset-url.js +92 -92
- package/lib/build-engine/engine-js/rollup-plugins/asset-url.js.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/code-asset.d.ts +28 -28
- package/lib/build-engine/engine-js/rollup-plugins/code-asset.js +135 -135
- package/lib/build-engine/engine-js/rollup-plugins/code-asset.js.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.d.ts +2 -2
- package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.js +37 -37
- package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.js.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/ts-paths.d.ts +4 -4
- package/lib/build-engine/engine-js/rollup-plugins/ts-paths.js +42 -42
- package/lib/{engine-builder.d.ts → build-engine/engine-ts/engine-builder.d.ts} +53 -53
- package/lib/build-engine/engine-ts/engine-builder.d.ts.map +1 -0
- package/lib/{engine-builder.js → build-engine/engine-ts/engine-builder.js} +549 -549
- package/lib/build-engine/engine-ts/engine-builder.js.map +1 -0
- package/lib/build-engine/engine-ts/index.d.ts +3 -0
- package/lib/build-engine/engine-ts/index.d.ts.map +1 -0
- package/lib/build-engine/engine-ts/index.js +35 -0
- package/lib/build-engine/engine-ts/index.js.map +1 -0
- package/lib/build-engine/index.d.ts +125 -118
- package/lib/build-engine/index.d.ts.map +1 -1
- package/lib/build-engine/index.js +138 -124
- package/lib/build-engine/index.js.map +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +33 -34
- package/lib/index.js.map +1 -1
- package/lib/module-resolver.d.ts +7 -7
- package/lib/module-resolver.js +28 -28
- package/lib/stats-query/config-interface.d.ts +129 -129
- package/lib/stats-query/config-interface.js +3 -3
- package/lib/stats-query/index.d.ts +161 -161
- package/lib/stats-query/index.d.ts.map +1 -1
- package/lib/stats-query/index.js +527 -527
- package/lib/stats-query/path-utils.d.ts +2 -2
- package/lib/stats-query/path-utils.js +35 -35
- package/lib/transformer/babel.d.ts +5 -5
- package/lib/transformer/babel.js +34 -34
- package/lib/transformer/index.d.ts +2 -2
- package/lib/transformer/index.js +28 -28
- package/lib/utils.d.ts +2 -2
- package/lib/utils.js +14 -14
- package/package.json +6 -3
- package/static/helper-dynamic-constants.txt +12 -12
- package/static/helper-global-exporter.txt +8 -8
- package/static/lib.dom.d.ts +20227 -20227
- package/lib/engine-builder.d.ts.map +0 -1
- package/lib/engine-builder.js.map +0 -1
- package/lib/stats-query/constant-manager.d.ts +0 -67
- package/lib/stats-query/constant-manager.d.ts.map +0 -1
- package/lib/stats-query/constant-manager.js +0 -263
- package/lib/stats-query/constant-manager.js.map +0 -1
- package/lib/transformer.js +0 -7
- package/lib/transformer.js.map +0 -1
- package/lib/tsdoc-metadata.json +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @cocos/ccbuild
|
|
2
2
|
|
|
3
|
+
## 1.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- e49f97e: integrate build js engine
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- e49f97e: revert @rollup/plugin-node-resolve version to fix rollup issue https://github.com/rollup/plugins/issues/1464
|
|
12
|
+
- e49f97e: fix wrong rullup version deps
|
|
13
|
+
- d2b5b77: support keepTypes options
|
|
14
|
+
- bdea922: change @rollup/plugin-terser to rollup-plugin-terser
|
|
15
|
+
- d2b5b77: make PlatformType for string
|
|
16
|
+
- b2f4116: implement build ts engine
|
|
17
|
+
- 74eb0fc: use build js engine for OH platform
|
|
18
|
+
- remove assert that build js engine should be in BUILD mode
|
|
19
|
+
- ed9a9db: fix @rollup/plugin-json deps for editor-extension install
|
|
20
|
+
- 3ac56fa: change keepTypes to preserveType option
|
|
21
|
+
|
|
22
|
+
## 1.0.0-alpha.13
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- change keepTypes to preserveType option
|
|
27
|
+
|
|
28
|
+
## 1.0.0-alpha.12
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- support keepTypes options
|
|
33
|
+
- make PlatformType for string
|
|
34
|
+
- b2f4116: implement build ts engine
|
|
35
|
+
|
|
36
|
+
## 1.0.0-alpha.11
|
|
37
|
+
|
|
38
|
+
### Patch Changes
|
|
39
|
+
|
|
40
|
+
- use build js engine for OH platform
|
|
41
|
+
|
|
42
|
+
## 1.0.0-alpha.10
|
|
43
|
+
|
|
44
|
+
### Patch Changes
|
|
45
|
+
|
|
46
|
+
- change @rollup/plugin-terser to rollup-plugin-terser
|
|
47
|
+
|
|
48
|
+
## 1.0.0-alpha.9
|
|
49
|
+
|
|
50
|
+
### Patch Changes
|
|
51
|
+
|
|
52
|
+
- fix @rollup/plugin-json deps for editor-extension install
|
|
53
|
+
|
|
3
54
|
## 1.0.0-alpha.8
|
|
4
55
|
|
|
5
56
|
### Major Changes
|
package/README.md
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# CCBUILD
|
|
2
|
-
|
|
3
|
-
The next generation of build tool for Cocos engine.
|
|
4
|
-
|
|
5
|
-
# What problems does this build tool solve ?
|
|
6
|
-
|
|
7
|
-
- To merge `@editor/quick-compiler` and `@cocos/build-engine`
|
|
8
|
-
- To support build cache management
|
|
9
|
-
- To support generating ts engine for AOT optimization on Open Harmony
|
|
10
|
-
- To support API generation
|
|
11
|
-
- To support API report
|
|
12
|
-
- To support API document model generation
|
|
13
|
-
- To support build modular engine
|
|
14
|
-
- More human-friendly log info
|
|
1
|
+
# CCBUILD
|
|
2
|
+
|
|
3
|
+
The next generation of build tool for Cocos engine.
|
|
4
|
+
|
|
5
|
+
# What problems does this build tool solve ?
|
|
6
|
+
|
|
7
|
+
- To merge `@editor/quick-compiler` and `@cocos/build-engine`
|
|
8
|
+
- To support build cache management
|
|
9
|
+
- To support generating ts engine for AOT optimization on Open Harmony
|
|
10
|
+
- To support API generation
|
|
11
|
+
- To support API report
|
|
12
|
+
- To support API document model generation
|
|
13
|
+
- To support build modular engine
|
|
14
|
+
- More human-friendly log info
|
|
15
15
|
-
|
package/lib/api-builder.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
2
|
//# sourceMappingURL=api-builder.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { buildEngine } from '../index';
|
|
2
|
-
export declare function buildJsEngine(options: buildEngine.Options): Promise<buildEngine.Result>;
|
|
1
|
+
import type { buildEngine } from '../index';
|
|
2
|
+
export declare function buildJsEngine(options: buildEngine.Options): Promise<buildEngine.Result>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/build-engine/engine-js/index.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAsB3C,wBAAsB,aAAa,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/build-engine/engine-js/index.ts"],"names":[],"mappings":"AAyBA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAsB3C,wBAAsB,aAAa,CAAC,OAAO,EAAE,WAAW,CAAC,OAAO,GAAG,OAAO,CAAC,WAAW,CAAC,MAAM,CAAC,CAmc7F"}
|