@cocos/ccbuild 1.0.0-alpha.9 → 1.0.1-alpha.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 (70) 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} +54 -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} +589 -549
  25. package/lib/build-engine/engine-ts/engine-builder.js.map +1 -0
  26. package/lib/build-engine/engine-ts/field-decorator-helper.d.ts +10 -0
  27. package/lib/build-engine/engine-ts/field-decorator-helper.d.ts.map +1 -0
  28. package/lib/build-engine/engine-ts/field-decorator-helper.js +55 -0
  29. package/lib/build-engine/engine-ts/field-decorator-helper.js.map +1 -0
  30. package/lib/build-engine/engine-ts/index.d.ts +3 -0
  31. package/lib/build-engine/engine-ts/index.d.ts.map +1 -0
  32. package/lib/build-engine/engine-ts/index.js +35 -0
  33. package/lib/build-engine/engine-ts/index.js.map +1 -0
  34. package/lib/build-engine/index.d.ts +125 -118
  35. package/lib/build-engine/index.d.ts.map +1 -1
  36. package/lib/build-engine/index.js +138 -124
  37. package/lib/build-engine/index.js.map +1 -1
  38. package/lib/index.d.ts +4 -4
  39. package/lib/index.d.ts.map +1 -1
  40. package/lib/index.js +33 -34
  41. package/lib/index.js.map +1 -1
  42. package/lib/module-resolver.d.ts +7 -7
  43. package/lib/module-resolver.js +28 -28
  44. package/lib/stats-query/config-interface.d.ts +129 -129
  45. package/lib/stats-query/config-interface.js +3 -3
  46. package/lib/stats-query/index.d.ts +161 -161
  47. package/lib/stats-query/index.d.ts.map +1 -1
  48. package/lib/stats-query/index.js +527 -527
  49. package/lib/stats-query/path-utils.d.ts +2 -2
  50. package/lib/stats-query/path-utils.js +35 -35
  51. package/lib/transformer/babel.d.ts +5 -5
  52. package/lib/transformer/babel.js +34 -34
  53. package/lib/transformer/index.d.ts +2 -2
  54. package/lib/transformer/index.js +28 -28
  55. package/lib/utils.d.ts +2 -2
  56. package/lib/utils.js +14 -14
  57. package/package.json +7 -2
  58. package/static/helper-dynamic-constants.txt +12 -12
  59. package/static/helper-file-decorator.ts +21 -0
  60. package/static/helper-global-exporter.txt +8 -8
  61. package/static/lib.dom.d.ts +20227 -20227
  62. package/lib/engine-builder.d.ts.map +0 -1
  63. package/lib/engine-builder.js.map +0 -1
  64. package/lib/stats-query/constant-manager.d.ts +0 -67
  65. package/lib/stats-query/constant-manager.d.ts.map +0 -1
  66. package/lib/stats-query/constant-manager.js +0 -263
  67. package/lib/stats-query/constant-manager.js.map +0 -1
  68. package/lib/transformer.js +0 -7
  69. package/lib/transformer.js.map +0 -1
  70. package/lib/tsdoc-metadata.json +0 -11
package/CHANGELOG.md CHANGED
@@ -1,5 +1,56 @@
1
1
  # @cocos/ccbuild
2
2
 
3
+ ## 1.0.1-alpha.0
4
+
5
+ ### Patch Changes
6
+
7
+ - d94d769: feat: support CCBuildTsFieldDecoratorHelper
8
+
9
+ ## 1.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - e49f97e: integrate build js engine
14
+
15
+ ### Patch Changes
16
+
17
+ - e49f97e: revert @rollup/plugin-node-resolve version to fix rollup issue https://github.com/rollup/plugins/issues/1464
18
+ - e49f97e: fix wrong rullup version deps
19
+ - d2b5b77: support keepTypes options
20
+ - bdea922: change @rollup/plugin-terser to rollup-plugin-terser
21
+ - d2b5b77: make PlatformType for string
22
+ - b2f4116: implement build ts engine
23
+ - 74eb0fc: use build js engine for OH platform
24
+ - remove assert that build js engine should be in BUILD mode
25
+ - ed9a9db: fix @rollup/plugin-json deps for editor-extension install
26
+ - 3ac56fa: change keepTypes to preserveType option
27
+
28
+ ## 1.0.0-alpha.13
29
+
30
+ ### Patch Changes
31
+
32
+ - change keepTypes to preserveType option
33
+
34
+ ## 1.0.0-alpha.12
35
+
36
+ ### Patch Changes
37
+
38
+ - support keepTypes options
39
+ - make PlatformType for string
40
+ - b2f4116: implement build ts engine
41
+
42
+ ## 1.0.0-alpha.11
43
+
44
+ ### Patch Changes
45
+
46
+ - use build js engine for OH platform
47
+
48
+ ## 1.0.0-alpha.10
49
+
50
+ ### Patch Changes
51
+
52
+ - change @rollup/plugin-terser to rollup-plugin-terser
53
+
3
54
  ## 1.0.0-alpha.9
4
55
 
5
56
  ### Patch 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"}