-
Notifications
You must be signed in to change notification settings - Fork 143
Open
Conversation
@jcodog
jcodog
changed the title
(削除) Feat/prisma cli template (削除ここまで)
(追記) feat(cli): prisma template (追記ここまで)
Oct 29, 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.
This pull request adds Prisma ORM support to the CLI, alongside Drizzle, and introduces several improvements to dependency management and project scaffolding. The most significant changes are the addition of a Prisma installer, updates to prompts and types to support Prisma, and the use of wildcard dependency versions for greater flexibility. The PR also improves the developer experience by automatically initializing a git repository for new projects.
Prisma ORM Integration:
cli/src/cli/index.ts[1] [2] [3]cli/src/installers/index.ts[4] [5]prismaInstallerthat sets up all required Prisma dependencies, copies configuration and helper files, adds JStack middleware, and updatespackage.jsonscripts for Prisma workflows. (cli/src/installers/prisma.tscli/src/installers/prisma.tsR1-R64)Dependency Management Improvements:
*), ensuring the latest versions are always installed. (cli/src/installers/dep-version-map.ts[1]cli/template/base-assets/base-package.json[2]picocolorsandexeca. (cli/package.json[1]cli/src/helpers/install-base-template.ts[2]Project Scaffolding Enhancements:
cli/src/helpers/install-base-template.tscli/src/helpers/install-base-template.tsR107-R115)wrangler.jsonconfiguration to the base template to facilitate Cloudflare Workers compatibility. (cli/template/base/wrangler.jsoncli/template/base/wrangler.jsonR1-R30)These changes provide a more flexible and modern developer experience, making it easier to start projects with either Drizzle or Prisma ORM and ensuring up-to-date dependencies by default.