Skip to content

Commit 769cb99

Browse files
committed
chore: use latest tsconfig format
1 parent 00510b6 commit 769cb99

File tree

4 files changed

+22
-47
lines changed

4 files changed

+22
-47
lines changed

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@vueuse/core": "^14.1.0",
1616
"@vueuse/nuxt": "^14.1.0",
1717
"nuxt": "^4.2.1",
18-
"nuxt-auth-utils": "latest",
18+
"nuxt-auth-utils": "workspace:*",
1919
"zod": "^4.1.13"
2020
}
2121
}

pnpm-lock.yaml

Lines changed: 2 additions & 42 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/runtime/server/plugins/oauth.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export default defineNitroPlugin((nitroApp: NitroApp) => {
1212
// by using render:html hook
1313
// this is a hack, but it works
1414
// https://stackoverflow.com/questions/7131909/facebook-callback-appends-to-return-url
15-
// @ts-expect-error - have to ignore for the test:types script
1615
nitroApp.hooks.hook('render:html', (html: NuxtRenderHTMLContext) => {
1716
html.head.unshift(`
1817
<script>

tsconfig.json

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json",
2+
// https://nuxt.com/docs/guide/concepts/typescript
3+
"files": [],
4+
"references": [
5+
{
6+
"path": "./.nuxt/tsconfig.app.json"
7+
},
8+
{
9+
"path": "./.nuxt/tsconfig.server.json"
10+
},
11+
{
12+
"path": "./.nuxt/tsconfig.shared.json"
13+
},
14+
{
15+
"path": "./.nuxt/tsconfig.node.json"
16+
}
17+
],
318
"exclude": [
4-
"playground",
5-
"src/module/runtime/server",
619
"dist",
20+
"node_modules",
21+
"playground",
22+
"test"
723
]
824
}

0 commit comments

Comments
 (0)