Skip to content

Commit 2daad4e

Browse files
committed
chore: include .nuxt types + migrate to ts projects
1 parent b2406ef commit 2daad4e

File tree

18 files changed

+76
-32
lines changed

18 files changed

+76
-32
lines changed

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@nuxt/devtools-kit": "^3.1.1",
1717
"@nuxt/devtools-ui-kit": "^3.1.1",
1818
"@nuxt/kit": "^4.2.2",
19-
"nuxt": "latest",
19+
"nuxt": "^4.2.2",
2020
"vue": "3.5.25",
2121
"vue-router": "latest"
2222
}

playgrounds/basic/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"dev": "nuxt dev",
77
"build": "nuxt build",
88
"generate": "nuxt generate",
9-
"test:types": "vue-tsc --noEmit"
9+
"test:types": "vue-tsc -b --noEmit"
1010
},
1111
"dependencies": {
1212
"@nuxt/fonts": "latest",
1313
"@nuxtjs/tailwindcss": "6.14.0",
14-
"nuxt": "latest",
14+
"nuxt": "^4.2.2",
1515
"tailwindcss": "^3.4.19",
1616
"vue": "3.5.25",
1717
"vue-router": "latest"

playgrounds/basic/server/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

playgrounds/basic/tsconfig.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"files": [],
3+
"references": [
4+
{
5+
"path": "./.nuxt/tsconfig.app.json"
6+
},
7+
{
8+
"path": "./.nuxt/tsconfig.server.json"
9+
},
10+
{
11+
"path": "./.nuxt/tsconfig.shared.json"
12+
},
13+
{
14+
"path": "./.nuxt/tsconfig.node.json"
15+
}
16+
]
317
}

playgrounds/scss/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"dev": "nuxt dev",
77
"build": "nuxt build",
88
"generate": "nuxt generate",
9-
"test:types": "vue-tsc --noEmit"
9+
"test:types": "vue-tsc -b --noEmit"
1010
},
1111
"dependencies": {
1212
"@nuxt/fonts": "latest",
13-
"nuxt": "latest",
13+
"nuxt": "^4.2.2",
1414
"vue": "3.5.25",
1515
"vue-router": "latest"
1616
},

playgrounds/scss/server/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

playgrounds/scss/tsconfig.json

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"files": [],
3+
"references": [
4+
{
5+
"path": "./.nuxt/tsconfig.app.json"
6+
},
7+
{
8+
"path": "./.nuxt/tsconfig.server.json"
9+
},
10+
{
11+
"path": "./.nuxt/tsconfig.shared.json"
12+
},
13+
{
14+
"path": "./.nuxt/tsconfig.node.json"
15+
}
16+
]
317
}

playgrounds/tailwindcss@3/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"dev": "nuxt dev",
77
"build": "nuxt build",
88
"generate": "nuxt generate",
9-
"test:types": "vue-tsc --noEmit"
9+
"test:types": "vue-tsc -b --noEmit"
1010
},
1111
"dependencies": {
1212
"@nuxt/fonts": "latest",
1313
"@nuxtjs/tailwindcss": "6.14.0",
14-
"nuxt": "latest",
14+
"nuxt": "^4.2.2",
1515
"tailwindcss": "^3.4.19",
1616
"vue": "3.5.25",
1717
"vue-router": "latest"

playgrounds/tailwindcss@3/server/tsconfig.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json"
2+
"extends": "./.nuxt/tsconfig.json",
3+
"exclude": [
4+
"./.nuxt/nuxt.d.ts"
5+
]
36
}

0 commit comments

Comments
 (0)