-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Rename package name fo engine-shader-lab
to engine-shaderlab
#2484
Conversation
WalkthroughThis pull request involves a comprehensive package renaming from Changes
Possibly related PRs
Suggested Labels
Suggested Reviewers
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (10)
e2e/package.json
(1 hunks)packages/core/src/shader/Shader.ts
(1 hunks)packages/shader-lab/README.md
(2 hunks)packages/shader-lab/package.json
(1 hunks)rollup.config.js
(1 hunks)tests/package.json
(1 hunks)tests/src/core/Shader.test.ts
(1 hunks)tests/src/shader-lab/Preprocessor.test.ts
(1 hunks)tests/src/shader-lab/ShaderLab.test.ts
(1 hunks)tests/src/shader-lab/ShaderValidate.ts
(1 hunks)
✅ Files skipped from review due to trivial changes (9)
- tests/package.json
- packages/shader-lab/package.json
- e2e/package.json
- packages/core/src/shader/Shader.ts
- tests/src/core/Shader.test.ts
- tests/src/shader-lab/ShaderValidate.ts
- tests/src/shader-lab/ShaderLab.test.ts
- tests/src/shader-lab/Preprocessor.test.ts
- packages/shader-lab/README.md
@@ -24,7 +24,7 @@ const pkgs = fs | |||
}; | |||
}); | |||
|
|||
const shaderLabPkg = pkgs.find((item) => item.pkgJson.name === "@galacean/engine-shader-lab"); | |||
const shaderLabPkg = pkgs.find((item) => item.pkgJson.name === "@galacean/engine-shaderlab"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Codebase verification
Update imports and documentation to use the new package name @galacean/engine-shaderlab
Several files still reference the old package name @galacean/engine-shader-lab
:
- Import statements in example files:
examples/shader-water.ts
examples/shader-lab-multi-pass.ts
examples/shader-lab-simple.ts
examples/shader-lab.ts
examples/buffer-mesh-particle-shader-effect.ts
- Import statements in e2e test files:
e2e/case/material-shaderLab.ts
e2e/case/shaderLab-renderState.ts
e2e/case/project-loader.ts
e2e/case/shaderLab-mrt.ts
- Documentation references:
docs/en/basics/overview.md
docs/zh/basics/overview.md
🔗 Analysis chain
Ensure all references have been updated consistently.
The package name has been changed from @galacean/engine-shader-lab
to @galacean/engine-shaderlab
. This looks correct; however, please verify that no references to the old name remain in the codebase.
Use this script to spot-check any residual references to the old name:
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Search for any lingering references to '@galacean/engine-shader-lab' to ensure all have been updated.
rg '@galacean/engine-shader-lab'
Length of output: 1197
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev/1.4 #2484 +/- ##
===========================================
- Coverage 68.86% 68.40% -0.46%
===========================================
Files 923 923
Lines 95894 95904 +10
Branches 8133 8137 +4
===========================================
- Hits 66038 65606 -432
- Misses 29602 30044 +442
Partials 254 254
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Please check if the PR fulfills these requirements
Summary by CodeRabbit
@galacean/engine-shader-lab
to@galacean/engine-shaderlab