Skip to content

Commit

Permalink
fix: 3.6 types (#12)
Browse files Browse the repository at this point in the history
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
Hebilicious and renovate[bot] authored Jun 29, 2023
1 parent 9385b1b commit a8fcdf3
Show file tree
Hide file tree
Showing 7 changed files with 1,163 additions and 541 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
},
"devDependencies": {
"@nuxt-themes/docus": "^1.12.3",
"nuxt": "^3.5.3"
"nuxt": "^3.6.1"
}
}
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "module",
"version": "0.1.0-beta.0",
"private": true,
"packageManager": "[email protected].2",
"packageManager": "[email protected].5",
"scripts": {
"build": "rimraf packages/*/dist && pnpm -r --filter=./packages/* run build",
"nx:build": "nx run-many --target=build --p @hebilicious/vue-query-nuxt",
Expand All @@ -15,24 +15,24 @@
"test": "vitest"
},
"devDependencies": {
"@antfu/eslint-config": "^0.39.5",
"@antfu/eslint-config": "^0.39.6",
"@antfu/ni": "^0.21.4",
"@nuxt/test-utils": "^3.5.3",
"@nuxt/test-utils": "^3.6.1",
"@types/node": "^18.16.18",
"bumpp": "^9.1.1",
"conventional-changelog-cli": "^2.2.2",
"eslint": "8.43.0",
"esno": "^0.16.3",
"fast-glob": "^3.2.12",
"lint-staged": "^13.2.2",
"nx": "^16.3.2",
"pnpm": "8.6.2",
"lint-staged": "^13.2.3",
"nx": "^16.4.0",
"pnpm": "8.6.5",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"simple-git-hooks": "^2.8.1",
"taze": "^0.10.2",
"tsup": "^7.0.0",
"typescript": "^5.1.3",
"taze": "^0.11.0",
"tsup": "^7.1.0",
"typescript": "^5.1.6",
"unbuild": "^1.2.1",
"vitest": "^0.32.2"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/vue-query-nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
"dev": "nuxi dev"
},
"peerDependencies": {
"@tanstack/vue-query": "^4.29.14",
"nuxt": "3.5.3"
"@tanstack/vue-query": "^4.29.19",
"nuxt": "3.6.1"
},
"dependencies": {
"@nuxt/kit": "3.5.3",
"@nuxt/kit": "3.6.1",
"defu": "^6.1.2",
"esbuild": "^0.18.4",
"esbuild": "^0.18.10",
"magicast": "^0.2.9"
},
"devDependencies": {
Expand Down
6 changes: 6 additions & 0 deletions packages/vue-query-nuxt/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ import { generateCode, loadFile } from "magicast"
import { transform } from "esbuild"
import { NAME, type VueQueryOptions, configKey, defaults } from "./runtime/utils"

declare module "@nuxt/schema" {
interface PublicRuntimeConfig {
[configKey]: VueQueryOptions
}
}

export default defineNuxtModule<VueQueryOptions>({
meta: {
name: NAME,
Expand Down
4 changes: 2 additions & 2 deletions playgrounds/advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
},
"dependencies": {
"@hebilicious/vue-query-nuxt": "latest",
"@tanstack/vue-query": "^4.29.14",
"@tanstack/vue-query": "^4.29.19",
"@wundergraph/vue-query": "^0.0.1"
},
"devDependencies": {
"@nuxt/devtools": "^0.6.1",
"@nuxt/devtools": "^0.6.4",
"nuxt": "latest"
}
}
2 changes: 1 addition & 1 deletion playgrounds/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
},
"dependencies": {
"@hebilicious/vue-query-nuxt": "latest",
"@tanstack/vue-query": "^4.29.14",
"@tanstack/vue-query": "^4.29.19",
"nuxt": "latest"
}
}
Loading

0 comments on commit a8fcdf3

Please sign in to comment.