Skip to content

Commit ded7653

Browse files
committed
build: replace pnpm -s shorthand with --silent for improved readability
Trying to fix the release
1 parent fa9fc6e commit ded7653

7 files changed

Lines changed: 11 additions & 11 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
@@ -26,7 +26,7 @@ jobs:
2626
- name: Install node modules
2727
run: pnpm install --frozen-lockfile
2828
- id: workflows
29-
run: echo "workflows=$(pnpm -s ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT"
29+
run: echo "workflows=$(pnpm --silent ng-dev perf workflows --list)" >> "$GITHUB_OUTPUT"
3030

3131
workflow:
3232
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
"admin": "node --no-warnings=ExperimentalWarning --experimental-transform-types ./scripts/devkit-admin.mts",
1515
"bazel": "bazelisk",
1616
"test": "bazel test //packages/...",
17-
"build": "pnpm -s admin build",
17+
"build": "pnpm --silent admin build",
1818
"build-schema": "bazel build //... --build_tag_filters schema --symlink_prefix dist-schema/",
1919
"lint": "eslint --cache --max-warnings=0",
20-
"templates": "pnpm -s admin templates",
21-
"validate": "pnpm -s admin validate",
20+
"templates": "pnpm --silent admin templates",
21+
"validate": "pnpm --silent admin validate",
2222
"postinstall": "husky",
2323
"ts-circular-deps": "ng-dev ts-circular-deps --config ./scripts/circular-deps-test.conf.mjs",
2424
"check-tooling-setup": "tsc --project .ng-dev/tsconfig.json",

scripts/build-packages-dist.mts

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

3535
/** Command that runs Bazel. */
36-
const bazelCmd = process.env.BAZEL || `pnpm -s bazel`;
36+
const bazelCmd = process.env.BAZEL || `pnpm --silent bazel`;
3737

3838
/** Command that queries Bazel for all release package targets. */
3939
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)