diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a09c0a67165..c1fcd5717fe 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -109,7 +109,7 @@ repos: - id: types name: types files: ^(frontend|packages/js)/.*$ - entry: bash -c 'pnpm run prepare:nuxt && pnpm run -r types' + entry: pnpm run -r types language: system pass_filenames: false diff --git a/frontend/package.json b/frontend/package.json index 84b56aec2ef..b9fa58bc342 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -41,7 +41,7 @@ "test:storybook:local": "playwright test -c test/storybook", "test:storybook:debug": "PWDEBUG=1 pnpm test:storybook:local", "test:storybook:gen": "playwright codegen localhost:54000/", - "types": "pnpm run i18n:test && npx nuxi prepare && vue-tsc -p .", + "types": "pnpm run i18n:test && npx nuxi typecheck", "i18n": "node i18n/scripts/setup.mjs", "i18n:debug": "pnpm i18n --debug", "i18n:en": "pnpm i18n --en-only",