Skip to content

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

castastrophe
Copy link
Contributor

@castastrophe castastrophe commented Apr 30, 2025

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)

  • SWC-808
  • SWC-809

How has this been tested?

  • I expect the Spectrum CSS assets not to be imported or regenerated by the yarn build command
  • I expect all previously generated CSS files are checked into the repository, where they will become the source for future edits.
  • I expect all commands besides process-spectrum continue to run correctly and produce correct output; all tests still pass.

Checklist

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • If my change required a change to the documentation, I have updated the documentation in this pull request.
  • I have read the CONTRIBUTING document.
  • [n/a] I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have reviewed at the Accessibility Practices for this feature, see: Aria Practices

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.

Copy link

changeset-bot bot commented Apr 30, 2025

⚠️ No Changeset found

Latest commit: 4d432ed

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

Branch preview

Review the following VRT differences

When 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 current_golden_images_cache hash in the circleci config to accept the new images. Instructions are included in that file.
If the changes are unexpected, you can investigate the cause of the differences and update the code accordingly.

Copy link

Tachometer results

Currently, no packages are changed by this PR...

@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch 3 times, most recently from e0f9c5f to 5945a6d Compare May 1, 2025 16:53
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 5945a6d to 1045ca1 Compare May 1, 2025 19:52
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 1045ca1 to 618cb83 Compare May 5, 2025 13:38
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch 2 times, most recently from 11d4edb to 4f12157 Compare May 6, 2025 17:13
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 4f12157 to 8a82d29 Compare May 6, 2025 17:33
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\"",
Copy link
Contributor Author

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.

Copy link
Contributor

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?

Copy link
Contributor Author

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.

Copy link
Contributor

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

package.json Outdated
@@ -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",
Copy link
Contributor Author

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

@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch 4 times, most recently from f1bb788 to 8f7dd79 Compare May 14, 2025 17:49
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 8f7dd79 to 4059467 Compare May 15, 2025 22:19
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 4059467 to 729d1bc Compare May 16, 2025 19:57
Base automatically changed from CSS-Cutoff to main May 21, 2025 15:27
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 729d1bc to 621e674 Compare June 6, 2025 16:04
@castastrophe castastrophe marked this pull request as draft June 6, 2025 16:07
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 621e674 to 779d9f2 Compare June 10, 2025 21:56
TarunAdobe and others added 2 commits June 23, 2025 16:05
* 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
@castastrophe castastrophe force-pushed the castastrophe/swc-808-disable-process-spectrum branch from 779d9f2 to 4d432ed Compare June 23, 2025 20:08
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/badge/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/breadcrumbs/package.json#L1-L91


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/button-group/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/button/package.json#L1-L110


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/card/package.json#L1-L85


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/checkbox/package.json#L1-L89


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/clear-button/package.json#L1-L62


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/close-button/package.json#L1-L62


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/coachmark/package.json#L1-L99


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-area/package.json#L1-L86


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-field/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-handle/package.json#L1-L80


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-loupe/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-slider/package.json#L1-L86


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/color-wheel/package.json#L1-L85


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/combobox/package.json#L1-L88


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/contextual-help/package.json#L1-L84


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/dialog/package.json#L1-L102


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/divider/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/dropzone/package.json#L1-L78


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/field-group/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/field-label/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/help-text/package.json#L1-L100


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/icon/package.json#L1-L102


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/icons-ui/package.json#L1-L75


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/icons-workflow/package.json#L1-L74


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/icons/package.json#L1-L99


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/iconset/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/illustrated-message/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/infield-button/package.json#L1-L80


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/link/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/menu/package.json#L1-L118


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/meter/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/modal/package.json#L1-L63


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/number-field/package.json#L1-L88


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/overlay/package.json#L1-L189


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/picker-button/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/picker/package.json#L1-L117


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/popover/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/progress-bar/package.json#L1-L81


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/progress-circle/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/radio/package.json#L1-L90


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/search/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/sidenav/package.json#L1-L100


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/slider/package.json#L1-L102


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/split-view/package.json#L1-L83


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/status-light/package.json#L1-L78


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/swatch/package.json#L1-L94


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/switch/package.json#L1-L80


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/table/package.json#L1-L147


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/tabs/package.json#L1-L113


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/tags/package.json#L1-L91


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/textfield/package.json#L1-L83


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/thumbnail/package.json#L1-L79


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/toast/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/tooltip/package.json#L1-L85


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/top-nav/package.json#L1-L88


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/tray/package.json#L1-L82


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/packages/underlay/package.json#L1-L78


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/projects/css-custom-vars-viewer/package.json#L1-L91


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/projects/documentation/package.json#L1-L277


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/projects/story-decorator/package.json#L1-L94


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/base/package.json#L1-L131


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/bundle/package.json#L1-L151


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/grid/package.json#L1-L86


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/opacity-checkerboard/package.json#L1-L63


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/reactive-controllers/package.json#L1-L104


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/shared/package.json#L1-L121


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/styles/package.json#L1-L134


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/theme/package.json#L1-L323


🚫 [eslint] <notice/notice> reported by reviewdog 🐶
Missing notice header

https://github.com/adobe/spectrum-web-components/blob/4d432edd0aa12a75ad73d124f256b810c0261187/tools/truncated/package.json#L1-L81

@@ -14,401 +14,297 @@
import fs from 'fs';
import fg from 'fast-glob';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'fast-glob' should be listed in the project's dependencies, not devDependencies.

@@ -14,401 +14,297 @@
import fs from 'fs';
import fg from 'fast-glob';
import path from 'path';
import { fileURLToPath } from 'url';
import { createRequire } from 'module';

import { load } from 'cheerio';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'cheerio' should be listed in the project's dependencies, not devDependencies.

@@ -14,401 +14,297 @@
import fs from 'fs';
import fg from 'fast-glob';
import path from 'path';
import { fileURLToPath } from 'url';
import { createRequire } from 'module';

import { load } from 'cheerio';
import prettier from 'prettier';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'prettier' should be listed in the project's dependencies, not devDependencies.

import { load } from 'cheerio';
import prettier from 'prettier';
import eslint from 'eslint';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'eslint' should be listed in the project's dependencies. Run 'npm i -S eslint' to add it

import { load } from 'cheerio';
import prettier from 'prettier';
import eslint from 'eslint';
import Case from 'case';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-extraneous-dependencies> reported by reviewdog 🐶
'case' should be listed in the project's dependencies, not devDependencies.

import { fileURLToPath } from 'url';
import { createRequire } from 'node:module';

import fg from 'fast-glob';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <@typescript-eslint/no-unused-vars> reported by reviewdog 🐶
'fg' is defined but never used.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants