-
Notifications
You must be signed in to change notification settings - Fork 225
chore: script clean-up for packages and tokens[swc-808] #5419
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
|
Branch previewReview the following VRT differencesWhen a visual regression test fails (or has previously failed while working on this branch), its results can be found in the following URLs:
If the changes are expected, update the |
Tachometer resultsCurrently, no packages are changed by this PR... |
e0f9c5f
to
5945a6d
Compare
5945a6d
to
1045ca1
Compare
1045ca1
to
618cb83
Compare
11d4edb
to
4f12157
Compare
4f12157
to
8a82d29
Compare
package.json
Outdated
"docs:production": "yarn workspace documentation build:production", | ||
"docs:review": "alex packages/**/*.md", | ||
"docs:start": "yarn workspace documentation serve --watch", | ||
"find": "test -f custom-elements.json", | ||
"format:css": "yarn lint:css --fix && pretty-quick --pattern \"{packages,tools}/**/*.css\"", |
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.
I removed this formatter since we're looking to migrate to lint-staged but we can bring back a forced formatting command if we need it.
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.
does lint-staged need to be merged in first?
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.
No I don't think it does, the format:css
command isn't called by anything so it's really just a question of if anyone is manually using this one.
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.
i have never used it fwiw
@@ -48,31 +46,20 @@ | |||
"lint:packagejson": "pretty-quick --pattern package.json --pattern \"packages/*/package.json\" --pattern \"projects/*/package.json\" --pattern \"tools/*/package.json\" --pattern \"react/*/package.json\"", | |||
"lint:ts": "pretty-quick --pattern \"packages/**/*.ts\" && eslint -f pretty \"packages/**/*.ts\" && pretty-quick --pattern \"tools/**/*.ts\" && eslint -f pretty \"tools/**/*.ts\"", | |||
"lint:versions": "node ./scripts/lint-versions.js", | |||
"new-package": "cd projects/templates && plop", |
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.
You can see this updated below, we don't have to move into the directory to run the command since we can leverage yarn workspaces
7345b6f
to
abd561f
Compare
f1bb788
to
8f7dd79
Compare
8f7dd79
to
4059467
Compare
* chore: remove spectrum-config.js files from various packages * chore; remove spectrum-css dependencies * chore: remove unused @spectrum-css dependencies from yarn.lock * Update packages/icons-ui/package.json * Update packages/icons-ui/package.json --------- Co-authored-by: Casey Eickhoff <48574582+caseyisonit@users.noreply.github.com>
* chore: add styling guide * chore: remove spectrum-config and update other docs * fix: update yarn new-package to not depend on spectrum-css * chore: update styling guide * chore: remove formating from plopfile
Co-authored-by: rise-erpelding <54716846+rise-erpelding@users.noreply.github.com>
Co-authored-by: rise-erpelding <54716846+rise-erpelding@users.noreply.github.com>
* chore: move tasks into scripts [swc-854] * chore: update custom element manifest scripts to simpify
4059467
to
729d1bc
Compare
Description
Process-spectrum is a command that runs several scripts that auto-generate and compile stylesheets from @spectrum-css repo and the spectrum-config defined in component directories. This rewrites every stylesheet each time it runs to catch differences in the output.
Process-spectrum runs in many of our commands in the package.json as a dependency or directly called. We need to remove it and check that
yarn build
no longer compiles styles.Related issue(s)
How has this been tested?
yarn build
commandChecklist
Best practices
This repository uses conventional commit syntax for each commit message; note that the GitHub UI does not use this by default so be cautious when accepting suggested changes. Avoid the "Update branch" button on the pull request and opt instead for rebasing your branch against
main
.