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

Remove lerna #4368

Merged
merged 8 commits into from
Aug 1, 2023
Merged

Remove lerna #4368

merged 8 commits into from
Aug 1, 2023

Conversation

elalish
Copy link
Collaborator

@elalish elalish commented Jul 14, 2023

Fixes #4380

The main purpose of this was to fix the postinstall script that's been giving us trouble - I think the main problem is it really needs to be at the root level rather than in the model-viewer package. However, during this update I found myself in a nasty catch-22 where the bootstrap process was somehow getting the old package.json and still looking for a non-existant postinstall script. I remembered that lerna bootstrap has been deprecated for some time, so figured this might be the right time to update to npm workspaces.

Since this is related to #4260 and #4363, @Beilinson and @btopro can you review this for me?

@elalish elalish self-assigned this Jul 14, 2023
@elalish elalish mentioned this pull request Jul 14, 2023
10 tasks
@Beilinson
Copy link
Contributor

I looked into the issues and this seems like the best solution to me as well. Didn't even think about the yarn issue but it totally makes sense.

@tobimori
Copy link

still running into this issue, would be great to get some progress here

@hilyas786
Copy link

hilyas786 commented Jul 23, 2023

still running into this issue, would be great to get some progress here

Same using NPM, can't install can't find modules postinstall

@elalish elalish mentioned this pull request Jul 31, 2023
@elalish elalish merged commit 8c09930 into master Aug 1, 2023
3 checks passed
@elalish elalish deleted the movePostInstall branch August 1, 2023 15:52
This was referenced Aug 1, 2023
JL-Vidinoti pushed a commit to vidinoti/model-viewer that referenced this pull request Apr 22, 2024
* move postinstall script to update package lock

* removed lerna

* build works

* update scripts

* fixed workspace selectors

* fixed fidelity tests

* fixed local modelviewer.dev

* fix deployment
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.

npm update for 3.2.0 fails on Windows 10: can't find postinstall.js
4 participants