Skip to content

build: Update yarn to version 4 with node-modules linker mode #16744

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 6 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ node_modules/
packages/*/package-lock.json
dev-packages/*/package-lock.json
package-lock.json
.yarn

# build and test
# SDK builds
Expand Down
8 changes: 8 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Yarn 4 configuration
nodeLinker: node-modules

# Enable global cache for better performance
enableGlobalCache: true

# Use network settings from environment
httpTimeout: 60000
9 changes: 6 additions & 3 deletions dev-packages/browser-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"scripts": {
"clean": "rimraf -g suites/**/dist loader-suites/**/dist tmp",
"install-browsers": "[[ -z \"$SKIP_PLAYWRIGHT_BROWSER_INSTALL\" ]] && npx playwright install --with-deps || echo 'Skipping browser installation'",
"lint": "eslint . --format stylish",
"fix": "eslint . --format stylish --fix",
"lint": "yarn g:eslint . --format stylish",
"fix": "yarn g:eslint . --format stylish --fix",
"type-check": "tsc",
"postinstall": "yarn install-browsers",
"pretest": "yarn clean && yarn type-check",
Expand Down Expand Up @@ -39,6 +39,7 @@
"test:detect-flaky": "ts-node scripts/detectFlakyTests.ts"
},
"dependencies": {
"@babel/core": "^7.27.4",
"@babel/preset-typescript": "^7.16.7",
"@playwright/test": "~1.50.0",
"@sentry-internal/rrweb": "2.34.0",
Expand All @@ -53,7 +54,9 @@
"devDependencies": {
"@types/glob": "8.0.0",
"@types/node": "^18.19.1",
"glob": "8.0.3"
"glob": "8.0.3",
"ts-node": "10.9.1",
"typescript": "~5.0.0"
},
"volta": {
"extends": "../../package.json"
Expand Down
4 changes: 2 additions & 2 deletions dev-packages/clear-cache-gh-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"main": "index.mjs",
"type": "module",
"scripts": {
"lint": "eslint . --format stylish",
"fix": "eslint . --format stylish --fix"
"lint": "yarn g:eslint . --format stylish",
"fix": "yarn g:eslint . --format stylish --fix"
},
"dependencies": {
"@actions/core": "1.10.1",
Expand Down
9 changes: 5 additions & 4 deletions dev-packages/e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
"license": "MIT",
"private": true,
"scripts": {
"fix": "eslint . --format stylish --fix",
"lint": "eslint . --format stylish",
"fix": "yarn g:eslint . --format stylish --fix",
"lint": "yarn g:eslint . --format stylish",
"lint:ts": "tsc --noEmit",
"test:e2e": "run-s test:validate-configuration test:validate-test-app-setups test:run",
"test:e2e": "yarn test:validate-configuration && yarn test:validate-test-app-setups && yarn test:run",
"test:run": "ts-node run.ts",
"test:validate-configuration": "ts-node validate-verdaccio-configuration.ts",
"test:validate-test-app-setups": "ts-node validate-test-app-setups.ts",
"test:prepare": "ts-node prepare.ts",
"test:validate": "run-s test:validate-configuration test:validate-test-app-setups",
"test:validate": "yarn test:validate-configuration && yarn test:validate-test-app-setups",
"clean": "rimraf tmp node_modules && yarn clean:test-applications && yarn clean:pnpm",
"ci:build-matrix": "ts-node ./lib/getTestMatrix.ts",
"ci:build-matrix-optional": "ts-node ./lib/getTestMatrix.ts --optional=true",
Expand All @@ -27,6 +27,7 @@
"glob": "8.0.3",
"rimraf": "^5.0.10",
"ts-node": "10.9.1",
"typescript": "~5.0.0",
"yaml": "2.2.2"
},
"volta": {
Expand Down
4 changes: 2 additions & 2 deletions dev-packages/external-contributor-gh-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"main": "index.mjs",
"type": "module",
"scripts": {
"lint": "eslint . --format stylish",
"fix": "eslint . --format stylish --fix"
"lint": "yarn g:eslint . --format stylish",
"fix": "yarn g:eslint . --format stylish --fix"
},
"dependencies": {
"@actions/core": "1.10.1"
Expand Down
15 changes: 9 additions & 6 deletions dev-packages/node-integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@
"module": "build/esm/index.js",
"types": "build/types/src/index.d.ts",
"scripts": {
"build": "run-s build:transpile build:types",
"build": "yarn build:transpile && yarn build:types",
"build:dev": "yarn build",
"build:transpile": "rollup -c rollup.npm.config.mjs",
"build:transpile": "yarn g:rollup -c rollup.npm.config.mjs",
"build:types": "tsc -p tsconfig.types.json",
"clean": "rimraf -g **/node_modules && run-p clean:script",
"clean": "rimraf -g **/node_modules && yarn clean:script",
"clean:script": "node scripts/clean.js",
"express-v5-install": "cd suites/express-v5 && yarn --no-lockfile",
"lint": "eslint . --format stylish",
"fix": "eslint . --format stylish --fix",
"lint": "yarn g:eslint . --format stylish",
"fix": "yarn g:eslint . --format stylish --fix",
"type-check": "tsc",
"pretest": "yarn express-v5-install",
"test": "vitest run",
Expand Down Expand Up @@ -73,7 +73,10 @@
"@types/amqplib": "^0.10.5",
"@types/node-cron": "^3.0.11",
"@types/node-schedule": "^2.1.7",
"globby": "11"
"file-type": "^20.4.1",
"globby": "11",
"react": "^18.0.0",
"zod": "^3.24.1"
},
"config": {
"mongodbMemoryServer": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"generate": "prisma generate",
"migrate": "prisma migrate dev -n sentry-test",
"setup": "run-s --silent generate migrate"
"setup": "yarn generate && yarn migrate"
},
"keywords": [],
"author": "",
Expand Down
Loading
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy