-
Notifications
You must be signed in to change notification settings - Fork 368
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
refactor: [M3-8632] - Use pnpm as our package manager #11297
base: develop
Are you sure you want to change the base?
Conversation
This PR is stale because it has been open 15 days with no activity. Please attend to this PR or it will be closed in 5 days |
pnpm
as our package manager
|
||
## Serving a production build of Cloud Manager | ||
|
||
You can then serve these files however you prefer or use our included local http server. | ||
You can build a prduction bundle of Cloud Manager and serve it locally. |
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.
You can build a prduction bundle of Cloud Manager and serve it locally. | |
You can build a production bundle of Cloud Manager and serve it locally. |
@@ -37,7 +37,7 @@ describe('Link component', () => { | |||
expect(linkElement.tagName).toBe('A'); | |||
expect(linkElement).toHaveAttribute('rel', 'noopener noreferrer'); | |||
expect(linkElement).toHaveAttribute('target', '_blank'); | |||
expect(linkElement.getAttribute('href')).toBe('https://example.com'); | |||
expect(linkElement.getAttribute('href')).toBe('https://example.com/'); |
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.
Just curious - any reason why the inclusion of pnpm
would require this test to change with a trailing slash? In packages/manager/src/components/MainContentBanner.test.tsx
as well?
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.
TIL what pnpm
is. Nice upgrade @bnussman 👍
Cloud Manager UI test results🎉 500 passing tests on test run #59 ↗︎
|
Description 📝
Breaking Changes⚠️
up
script (yarn up
) has been removed because it conflicts withpnpm up
. Usepnpm dev
instead to start the local development environmentpnpm dev
no longer installs dependencies for youpnpm install
when they deem nessesarypnpm bootstrap
is added. It is intended to help developers now thatyarn up
no longer exists andpnpm dev
does lesspnpm bootstrap
will install dependencies and build packages (api-v4 and validation)Blocked by 🚧
@mui/system
imports #11081TextField
to not depend onramda
#11306scripts
as a yarn workspace #11420EditableText
UI component pure #11333Todo ☑️
publish-sdk
andpublish-validation
jobs so our publish step does not fail when resolving workspace protocol dependencies (docs)Risk⚠️
@linode/api-v4
and@linode/validation
are published in our Github Action. If something goes wrong, worst case is that the packages won't get published to npm on our next release. Cloud Manager itself will not be affected.Follow up work 👷
How to test 🧪
pnpm storybook
pnpm dev
pnpm changeset
As an Author, I have considered 🤔
As an Author, before moving this PR from Draft to Open, I confirmed ✅