-
Notifications
You must be signed in to change notification settings - Fork 195
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
feat: create a single postcss entry point #2466
Conversation
File metricsSummaryTotal size: 4.51 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailscheckbox
clearbutton
combobox
infieldbutton
slider
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
f4a9efd
to
5ffd5f0
Compare
5b856b0
to
15bb021
Compare
4ebcf77
to
834aea1
Compare
51506b5
to
b41a4aa
Compare
f06004e
to
30d20d0
Compare
BREAKING CHANGE: - Removes component-builder & component-builder-simple for script leveraging postcss - Imports added to index.css and themes/express.css
30d20d0
to
ef6c6bd
Compare
@@ -10,10 +11,10 @@ | |||
"rules": { | |||
"brace-style": ["warn", "stroustrup", { "allowSingleLine": true }], | |||
"func-call-spacing": ["warn", "never"], | |||
"indent": ["warn", 2], | |||
"indent": ["warn", "tab", { "ignoredNodes": ["TemplateLiteral *"] }], |
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.
Made sure this was aligned with our prettier settings so they weren't fighting with each other
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.
Thanks for the explanation about the VRT diffs, that was helpful! This is looking good to me. Storybook runs well locally, my updates are still hot reloading, high contrast mode looks good. As far as I can tell this should be good to go 🤞
BREAKING CHANGE: - Removes component-builder & component-builder-simple for script leveraging postcss - Imports added to index.css and themes/express.css
BREAKING CHANGE: - Removes component-builder & component-builder-simple for script leveraging postcss - Imports added to index.css and themes/express.css
BREAKING CHANGE: - Removes component-builder & component-builder-simple for script leveraging postcss - Imports added to index.css and themes/express.css
Description
This update moves the project to leveraging a standard
postcss.config.js
file at the root of the project to manage PostCSS processing. All script have been updated to fetch the config usingpostcss-load-config
.Unnecessary abstractions in component-builder were combined into a unified
tasks/component-builder.js
script which now contains all necessary functions for processing CSS.Removed unused dependencies component-builder and component-builder-simple.
Why?
This migrates each package to a standard format which will make it easier to merge these configs in the future.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Validation steps
yarn compare
: should build all components and spin up a local site with diffs for all changed components (expect to see no diffs other than rearranging output and whitespace changes) @jawinnRegression testing
Validate:
To-do list