-
Notifications
You must be signed in to change notification settings - Fork 36
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
[BB pr#5] KIT-10 Init Atomic web-component package with stencil #5
Comments
I initialized the package using stencil with very few modifications to make this initial PR easier to review. I will leave comments on things I changed. I kept the example component as a guide for our first component, after which we can remove the example. |
I specified the environment so that the linting step when committing could handle jest test files. |
I changed the license from MIT to apache 2.0. Note that we still technical need to add a comment at the top of files. I will look at this as part of the bundler configuration. |
I adjusted the README.md to introduce the project, and reduce the Stencil-specific text. I left the |
I adjusted this file to extend from the base |
Updated the |
Some (most?) of those should actually be dev dependencies. It’s very helpful for snyk scan. |
I don’t think we need this, it’s all arbitrary :slight_smile: I’d cut straight to the point about what you need to start and run/compile the project. You could link to generic online doc about web components/stencil doc to help readers, I guess. |
I’m wondering if instead we should not put all of that in top level repo README ? Since, normally, a dev would want to run everything with lerna for best dev experience, versus each sub-packages individually. |
Yep, I saved the two dependencies as |
Why is this needed here ? I don’t think it’s allowed in the base tsconfig either. |
Why does it need to be false ? |
Curious, how does changing the |
|
|
Looking at the react-vapor repo, they have a README.md at the top-level, as well as for every package. Commands common to all packages, when run from the root, will run for every package. This is the case for I think having package-specific commands at the package-level README.md along with some duplication is also good to focus on a particular package. That said, I will remove the installation step and link to the root level README instead. |
For jsx, we are using Stencil’s library called |
Indeed, I removed it. |
I’m not sure atm. The values in this file are those generated when initializing the project. They differ in many cases from those in the gts dependency. For example, I’m not sure why For declarations, I see there is a file in the
Interestingly, looking at the I am trusting Stencil’s tooling blindly on this initial commit. I will delve into why it is doing things this way when we are closer to publishing the first version, but for now I prefer to stick to the defaults they have specified. |
@{557058:ef2198d5-03b4-4d5f-86e7-0a23e51f4f14} I think this is to scope what declarations are available to the public. By creating our own |
|
https://coveord.atlassian.net/browse/KIT-10
The text was updated successfully, but these errors were encountered: