From 41ac6e83cb8db76e05dcb8e6392a141f55f6d614 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Tue, 19 Dec 2023 23:07:40 +0100 Subject: [PATCH] chore: use module-builder stub mode for more accurate types (#126) * chore: use module-builder stub mode for more accurate types * chore: prepare more things --- package.json | 4 ++-- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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" }