Skip to content

Commit f38e9fe

Browse files
committed
chore(release): prepare release; fix build & lint
1 parent 52ac007 commit f38e9fe

4 files changed

Lines changed: 4 additions & 25 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
"repository": "tahul/nuxt-edgedb",
88
"exports": {
99
".": {
10-
"types": "./dist/types.d.ts",
10+
"types": "./dist/module.d.ts",
1111
"import": "./dist/module.mjs",
1212
"require": "./dist/module.cjs"
1313
}
1414
},
1515
"main": "./dist/module.cjs",
16-
"types": "./dist/types.d.ts",
16+
"types": "./dist/module.d.ts",
1717
"files": [
1818
"dist",
1919
"templates"

src/module.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { existsSync } from 'node:fs'
2-
import { addComponentsDir, addImportsDir, addPlugin, addServerHandler, addServerImports, addServerImportsDir, addServerPlugin, createResolver, defineNuxtModule } from '@nuxt/kit'
2+
import { addComponentsDir, addImportsDir, addPlugin, addServerHandler, addServerImports, addServerPlugin, createResolver, defineNuxtModule } from '@nuxt/kit'
33
import { createConsola } from 'consola'
44
import { join } from 'pathe'
55
import chalk from 'chalk'
@@ -265,7 +265,6 @@ export default defineNuxtModule<ModuleOptions>({
265265
}
266266

267267
if (process.env?.NUXT_EDGEDB_UI_URL || uiUrl?.stdout) {
268-
// @ts-expect-error - ?
269268
nuxt.hook('devtools:customTabs', (tabs) => {
270269
tabs.push({
271270
// unique identifier

src/runtime/composables/useEdgeDbIdentity.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { computed } from 'vue'
21
import type { ComputedRef, Ref } from 'vue'
32
import type { H3Event } from 'h3'
43
import type { User } from '#edgedb/interfaces'

tsconfig.json

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
{
2-
"compilerOptions": {
3-
"target": "ESNext",
4-
"jsx": "preserve",
5-
"jsxImportSource": "vue",
6-
"useDefineForClassFields": true,
7-
"module": "ESNext",
8-
"moduleResolution": "Bundler",
9-
"resolveJsonModule": true,
10-
"types": [],
11-
"allowJs": true,
12-
"strict": true,
13-
"noImplicitThis": true,
14-
"noEmit": true,
15-
"allowSyntheticDefaultImports": true,
16-
"esModuleInterop": true,
17-
"forceConsistentCasingInFileNames": true,
18-
"isolatedModules": true,
19-
"verbatimModuleSyntax": true,
20-
"skipLibCheck": true
21-
}
2+
"extends": "./playground/tsconfig.json"
223
}

0 commit comments

Comments
 (0)