Skip to content

Commit 605d888

Browse files
lerna repair (#3278)
1 parent 42ae916 commit 605d888

File tree

1,498 files changed

+421399
-98824
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,498 files changed

+421399
-98824
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ jobs:
101101
- name: Create matrix
102102
id: set-matrix
103103
run: |
104-
npm install lerna@6 -g
105104
matrix="$(node checkChangedWorkspaces.js)"
106105
echo "matrix=$matrix" >> $GITHUB_OUTPUT
107106
@@ -149,7 +148,8 @@ jobs:
149148
NODE_OPTIONS: "--max_old_space_size=4096"
150149
run: |
151150
echo "Yarn changed - install deps ... "
152-
yarn install
151+
npm i lerna@6 -g
152+
lerna bootstrap
153153
154154
- name: Check disk space after install
155155
run: |
@@ -202,13 +202,15 @@ jobs:
202202
NODE_OPTIONS: "--max_old_space_size=4096"
203203
run: |
204204
echo "Yarn changed - install deps ... "
205-
yarn install
205+
npm i lerna@6 -g
206+
lerna bootstrap
206207
207208
- name: Install sample deps
208209
# TODO Uncomment when yarn will work properly from the root and install all nessessary deps. Also please, add yarn install to the run section below instead of npx lerna exec
209210
# if: steps.yarn-cache.outputs.cache-hit != 'true'
210211
run: |
211-
lerna exec --stream --scope="${{ matrix.container }}*" --concurrency=1 "yarn install"
212+
# npx lerna exec --stream --scope="${{ matrix.container }}*" --concurrency=1 "yarn install"
213+
echo 'test'
212214
213215
- name: Check disk space after install
214216
run: |
@@ -222,9 +224,7 @@ jobs:
222224
- name: Run sample e2e tests
223225
run: |
224226
node -v
225-
yarn add lerna@6 -W
226-
yarn add lerna@6 -g
227-
lerna run --scope=${{ matrix.container }} e2e:ci
227+
npx lerna run --scope=${{ matrix.container }} e2e:ci
228228
229229
- name: Create artifacts for Allure report
230230
uses: actions/upload-artifact@v3

.github/workflows/on-push.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ jobs:
7272
NODE_OPTIONS: "--max_old_space_size=4096"
7373
run: |
7474
echo "Yarn changed - install deps ... "
75-
yarn install --frozen-lockfile
75+
npm i lerna@6 -g
76+
lerna bootstrap

advanced-api/automatic-vendor-sharing/app1/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "automatic-vendor-sharing_app1",
33
"version": "0.0.0",
4-
"private": true,
54
"devDependencies": {
65
"@babel/core": "7.21.4",
76
"@babel/preset-react": "7.18.6",

advanced-api/automatic-vendor-sharing/app1/yarn.lock

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

advanced-api/automatic-vendor-sharing/app2/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "automatic-vendor-sharing_app2",
33
"version": "0.0.0",
4-
"private": true,
54
"devDependencies": {
65
"@babel/core": "7.21.4",
76
"@babel/preset-react": "7.18.6",

advanced-api/automatic-vendor-sharing/app2/yarn.lock

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

advanced-api/automatic-vendor-sharing/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"name": "automatic-vendor-sharing",
3-
"private": true,
43
"workspaces": [
54
"./app1",
65
"./app2"
@@ -14,7 +13,6 @@
1413
"e2e:ci": "yarn start & wait-on http-get://localhost:3001/ && npx cypress run --config-file ../../cypress/config/cypress.config.ts --config '{\"supportFile\": \"../../cypress/support/e2e.ts\"}' --spec \"./e2e/*.cy.ts\" --browser=chrome"
1514
},
1615
"devDependencies": {
17-
"lerna": "3.22.1",
1816
"wait-on": "7.0.1"
1917
}
2018
}

0 commit comments

Comments
 (0)