This addresses various build and testing issues in the project.
Note:
The g100 example page is not correctly applying the theme for some components. While this needs to be fixed, the purpose of this PR is to address build/percy errors that are failing during CI workflows. Issue captured in #227.
Changelog
New
eslint-config-carbon and stylelint-config-carbon packages added
upgrade project to use Yarn v3
devDeps rc file configs all moved to package.json
add --no-stash to husky config to prevent changes reverting when pre-commit checks fail
Changed
all scss imports moved to global.scss to avoid duplication which was increasing build times
upgrades various dependencies to the latest version
Removed
remove local lint packages in favor of NPM-hosted Carbon variants
remove unnecessary e2e tests for white and g100 theme pages (components in these pages already exist and tested by other example pages)
webpack4 removed - no longer supported as of NextJS 12
Description
This addresses various build and testing issues in the project.
Note: The
g100
example page is not correctly applying the theme for some components. While this needs to be fixed, the purpose of this PR is to address build/percy errors that are failing during CI workflows. Issue captured in #227.Changelog
New
eslint-config-carbon
andstylelint-config-carbon
packages addedrc
file configs all moved topackage.json
--no-stash
to husky config to prevent changes reverting when pre-commit checks failChanged
global.scss
to avoid duplication which was increasing build timesRemoved
e2e
tests forwhite
andg100
theme pages (components in these pages already exist and tested by other example pages)