Skip to content

Commit 8359fd2

Browse files
committed
build: replace pnpm -s shorthand with --silent for improved readability
Trying to fix the release (cherry picked from commit ded7653)
1 parent c376420 commit 8359fd2

7 files changed

Lines changed: 13 additions & 13 deletions

File tree

.bazelrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ test:saucelabs --define=KARMA_WEB_TEST_MODE=SL_REQUIRED
8383
# Releases should always be stamped with version control info
8484
# This command assumes node on the path and is a workaround for
8585
# https://github.com/bazelbuild/bazel/issues/4802
86-
build:release --workspace_status_command="pnpm -s ng-dev release build-env-stamp --mode=release"
86+
build:release --workspace_status_command="pnpm --silent ng-dev release build-env-stamp --mode=release"
8787
build:release --stamp
8888

89-
build:snapshot --workspace_status_command="pnpm -s ng-dev release build-env-stamp --mode=snapshot"
89+
build:snapshot --workspace_status_command="pnpm --silent ng-dev release build-env-stamp --mode=snapshot"
9090
build:snapshot --stamp
9191
build:snapshot --//:enable_snapshot_repo_deps
9292

93-
build:e2e --workspace_status_command="pnpm -s ng-dev release build-env-stamp --mode=release"
93+
build:e2e --workspace_status_command="pnpm --silent ng-dev release build-env-stamp --mode=release"
9494
build:e2e --stamp
9595
test:e2e --test_timeout=3600 --experimental_ui_max_stdouterr_bytes=2097152
9696

.github/workflows/perf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install node modules
2828
run: pnpm install --frozen-lockfile
2929
- id: workflows
30-
run: echo "workflows=$(pnpm -s ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT"
30+
run: echo "workflows=$(pnpm --silent ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT"
3131

3232
workflow:
3333
timeout-minutes: 30

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm -s ng-dev commit-message pre-commit-validate --file $1;
1+
pnpm --silent ng-dev commit-message pre-commit-validate --file $1;

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pnpm -s ng-dev format staged;
1+
pnpm --silent ng-dev format staged;

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@
1414
"admin": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only ./scripts/devkit-admin.mjs",
1515
"bazel": "bazelisk",
1616
"test": "bazel test //packages/...",
17-
"build": "pnpm -s admin build",
17+
"build": "pnpm --silent admin build",
1818
"lint": "eslint --cache --max-warnings=0 \"**/*.@(ts|mts|cts)\"",
19-
"templates": "pnpm -s admin templates",
20-
"validate": "pnpm -s admin validate",
21-
"postinstall": "pnpm -s webdriver-update && husky",
19+
"templates": "pnpm --silent admin templates",
20+
"validate": "pnpm --silent admin validate",
21+
"postinstall": "pnpm --silent webdriver-update && husky",
2222
"//webdriver-update-README": "ChromeDriver version must match Puppeteer Chromium version, see https://github.com/GoogleChrome/puppeteer/releases http://chromedriver.chromium.org/downloads",
2323
"webdriver-update": "webdriver-manager update --standalone false --gecko false --versions.chrome 106.0.5249.21",
2424
"public-api:check": "node goldens/public-api/manage.js test",
2525
"ng-dev": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only node_modules/@angular/ng-dev/bundles/cli.mjs",
2626
"public-api:update": "node goldens/public-api/manage.js accept",
27-
"ts-circular-deps": "pnpm -s ng-dev ts-circular-deps --config ./scripts/circular-deps-test.conf.mjs",
27+
"ts-circular-deps": "pnpm --silent ng-dev ts-circular-deps --config ./scripts/circular-deps-test.conf.mjs",
2828
"check-tooling-setup": "tsc --project .ng-dev/tsconfig.json",
2929
"diff-release-package": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only scripts/diff-release-package.mts"
3030
},

scripts/build-packages-dist.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const releaseTargetTag = 'release-package';
2525
const projectDir = join(import.meta.dirname, '../');
2626

2727
/** Command that runs Bazel. */
28-
const bazelCmd = process.env.BAZEL || `pnpm -s bazel`;
28+
const bazelCmd = process.env.BAZEL || `pnpm --silent bazel`;
2929

3030
/** Command that queries Bazel for all release package targets. */
3131
const queryPackagesCmd =

scripts/build.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { dirname, join, relative, resolve } from 'node:path';
1313

1414
const __dirname = import.meta.dirname;
1515
const baseDir = resolve(`${__dirname}/..`);
16-
const bazelCmd = process.env.BAZEL ?? `pnpm -s bazel`;
16+
const bazelCmd = process.env.BAZEL ?? `pnpm --silent bazel`;
1717
const distRoot = join(baseDir, '/dist');
1818

1919
type BuildMode = 'local' | 'snapshot' | 'release';

0 commit comments

Comments
 (0)