Skip to content

Commit 714b5b3

Browse files
committed
chore: verify types
1 parent a346c81 commit 714b5b3

File tree

3 files changed

+238
-2
lines changed

3 files changed

+238
-2
lines changed

.attw.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"ignoreRules": ["cjs-resolves-to-esm", "false-export-default", "false-esm"]
3+
}

package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"exports": {
2323
".": {
24-
"types": "./dist/types.d.ts",
24+
"types": "./dist/types.d.mts",
2525
"import": "./dist/module.mjs",
2626
"require": "./dist/module.cjs"
2727
},
@@ -34,6 +34,7 @@
3434
"import": "./dist/content.mjs"
3535
}
3636
},
37+
"module": "./dist/module.mjs",
3738
"main": "./dist/module.cjs",
3839
"types": "./dist/types.d.ts",
3940
"typesVersions": {
@@ -56,7 +57,8 @@
5657
"lint": "eslint . --fix",
5758
"release": "pnpm build && bumpp && pnpm -r publish --access public",
5859
"test": " pnpm dev:prepare && nuxi prepare test/fixtures/basic && nuxi prepare test/fixtures/i18n && vitest",
59-
"typecheck": "pnpm dev:prepare && tsc --noEmit && npx vue-tsc --noEmit --strict"
60+
"typecheck": "pnpm dev:prepare && tsc --noEmit && npx vue-tsc --noEmit --strict",
61+
"test:attw": "attw --pack"
6062
},
6163
"dependencies": {
6264
"@nuxt/kit": "^3.16.0",
@@ -71,6 +73,7 @@
7173
"devDependencies": {
7274
"@antfu/eslint-config": "^4.10.1",
7375
"@nuxt/content": "^3.3.0",
76+
"@arethetypeswrong/cli": "0.17.4",
7477
"@nuxt/module-builder": "^0.8.4",
7578
"@nuxt/schema": "3.16.0",
7679
"@nuxt/test-utils": "^3.17.2",

0 commit comments

Comments
 (0)