Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Feature.dependentScripts and update version to 2.2.11 #64

Merged
merged 3 commits into from
Jul 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .api/public.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "@cocos/ccbuild" {

Check warning on line 1 in .api/public.d.ts

View workflow job for this annotation

GitHub Actions / test

File ignored by default.
/**
* @group Merged Types
*/
Expand Down Expand Up @@ -362,11 +362,15 @@
*/
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
Loading