8000 perf: remove lerna parallel execution on formatter · Mause/sentry-javascript@5658aff · GitHub
[go: up one dir, main page]

Skip to content

Commit 5658aff

Browse files
committed
perf: remove lerna parallel execution on formatter
1 parent 109acf8 commit 5658aff

File tree

38 files changed

+79
-224
lines changed

38 files changed

+79
-224
lines changed

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,13 @@
1818
"clean:deps": "lerna clean --yes && rm -rf node_modules && yarn",
1919
"clean:all": "run-s clean:build clean:caches clean:deps",
2020
"codecov": "codecov",
21-
"fix": "lerna run fix",
21+
"fix": "run-s fix:lerna fix:biome",
22+
"fix:lerna": "lerna run fix",
23+
"fix:biome": "biome format --write .",
2224
"changelog": "ts-node ./scripts/get-commit-list.ts",
2325
"link:yarn": "lerna exec yarn link",
24-
"lint": "lerna run lint",
25-
"lint:eslint": "lerna run lint:eslint",
26+
"lint": "run-s lint:lerna lint:biome",
27+
"lint:lerna": "lerna run lint",
2628
"lint:biome": "biome format --verbose .",
2729
"validate:es5": "lerna run validate:es5",
2830
"postpublish": "lerna run --stream --concurrency 1 postpublish",

