@cocos/ccbuild 1.1.17 → 1.1.19

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.
Files changed (48) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +37 -37
  3. package/lib/api-builder.js +1 -1
  4. package/lib/build-engine/engine-js/index.d.ts +2 -2
  5. package/lib/build-engine/engine-js/index.js +406 -406
  6. package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.d.ts +57 -57
  7. package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.d.ts.map +1 -1
  8. package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.js +326 -298
  9. package/lib/build-engine/engine-js/rollup-plugins/external-wasm-loader.js.map +1 -1
  10. package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.d.ts +2 -2
  11. package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.js +37 -37
  12. package/lib/build-engine/engine-js/rollup-plugins/ts-paths.d.ts +4 -4
  13. package/lib/build-engine/engine-js/rollup-plugins/ts-paths.js +42 -42
  14. package/lib/build-engine/engine-ts/engine-builder.d.ts +57 -57
  15. package/lib/build-engine/engine-ts/engine-builder.js +631 -631
  16. package/lib/build-engine/engine-ts/field-decorator-helper.d.ts +9 -9
  17. package/lib/build-engine/engine-ts/field-decorator-helper.js +54 -54
  18. package/lib/build-engine/engine-ts/index.d.ts +2 -2
  19. package/lib/build-engine/engine-ts/index.js +36 -36
  20. package/lib/build-engine/engine-ts/plugins/external-wasm-loader.d.ts +6 -6
  21. package/lib/build-engine/engine-ts/plugins/external-wasm-loader.js +65 -65
  22. package/lib/build-engine/engine-ts/plugins/interface.d.ts +20 -20
  23. package/lib/build-engine/engine-ts/plugins/interface.js +1 -1
  24. package/lib/build-engine/index.d.ts +145 -145
  25. package/lib/build-engine/index.d.ts.map +1 -1
  26. package/lib/build-engine/index.js +167 -167
  27. package/lib/build-engine/index.js.map +1 -1
  28. package/lib/index.d.ts +4 -4
  29. package/lib/index.js +33 -33
  30. package/lib/module-resolver.d.ts +7 -7
  31. package/lib/module-resolver.js +28 -28
  32. package/lib/stats-query/config-interface.d.ts +129 -129
  33. package/lib/stats-query/config-interface.js +3 -3
  34. package/lib/stats-query/index.d.ts +183 -183
  35. package/lib/stats-query/index.js +531 -531
  36. package/lib/stats-query/path-utils.d.ts +2 -2
  37. package/lib/stats-query/path-utils.js +35 -35
  38. package/lib/transformer/babel.d.ts +5 -5
  39. package/lib/transformer/babel.js +34 -34
  40. package/lib/transformer/index.d.ts +2 -2
  41. package/lib/transformer/index.js +28 -28
  42. package/lib/utils.d.ts +4 -4
  43. package/lib/utils.js +23 -23
  44. package/package.json +1 -1
  45. package/static/helper-dynamic-constants.txt +13 -13
  46. package/static/helper-file-decorator.ts +20 -20
  47. package/static/helper-global-exporter.txt +8 -8
  48. package/static/lib.dom.d.ts +20227 -20227
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @cocos/ccbuild
2
2
 
3
+ ## 1.1.19
4
+
5
+ ### Patch Changes
6
+
7
+ - bb5f1e5: fix: async bundle external wasm module
8
+
9
+ ## 1.1.18
10
+
11
+ ### Patch Changes
12
+
13
+ - 84d16d6: feat: wasm subpackage support umd
14
+
3
15
  ## 1.1.17
4
16
 
5
17
  ### Patch Changes
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
+
@@ -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