@cocos/ccbuild 1.1.18 → 1.1.20
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 +12 -0
- package/README.md +37 -37
- 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.js +406 -406
- package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.d.ts +57 -57
- package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.d.ts.map +1 -1
- package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.js +326 -323
- package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.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/ts-paths.d.ts +4 -4
- package/lib/build-engine/engine-js/rollup-plugins/ts-paths.js +42 -42
- package/lib/build-engine/engine-ts/engine-builder.d.ts +57 -57
- package/lib/build-engine/engine-ts/engine-builder.js +631 -631
- package/lib/build-engine/engine-ts/field-decorator-helper.d.ts +9 -9
- package/lib/build-engine/engine-ts/field-decorator-helper.js +54 -54
- package/lib/build-engine/engine-ts/index.d.ts +2 -2
- package/lib/build-engine/engine-ts/index.js +36 -36
- package/lib/build-engine/engine-ts/plugins/external-wasm-loader.d.ts +6 -6
- package/lib/build-engine/engine-ts/plugins/external-wasm-loader.js +65 -65
- package/lib/build-engine/engine-ts/plugins/interface.d.ts +20 -20
- package/lib/build-engine/engine-ts/plugins/interface.js +1 -1
- package/lib/build-engine/index.d.ts +147 -145
- package/lib/build-engine/index.d.ts.map +1 -1
- package/lib/build-engine/index.js +168 -167
- package/lib/build-engine/index.js.map +1 -1
- package/lib/index.d.ts +4 -4
- package/lib/index.js +33 -33
- 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 +183 -183
- package/lib/stats-query/index.js +531 -531
- 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 +4 -4
- package/lib/utils.js +23 -23
- package/package.json +1 -1
- package/static/helper-dynamic-constants.txt +13 -13
- package/static/helper-file-decorator.ts +20 -20
- package/static/helper-global-exporter.txt +8 -8
- package/static/lib.dom.d.ts +20227 -20227
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
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
|
-
|
|
16
|
-
# How to maintain this repo
|
|
17
|
-
|
|
18
|
-
Run `npm i` to setup the dev environment.
|
|
19
|
-
|
|
20
|
-
## unit test
|
|
21
|
-
|
|
22
|
-
Every time you fix a bug or introduce a new feature to ccbuild, please remember considering to add your unit test into `test` folder, and run `npm test` to make sure all your modification can pass the unit test.
|
|
23
|
-
|
|
24
|
-
If you want to update the snapshot, please run `npm test -- -u`.
|
|
25
|
-
|
|
26
|
-
## changelog generation
|
|
27
|
-
|
|
28
|
-
We use [changesets](https://github.com/changesets/changesets) to manage all the changelog.
|
|
29
|
-
Every time you make a change in the repo, please run `npm run change` to generate a changeset in the folder `.changeset`, this file should be also commit to the repo.
|
|
30
|
-
|
|
31
|
-
## publish
|
|
32
|
-
|
|
33
|
-
Please run `npm run version` to publish a version, this command would consume all the changesets in `.changeset` folder.
|
|
34
|
-
If you wan't to publish an alpha version, please use `npm run version-alpha`, this command won't consume any of the changesets.
|
|
35
|
-
|
|
36
|
-
And finally, run `npm publish` before your npm account got a publish authorization.
|
|
37
|
-
|
|
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
|
+
|
|
16
|
+
# How to maintain this repo
|
|
17
|
+
|
|
18
|
+
Run `npm i` to setup the dev environment.
|
|
19
|
+
|
|
20
|
+
## unit test
|
|
21
|
+
|
|
22
|
+
Every time you fix a bug or introduce a new feature to ccbuild, please remember considering to add your unit test into `test` folder, and run `npm test` to make sure all your modification can pass the unit test.
|
|
23
|
+
|
|
24
|
+
If you want to update the snapshot, please run `npm test -- -u`.
|
|
25
|
+
|
|
26
|
+
## changelog generation
|
|
27
|
+
|
|
28
|
+
We use [changesets](https://github.com/changesets/changesets) to manage all the changelog.
|
|
29
|
+
Every time you make a change in the repo, please run `npm run change` to generate a changeset in the folder `.changeset`, this file should be also commit to the repo.
|
|
30
|
+
|
|
31
|
+
## publish
|
|
32
|
+
|
|
33
|
+
Please run `npm run version` to publish a version, this command would consume all the changesets in `.changeset` folder.
|
|
34
|
+
If you wan't to publish an alpha version, please use `npm run version-alpha`, this command won't consume any of the changesets.
|
|
35
|
+
|
|
36
|
+
And finally, run `npm publish` before your npm account got a publish authorization.
|
|
37
|
+
|
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: Required<buildEngine.Options>): Promise<buildEngine.Result>;
|
|
1
|
+
import type { buildEngine } from '../index';
|
|
2
|
+
export declare function buildJsEngine(options: Required<buildEngine.Options>): Promise<buildEngine.Result>;
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|