Skip to content
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

feat: update yarn version #141

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/create_release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
echo FIREBASE_CONFIG=${{ secrets.FIREBASE_CONFIG }} >> .env.production
echo ID_SERVICE_URL=${{ secrets.ID_SERVICE_URL }} >> .env.production
- name: Install dependencies
run: yarn setup
run: |
yarn install
yarn allow-scripts
- name: Build library
run: yarn build
- name: Setup sentry-cli
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/crowdin_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: crowdin action
uses: crowdin/[email protected]
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/e2e_testing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ jobs:
echo FIREBASE_CONFIG=${{ secrets.FIREBASE_CONFIG }} >> .env.production
echo ID_SERVICE_URL=${{ secrets.ID_SERVICE_URL }} >> .env.production
- name: Install dependencies
run: yarn setup
run: |
yarn install
yarn allow-scripts
- name: Build library
run: yarn build:alpha
- name: Remove large extension files
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/main_branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ jobs:
echo FIREBASE_CONFIG=${{ secrets.FIREBASE_CONFIG }} >> .env.production
echo ID_SERVICE_URL=${{ secrets.ID_SERVICE_URL }} >> .env.production
- name: Install dependencies
run: yarn setup
run: |
yarn install
yarn allow-scripts
- name: Run tests
run: yarn test
- name: Build library
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/pr-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
environment: alpha
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Create env file
Expand All @@ -22,7 +22,9 @@ jobs:
echo PROXY_URL=${{ secrets.PROXY_URL }} >> .env.production
echo CORE_EXTENSION_LANDING_URL=${{ secrets.CORE_EXTENSION_LANDING_URL }} >> .env.production
- name: Install dependencies
run: yarn setup
run: |
yarn install
yarn allow-scripts
- name: Lint
run: yarn lint
- name: Typecheck
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,16 @@ typings/
.npm
.npmrc

# yarn directories
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions


# IDE files
.idea
.idea/*
Expand Down
934 changes: 934 additions & 0 deletions .yarn/releases/yarn-4.6.0.cjs

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion .yarnrc

This file was deleted.

7 changes: 7 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
nodeLinker: node-modules

# https://yarnpkg.com/migration/guide#update-your-configuration-to-the-new-settings
# ignore-scripts true -> enableScripts: false
enableScripts: false

yarnPath: .yarn/releases/yarn-4.6.0.cjs
17 changes: 10 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"@avalabs/core-wallets-sdk": "3.1.0-alpha.37",
"@avalabs/evm-module": "1.4.3",
"@avalabs/glacier-sdk": "3.1.0-alpha.37",
"@avalabs/hw-app-avalanche": "0.14.1",
"@avalabs/hvm-module": "1.4.3",
"@avalabs/hw-app-avalanche": "0.14.1",
"@avalabs/types": "3.1.0-alpha.37",
"@avalabs/vm-module-types": "1.4.3",
"@blockaid/client": "0.10.0",
Expand Down Expand Up @@ -201,12 +201,12 @@
},
"resolutions": {
"big.js": "6.1.1",
"glob-parent": "5.1.2",
"minimatch": "3.0.5",
"nth-check": "2.0.1",
"@types/react": "17.0.38",
"@types/react-dom": "17.0.11",
"json5": "2.2.2",
"react-scripts/@svgr/webpack/@svgr/plugin-svgo/svgo/css-select/nth-check": "2.0.1",
"react-scripts/react-dev-utils/recursive-readdir/minimatch": "3.0.5",
"i18next-scanner/vinyl-fs/glob-stream/glob-parent": "5.1.2",
"got": "11.8.5",
"@ledgerhq/hw-app-eth": "6.36.1",
"@ledgerhq/hw-transport": "6.30.6",
Expand All @@ -225,7 +225,7 @@
},
"volta": {
"node": "20.11.0",
"yarn": "1.22.19"
"yarn": "4.6.0"
},
"lavamoat": {
"allowScripts": {
Expand Down Expand Up @@ -272,8 +272,11 @@
"@avalabs/core-bridge-sdk>@avalabs/core-wallets-sdk>@metamask/eth-sig-util>@metamask/utils>@ethereumjs/tx>@ethereumjs/common>ethereumjs-util>ethereum-cryptography>keccak": false,
"@avalabs/avalanche-module>@avalabs/vm-module-types>hypersdk-client>@metamask/sdk>@metamask/sdk-communication-layer>bufferutil": false,
"@avalabs/avalanche-module>@avalabs/vm-module-types>hypersdk-client>@metamask/sdk>@metamask/sdk-communication-layer>utf-8-validate": false,
"@avalabs/avalanche-module>@avalabs/vm-module-types>hypersdk-client>@metamask/sdk>eciesjs>secp256k1": false
"@avalabs/avalanche-module>@avalabs/vm-module-types>hypersdk-client>@metamask/sdk>eciesjs>secp256k1": false,
"@metamask/eth-sig-util>ethereumjs-abi>ethereumjs-util>ethereum-cryptography>keccak": false,
"@metamask/eth-sig-util>ethereumjs-util>ethereum-cryptography>keccak": false,
"eth-json-rpc-middleware>eth-sig-util>ethereumjs-abi>ethereumjs-util>ethereum-cryptography>keccak": false
}
},
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447"
"packageManager": "yarn@4.6.0+sha512.5383cc12567a95f1d668fbe762dfe0075c595b4bfff433be478dbbe24e05251a8e8c3eb992a986667c1d53b6c3a9c85b8398c35a960587fbd9fa3a0915406728"
}
Loading
Loading