Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork12
Regenerate compiled files on yarn/npm reinstall#68
base:master
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
🦋 Changeset detectedLatest commit:a79de91 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means?Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
mattpocock left a comment
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.
@FredyC Carrying on conversation here.
My work uses a yarn workspaces monorepo. When I runxstate-codegen insidepackage-name, then add a new package at root, thepackage-name/node_modules/@xstate/compiled folder is removed, but the codegen does not re-run.
What can be changed to make sure this case is picked up?
danielkcz commentedDec 19, 2020 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
@mattpocock I am not sure I understand your use case. You are not running xstate-codegen in the root? I mean there isn't really anything magical about this solution. It simple uses |
mattpocock commentedDec 19, 2020
@FredyC OK - that makes sense. I'll see if I can get it working for my use case.
Correct. There is a node_modules folder at the root and a node_modules folder inside |
Replacement for PR#60 (somehow I messed up rebase).