diff --git a/package.json b/package.json index bcc91326..52c7ae5f 100644 --- a/package.json +++ b/package.json @@ -33,14 +33,14 @@ "virtual.d.ts" ], "scripts": { - "stub": "nuxt-build-module build --stub", + "stub": "nuxt-build-module build --stub && nuxt-module-build prepare", "build": "pnpm dev:prepare && pnpm build:module && pnpm build:client", "build:client": "nuxi generate client", "build:module": "nuxt-build-module build", "lint": "eslint . --fix", "dev": "nuxi dev .playground", "dev:build": "nuxi build .playground", - "dev:prepare": "nuxt-module-build build --stub && nuxi prepare .playground", + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare .playground && nuxi prepare client", "release": "bumpp && pnpm -r publish --no-git-checks", "test": "vitest" }, diff --git a/tsconfig.json b/tsconfig.json index 1d746c1a..4b34df15 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,3 +1,3 @@ { - "extends": "./.playground/.nuxt/tsconfig.json" + "extends": "./.nuxt/tsconfig.json" }