Skip to content

Commit

Permalink
Add Feature.dependentScripts and update version to 2.2.11 (#64)
Browse files Browse the repository at this point in the history
* Add Feature.dependentScripts

* Update version to 2.2.11

* Update api
  • Loading branch information
dumganhar authored Jul 17, 2024
1 parent 4d6fbfd commit 3000a69
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .api/public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,11 +362,15 @@ declare module "@cocos/ccbuild" {
*/
intrinsicFlags?: Record<string, unknown>;
/**
* List of uuid that the feature depend on.
* List of uuid that the feature depends on.
*/
dependentAssets?: string[];
/**
* List of module that the feature depend on.
* List of script uuid that the feature depends on.
*/
dependentScripts?: string[];
/**
* List of module that the feature depends on.
*/
dependentModules?: string[];
/**
Expand Down
9 changes: 7 additions & 2 deletions modules/stats-query/src/config-interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,17 @@ export interface Feature {
intrinsicFlags?: Record<string, unknown>;

/**
* List of uuid that the feature depend on.
* List of uuid that the feature depends on.
*/
dependentAssets?: string[];

/**
* List of module that the feature depend on.
* List of script uuid that the feature depends on.
*/
dependentScripts?: string[];

/**
* List of module that the feature depends on.
*/
dependentModules?: string[];

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cocos/ccbuild",
"version": "2.2.10",
"version": "2.2.11",
"description": "The next generation of build tool for Cocos engine.",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
Expand Down

0 comments on commit 3000a69

Please sign in to comment.