-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stencil + Lerna integration #2648
Comments
Edit: fixed "another-component" to be "another-dependent" |
Thanks for putting together this issue! The same behaviour of dependent packages' changes not being recognized can also be reproduced here:*https://github.com/bitflower/stencil-lerna |
Thanks for the issue! This issue is being closed due to inactivity. If this is still an issue with the latest version of Stencil, please create a new issue and ensure the template is fully filled out. Thank you for using Stencil! |
Reopening, I don't think we want Ionitron closing issues like this. Going to give it some thought as to the best way to implement this |
Also I think one should probably check for all alternatives or partial solutions like |
era of lerna is gone. That package has no maintainer since 8 months. Nx has great support with stencil. |
Stencil version:
I'm submitting a:
[x] bug report
[ ] feature request
[ ] support request
Current behavior:
I have two branches on this repo that try to document Lerna integration issues:
Within this repo, I have a small tree: a
fake-app
component that includes thedependent-component
andanother-dependent
packages, and uses those element in it's render function. Theanother-dependent
has adeep-dependent
in it's render function.Each of these components were made with
npm init stencil component component-name
, and brought up to spec from 1.17.3 to what 2.0.0-6 asks for.with the NPM flow right out the gate, it seems the package references the collection, but collection isn't available:
GET http://localhost:3333/another-dependent/dist/collection/components/another-dependent/another-dependent.js net::ERR_ABORTED 404 (Not Found)
Expected behavior:
Through this I found a few issues:
main
ormodule
are incorrectly set.I'm going to keep this open for other issues I may find and note my edits.
Steps to reproduce:
For the NPM branch:
npm run bootstrap && npm run build
npm start
to get the server started.For the Yarn branch:
yarn bootstrap && yarn build
yarn start
to get the server started.Other information:
You'll notice that only the app pops open in your browser. Look in the stencil.config.ts files for the ports for each individual component, if needed. The packages are imported in the src/index.ts file.
The text was updated successfully, but these errors were encountered: