Skip to content
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

Switch yarn for npm #481

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Switch yarn for npm #481

wants to merge 5 commits into from

Conversation

vitch
Copy link

@vitch vitch commented Mar 7, 2024

(targets #480 - only the last commit on this branch is relevant but I couldn't see how to target another branch on my fork?)

The current setup requires yarn to be installed in
order to build this repo.

For the pixi-v8 branch I'm pointing my app directly
at the branch via:

"pixi-viewport": "git+https://github.com/vitch/pixi-viewport#pixi-v8"

This works fine locally (where I installed yarn)
but fails on CI. So this commit attempts to remove the
dependency on yarn.

Note I also had to lock electron to a version compatible
with the peerDependency declared by floss (which
afaict is the only reason electron is here).

Aeolun and others added 5 commits October 4, 2023 16:30
I can't `pnpm install` without declaring this. The repo uses
`yarn` and that still works so maybe it's OK without but it
seems more correct to declare it if it's necessary in a more
strict package manager...
The current setup requires `yarn` to be installed in
order to build this repo.

For the `pixi-v8` branch I'm pointing my app directly
at the branch via:

`"pixi-viewport": "git+https://github.com/vitch/pixi-viewport#pixi-v8"`

This works fine locally (where I installed `yarn`)
but fails on CI. So this commit attempts to remove the
dependency on `yarn`.

Note I also had to lock `electron` to a version compatible
with the `peerDependency` declared by `floss` (which
afaict is the only reason `electron` is here).
@vitch vitch changed the title No yarn [WIP] Switch yarn for npm Mar 7, 2024
@vitch
Copy link
Author

vitch commented Mar 7, 2024

This is working OK in my project in that I can point at this branch and CI can now build pixi-viewport (necessary because I need to point my app at the changes from #480).

I'm aware that these changes could be subjective and I'm not necessarily asking for them to be merged. The usage of yarn would be a non-issue for me if I wasn't pointing at a branch for pixi v8 support...

@vitch vitch mentioned this pull request Mar 7, 2024
@vitch vitch changed the title [WIP] Switch yarn for npm Switch yarn for npm Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants