Skip to content

Commit

Permalink
chore: replace npm-run-all with concurrently
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed Jul 15, 2023
1 parent e0fb391 commit 3c6144b
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 86 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
"pretest": "pnpm run compile-only && pnpm --dir=__fixtures__ run prepareFixtures",
"lint": "pnpm lint:meta && syncpack list-mismatches --workspace false && pnpm run lint:ts",
"lint:ts": "eslint \"**/src/**/*.ts\" \"**/test/**/*.ts\"",
"test-main": "pnpm pretest && pnpm lint --quiet && run-p -r verdaccio test-pkgs-main",
"test-main": "pnpm pretest && pnpm lint --quiet && concurrently --raw --success=first --kill-others \"pnpm run verdaccio\" \"pnpm run test-pkgs-main\"",
"remove-temp-dir": "shx rm -rf ../pnpm_tmp",
"test-pkgs-main": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm run --no-sort --workspace-concurrency=2 -r _test",
"test-branch": "pnpm pretest && pnpm lint --quiet && git remote set-branches --add origin main && git fetch && run-p -r verdaccio test-pkgs-branch",
"test-branch": "pnpm pretest && pnpm lint --quiet && git remote set-branches --add origin main && git fetch && concurrently --raw --success=first --kill-others \"pnpm run verdaccio\" \"pnpm run test-pkgs-branch\"",
"test-pkgs-branch": "pnpm remove-temp-dir && cross-env PNPM_REGISTRY_MOCK_UPLINK=http://localhost:7348 pnpm --filter=...[origin/main] run --no-sort _test",
"verdaccio": "verdaccio --config=./verdaccio.yaml --listen=7348",
"compile-only": "pnpm --workspace-concurrency=1 --filter=pnpm --filter=@pnpm/make-dedicated-lockfile --filter=@pnpm/mount-modules run compile",
Expand Down Expand Up @@ -44,13 +44,13 @@
"@types/jest": "^29.5.3",
"@types/node": "^14.18.53",
"c8": "^7.14.0",
"concurrently": "8.2.0",
"cross-env": "^7.0.3",
"eslint": "^8.44.0",
"husky": "^8.0.3",
"jest": "^29.6.1",
"keyv": "4.5.2",
"lcov-result-merger": "^3.3.0",
"npm-run-all": "^4.1.5",
"publish-packed": "^4.1.1",
"rimraf": "^3.0.2",
"shx": "^0.3.4",
Expand Down
5 changes: 2 additions & 3 deletions pkg-manager/headless/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"@types/ramda": "0.28.20",
"@types/rimraf": "^3.0.2",
"@types/sinon": "^10.0.15",
"concurrently": "8.2.0",
"isexe": "2.0.0",
"load-json-file": "^6.2.0",
"npm-run-all": "^4.1.5",
"sinon": "^15.2.0",
"tempy": "^1.0.1",
"write-json-file": "^4.3.0"
Expand All @@ -54,12 +54,11 @@
"scripts": {
"start": "tsc --watch",
"lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
"registry-mock": "registry-mock",
"_test": "cross-env PNPM_REGISTRY_MOCK_PORT=7773 jest",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"runPrepareFixtures": "node ../../pnpm/bin/pnpm.cjs i -r -C test/fixtures --no-shared-workspace-lockfile --no-link-workspace-packages --lockfile-only --registry http://localhost:4873/ --ignore-scripts --force --no-strict-peer-dependencies",
"prepareFixtures": "registry-mock prepare && run-p -r registry-mock runPrepareFixtures",
"prepareFixtures": "registry-mock prepare && concurrently --success=first --kill-others registry-mock \"pnpm run runPrepareFixtures\"",
"compile": "tsc --build && pnpm run lint --fix"
},
"dependencies": {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

109 changes: 29 additions & 80 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3c6144b

Please sign in to comment.