|
7 | 7 | "type": "git", |
8 | 8 | "url": "git+https://github.com/nuxt-hub/core.git" |
9 | 9 | }, |
| 10 | + "homepage": "https://hub.nuxt.com", |
10 | 11 | "license": "Apache-2.0", |
11 | 12 | "type": "module", |
12 | 13 | "exports": { |
13 | 14 | ".": { |
14 | | - "types": "./dist/types.d.ts", |
15 | | - "import": "./dist/module.mjs", |
16 | | - "require": "./dist/module.cjs" |
| 15 | + "types": "./dist/types.d.mts", |
| 16 | + "import": "./dist/module.mjs" |
| 17 | + } |
| 18 | + }, |
| 19 | + "main": "./dist/module.mjs", |
| 20 | + "typesVersions": { |
| 21 | + "*": { |
| 22 | + ".": [ |
| 23 | + "./dist/types.d.mts" |
| 24 | + ] |
17 | 25 | } |
18 | 26 | }, |
19 | | - "main": "./dist/module.cjs", |
20 | | - "types": "./dist/types.d.ts", |
21 | | - "homepage": "https://hub.nuxt.com", |
22 | 27 | "files": [ |
23 | 28 | "dist" |
24 | 29 | ], |
|
32 | 37 | ], |
33 | 38 | "scripts": { |
34 | 39 | "prepack": "nuxt-module-build build", |
35 | | - "dev:prepare": "nuxt-module-build build --stub; nuxt-module-build prepare; nuxi prepare playground", |
| 40 | + "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground", |
36 | 41 | "dev": "nuxi dev playground", |
37 | 42 | "dev:build": "nuxi build playground", |
38 | 43 | "docs": "PORT=4000 nuxi dev docs", |
|
41 | 46 | "lint": "eslint .", |
42 | 47 | "lint:fix": "eslint . --fix", |
43 | 48 | "test": "vitest run --test-timeout=60000", |
44 | | - "test:watch": "vitest watch" |
| 49 | + "test:watch": "vitest watch", |
| 50 | + "test:types": "vue-tsc --noEmit && cd playground && vue-tsc --noEmit" |
45 | 51 | }, |
46 | 52 | "dependencies": { |
47 | 53 | "@cloudflare/workers-types": "^4.20250407.0", |
|
67 | 73 | "devDependencies": { |
68 | 74 | "@nuxt/devtools": "^2.3.2", |
69 | 75 | "@nuxt/eslint-config": "^1.3.0", |
70 | | - "@nuxt/module-builder": "^0.8.4", |
| 76 | + "@nuxt/module-builder": "^1.0.0", |
71 | 77 | "@nuxt/schema": "^3.16.2", |
72 | 78 | "@nuxt/test-utils": "^3.17.2", |
73 | 79 | "@nuxthub/core": "link:", |
74 | 80 | "@types/node": "^22.14.0", |
75 | 81 | "changelogen": "^0.6.1", |
76 | 82 | "eslint": "^9.24.0", |
77 | 83 | "nuxt": "^3.16.2", |
78 | | - "typescript": "5.6.3", |
| 84 | + "typescript": "~5.8.3", |
79 | 85 | "vitest": "^3.1.1", |
| 86 | + "vue-tsc": "^2.2.8", |
80 | 87 | "wrangler": "^4.9.0" |
81 | 88 | }, |
82 | | - "resolutions": { |
83 | | - "h3": "^1.14.0", |
84 | | - "@nuxtjs/mdc": "https://pkg.pr.new/@nuxtjs/mdc@cd1c4fd" |
85 | | - }, |
86 | 89 | "packageManager": "[email protected]", |
87 | 90 | "pnpm": { |
88 | 91 | "onlyBuiltDependencies": [ |
|
0 commit comments