Skip to content

Commit 843ac77

Browse files
committed
chore: yarn 4
1 parent e93d142 commit 843ac77

File tree

7 files changed

+13679
-9055
lines changed

7 files changed

+13679
-9055
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ gha-creds-*.json
3232
# macOS
3333
.DS_Store
3434
gitops-server.dockerfile
35+
36+
.pnp.*
37+
.yarn/*
38+
!.yarn/patches
39+
!.yarn/plugins
40+
!.yarn/releases
41+
!.yarn/sdks
42+
!.yarn/versions

.yarn/releases/yarn-4.5.3.cjs

Lines changed: 934 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
yarnPath: .yarn/releases/yarn-4.5.3.cjs

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ ui: node_modules $(shell find ui -type f) ## Build the UI
169169

170170
node_modules: ## Install node modules
171171
rm -rf .parcel-cache
172-
yarn config set network-timeout 600000 && yarn --frozen-lockfile
172+
yarn --immutable --network-timeout 600000
173173

174174
ui-lint: ## Run linter against the UI
175175
yarn lint
@@ -188,7 +188,7 @@ ui-test: ## Run UI tests
188188
yarn test
189189

190190
ui-audit: ## Run audit against the UI
191-
yarn audit --production
191+
yarn npm audit --environment production
192192

193193
ui-audit-fix: ## Fix UI audit errors
194194
yarn yarn-audit-fix

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,6 @@
139139
},
140140
"engines": {
141141
"node": ">=18.0"
142-
}
142+
},
143+
"packageManager": "yarn@4.5.3"
143144
}

test/library/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -x
44

55
git clone https://github.com/weaveworks-gitops-test/wego-library-test.git test/library/wego-library-test
66
cd test/library/wego-library-test
7-
yarn install --frozen-lockfile
7+
yarn install --immutable
88
yarn build
99
go mod tidy
1010
go build main.go

yarn.lock

Lines changed: 12731 additions & 9051 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)