-
Notifications
You must be signed in to change notification settings - Fork 29
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
chore(core): pnpm #1007
chore(core): pnpm #1007
Conversation
@@ -64,6 +65,7 @@ | |||
"d3-array": "^2.5.1", | |||
"d3-color": "^2.0.0", | |||
"d3-dsv": "^2.0.0", | |||
"d3-format": "^3.1.0", |
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.
Because pnpm doesn't hoist package dependencies in node_modules
, I needed to add several packages.
@@ -132,6 +141,7 @@ | |||
"react-resize-detector": "^4.2.3", | |||
"react-router-dom": "^5.2.0", | |||
"remark-gfm": "^1.0.0", | |||
"safe-stable-stringify": "^2.4.3", |
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.
Used when running pnpm schema
|
||
```sh | ||
git clone https://github.com/gosling-lang/gosling.js.git # Clone the repository to your current directory | ||
cd gosling.js # Navigate to gosling repository | ||
yarn # Install dependencies | ||
yarn start # Start a local server running the Gosling online editor | ||
pnpm # Install dependencies |
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.
It looks like pnpm
itself does not install packages?
pnpm # Install dependencies | |
pnpm install # Install dependencies |
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.
I just noticed this, too. Seems like it slipped through the cracks and wasn't fixed in the PR?
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.
Good catch, will make the PR now!
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.
Awesome! Tested locally and works well. I will merge this into the master.
Great thanks! |
Fix #
Toward #897
Change List
yarn
withpnpm
as the main package manager.We use pnpm workspaces in Guisling and other projects in the lab for monorepo package management. To be consistent, Gosling should also use pnpm. This is in preparation for making Gosling a monorepo.
Checklist