Things I needed to get this to compile#287
Conversation
This is an ugly hack, but it gets this thing to compile
|
Since yarn was ignoring the private registry in .npmrc, we tried adding the following to .yarnrc: This doesn't seem to work. |
|
While working with Salty, we found that everything breaks again if Node is upgraded to 12.x. The above workarounds only work with Node 10.x. |
|
Right, I should have stated that I tried this with edit: btw, CircleCI failed because hatcheryapi was
|
Additionally to what's in the PR,
I had to manually run
npm i --save @csegames/camelot-unchainedinCamelot-Unchained/game/hud, as that correctly uses the private registry, even ifyarndoesn't.I also had to set
"forceConsistentCasingInFileNames": falsein mytsconfig.jsonto squash TS1149 errors with import statements fromhud/..., due to the directory on disk being namedHUD.I've not included either in the PR because it might be somehow specific to my setup here.