Skip to content

Commit

Permalink
Bump to yarn4
Browse files Browse the repository at this point in the history
  • Loading branch information
ivangonzalezacuna committed Sep 24, 2024
1 parent 680ffa9 commit 826acba
Show file tree
Hide file tree
Showing 6 changed files with 24,987 additions and 19,018 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ jobs:
- run: yarn ci
env:
CI: true
# TODO: Migrate to yarn-3 and use `yarn dedupe`, which is the suggested alternative
# - run: yarn backstage-cli versions:check
- run: yarn dedupe
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,13 @@ site
*.local.yaml

# Sensitive credentials
*-credentials.yaml
*-credentials.yaml

# Yarn files
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
925 changes: 925 additions & 0 deletions .yarn/releases/yarn-4.4.1.cjs

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
compressionLevel: mixed
enableGlobalCache: true
httpTimeout: 300000
nodeLinker: node-modules
npmRegistryServer: "https://registry.npmjs.org/"
yarnPath: .yarn/releases/yarn-4.4.1.cjs
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"ci": "yarn install && tsc && yarn build:all && backstage-cli test --no-watch && yarn lint",
"start:frontend": "yarn workspace @spreadshirt/backstage-plugin-s3-viewer start",
"start:backend": "yarn workspace @spreadshirt/backstage-plugin-s3-viewer-backend start",
"start": "concurrently \"yarn start:backend\" \"yarn start:frontend\"",
"start": "yarn workspaces foreach -A --include backend --include app --parallel -v -i run start",
"release": "changeset version && yarn prettier --write 'plugins/*/{package.json,CHANGELOG.md}' '.changeset/*.json' && yarn install --no-immutable",
"publish-release": "changeset publish",
"prettier:check": "prettier --check .",
Expand All @@ -40,7 +40,6 @@
"@changesets/cli": "^2.24.4",
"@spotify/prettier-config": "^12.0.0",
"@types/react": "^18.0.2",
"concurrently": "^8.0.0",
"jest-junit": "^13.0.0",
"prettier": "^2.3.2",
"react": "^18.0.2",
Expand All @@ -56,5 +55,6 @@
"*.{json,md}": [
"prettier --write"
]
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 826acba

Please sign in to comment.