-
Notifications
You must be signed in to change notification settings - Fork 4
Split /components
export into /asciidoc
and /ui
#151
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
Conversation
/components
export into /asciidoc
and /ui
package.json
Outdated
"typings": "./dist/components/index.d.ts", | ||
"module": "./dist/components/index.js", | ||
"typings": "./dist/components/src/asciidoc/index.d.ts", | ||
"module": "./dist/components/src/asciidoc/index.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is kind of janky since there isn't really one thing for the whole library. Same problem with the .
thing below — it means import '@oxide/design-system'
gets you asciidoc. I guess that's fine? Can we leave that dot out and just make it so you can't import the library without a path like that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed this fixes the problem: oxidecomputer/console#2910 (comment) |
🚀 PR was released in |
Closes #150
Calling it a minor version because it adds a new export but shouldn't break anything existing.
📦 Published PR as canary version:
4.0.0--canary.151.18511380774.0
✨ Test out this PR locally via:
npm install @oxide/design-system@4.0.0--canary.151.18511380774.0 # or yarn add @oxide/design-system@4.0.0--canary.151.18511380774.0