Skip to content

Commit b1cc9f3

Browse files
committed
drop lerna in favour of npm workspaces
1 parent b058188 commit b1cc9f3

File tree

5 files changed

+551
-3072
lines changed

5 files changed

+551
-3072
lines changed

Diff for: .github/workflows/js-build.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
run: |
2828
corepack enable
2929
yarn install
30-
npx lerna run lint
31-
npx lerna run build
32-
npx lerna run test
30+
npm run lint --workspaces --if-present
31+
npm run build --workspaces --if-present
32+
npm run test --workspaces --if-present
3333
env:
3434
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
3535
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}

Diff for: .github/workflows/js-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
run: |
2626
corepack enable
2727
yarn install
28-
npx lerna run build
28+
npm run build --workspaces --if-present
2929
- name: upgrade & publish version(s)
3030
## TODO version and publish commands need to be adjusted when we're confident with the pipeline
3131
run: |

Diff for: visual-js/lerna.json

-5
This file was deleted.

Diff for: visual-js/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"visual-nightwatch"
1010
],
1111
"devDependencies": {
12-
"husky": "8.0.0",
13-
"lerna": "^8.1.2"
12+
"husky": "8.0.0"
1413
},
1514
"scripts": {
1615
"prepare": "cd ../.. && husky install clients/js/.husky"

0 commit comments

Comments
 (0)