@percepta/create 3.4.1 → 3.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@percepta/create",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "Scaffold a new Mosaic package",
5
5
  "keywords": [
6
6
  "cli",
@@ -2,7 +2,7 @@
2
2
 
3
3
  This guide deploys __APP_TITLE__ to `https://__APP_NAME__.percepta-test.aitco.dev` using Ryvn. Tell Claude "deploy this app to percepta-test" and it should run the direct deploy helper below.
4
4
 
5
- This is the existing-environment deploy motion: `percepta-test` already owns the shared platform services, and this app is wired into them. Fresh-environment platform bootstrap is separate and should use a Ryvn blueprint or environment-specific platform rollout before app deploys run.
5
+ This is the existing-environment deploy motion: `percepta-test` already owns the shared platform services, and this app is wired into them. Fresh-environment platform bootstrap is separate and should use a Ryvn blueprint or environment-specific platform rollout before app deploys run. The `pnpm deploy:percepta-test` script delegates to the versioned `@percepta/deploy` CLI; this app owns only its Ryvn YAML and generated secrets env file.
6
6
 
7
7
  ## What's Already Scaffolded
8
8
 
@@ -18,7 +18,7 @@ These files deploy to `https://__APP_NAME__.percepta-test.aitco.dev`.
18
18
 
19
19
  The default deploy helper performs the existing-environment deploy motion: it assumes the target Ryvn environment already has the shared platform services installed, then wires this app into them. For `percepta-test`, that means shared Postgres, Inngest, the OTEL collector, the LGTM stack, and Langfuse must already exist before app deploy starts. Fresh-environment platform bootstrap is a separate motion and should be handled by a Ryvn blueprint or environment-specific platform rollout.
20
20
 
21
- The helper talks directly to Ryvn: it preflights the existing platform services, creates/updates the services, runs the GitHub Actions release workflows, creates the schema installation, approves the schema Terraform plan, creates or updates app-scoped Ryvn secrets, creates the web installation, waits for health, and verifies the health and app routes.
21
+ The `pnpm deploy:percepta-test` script delegates to the versioned `@percepta/deploy` CLI. The app owns only the Ryvn service/installation YAML and secrets env file. The helper talks directly to Ryvn: it preflights the existing platform services, creates/updates the services, runs the GitHub Actions release workflows, creates the schema installation, approves the schema Terraform plan, creates or updates app-scoped Ryvn secrets, creates the web installation, waits for health, and verifies the health and app routes.
22
22
 
23
23
  ## Deploying
24
24
 
@@ -24,8 +24,8 @@
24
24
  "db:setup-readonly": "tsx ./scripts/setup-readonly-user.ts",
25
25
  "db:studio": "pnpm db:setup-and-migrate && drizzle-kit studio",
26
26
  "db:seed": "tsx ./scripts/seed.ts",
27
- "deploy:percepta-test": "tsx ./scripts/deploy-percepta-test.ts",
28
- "deploy:percepta-test:pr": "tsx ./scripts/open-ryvn-deploy-pr.ts",
27
+ "deploy:percepta-test": "percepta-deploy percepta-test --app __APP_NAME__ --repo __REPO_NAME__",
28
+ "deploy:percepta-test:pr": "percepta-deploy percepta-test pr --app __APP_NAME__ --database-schema __APP_NAME_SNAKE__",
29
29
  "test": "vitest run",
30
30
  "test:e2e": "pnpm run setup && playwright test",
31
31
  "test:e2e:install": "playwright install chromium",
@@ -109,6 +109,7 @@
109
109
  "@next/eslint-plugin-next": "^15.3.5",
110
110
  "@playwright/test": "^1.58.2",
111
111
  "@percepta/build": "0.4.0",
112
+ "@percepta/deploy": "0.1.0",
112
113
  "@tailwindcss/postcss": "^4.1.11",
113
114
  "@types/formidable": "^3.4.5",
114
115
  "@types/he": "^1.2.3",