Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Use nuxi typecheck (#5268)

Olga Bulatdbc68f5dc877
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index a09c0a671..c1fcd5717 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 84b56aec2..b9fa58bc3 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",