Skip to content

Remove lerna#4368

Merged
elalish merged 8 commits into
masterfrom
movePostInstall
Aug 1, 2023
Merged

Remove lerna#4368
elalish merged 8 commits into
masterfrom
movePostInstall

Conversation

@elalish

@elalish elalish commented Jul 14, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown

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

@hilyas786

hilyas786 commented Jul 23, 2023

Copy link
Copy Markdown

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
@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