Skip to content

feat: extract @nadle/project package and refactor nadle core#540

Merged
nam-hle merged 2 commits intomainfrom
008-kernel-consumer-integration
Feb 23, 2026
Merged

feat: extract @nadle/project package and refactor nadle core#540
nam-hle merged 2 commits intomainfrom
008-kernel-consumer-integration

Conversation

@nam-hle
Copy link
Copy Markdown
Member

@nam-hle nam-hle commented Feb 23, 2026

Summary

  • Create @nadle/project (Layer 2) package with project discovery, workspace scanning, and dependency resolution extracted from packages/nadle/src/core/models/project/
  • Refactor nadle core to import from @nadle/project instead of internal model files
  • Remove lodash-es dependency from extracted code (replaced uniq with [...new Set()], sortBy with native .sort())
  • Add 28 unit tests for the new package
  • Update CI to build and test @nadle/project

Closes #538

Test plan

  • @nadle/project builds cleanly with tsc
  • All 28 @nadle/project tests pass
  • nadle core type-checks with tsc -b --noEmit
  • nadle builds with tsup
  • Pre-commit hooks pass (eslint, prettier, knip, spell, validate)

🤖 Generated with Claude Code

nam-hle and others added 2 commits February 23, 2026 21:29
Replace duplicated logic with shared kernel exports:
- language-server: use isWorkspaceQualified() instead of .includes(":")
- language-server: use VALID_TASK_NAME_PATTERN from kernel
- eslint-plugin: use VALID_TASK_NAME_PATTERN from kernel (aligns with
  case-insensitive pattern, allowing uppercase start like "Build")

Closes #534, closes #535

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create @nadle/project (Layer 2) with project discovery, workspace
scanning, and dependency resolution extracted from nadle core.
Refactor nadle core to import from the new package.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@netlify
Copy link
Copy Markdown

netlify bot commented Feb 23, 2026

Deploy Preview for nadle ready!

Name Link
🔨 Latest commit 8ca6ac7
🔍 Latest deploy log https://app.netlify.com/projects/nadle/deploys/699c6ff2c6db0d0008bd5738
😎 Deploy Preview https://deploy-preview-540--nadle.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: 91
Accessibility: 98
Best Practices: 92
SEO: 100
PWA: -
View the detailed breakdown and full score reports

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

@nam-hle nam-hle enabled auto-merge (squash) February 23, 2026 15:19
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 23, 2026

size-limit report 📦

Path Size
bundled 124.34 KB (-8.23% 🔽)

@nam-hle nam-hle disabled auto-merge February 23, 2026 15:19
@nam-hle nam-hle merged commit 3525cbd into main Feb 23, 2026
13 of 14 checks passed
@nam-hle nam-hle deleted the 008-kernel-consumer-integration branch February 23, 2026 15:19
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.

feat: extract @nadle/project package for project discovery and workspace scanning

1 participant