Unverified Commit 37545d59 authored by Janka Uryga's avatar Janka Uryga Committed by GitHub

make sure eslint-plugin-next is built when running 'pnpm dev' (#78305)

this fixes an annoying issue where `eslint-plugin-next` causes a bunch
of typescript errors after a `pnpm clean`. the reason for this was that
it didn't have a `"dev"` script, so `pnpm dev` ignored it, and so it
never got built at all.
parent 527fe7a0
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
"eslint": "8.56.0" "eslint": "8.56.0"
}, },
"scripts": { "scripts": {
"dev": "pnpm build",
"build": "swc -d dist src && pnpm types", "build": "swc -d dist src && pnpm types",
"types": "tsc src/index.ts --skipLibCheck --declaration --emitDeclarationOnly --declarationDir dist", "types": "tsc src/index.ts --skipLibCheck --declaration --emitDeclarationOnly --declarationDir dist",
"prepublishOnly": "cd ../../ && turbo run build" "prepublishOnly": "cd ../../ && turbo run build"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment