-
Notifications
You must be signed in to change notification settings - Fork 574
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
[Fix] Desktop timer build #8756
Conversation
Adds constants package to desktop timer Adds the constants package to the desktop timer application.
WalkthroughThe pull request introduces modifications to the Changes
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (4)
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 selected for processing (1)
apps/desktop-timer/src/package.json
(2 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: test
- GitHub Check: Codacy Static Code Analysis
- GitHub Check: Socket Security: Pull Request Alerts
- GitHub Check: build
🔇 Additional comments (2)
apps/desktop-timer/src/package.json (2)
28-29
: LGTM! Workspace path follows existing pattern.The addition of the constants package workspace path is consistent with other workspace entries.
28-29
: Verify build configuration and dependenciesSince this PR aims to fix the desktop timer build, let's verify the package structure and build configuration.
Also applies to: 143-143
✅ Verification successful
Build paths are correct, verify build order
The paths in desktop-timer's package.json are correct:
- Constants package builds to "dist/packages/constants"
- The relative path "../../../dist/packages/constants" from "dist/apps/desktop-timer" is accurate
The build issue likely stems from build order rather than path configuration. Ensure the constants package is built before desktop-timer by running
yarn build:package:all
first.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the constants package structure and dependencies # Check if the constants package exists in the correct location echo "Checking for constants package..." if [ -d "../../../dist/packages/constants" ]; then echo "Constants package found in workspace location" else echo "Warning: Constants package not found in workspace location" fi # Check for any potential circular dependencies echo "Checking for package.json in constants package..." if [ -f "../../../dist/packages/constants/package.json" ]; then cat "../../../dist/packages/constants/package.json" else echo "Warning: package.json not found in constants package" fi # Look for any other references to @gauzy/constants in the codebase echo "Checking for other references to @gauzy/constants..." rg -l "@gauzy/constants"Length of output: 3784
Script:
#!/bin/bash # Check build configuration and package structure echo "Checking constants package.json..." cat packages/constants/package.json echo -e "\nChecking workspace configuration..." cat package.json | grep -A 10 '"build":' echo -e "\nChecking for build output configuration..." find . -name "project.json" -exec grep -l "outputPath" {} \;Length of output: 3572
Script:
#!/bin/bash # Check the output path configuration for constants package echo "Checking constants project.json for output path..." cat packages/constants/project.json echo -e "\nChecking desktop-timer project.json..." cat apps/desktop-timer/project.jsonLength of output: 5097
View your CI Pipeline Execution ↗ for commit 1ba1b61.
☁️ Nx Cloud last updated this comment at |
Adds constants package to desktop timer
Adds the constants package to the desktop timer application.
PR
Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.
Summary by CodeRabbit