Skip to content

Commit bc5c668

Browse files
joshuarliandrewshie-sentry
authored andcommitted
js: misc yarn cleanup (#93474)
1 parent 0998e06 commit bc5c668

File tree

6 files changed

+6
-10
lines changed

6 files changed

+6
-10
lines changed

.github/actions/setup-sentry/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ inputs:
1717
default: 'default'
1818

1919
outputs:
20-
yarn-cache-dir:
21-
description: 'Path to yarn cache'
22-
value: ${{ steps.config.outputs.yarn-cache-dir }}
2320
matrix-instance-number:
2421
description: 'The matrix instance number (starting at 1)'
2522
value: ${{ steps.config.outputs.matrix-instance-number }}
@@ -94,7 +91,6 @@ runs:
9491
MATRIX_INSTANCE: ${{ matrix.instance }}
9592
shell: bash --noprofile --norc -eo pipefail -ux {0}
9693
run: |
97-
echo "yarn-cache-dir=$(yarn cache dir)" >> "$GITHUB_OUTPUT"
9894
echo "matrix-instance-number=$(($MATRIX_INSTANCE+1))" >> "$GITHUB_OUTPUT"
9995
echo "matrix-instance-total=$((${MATRIX_INSTANCE_TOTAL:-}))" >> "$GITHUB_OUTPUT"
10096

Brewfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ brew 'qemu'
99
brew 'docker'
1010
brew 'docker-buildx'
1111

12-
# required for yarn test -u
12+
# required for pnpm test -u
1313
brew 'watchman'
1414

1515
# direnv isn't defined here, because we have it configured to check for a bootstrapped environment.

rspack.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -457,7 +457,7 @@ const appConfig: Configuration = {
457457
stream: false,
458458
// Node crypto is imported in @sentry-internal/global-search but not used here
459459
crypto: false,
460-
// `yarn why` says this is only needed in dev deps
460+
// `pnpm why` says this is only needed in dev deps
461461
string_decoder: false,
462462
// For framer motion v6, might be able to remove on v11
463463
'process/browser': require.resolve('process/browser'),
@@ -653,7 +653,7 @@ if (IS_UI_DEV_ONLY) {
653653
return slug;
654654
};
655655

656-
// Try and load certificates from mkcert if available. Use $ yarn mkcert-localhost
656+
// Try and load certificates from mkcert if available. Use $ pnpm mkcert-localhost
657657
const certPath = path.join(__dirname, 'config');
658658
const httpsOptions = fs.existsSync(path.join(certPath, 'localhost.pem'))
659659
? {

src/sentry/charts/chartcuterie.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def generate_chart(self, style: ChartType, data: Any, size: ChartSize | None = N
8080

8181
if resp.status_code == 503 and settings.DEBUG:
8282
logger.info(
83-
"You may need to build the chartcuterie config using `yarn build-chartcuterie-config`"
83+
"You may need to build the chartcuterie config using `pnpm build-chartcuterie-config`"
8484
)
8585

8686
if resp.status_code != 200:

static/app/utils/profiling/profile/profile.benchmark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Benchmarks allow us to make changes and evaluate performance before the code gets shipped to production.
22
// They can be used to make performance improvements or to test impact of newly added functionality.
33

4-
// Run with: yarn run ts-node --project ./config/tsconfig.benchmark.json -r tsconfig-paths/register static/app/utils/profiling/profile/profile.benchmark.ts
4+
// Run with: pnpm run ts-node --project ./config/tsconfig.benchmark.json -r tsconfig-paths/register static/app/utils/profiling/profile/profile.benchmark.ts
55

66
// @ts-expect-error TS(7016): Could not find a declaration file for module 'benc... Remove this comment to see the full error message
77
import benchmarkjs from 'benchmark';

static/app/utils/profiling/renderers/flamegraphTextRenderer.benchmark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Benchmarks allow us to make changes and evaluate performance before the code gets shipped to production.
22
// They can be used to make performance improvements or to test impact of newly added functionality.
3-
// Run with: yarn run ts-node --project ./config/tsconfig.benchmark.json -r tsconfig-paths/register static/app/utils/profiling/renderers/textRenderer.benchmark.ts
3+
// Run with: pnpm run ts-node --project ./config/tsconfig.benchmark.json -r tsconfig-paths/register static/app/utils/profiling/renderers/textRenderer.benchmark.ts
44
// @ts-expect-error TS(7016): Could not find a declaration file for module 'benc... Remove this comment to see the full error message
55
import benchmarkjs from 'benchmark';
66
import maxBy from 'lodash/maxBy';

0 commit comments

Comments
 (0)