@devpad/cli 2.2.8 → 2.2.9

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.
Files changed (2) hide show
  1. package/dist/index.js +26 -22
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -20427,35 +20427,35 @@ var to_constant_case = (name) => {
20427
20427
  };
20428
20428
  var rollout_block_for = (mode) => {
20429
20429
  if (mode === "atomic")
20430
- return ` rollout: { type: "atomic" },`;
20431
- return ` rollout: {
20432
- type: "gradual",
20433
- // Override stages here, e.g. { name: "onebox", traffic: 5, bake: "1h" }.
20434
- // Omitted stages keep their defaultGradual values.
20435
- stages: [],
20436
- },`;
20430
+ return ` rollout: { type: "atomic" },`;
20431
+ return ` rollout: {
20432
+ type: "gradual",
20433
+ // Override stages here, e.g. { name: "onebox", traffic: 5, bake: "1h" }.
20434
+ // Omitted stages keep their defaultGradual values.
20435
+ stages: [],
20436
+ },`;
20437
20437
  };
20438
20438
  var gates_block_for = (mode, gate) => {
20439
20439
  if (mode === "atomic") {
20440
20440
  if (gate === "manual")
20441
- return ` gates: {
20442
- "staging→atomic-prod": manual(),
20443
- },`;
20441
+ return ` gates: {
20442
+ "staging→atomic-prod": manual(),
20443
+ },`;
20444
20444
  if (gate === "auto")
20445
- return ` gates: {
20446
- "staging→atomic-prod": auto(),
20447
- },`;
20448
- return ` gates: {
20449
- "staging→atomic-prod": analysis({ template_id: "default" }),
20450
- },`;
20445
+ return ` gates: {
20446
+ "staging→atomic-prod": auto(),
20447
+ },`;
20448
+ return ` gates: {
20449
+ "staging→atomic-prod": analysis({ template_id: "default" }),
20450
+ },`;
20451
20451
  }
20452
20452
  const gate_call = gate === "manual" ? "manual()" : gate === "auto" ? "auto({ afterBake: true })" : `analysis({ template_id: "default" })`;
20453
- return ` gates: {
20454
- "staging→onebox": ${gate_call},
20455
- "onebox→wave1": ${gate_call},
20456
- "wave1→wave2": ${gate_call},
20457
- "wave2→full": ${gate_call},
20458
- },`;
20453
+ return ` gates: {
20454
+ "staging→onebox": ${gate_call},
20455
+ "onebox→wave1": ${gate_call},
20456
+ "wave1→wave2": ${gate_call},
20457
+ "wave2→full": ${gate_call},
20458
+ },`;
20459
20459
  };
20460
20460
  var gate_import_for = (gate) => {
20461
20461
  if (gate === "manual")
@@ -20524,10 +20524,14 @@ var render_template = (template, vars) => {
20524
20524
  var SCAFFOLDER_TEMPLATES = [
20525
20525
  { template_path: ".github/workflows/deploy.yml.hbs", relative_path: ".github/workflows/deploy.yml" },
20526
20526
  { template_path: ".gitignore.hbs", relative_path: ".gitignore" },
20527
+ { template_path: ".oxfmtrc.json.hbs", relative_path: ".oxfmtrc.json" },
20528
+ { template_path: ".oxlintrc.json.hbs", relative_path: ".oxlintrc.json" },
20527
20529
  { template_path: "AGENTS.md.hbs", relative_path: "AGENTS.md" },
20528
20530
  { template_path: "README.md.hbs", relative_path: "README.md" },
20531
+ { template_path: "bunfig.toml.hbs", relative_path: "bunfig.toml" },
20529
20532
  { template_path: "e2e/health.spec.ts.hbs", relative_path: "e2e/health.spec.ts" },
20530
20533
  { template_path: "e2e/playwright.config.ts.hbs", relative_path: "e2e/playwright.config.ts" },
20534
+ { template_path: "eslint.config.ts.hbs", relative_path: "eslint.config.ts" },
20531
20535
  { template_path: "grants.ts.hbs", relative_path: "grants.ts" },
20532
20536
  { template_path: "infra.ts.hbs", relative_path: "infra.ts" },
20533
20537
  { template_path: "package.json.hbs", relative_path: "package.json" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devpad/cli",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "Command line interface for devpad project management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -50,10 +50,10 @@
50
50
  "mime": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@devpad/api": "^2.2.8",
54
- "@devpad/pipeline-fakes": "^2.2.8",
55
- "@devpad/pipeline-templates": "^2.2.8",
56
- "@devpad/schema": "^2.2.8",
53
+ "@devpad/api": "^2.2.9",
54
+ "@devpad/pipeline-fakes": "^2.2.9",
55
+ "@devpad/pipeline-templates": "^2.2.9",
56
+ "@devpad/schema": "^2.2.9",
57
57
  "@types/node": "^20.11.24",
58
58
  "bun-types": "latest",
59
59
  "chalk": "^5.3.0",