-
Notifications
You must be signed in to change notification settings - Fork 0
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
ci: NO-JIRA install global nx for codespaces #11
base: staging
Are you sure you want to change the base?
Conversation
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.
PR Summary
This PR modifies the GitHub Codespaces configuration to align it with the local development workflow by installing nx globally and updating the development environment setup.
- Added
.devcontainer/install.sh
to install pnpm and nx globally in Codespaces - Modified
.devcontainer/devcontainer.json
to use the new install script and set bash as the default shell - Removed pnpm feature and replaced updateContentCommand with postCreateCommand in devcontainer.json
- Updated Vitest extension in the devcontainer configuration
2 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings
pnpm bin -g | ||
source /home/node/.bashrc | ||
pnpm bin -g |
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.
style: Redundant pnpm bin -g
calls, remove one
#!/bin/bash | ||
curl -fsSL https://get.pnpm.io/install.sh | sh - | ||
pnpm bin -g | ||
source /home/node/.bashrc | ||
pnpm bin -g | ||
pnpm -g add nx |
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.
style: Add error handling and logging to improve script robustness
ci: install global nx for codespaces
📖 Description
add global nx to codespaces since that's the same way we run our commands locally