Skip to content

Commit

Permalink
feat(chore): migrate to use npm workspaces (#1684)
Browse files Browse the repository at this point in the history
* chore: migrate to use npm workspaces

MIGRATION CHANGE:
migration-20211003143854- no changes - just folder switch
migration-20210318100600- no changes - just folder switch
migration-20220607063927- no changes - just folder switch
migration-20220804102718-  no changes - just folder switch
migration-20220906105133-  no changes - just folder switch

GH-1673

* fix(sandbox): fix lint issues in sandbox

prettier fix

MIGRATION CHANGE:
migration-20221122072057- fix lint issues in sandbox
migration-20221123082705- prettier fix
migration-20220620093215- prettier:fix

BREAKING CHANGE:
lerna bootstrap command will not be supported

GH-1673

* fix(sandbox): fix sandbox lint issues

fix sandbox lint issues

MIGRATION CHANGE:
migration-20221122072057- prettier fix

BREAKING CHANGE:
lerna bootstrap will not be supported

GH-1673

* fix(sandbox): fix sonar code smell

fix sonar code smell

MIGRATION CHANGE:
migration-20221123082900- fix prettier issu

BREAKING CHANGE:
lerna bootstrap command will not be supported

GH-1673

* chore(deps): loopback and sourceloop version updates

loopback and sourceloop version updates

MIGRATION CHANGE:
migration-20211003143854- added folder

BREAKING CHANGE:
lerna bootstrap will not be supported

GH-1673

* fix(sandbox): fix code smells

fix code smells

GH-1673

* fix(all-services): fix merge conflicts

fix merge conflicts

BREAKING CHANGE:
lerna bootstrap command will not be supported

GH-1673

* chore(all-services): remove support of node 16

remove support of node 16 in packages ,services and sandbox

GH-1673

* fix(sandbox): fix lint issues

fix lint issues

GH-1673

---------

Co-authored-by: Shubham P <shubham.prajapat@sourcefuse.com>
  • Loading branch information
Surbhi-sharma1 and shubhamp-sf authored Nov 2, 2023
1 parent 711a433 commit 72d8f6e
Show file tree
Hide file tree
Showing 768 changed files with 41,084 additions and 709,521 deletions.
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

0 comments on commit 72d8f6e

Please sign in to comment.