Skip to content

Commit

Permalink
Upgrade dependencies, msw 2 and vite 5 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinTTY committed Nov 18, 2023
1 parent 3283ec8 commit 00dd7aa
Show file tree
Hide file tree
Showing 14 changed files with 4,733 additions and 2,844 deletions.
1 change: 1 addition & 0 deletions src/client/.stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dist
28 changes: 28 additions & 0 deletions src/client/.stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"extends": ["stylelint-config-standard-scss"],
"rules": {
"custom-property-pattern": null,
"selector-class-pattern": null,
"scss/no-duplicate-mixins": null,
"declaration-empty-line-before": null,
"declaration-block-no-redundant-longhand-properties": null,
"alpha-value-notation": null,
"custom-property-empty-line-before": null,
"property-no-vendor-prefix": null,
"color-function-notation": null,
"length-zero-no-unit": null,
"selector-not-notation": null,
"no-descending-specificity": null,
"comment-empty-line-before": null,
"scss/at-mixin-pattern": null,
"scss/at-rule-no-unknown": null,
"value-keyword-case": null,
"media-feature-range-notation": null,
"selector-pseudo-class-no-unknown": [
true,
{
"ignorePseudoClasses": ["global"]
}
]
}
}
8 changes: 4 additions & 4 deletions src/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This template comes with the following features:
- [PostCSS](https://postcss.org/) with [mantine-postcss-preset](https://mantine.dev/styles/postcss-preset)
- [TypeScript](https://www.typescriptlang.org/)
- [Storybook](https://storybook.js.org/)
- [Jest](https://jestjs.io/) setup with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
- [Vitest](https://vitest.dev/) setup with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro)
- ESLint setup with [eslint-config-mantine](https://github.com/mantinedev/eslint-config-mantine)

## npm scripts
Expand All @@ -25,9 +25,9 @@ This template comes with the following features:
- `typecheck` – checks TypeScript types
- `lint` – runs ESLint
- `prettier:check` – checks files with Prettier
- `jest` – runs jest tests
- `jest:watch` – starts jest watch
- `test` – runs `jest`, `prettier:check`, `lint` and `typecheck` scripts
- `vitest` – runs vitest tests
- `vitest:watch` – starts vitest watch
- `test` – runs `vitest`, `prettier:check`, `lint` and `typecheck` scripts

### Other scripts

Expand Down
12 changes: 0 additions & 12 deletions src/client/jest.config.js

This file was deleted.

Loading

0 comments on commit 00dd7aa

Please sign in to comment.