chore(release): drop eslint from lib prepublishOnly (#11320)
Library packages had `prepublishOnly: pn compile`, which expands to `tsgo --build && pn lint --fix`. During `pn release` that runs eslint against ~150 packages for no benefit — the code has already been linted in CI and the release flow's upfront compile has already built dist/. Switch lib prepublishOnly to a bare `tsgo --build` so the safety-net compile stays but the per-package eslint cost is gone.
This commit is contained in:
1 parent
21fa098e36
commit
aa93759d9b
175 files changed
+175
-175
No files matched your search
@@ -26,7 +26,7 @@
|
||||
"scripts": {
|
||||
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
|
||||
"test": "pn compile && pn .test",
|
||||
"prepublishOnly": "pn compile",
|
||||
"prepublishOnly": "tsgo --build",
|
||||
"start": "tsgo --watch",
|
||||
"compile": "tsgo --build && pn lint --fix",
|
||||
".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
|
||||
|
||||
Reference in new issue
Block a user