-
Notifications
You must be signed in to change notification settings - Fork 0
feat: implement v0 #1
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR transitions the project from an Nx-based monorepo to a single-package CLI (“pull-up”) and introduces an initial (“v0”) rule/transform engine plus a CODEOWNERS aggregation rule.
Changes:
- Replace Nx workspace setup with a single-package build using
tsdown. - Add a new core rules API (
Rule,resolveRule,defineRule) and a CODEOWNERS rule implementation. - Add a Clipanion-based CLI with
checkandsynccommands.
Reviewed changes
Copilot reviewed 22 out of 25 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
| yarn.lock | Updates dependency lockfile for the new single-package setup and CLI deps. |
| tsdown.config.ts | Adds tsdown build config for the CLI entrypoint/bundle settings. |
| tsconfig.json | Updates TS project include list to cover the new tsdown config file. |
| src/core/types.ts | Introduces core types (Rule, Ruleset, snapshots, context). |
| src/core/rules/index.ts | Exports built-in rules. |
| src/core/rules/codeowners-rule.ts | Adds CODEOWNERS aggregation rule and marker-section writing. |
| src/core/resolve-rule.ts | Implements globbing + reading inputs + invoking rule transforms. |
| src/core/index.ts | Public barrel export for the core package surface. |
| src/core/define-rule.ts | Adds a small helper for defining rules. |
| src/cli/utils.ts | Adds repository root discovery utility. |
| src/cli/index.ts | Adds Clipanion CLI entrypoint + command registration. |
| src/cli/constants.ts | Defines default rules exposed by the CLI. |
| src/cli/commands/sync.ts | Implements pullup sync command to write generated outputs. |
| src/cli/commands/index.ts | CLI command barrel export. |
| src/cli/commands/check.ts | Implements pullup check command to validate outputs are up to date. |
| packages/core/tsdown.config.ts | Removes old packages/core build config. |
| packages/core/tsconfig.json | Removes old packages/core TS config. |
| packages/core/src/index.ts | Removes placeholder core package source. |
| packages/core/package.json | Removes old core package manifest. |
| package.json | Converts project to a distributable CLI package and adds deps/scripts. |
| nx.json | Removes Nx workspace configuration. |
| eslint.config.mjs | Updates ESLint TS project references for the new structure. |
| README.md | Updates project name/description text. |
| .vscode/settings.json | Removes some editor save-time code actions. |
| .gitignore | Removes Nx cache ignores; keeps dist ignore. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
d35d2b1 to
515b164
Compare
515b164 to
62e2c60
Compare
62e2c60 to
39f4c2b
Compare
39f4c2b to
906e973
Compare
No description provided.