Skip to content

Commit 5401abf

Browse files
committed
feat: inspector build
1 parent 1fde9e3 commit 5401abf

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,3 +84,5 @@ _fixtures
8484
.history
8585

8686
src/typegen.d.ts
87+
88+
.eslint-config-inspector

netlify.toml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
[build]
2+
publish = ".eslint-config-inspector"
3+
command = "pnpm run build:inspector"
4+
5+
[build.environment]
6+
NODE_VERSION = "20"
7+
8+
[[redirects]]
9+
from = "/*"
10+
to = "/index.html"
11+
status = 200

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
"dev": "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
4242
"lint": "eslint .",
4343
"lint:fix": "eslint . --fix",
44+
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
4445
"typegen": "tsx scripts/typegen.ts",
4546
"prepack": "nr build",
4647
"prepare": "simple-git-hooks",

0 commit comments

Comments
 (0)