fxa/packages/fxa-react
Lauren Zugai d866a06d76
chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps
Because:
*We want to upgrade to Tailwind v3 and update other related outdated dependencies

This commit:
*Upgrades storybook packages across the board, upgrades autoprefixer, removes postcss-7 compatibility package and postcss-cli, installs postcss per Tailwind requirement
*Upgrades fxa-admin-panel to Tailwind v3
*Upgrades fxa-react to Tailwind v3, changing Portal from SCSS to CSS to remove a build step
*Upgrades fxa-settings to Tailwind v3, first transforming our SCSS to CSS before it’s sent to PostCSS. There will be a follow up to change our SCSS files to CSS and use PostCSS plugins instead
*Upgrades fxa-payments-server to Tailwind v3, decoupling SCSS from the Tailwind out file since payments will be using Tailwind exclusively in the next few months. Makes Storybook more consistent with other packages
2022-06-30 16:51:57 -05:00
..
.storybook chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
components chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
configs chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
images feat(settings): secondary email delete and make primary functionality 2020-08-26 19:09:44 -04:00
lib fix(settings): Fixes en-GB strings showing up en-US strings should be displayed 2022-05-05 11:49:05 -07:00
scripts refactor(packages): use workspace references 2020-05-21 10:57:21 -07:00
styles chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
.eslintrc.json chore(lint): Lint hidden .storybook/ directories 2022-05-18 15:25:37 -07:00
.prettierignore chore(fxa-react): update files to respect prettier 2020-05-26 13:28:42 -04:00
CHANGELOG.md Release 1.235.2 2022-06-29 11:58:27 -04:00
LICENSE refactor(shared components): Rename 'fxa-components' to 'fxa-react' 2020-05-15 12:55:21 -05:00
README.md refactor(shared components): Rename 'fxa-components' to 'fxa-react' 2020-05-15 12:55:21 -05:00
extract-imported-components.js feat(admin-panel+settings+react): set up storybook and tailwind for admin-panel, share tailwind config across all projects, config movement 2020-06-03 15:46:09 -04:00
jest.config.js refactor(settings + react): update tests to be more consistent and DRY 2020-08-12 09:31:10 -04:00
package.json chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
pm2.config.js chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
postcss.config.js chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
setupTests.ts refactor(settings + react): don't globally stub console fns, remove unneeded deps, various cleanups 2020-08-19 22:35:36 -04:00
svg-transform.js feat(admin-panel+settings+react): set up storybook and tailwind for admin-panel, share tailwind config across all projects, config movement 2020-06-03 15:46:09 -04:00
tailwind.config.js chore(deps): Upgrade tailwindcss (v1.9 to v3), autoprefixer, & all SB deps, replace postcss deps, remove other deps 2022-06-30 16:51:57 -05:00
tsconfig.json fix(react): use package.json export 2020-07-02 15:48:45 -07:00

README.md

Shared components for FxA React Apps

Testing

This package uses Jest to test its code. By default npm test will test all JS files under src/.

Test specific tests with the following commands:

# Test for the component ComponentName
npm run test -- ComponentName

# Grep for "description"
npm run test -- -t "description"

# Watch files for changes and re-run
npm run test -- --watch

Refer to Jest's CLI documentation for more advanced test configuration.

License

MPL-2.0