Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(chore): migrate to use npm workspaces #1684

Merged
merged 9 commits into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
run: npm ci

- name: Bootstrap Monorepo
run: npx lerna bootstrap
run: npm ci

- name: Run Test Cases
run: npx lerna run test
run: npm run test --workspaces --if-present

- name: Run Lint Checks
run: npx lerna run lint
run: npm run lint --workspaces --if-present
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
. "$(dirname "$0")/_/husky.sh"

npx lerna run test
npx lerna run lint
40 changes: 1 addition & 39 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,43 +10,6 @@
"sandbox/**"
],
"command": {
"bootstrap": {
"concurrency": 1,
"ignore": [
"@sourceloop/audit-ms-example",
"@sourceloop/auth-ms-basic-example",
"@sourceloop/auth-multitenant-example",
"@sourceloop/in-mail-example",
"@sourceloop/schedular-example",
"@sourceloop/notification-socket-example",
"@sourceloop/video-conferencing-ms-example",
"@sourceloop/workflow-ms-example",
"@sourceloop/pubnub-example",
"@sourceloop/chat-notif-example_facade",
"@sourceloop/chat-notif-example_ui",
"@sourceloop/chat-notif-example_chat-service",
"@sourceloop/chat-notif-example_notif-service",
"@sourceloop/search-ms-example",
"@sourceloop/search-client-example",
"@sourceloop/feature-toggle-example",
"@sourceloop/payment-example-backend",
"@sourceloop/payment-example-frontend",
"@sourceloop/user-onboarding-example",
"@sourceloop/cache-example",
"@sourceloop/user-tenant-example",
"@sourceloop/chat-notif-example-facade-socket",
"@sourceloop/chat-notif-example-ui-socket",
"@sourceloop/chat-notif-example-chat-socket",
"@sourceloop/chat-notif-example-notif-socket",
"@sourceloop/example-socketio",
"@sourceloop/oauth-example-api",
"@sourceloop/oauth-example-ui",
"@sourceloop/oidc-basic-example",
"@sourceloop/nestjs-auth-ms-example",
"@sourceloop/task-service-example"
],
"npmClientArgs": ["--loglevel", "verbose", "--no-install-links"]
},
"version": {
"conventionalCommits": true,
"message": "chore: publish release",
Expand Down Expand Up @@ -118,6 +81,5 @@
"packages/core/locales/**"
],
"version": "independent",
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"useWorkspaces": false
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
Loading