packages/angular-ivy/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,8 @@
5050
"build:syncSymlinks": "ts-node ./scripts/syncSourceFiles.ts",
5151
"circularDepCheck": "madge --circular src/index.ts",
5252
"clean": "rimraf build coverage sentry-angular-ivy-*.tgz",
53-
"fix": "run-s fix:eslint fix:biome",
54-
"fix:eslint": "eslint . --format stylish --fix",
55-
"fix:biome": "biome format --write .",
56-
"lint": "run-s lint:biome lint:eslint",
57-
"lint:eslint": "eslint . --format stylish",
58-
"lint:biome": "biome format .",
53+
"fix": "eslint . --format stylish --fix",
54+
"lint": "eslint . --format stylish",
5955
"yalc:publish": "ts-node ./scripts/prepack.ts && yalc publish build --push --sig"
6056
},
6157
"volta": {

packages/angular/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,8 @@
5151
"build:tarball": "npm pack ./build",
5252
"circularDepCheck": "madge --circular src/index.ts",
5353
"clean": "rimraf build coverage sentry-angular-*.tgz",
54-
"fix": "run-s fix:eslint fix:biome",
55-
"fix:eslint": "eslint . --format stylish --fix",
56-
"fix:biome": "biome format --write .",
57-
"lint": "run-s lint:biome lint:eslint",
58-
"lint:eslint": "eslint . --format stylish",
59-
"lint:biome": "biome format .",
54+
"fix": "eslint . --format stylish --fix",
55+
"lint": "eslint . --format stylish",
6056
"test": "yarn test:unit",
6157
"test:unit": "jest",
6258
"test:unit:watch": "jest --watch",

packages/astro/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,8 @@
6767
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
6868
"circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts",
6969
"clean": "rimraf build coverage sentry-astro-*.tgz",
70-
"fix": "run-s fix:eslint fix:biome",
71-
"fix:eslint": "eslint . --format stylish --fix",
72-
"fix:biome": "biome format --write .",
73-
"lint": "run-s lint:biome lint:eslint",
74-
"lint:eslint": "eslint . --format stylish",
75-
"lint:biome": "biome format .",
70+
"fix": "eslint . --format stylish --fix",
71+
"lint": "eslint . --format stylish",
7672
"test": "yarn test:unit",
7773
"test:unit": "vitest run",
7874
"test:watch": "vitest --watch",

packages/browser-integration-tests/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,8 @@
1010
"scripts": {
1111
"clean": "rimraf -g suites/**/dist loader-suites/**/dist tmp",
1212
"install-browsers": "playwright install --with-deps",
13-
"lint": "run-s lint:biome lint:eslint",
14-
"lint:eslint": "eslint . --format stylish",
15-
"lint:biome": "biome format .",
16-
"fix": "run-s fix:eslint fix:biome",
17-
"fix:eslint": "eslint . --format stylish --fix",
18-
"fix:biome": "biome format --fix .",
13+
"lint": "eslint . --format stylish",
14+
"fix": "eslint . --format stylish --fix",
1915
"type-check": "tsc",
2016
"pretest": "yarn clean && yarn type-check",
2117
"test": "playwright test ./suites --project='chromium'",

packages/browser/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,8 @@
7070
"build:tarball": "ts-node ../../scripts/prepack.ts --bundles && npm pack ./build/npm",
7171
"circularDepCheck": "madge --circular src/index.ts",
7272
"clean": "rimraf build coverage .rpt2_cache sentry-browser-*.tgz",
73-
"fix": "run-s fix:eslint fix:biome",
74-
"fix:eslint": "eslint . --format stylish --fix",
75-
"fix:biome": "biome format --write .",
76-
"lint": "run-s lint:biome lint:eslint",
77-
"lint:eslint": "eslint . --format stylish",
78-
"lint:biome": "biome format .",
73+
"fix": "eslint . --format stylish --fix",
74+
"lint": "eslint . --format stylish",
7975
"validate:es5": "es-check es5 'build/bundles/*.es5*.js'",
8076
"size:check": "run-p size:check:es5 size:check:es6",
8177
"size:check:es5": "cat build/bundles/bundle.min.js | gzip -9 | wc -c | awk '{$1=$1/1024; print \"ES5: \",$1,\"kB\";}'",

packages/bun/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,8 @@
4545
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
4646
"circularDepCheck": "madge --circular src/index.ts",
4747
"clean": "rimraf build coverage sentry-bun-*.tgz",
48-
"fix": "run-s fix:eslint fix:prettier",
49-
"fix:eslint": "eslint . --format stylish --fix",
50-
"fix:prettier": "biome format --write .",
51-
"lint": "run-s lint:biome lint:eslint",
52-
"lint:eslint": "eslint . --format stylish",
53-
"lint:biome": "biome format .",
48+
"fix": "eslint . --format stylish --fix",
49+
"lint": "eslint . --format stylish",
5450
"install:bun": "node ./scripts/install-bun.js",
5551
"test": "run-s install:bun test:bun",
5652
"test:bun": "bun test",

packages/core/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,8 @@
4040
"build:tarball": "ts-node ../../scripts/prepack.ts && npm pack ./build",
4141
"circularDepCheck": "madge --circular src/index.ts",
4242
"clean": "rimraf build coverage sentry-core-*.tgz",
43-
"fix": "run-s fix:eslint fix:prettier",
44-
"fix:eslint": "eslint . --format stylish --fix",
45-
"fix:prettier": "biome format --write .",
46-
"lint": "run-s lint:biome lint:eslint",
47-
"lint:eslint": "eslint . --format stylish",
48-
"lint:biome": "biome format .",
43+
"fix": "eslint . --format stylish --fix",
44+
"lint": "eslint . --format stylish",
4945
"test": "jest",
5046
"test:watch": "jest --watch",
5147
"version": "node ../../scripts/versionbump.js src/version.ts",

packages/deno/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,9 @@
3939
"circularDepCheck": "madge --circular src/index.ts",
4040
"clean": "rimraf build build-types build-test coverage",
4141
"prefix": "yarn deno-types",
42-
"fix": "run-s fix:eslint fix:biome",
43-
"fix:eslint": "eslint . --format stylish --fix",
44-
"fix:biome": "biome format --write .",
42+
"fix": "eslint . --format stylish --fix",
4543
"prelint": "yarn deno-types",
46-
"lint": "run-s lint:biome lint:eslint",
47-
"lint:eslint": "eslint . --format stylish",
48-
"lint:biome": "biome format .",
44+
"lint": "eslint . --format stylish",
4945
"install:deno": "node ./scripts/install-deno.mjs",
5046
"pretest": "run-s deno-types test:build",
5147
"test": "run-s install:deno test:types test:unit",

packages/e2e-tests/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,8 @@
44
"license": "MIT",
55
"private": true,
66
"scripts": {
7-
"fix": "run-s fix:eslint fix:biome",
8-
"fix:eslint": "eslint . --format stylish --fix",
9-
"fix:biome": "biome format --write .",
10-
"lint": "run-s lint:biome lint:eslint lint:ts",
11-
"lint:eslint": "eslint . --format stylish",
12-
"lint:biome": "biome format .",
7+
"fix": "eslint . --format stylish --fix",
8+
"lint": "eslint . --format stylish",
139
"lint:ts": "tsc --noEmit",
1410
"test:e2e": "run-s test:validate-configuration test:validate-test-app-setups test:run",
1511
"test:run": "ts-node run.ts",

0 commit comments

Comments
 (0)
0