Skip to content

Commit

Permalink
Merge pull request #169 from nuxt-modules/module-stub
Browse files Browse the repository at this point in the history
chore: use module-builder stub mode for more accurate types
  • Loading branch information
Baroshem authored Dec 13, 2023
2 parents c2c4f64 + 3c1edf9 commit 3502ea1
Show file tree
Hide file tree
Showing 3 changed files with 612 additions and 88 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"dev": "nuxi dev playground",
"dev:build": "nuxi build playground",
"docs": "cd docs && yarn dev",
"dev:prepare": "nuxt-module-build --stub && nuxi prepare playground",
"dev:prepare": "nuxt-module-build --stub && nuxt-module-build prepare && nuxi prepare playground",
"release": "yarn run lint && yarn run test && yarn run prepack && changelogen --release --output=CHANGELOG.md && yarn publish && git push --follow-tags",
"lint": "eslint .",
"test": "vitest run",
Expand All @@ -55,7 +55,7 @@
},
"devDependencies": {
"@nuxt/eslint-config": "^0.1.1",
"@nuxt/module-builder": "^0.3.1",
"@nuxt/module-builder": "^0.5.4",
"@nuxt/schema": "^3.5.0",
"@nuxt/test-utils": "^3.5.0",
"changelogen": "^0.4.1",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"extends": "./playground/.nuxt/tsconfig.json"
"extends": "./.nuxt/tsconfig.json"
}
Loading

0 comments on commit 3502ea1

Please sign in to comment.