Skip to content

Commit

Permalink
feat: try inspector build
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Apr 2, 2024
1 parent 85f78a6 commit 72a2c8b
Show file tree
Hide file tree
Showing 5 changed files with 127 additions and 77 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -84,3 +84,4 @@ _fixtures
.history

src/typegen.d.ts
.eslint-config-inspector
1 change: 0 additions & 1 deletion eslint.config.js
Expand Up @@ -15,7 +15,6 @@ export default antfu(
svelte: true,
astro: true,
typescript: true,

formatters: true,
},
{
Expand Down
11 changes: 11 additions & 0 deletions netlify.toml
@@ -0,0 +1,11 @@
[build]
publish = ".eslint-config-inspector"
command = "pnpm run build:inspector"

[build.environment]
NODE_VERSION = "20"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -28,6 +28,7 @@
"build": "nr typegen && tsup --format esm,cjs --clean --dts",
"stub": "tsup --format esm",
"dev": "tsup --format esm,cjs --watch & npx @eslint/config-inspector",
"build:inspector": "pnpm build && npx @eslint/config-inspector build",
"watch": "tsup --format esm,cjs --watch",
"lint": "eslint .",
"typegen": "esno scripts/typegen.ts",
Expand Down Expand Up @@ -125,7 +126,7 @@
"@antfu/eslint-config": "workspace:*",
"@antfu/eslint-plugin-prettier": "^5.0.1-1",
"@antfu/ni": "^0.21.12",
"@eslint/config-inspector": "^0.2.1",
"@eslint/config-inspector": "^0.3.1",
"@stylistic/eslint-plugin-migrate": "^1.7.0",
"@types/eslint": "^8.56.7",
"@types/fs-extra": "^11.0.4",
Expand Down

0 comments on commit 72a2c8b

Please sign in to comment.