File tree Expand file tree Collapse file tree 8 files changed +3719
-3867
lines changed
Expand file tree Collapse file tree 8 files changed +3719
-3867
lines changed Original file line number Diff line number Diff 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} )
Original file line number Diff line number Diff line change 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" : " pnpm@9.6.0" ,
5757 "publishConfig" : {
Original file line number Diff line number Diff line change 11export default defineNuxtConfig ( {
22 devtools : { enabled : true } ,
3+ compatibilityDate : '2025-02-27' ,
34 modules : [ '../src/module' ] ,
45 appwrite : {
56 project : 'nuxt-playground' ,
Original file line number Diff line number Diff 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 } )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export type Appwrite = {
4545}
4646
4747export 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 ,
Original file line number Diff line number Diff line change @@ -2,6 +2,7 @@ import type { NuxtModule } from '@nuxt/schema'
22import type { ModuleOptions } from '../../../src/module'
33import nuxtAppwrite from '../../../src/module'
44
5+ // @ts -expect-error auto-imported
56export default defineNuxtConfig ( {
67 modules : [ nuxtAppwrite as NuxtModule < Partial < ModuleOptions > > ] ,
78 appwrite : {
Original file line number Diff line number Diff line change 11{
2- "extends" : " ./.nuxt/tsconfig.json" ,
2+ "extends" : " ./playground/ .nuxt/tsconfig.json" ,
33 "exclude" : [
44 " dist" ,
55 " node_modules" ,
66 " playground" ,
77 ]
8- }
8+ }
You can’t perform that action at this time.
0 commit comments