Skip to content

Commit

Permalink
build: add are the types wrong check
Browse files Browse the repository at this point in the history
  • Loading branch information
gsong committed Oct 14, 2024
1 parent 93cfb5a commit 42be9f0
Show file tree
Hide file tree
Showing 3 changed files with 231 additions and 4 deletions.
6 changes: 5 additions & 1 deletion package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"url": "https://gsong.dev"
},
"type": "module",
"main": "./dist/cjs/index.cjs",
"exports": {
".": {
"import": "./dist/esm/index.js",
Expand All @@ -26,7 +27,9 @@
"clean": "run-p clean:**",
"clean:build": "rimraf dist .turbo",
"clean:node_modules": "rimraf node_modules",
"lint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"lint": "run-p lint:*",
"lint:eslint": "eslint --cache --cache-location ./node_modules/.cache/eslint .",
"lint:exports": "attw --pack .",
"release": "pnpm publish --access public",
"prerelease": "run-s lint typecheck build",
"typecheck": "tsc --noEmit"
Expand All @@ -42,6 +45,7 @@
"dialog"
],
"devDependencies": {
"@arethetypeswrong/cli": "^0.16.2",
"@knighted/duel": "^1.0.8"
},
"peerDependencies": {
Expand Down
7 changes: 7 additions & 0 deletions package/turbo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"extends": ["//"],
"tasks": {
"lint": { "dependsOn": ["build", "topo"] }
}
}
Loading

0 comments on commit 42be9f0

Please sign in to comment.