@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.
Files changed (65) hide show
  1. package/CHANGELOG.md +51 -0
  2. package/README.md +14 -14
  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.d.ts.map +1 -1
  6. package/lib/build-engine/engine-js/index.js +458 -459
  7. package/lib/build-engine/engine-js/index.js.map +1 -1
  8. package/lib/build-engine/engine-js/rollup-plugins/asset-ref.d.ts +36 -36
  9. package/lib/build-engine/engine-js/rollup-plugins/asset-ref.js +87 -87
  10. package/lib/build-engine/engine-js/rollup-plugins/asset-ref.js.map +1 -1
  11. package/lib/build-engine/engine-js/rollup-plugins/asset-url.d.ts +7 -7
  12. package/lib/build-engine/engine-js/rollup-plugins/asset-url.js +92 -92
  13. package/lib/build-engine/engine-js/rollup-plugins/asset-url.js.map +1 -1
  14. package/lib/build-engine/engine-js/rollup-plugins/code-asset.d.ts +28 -28
  15. package/lib/build-engine/engine-js/rollup-plugins/code-asset.js +135 -135
  16. package/lib/build-engine/engine-js/rollup-plugins/code-asset.js.map +1 -1
  17. package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.d.ts +2 -2
  18. package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.js +37 -37
  19. package/lib/build-engine/engine-js/rollup-plugins/remove-deprecated-features.js.map +1 -1
  20. package/lib/build-engine/engine-js/rollup-plugins/ts-paths.d.ts +4 -4
  21. package/lib/build-engine/engine-js/rollup-plugins/ts-paths.js +42 -42
  22. package/lib/{engine-builder.d.ts → build-engine/engine-ts/engine-builder.d.ts} +53 -53
  23. package/lib/build-engine/engine-ts/engine-builder.d.ts.map +1 -0
  24. package/lib/{engine-builder.js → build-engine/engine-ts/engine-builder.js} +549 -549
  25. package/lib/build-engine/engine-ts/engine-builder.js.map +1 -0
  26. package/lib/build-engine/engine-ts/index.d.ts +3 -0
  27. package/lib/build-engine/engine-ts/index.d.ts.map +1 -0
  28. package/lib/build-engine/engine-ts/index.js +35 -0
  29. package/lib/build-engine/engine-ts/index.js.map +1 -0
  30. package/lib/build-engine/index.d.ts +125 -118
  31. package/lib/build-engine/index.d.ts.map +1 -1
  32. package/lib/build-engine/index.js +138 -124
  33. package/lib/build-engine/index.js.map +1 -1
  34. package/lib/index.d.ts +4 -4
  35. package/lib/index.d.ts.map +1 -1
  36. package/lib/index.js +33 -34
  37. package/lib/index.js.map +1 -1
  38. package/lib/module-resolver.d.ts +7 -7
  39. package/lib/module-resolver.js +28 -28
  40. package/lib/stats-query/config-interface.d.ts +129 -129
  41. package/lib/stats-query/config-interface.js +3 -3
  42. package/lib/stats-query/index.d.ts +161 -161
  43. package/lib/stats-query/index.d.ts.map +1 -1
  44. package/lib/stats-query/index.js +527 -527
  45. package/lib/stats-query/path-utils.d.ts +2 -2
  46. package/lib/stats-query/path-utils.js +35 -35
  47. package/lib/transformer/babel.d.ts +5 -5
  48. package/lib/transformer/babel.js +34 -34
  49. package/lib/transformer/index.d.ts +2 -2
  50. package/lib/transformer/index.js +28 -28
  51. package/lib/utils.d.ts +2 -2
  52. package/lib/utils.js +14 -14
  53. package/package.json +6 -3
  54. package/static/helper-dynamic-constants.txt +12 -12
  55. package/static/helper-global-exporter.txt +8 -8
  56. package/static/lib.dom.d.ts +20227 -20227
  57. package/lib/engine-builder.d.ts.map +0 -1
  58. package/lib/engine-builder.js.map +0 -1
  59. package/lib/stats-query/constant-manager.d.ts +0 -67
  60. package/lib/stats-query/constant-manager.d.ts.map +0 -1
  61. package/lib/stats-query/constant-manager.js +0 -263
  62. package/lib/stats-query/constant-manager.js.map +0 -1
  63. package/lib/transformer.js +0 -7
  64. package/lib/transformer.js.map +0 -1
  65. 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
  -
@@ -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,CAoc7F"}
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"}