Skip to content

Migrate from lerna to npm workspaces#720

Merged
egekorkan merged 3 commits into
eclipse-thingweb:masterfrom
bobur-khay:dependency/migrate-from-lerna
May 27, 2026
Merged

Migrate from lerna to npm workspaces#720
egekorkan merged 3 commits into
eclipse-thingweb:masterfrom
bobur-khay:dependency/migrate-from-lerna

Conversation

@bobur-khay
Copy link
Copy Markdown
Contributor

@bobur-khay bobur-khay commented May 27, 2026

resolves #379

This repo uses Lerna v5 (CI pins v6.6.2) purely as a lightweight bootstrap/task-runner, no advanced features like lerna publish, lerna version, lerna changed, or lerna diff are used anywhere. The only two Lerna commands in the entire codebase are:

Lerna command npm workspaces equivalent
lerna bootstrap npm install (automatic with workspaces)
lerna run --ignore @thing-description-playground/web test npm test --workspaces --if-present + exclude web from workspaces, or npm test -w packages/core -w packages/assertions -w packages/cli -w packages/defaults

Lerna is pure overhead here, it adds a global install step to CI, an extra config file, and a dependency, all to do what npm workspaces does natively since npm 7+ (Node 16+).

@netlify
Copy link
Copy Markdown

netlify Bot commented May 27, 2026

Deploy Preview for thingweb-playground ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 1c9911e
🔍 Latest deploy log https://app.netlify.com/projects/thingweb-playground/deploys/6a16b10b0ad4990008176f50
😎 Deploy Preview https://deploy-preview-720--thingweb-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 24 (no change from production)
Accessibility: 79 (no change from production)
Best Practices: 100 (no change from production)
SEO: 80 (no change from production)
PWA: 70 (no change from production)
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@egekorkan egekorkan merged commit 6c0e501 into eclipse-thingweb:master May 27, 2026
12 checks passed
@bobur-khay bobur-khay mentioned this pull request May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reevaluating npm workspaces

2 participants