@@ -45,12 +45,12 @@ All the applications inside the monorepo are sharing the similar Apollo-Router i
4545│ └── events-graphql-proxy ("clone of events-helsinki-api-proxy")
4646│
4747├── apps
48- │ ├── hobbies-helsinki (i18n, ssr, api, jest )
48+ │ ├── hobbies-helsinki (i18n, ssr, api, vitest )
4949│ ├── events-helsinki ("clone of hobbies-helsinki")
5050│ └── sports-helsinki ("clone of hobbies-helsinki")
5151└── packages
5252 ├── common-i18n (locales...)
53- ├── components (common event components, utils and hooks, storybook, jest )
53+ ├── components (common event components, utils and hooks, storybook, vitest )
5454 ├── graphql-proxy-server (common code for graphql api-proxy server)
5555 └── eslint-config-bases (to shared eslint configs)
5656```
@@ -109,8 +109,8 @@ If needed static resources like **images**,... can be shared by using symlinks i
109109│ ├── src/
110110│ │ └── pages/api (api routes)
111111│ ├── CHANGELOG.md
112- │ ├── next.config.js
113- │ ├── next-i18next.config.js
112+ │ ├── next.config.mjs
113+ │ ├── next-i18next.config.mjs
114114│ ├── package.json (define package workspace:package deps)
115115│ └── tsconfig.json (define path to packages)
116116│
@@ -167,7 +167,7 @@ Some convenience scripts can be run in any folder of this repo and will call the
167167| ` yarn g:clean ` | Clean builds in all workspaces |
168168| ` yarn g:check-dist ` | Ensure build dist files passes es2017 (run ` g:build ` first). |
169169| ` yarn g:check-size ` | Ensure browser dist files are within size limit (run ` g:build ` first). |
170- | ` yarn clean:global-cache ` | Clean tooling caches (eslint, jest ...) |
170+ | ` yarn clean:global-cache ` | Clean tooling caches (eslint, vitest ...) |
171171| ` yarn deps:check --dep dev ` | Will print what packages can be upgraded globally (see also [ .ncurc.yml] ( https://github.com/sortlist/packages/blob/main/.ncurc.yml ) ) |
172172| ` yarn deps:update --dep dev ` | Apply possible updates (run ` yarn install && yarn dedupe ` after) |
173173| ` yarn check:install ` | Verify if there's no peer-deps missing in packages |
@@ -288,7 +288,7 @@ curl -X POST https://tapahtumat.test.hel.ninja/api/revalidate -H "Content-Type:
288288
289289### 5.1 Linters
290290
291- See in [./apps/hobbies-helsinki/.eslintrc .js](./apps/nextjs-app/.eslintrc .js) and
291+ See in [./apps/hobbies-helsinki/eslint.config .js](./apps/nextjs-app/eslint.config .js) and
292292[eslint-config-bases](./packages/eslint-config-bases/README.md).
293293
294294### 5.2 Hooks / Lint-staged
@@ -298,12 +298,12 @@ that lint and prettier are applied automatically on commit and/or pushes.
298298
299299### 5.3 Tests
300300
301- Tests relies on ts-jest or vitest depending on the app . All setups supports typescript path aliases.
301+ Tests relies on vitest. All setups supports typescript path aliases.
302302React-testing-library is enabled whenever react is involved.
303303
304304Configuration lives in the root folder of each apps/packages. See
305305
306- - [./apps/hobbies-helsinki/jest .config.js](./apps/hobbies-helsinki/jest .config.js).
306+ - [./apps/hobbies-helsinki/vitest .config.js](./apps/hobbies-helsinki/vitest .config.js).
307307
308308There are also some K6 performance testing scripts. The K6 package is included in the applications of the [apps](./apps/)-folder. To get more familiar with the K6 library, read the docs from https://k6.io/docs/.
309309
@@ -353,8 +353,6 @@ To ensure decent performance, those features are present in the example actions:
353353 > - " yarn.lock"
354354 > - " .yarnrc.yml"
355355 > - " .github/workflows/**"
356- > - " .eslintrc.base.json"
357- > - " .eslintignore"
358356 > ` ` `
359357
360358# ### Pipeline configuration
0 commit comments