You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- resolves or creates project context from `--project`, `PRISMA_PROJECT_ID`, `.prisma/local.json`, `package.json#name`, or current directory name
603
+
- resolves project context from `--project`, `--create-project`, `PRISMA_PROJECT_ID`, `.prisma/local.json`, durable platform mapping, or an interactive setup choice
604
+
- does not infer and create Project context from `package.json#name` or current directory name without explicit setup
605
+
- when no Project is resolved in interactive mode, asks which Project the directory should use:
606
+
607
+
```text
608
+
? Which Project should this directory use?
609
+
❯ Acme Dashboard
610
+
Billing API
611
+
Create a new Project
612
+
Cancel
613
+
```
614
+
615
+
- when "Create a new Project" is selected, prompts for a Project name with the package/directory name as a suggestion
616
+
- when no Project is resolved in `--json` / `--no-interactive` mode, fails with `PROJECT_SETUP_REQUIRED`
617
+
-`--yes` alone does not choose Project scope; use `--project` or `--create-project`
618
+
-`--project` and `--create-project` are mutually exclusive with each other and with `PRISMA_PROJECT_ID`
556
619
- resolves or creates branch context from `--branch`, local Git branch, or `main`
557
620
- resolves or creates app context inside the resolved branch from `--app`, `PRISMA_APP_ID`, `package.json#name`, or current directory name
558
621
- does not prompt when there is no real choice; zero matching apps creates the inferred app
559
-
- detects supported frameworks and shows the resolved framework/runtime settings only while binding the directory for the first time
560
622
- writes `.prisma/local.json` after Project binding succeeds and before build/deploy starts, so retries after a failed deploy do not repeat setup
561
623
- asks `Customize settings? (y/N)` only while binding the directory for the first time, and only asks for Framework and HTTP port when the user opts in
562
-
-subsequent deploys print a compact target header such as `Deploying ./j1 to j1 / main / j1`
624
+
-after setup, deploy prints `Deploying to <Project> / <Branch> / <App>`; later deploys print a compact target header such as `Deploying ./j1 to j1 / main / j1`
563
625
- deploy progress uses short stage copy (`Building locally...`, `Built <size>`, `Uploading...`, `Uploaded`, `Deploying...`, `Deployed`) and never prints `Status: running` or `Deployment is running at ...`
564
626
- success human output prints `Live in <duration>`, the URL on its own line, and `Logs prisma-cli app logs`
0 commit comments