Skip to content

Commit 88ac1fc

Browse files
prisma-botwmadden-electricclaude
authored
Follow the products' released versions: @prisma/composer-cli 0.35.0 -> 0.36.0; @prisma/composer 0.35.0 -> 0.36.0 (#378)
Opened automatically by update-product-versions.yml, following the products' release dist-tags (@prisma/composer-cli 0.35.0 -> 0.36.0; @prisma/composer 0.35.0 -> 0.36.0). Merging publishes a `dev` version of the CLI; the conformance checks on this pull request are what stand between a product release and that dev build. --------- Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io> Co-authored-by: willbot <w.a.madden+machine@gmail.com> Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 1146232 commit 88ac1fc

5 files changed

Lines changed: 30 additions & 28 deletions

File tree

‎packages/cli/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"dependencies": {
5151
"@manypkg/tools": "^2.1.2",
5252
"@prisma/cli-engine": "workspace:0.9.0",
53-
"@prisma/composer-cli": "0.35.0",
53+
"@prisma/composer-cli": "0.36.0",
5454
"@prisma/compute-sdk": "0.43.0",
5555
"@prisma/management-api-sdk": "1.80.0",
5656
"@prisma/orm-toolchain": "8.0.0-rc.21",
@@ -62,7 +62,7 @@
6262
"open": "^11.0.0"
6363
},
6464
"devDependencies": {
65-
"@prisma/composer": "0.35.0",
65+
"@prisma/composer": "0.36.0",
6666
"@prisma/credentials-store": "^7.8.0",
6767
"@repo/cli-conformance": "workspace:8.0.0-rc.29",
6868
"@repo/cli-telemetry": "workspace:8.0.0-rc.29",

‎packages/cli/tests/composer-mount.test.ts‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ const ONE_INSTANCE = listing([
6464
labels: {
6565
"composer.address": "gateway",
6666
"composer.directory": "/projects/shop",
67+
"composer.environment": "dev",
6768
},
6869
},
6970
],
@@ -92,6 +93,7 @@ const listDeployed: ListDeployed = async () => ({
9293
});
9394

9495
const COMPOSER_PATHS = [
96+
"deploy",
9597
"deploy list",
9698
"dev",
9799
"dev url",
@@ -177,7 +179,7 @@ describe("Composer's commands in the shell", () => {
177179

178180
expect(result.exitCode).toBe(0);
179181
expect(result.stdout).toBe(
180-
"service\tsvc_gateway\thttp://localhost:4001\trunning\tgateway\t/projects/shop\n",
182+
"service\tsvc_gateway\thttp://localhost:4001\trunning\tgateway\t/projects/shop\tdev\n",
181183
);
182184
});
183185

‎packages/prisma/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"dependencies": {
5252
"@manypkg/tools": "^2.1.2",
5353
"@prisma/cli-engine": "workspace:0.9.0",
54-
"@prisma/composer-cli": "0.35.0",
54+
"@prisma/composer-cli": "0.36.0",
5555
"@prisma/compute-sdk": "0.43.0",
5656
"@prisma/management-api-sdk": "1.80.0",
5757
"@prisma/orm-toolchain": "8.0.0-rc.21",

‎pnpm-lock.yaml‎

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎skills/prisma-platform-core-concepts/SKILL.md‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,10 @@ branch is the environment, and branches come into being by deploying to them:
145145
1. **Push a git branch** (with the GitHub integration connected and the
146146
deploy workflow in the repository): the workflow builds and deploys, and
147147
the platform creates the branch environment on the fly.
148-
2. **Deploy a stage from the CLI**: `prisma deploy --stage pr-42`
148+
2. **Deploy an environment from the CLI**: `prisma deploy --environment pr-42`
149149
creates a branch named `pr-42` and deploys the identical app graph into
150-
it. A stage name must be a valid git ref name; an invalid name is a hard
151-
error.
150+
it. An environment name must be a valid git ref name; an invalid name is
151+
a hard error.
152152

153153
A preview branch that needs a database gets a fresh, empty one, wired in as a
154154
branch-scoped `DATABASE_URL`. Preview work can never touch production data
@@ -209,10 +209,10 @@ Opening a pull request does not itself deploy anything; previews track
209209
branch pushes. A connected repository without the workflow gets branch
210210
bookkeeping and preview teardown from the platform, and no builds.
211211
212-
**CLI.** `prisma deploy` deploys production directly; add `--stage <name>`
212+
**CLI.** `prisma deploy` deploys production directly; add `--environment <name>`
213213
for a preview. It deploys the entry file named by `entry` in the `composer`
214214
section of `prisma.config.ts`; `--entry <path>` overrides it. `prisma deploy
215-
list` (same `--stage`) lists each deployed node's address, kind, platform ID
215+
list` (same `--environment`) lists each deployed node's address, kind, platform ID
216216
and URL. Authenticate once with `prisma auth login`
217217
(interactive), or set `PRISMA_SERVICE_TOKEN` (plus `PRISMA_WORKSPACE_ID`
218218
when the token can see more than one workspace) for CI and other headless
@@ -372,7 +372,7 @@ own work:
372372
shows every local instance on the machine.
373373
4. Deploying is the same pipeline pointed at the platform: switching from
374374
local to hosted is a configuration change, not a code change. Reach for
375-
`prisma deploy --stage <name>` only when you need a shareable URL or
375+
`prisma deploy --environment <name>` only when you need a shareable URL or
376376
platform behaviour (sleeping, real DNS, production-like config).
377377
5. For pure frontend iteration the framework's own dev server also works;
378378
the Composer local stack is what mirrors the deployed wiring.
@@ -397,8 +397,8 @@ Windows is not supported for the local stack yet.
397397
6. **Production shows a stale value after an environment-variable change.**
398398
Variables are resolved at deploy time. Re-deploy (or promote) so the new
399399
value is picked up.
400-
7. **A stage name is rejected.** Stage names must be valid git ref names;
401-
rename it.
400+
7. **An environment name is rejected.** Environment names must be valid git
401+
ref names; rename it.
402402
8. **A resource disappeared from the platform after a deploy.** It was
403403
removed from `module.ts`; the module is the source of truth and deploy
404404
converges to it. Restore the declaration and re-deploy.
@@ -422,9 +422,9 @@ Windows is not supported for the local stack yet.
422422
Name the gap instead of inventing an API:
423423

424424
1. **No branch create or delete from the CLI.** The `branch` group only
425-
lists. Branches are created by pushing or by deploying a stage, and
426-
removed by deleting the upstream git branch; there is no CLI teardown
427-
verb for a stage yet.
425+
lists. Branches are created by pushing or by deploying an environment,
426+
and removed by deleting the upstream git branch; there is no CLI teardown
427+
verb for an environment yet.
428428
2. **No build retry.** A failed build is finished; the retry is the next
429429
push or the next deploy.
430430
3. **No reading environment-variable values back**, anywhere. This is a

0 commit comments

Comments
 (0)