Creating Local Package Fails #1519
-
Hey, I pulled the latest from main this morning to get the latest changes for idempotency. After doing so, I ran Output:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @brianhyder, you are correct, we tweaked the install, build, and package workflows for the repo in a recent PR. When starting from a fresh clone, you can run
If instead you are starting from an already cloned repo, I'd still recommend you to run the first two commands above ( At this point you can pack/bundle each one of the utilities individually with My recommendation to avoid interoperability issues, would be to build only one package and use the other ones available from npm. After building you should run Normally all these commands are done in our CI here, and we optimized for this type of workflow. Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
Hi @brianhyder, you are correct, we tweaked the install, build, and package workflows for the repo in a recent PR.
When starting from a fresh clone, you can run
npm run setup-local
, this command will run:npm ci
to install the dependencies for the whole workspacenpm run build
which will compile the files from TS to JSnpm run init-environment
which installs the commit hooks (not needed for the purposes of this explanation, but adding it for the sake of being complete)If instead you are starting from an already cloned repo, I'd still recommend you to run the first two commands above (
npm ci
followed bynpm run build
) or the samenpm run setup-local
. This will ensure that you have the l…