GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||
GeezerVison is showing github.com — fix: resolve compiled output from dist in bin and postinstall by edusperoni · Pull Request #6095 · NativeScript/nativescript-cli Conversation
|
📝 WalkthroughWalkthroughThe CLI bootstrap and postinstall script now detect ChangesRuntime library resolution
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
d26d893 to
cb3fb8d
Compare
Both resolve into lib/ relative to their own location, which stopped working when the build moved output to dist/: lib/ now holds only TypeScript, so running ./bin/tns or postinstall.js from a checkout fails with MODULE_NOT_FOUND. The published package is unaffected, since dist/ is its root and lib/ already sits next to bin/ there. Both now prefer dist/lib when it exists and fall back otherwise, which covers the checkout and the package without either needing to know which it is. The other bin entries delegate to ./tns, so they are fixed with it. npm install in a checkout runs postinstall and would hit the same failure - masked only because npm run setup passes --ignore-scripts.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.