Skip to content

Import package scripts when creating projects#322

Merged
BunsDev merged 1 commit into
mainfrom
okcode/github-project-import
Apr 7, 2026
Merged

Import package scripts when creating projects#322
BunsDev merged 1 commit into
mainfrom
okcode/github-project-import

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Extracted project script import logic into resolveImportedProjectScripts so new project creation paths share one implementation.
  • Imported package scripts automatically when a package manager can be resolved, and surfaced a warning when lockfiles make the choice ambiguous.
  • Updated project creation from both the sidebar and empty-state entry points to use the shared import flow.
  • Added unit coverage for the auto-import and ambiguous lockfile cases.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Not run: bun run test

- Extract shared project import resolution into `projectImport`
- Auto-fill project actions from package scripts in sidebar and home
- Show a warning when lockfiles make package manager selection ambiguous
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 7, 2026 3:06am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 3:06am

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 7, 2026
@BunsDev BunsDev merged commit 2581044 into main Apr 7, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant