diff --git a/front/package.json b/front/package.json index 195165ab7..3d7f666e9 100644 --- a/front/package.json +++ b/front/package.json @@ -6,10 +6,10 @@ "description": "Funkwhale front-end", "author": "Funkwhale Collective ", "scripts": { - "dev": "yarn run update-schema && vite", + "dev": "vite", "dev:docs": "VP_DOCS=true vitepress dev ui-docs", - "build": "yarn run update-schema && vite build --mode development", - "build:deployment": "yarn run update-schema && vite build", + "build": "vite build --mode development", + "build:deployment": "vite build", "build:docs": "VP_DOCS=true vitepress build ui-docs", "serve:docs": "VP_DOCS=true vitepress serve ui-docs", "serve": "vite preview", @@ -18,7 +18,7 @@ "test:generate-mock-server": "msw-auto-mock ../docs/schema.yml -o test/msw-server.ts --node", "lint": "eslint --cache --cache-strategy content --ext .ts,.js,.vue,.json,.html src test cypress public/embed.html", "lint:tsc": "vue-tsc --noEmit --incremental && tsc --noEmit --incremental -p cypress", - "update-schema": "yarn run openapi-typescript https://docs.funkwhale.audio/develop/swagger/schema.yml -o src/generated/types.ts" + "generate-local-schema": "yarn run openapi-typescript ../api/schema.yml -o src/generated/types.ts" }, "dependencies": { "@sentry/tracing": "7.47.0",