Skip to content

Commit a96302d

Browse files
committed
chore: deps update
1 parent a7efef7 commit a96302d

File tree

8 files changed

+3719
-3867
lines changed

8 files changed

+3719
-3867
lines changed

eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ export default createConfigForNuxt({
1313
}).append({
1414
rules: {
1515
'@typescript-eslint/no-empty-object-type': 'off',
16+
'nuxt/nuxt-config-keys-order': 'off',
1617
},
1718
})

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,21 @@
3737
"typecheck": "tsc --noEmit"
3838
},
3939
"dependencies": {
40-
"@nuxt/kit": "^3.13.0",
41-
"appwrite": "^15.0.0"
40+
"@nuxt/kit": "^3.15.4",
41+
"appwrite": "^17.0.0"
4242
},
4343
"devDependencies": {
44-
"@nuxt/eslint": "^0.5.3",
45-
"@nuxt/module-builder": "^0.8.3",
46-
"@nuxt/schema": "^3.13.0",
47-
"@nuxt/test-utils": "^3.14.1",
48-
"changelogen": "^0.5.5",
49-
"eslint": "^9.9.1",
50-
"nuxt": "^3.13.0",
51-
"release-it": "^17.6.0",
52-
"typescript": "~5.5.4",
53-
"vitest": "^2.0.5",
54-
"vue-tsc": "^2.0.29"
44+
"@nuxt/eslint": "^1.1.0",
45+
"@nuxt/module-builder": "^0.8.4",
46+
"@nuxt/schema": "^3.15.4",
47+
"@nuxt/test-utils": "^3.17.0",
48+
"changelogen": "^0.6.0",
49+
"eslint": "^9.21.0",
50+
"nuxt": "^3.15.4",
51+
"release-it": "^18.1.2",
52+
"typescript": "~5.7.3",
53+
"vitest": "^3.0.7",
54+
"vue-tsc": "^2.2.4"
5555
},
5656
"packageManager": "[email protected]",
5757
"publishConfig": {

playground/nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
export default defineNuxtConfig({
22
devtools: { enabled: true },
3+
compatibilityDate: '2025-02-27',
34
modules: ['../src/module'],
45
appwrite: {
56
project: 'nuxt-playground',

pnpm-lock.yaml

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

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default defineNuxtModule<ModuleOptions>({
4545
nuxt.hook('listen', () => {
4646
console.info(`Appwrite Endpoint: ${options.endpoint}`)
4747
console.info(`Appwrite Project: ${options.project}`)
48-
if(options.locale){
48+
if (options.locale) {
4949
console.info(`Appwrite Locale: ${options.locale}`)
5050
}
5151
})

src/runtime/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export type Appwrite = {
4545
}
4646

4747
export default defineNuxtPlugin((nuxtApp) => {
48-
const moduleOptions = nuxtApp.$config.public.appwrite
48+
const moduleOptions = nuxtApp.$config.public.appwrite as AppwriteConfig
4949
const config: AppwriteConfig = {
5050
endpoint: moduleOptions.endpoint || 'https://cloud.appwrite.io/v1',
5151
project: moduleOptions.project,

test/fixtures/basic/nuxt.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { NuxtModule } from '@nuxt/schema'
22
import type { ModuleOptions } from '../../../src/module'
33
import nuxtAppwrite from '../../../src/module'
44

5+
// @ts-expect-error auto-imported
56
export default defineNuxtConfig({
67
modules: [nuxtAppwrite as NuxtModule<Partial<ModuleOptions>>],
78
appwrite: {

tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"extends": "./.nuxt/tsconfig.json",
2+
"extends": "./playground/.nuxt/tsconfig.json",
33
"exclude": [
44
"dist",
55
"node_modules",
66
"playground",
77
]
8-
}
8+
}

0 commit comments

Comments
 (0)