Skip to content

Commit

Permalink
build: upgrade to Yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
turadg committed Nov 7, 2023
1 parent fdbd756 commit 81656a1
Show file tree
Hide file tree
Showing 23 changed files with 10,576 additions and 7,100 deletions.
12 changes: 9 additions & 3 deletions makeDockerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ COPY --link --chmod=755 ./proposals/${proposalIdentifier}:${proposalName} /usr/s
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
&& test -n "yarn.lock" && yarn install --immutable
COPY --link --chmod=755 ./upgrade-test-scripts/run_eval.sh /usr/src/upgrade-test-scripts/run_eval.sh
WORKDIR /usr/src/upgrade-test-scripts
Expand Down Expand Up @@ -126,9 +128,11 @@ COPY --link ./upgrade-test-scripts/lib /usr/src/upgrade-test-scripts/lib
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
&& test -n "yarn.lock" && yarn install --immutable
COPY --link --chmod=755 ./upgrade-test-scripts/run_use.sh /usr/src/upgrade-test-scripts/run_use.sh
WORKDIR /usr/src/upgrade-test-scripts
Expand All @@ -152,9 +156,11 @@ FROM use-${proposalName} as test-${proposalName}
# install using global cache
RUN --mount=type=cache,target=/root/.yarn \
cd /usr/src/upgrade-test-scripts/lib/ \
&& corepack enable \
&& yarn --version \
&& yarn install \
&& cd /usr/src/proposals/${proposalIdentifier}:${proposalName} \
&& test -n "yarn.lock" && yarn install --frozen-lockfile --production
&& test -n "yarn.lock" && yarn install --immutable
COPY --link --chmod=755 ./upgrade-test-scripts/run_test.sh /usr/src/upgrade-test-scripts/run_test.sh
WORKDIR /usr/src/upgrade-test-scripts
Expand Down
Binary file added proposals/34:upgrade-10/.yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions proposals/34:upgrade-10/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions proposals/34:upgrade-10/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"type": "module",
"license": "Apache-2.0",
"devDependencies": {},
"dependencies": {
"ava": "^5.3.1",
"better-sqlite3": "^8.5.1",
"execa": "^7.2.0"
},
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops"
}
},
"packageManager": "[email protected]"
}
3,679 changes: 2,256 additions & 1,423 deletions proposals/34:upgrade-10/yarn.lock

Large diffs are not rendered by default.

Binary file added proposals/43:upgrade-11/.yarn/install-state.gz
Binary file not shown.
1 change: 1 addition & 0 deletions proposals/43:upgrade-11/.yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions proposals/43:upgrade-11/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"type": "module",
"license": "Apache-2.0",
"devDependencies": {},
"dependencies": {
"ava": "^5.3.1",
"better-sqlite3": "^8.5.1",
"execa": "^7.2.0"
},
"scripts": {
"agops": "yarn --cwd /usr/src/agoric-sdk/ --silent agops"
}
},
"packageManager": "[email protected]"
}
Loading

0 comments on commit 81656a1

Please sign in to comment.