-
Couldn't load subscription status.
- Fork 6
chore: Include missing folders needed for themeable artifact #85
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
base: main
Are you sure you want to change the base?
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #85 +/- ##
=======================================
Coverage 96.17% 96.17%
=======================================
Files 29 29
Lines 679 679
Branches 114 114
=======================================
Hits 653 653
Misses 26 26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
9b1e28c to
f1de511
Compare
- Include required files to create a themeable package
f1de511 to
b54e254
Compare
| @@ -0,0 +1,8 @@ | |||
| // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |||
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.
Same as components package
| // SPDX-License-Identifier: Apache-2.0 | ||
| import { join } from "node:path"; | ||
|
|
||
| import { buildThemedComponents as themingCoreBuild } from "@cloudscape-design/theming-build"; |
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.
Same as components package
| baseThemeId?: string; | ||
| } | ||
|
|
||
| export function buildThemedComponents({ theme, outputDir, baseThemeId }: BuildThemedComponentsParams): Promise<void> { |
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.
We might want to consider an option to allow overriding the specific component imports so this can use the themed components as its peer dependency.
Description
Creates a components-themeable directory in the lib folder similar to what is created in the components package.
Related links, issue #, if available: n/a
How has this been tested?
Review checklist
The following items are to be evaluated by the author(s) and the reviewer(s).
Correctness
CONTRIBUTING.md.CONTRIBUTING.md.Security
checkSafeUrlfunction.Testing
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.