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 the dependent-component and another-dependent packages, and uses those element in it's render function. The another-dependent has a deep-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:
I'm going to keep this open for other issues I may find and note my edits.
Steps to reproduce:
For the NPM branch:
- Check out NPM
- Do
npm run bootstrap && npm run build
- Run
npm start to get the server started.
- Make edits to any given component, and test changes.
For the Yarn branch:
- Check out Yarn Workspaces
- Do
yarn bootstrap && yarn build
- Run
yarn start to get the server started.
- Make edits to any given component, and test changes.
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.
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-appcomponent that includes thedependent-componentandanother-dependentpackages, and uses those element in it's render function. Theanother-dependenthas adeep-dependentin 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:
mainormoduleare 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 buildnpm startto get the server started.For the Yarn branch:
yarn bootstrap && yarn buildyarn startto 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.