Merged
Conversation
Contributor
Greptile OverviewGreptile SummaryThis PR successfully consolidates Key Changes:
Migration Impact:
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant NPM
participant TwentyCLI as twenty-cli (deprecated)
participant TwentySDK as twenty-sdk
participant Build as Build System
participant Vite
participant TSC as TypeScript Compiler
Note over User,TwentySDK: Migration Flow
User->>NPM: npm install -g twenty-sdk
NPM->>TwentySDK: Install package with CLI bin
Note over TwentyCLI: Old Package (Deprecated)
User->>TwentyCLI: twenty command (if old CLI installed)
TwentyCLI->>User: Display deprecation message & exit
Note over User,TwentySDK: New CLI Usage Flow
User->>TwentySDK: twenty auth login
TwentySDK->>TwentySDK: ConfigService stores API key
User->>TwentySDK: twenty app init my-app
TwentySDK->>TwentySDK: Create app structure
TwentySDK->>TwentySDK: Generate package.json with twenty-sdk:0.1.0
TwentySDK->>User: New app scaffolded
User->>TwentySDK: twenty app dev
TwentySDK->>TwentySDK: Watch files & sync to Twenty server
Note over Build,TSC: Build Process
Build->>Build: Run generateBarrels script
Build->>Build: Exclude cli/** from barrel exports
Build->>Build: Generate src/index.ts from application/
Build->>Vite: Build library (ESM/CJS)
Vite->>Vite: Bundle SDK exports
Build->>TSC: Build CLI separately (CommonJS)
TSC->>TSC: Compile cli/** to dist/cli/cli.js
Note over TwentySDK: Unified Package
TwentySDK->>User: Provides both SDK and CLI functionality
|
79fde92 to
ef3b337
Compare
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
857f689 to
3169c56
Compare
343f1c5 to
45d084e
Compare
4e3a4c3 to
c4a2355
Compare
charlesBochet
approved these changes
Dec 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
twenty-sdk:0.1.0in base projectcreate-twenty-apppackage