Skip to content

Commit

Permalink
drop lerna in favour of npm workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
kb-kerem committed May 17, 2024
1 parent b058188 commit b1cc9f3
Show file tree
Hide file tree
Showing 5 changed files with 551 additions and 3,072 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/js-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
run: |
corepack enable
yarn install
npx lerna run lint
npx lerna run build
npx lerna run test
npm run lint --workspaces --if-present
npm run build --workspaces --if-present
npm run test --workspaces --if-present
env:
SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/js-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: |
corepack enable
yarn install
npx lerna run build
npm run build --workspaces --if-present
- name: upgrade & publish version(s)
## TODO version and publish commands need to be adjusted when we're confident with the pipeline
run: |
Expand Down
5 changes: 0 additions & 5 deletions visual-js/lerna.json

This file was deleted.

3 changes: 1 addition & 2 deletions visual-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
"visual-nightwatch"
],
"devDependencies": {
"husky": "8.0.0",
"lerna": "^8.1.2"
"husky": "8.0.0"
},
"scripts": {
"prepare": "cd ../.. && husky install clients/js/.husky"
Expand Down
Loading

0 comments on commit b1cc9f3

Please sign in to comment.