@codapult/cli 0.21.0 → 0.21.1

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/README.md CHANGED
@@ -1,26 +1,28 @@
1
- # @codapult/cli
1
+ # Next.js SaaS CLI and MCP Server for Codapult | @codapult/cli
2
2
 
3
3
  [![CI](https://github.com/codapult/codapult-cli/actions/workflows/ci.yml/badge.svg)](https://github.com/codapult/codapult-cli/actions/workflows/ci.yml)
4
4
  [![npm](https://img.shields.io/npm/v/@codapult/cli?logo=npm)](https://www.npmjs.com/package/@codapult/cli)
5
5
  [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
6
  [![Node.js >=20.19](https://img.shields.io/badge/node-%3E%3D20.19-339933.svg?logo=node.js&logoColor=white)](package.json)
7
7
 
8
- CLI tool for managing [Codapult](https://codapult.dev) SaaS projects, including architecture-control
9
- workflows powered by `@codapult/guard`.
8
+ `@codapult/cli` is the Next.js SaaS CLI for managing projects built with
9
+ [Codapult](https://codapult.dev), a full-source Next.js SaaS boilerplate and starter kit. Use it to
10
+ set up and update a SaaS codebase, configure plugins and databases, check deployment readiness,
11
+ and connect AI coding agents through its Model Context Protocol (MCP) server.
10
12
 
11
- `@codapult/cli` is the open-source developer CLI and MCP server for Codapult-based SaaS projects.
12
- It provides project setup, updates, plugins, database, deployment, MCP, and architecture-control
13
- workflows.
13
+ The open-source CLI brings project setup, updates, plugins, database, deployment, MCP, and
14
+ architecture-control workflows into one developer tool. It is designed for Codapult projects built
15
+ with the Next.js SaaS boilerplate; it is not a general-purpose Next.js app generator.
14
16
 
15
- For a non-Codapult JavaScript or TypeScript project, install
17
+ For architecture guardrails for AI coding agents in a non-Codapult JavaScript or TypeScript project, install
16
18
  [`@codapult/guard`](https://github.com/codapult/codapult-guard) directly. The CLI does not make
17
19
  Guard universal by adding Codapult assumptions to it; within Codapult projects, the CLI includes the
18
20
  same published Guard package through a thin adapter.
19
21
 
20
- | Package | Use it when |
21
- | --------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
22
- | [`@codapult/guard`](https://github.com/codapult/codapult-guard) | You need architecture guardrails, project memory, MCP, and AI-agent verification in any JS/TS project. |
23
- | `@codapult/cli` | You are building a Codapult SaaS and also need setup, plugins, database, environment, and deployment workflows. |
22
+ | Package | Use it when |
23
+ | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
24
+ | [`@codapult/guard`](https://github.com/codapult/codapult-guard) | You need AI coding agent guardrails, software architecture checks, project memory, MCP, and verification in any JS/TS project. |
25
+ | `@codapult/cli` | You are building a Codapult SaaS and also need setup, plugins, database, environment, and deployment workflows. |
24
26
 
25
27
  ## Installation
26
28
 
@@ -617,6 +617,7 @@ const PRUNE_MARKER_FILES = [
617
617
  'src/app/sitemap.ts',
618
618
  'src/app/sitemap.test.ts',
619
619
  'src/app/(marketing)/llms.txt/route.ts',
620
+ 'src/app/api/checkout/route.ts',
620
621
  'src/components/marketing/Footer.tsx',
621
622
  'src/lib/auth/index.ts',
622
623
  'src/lib/auth/client-adapter.ts',
@@ -626,9 +627,11 @@ const PRUNE_MARKER_FILES = [
626
627
  'src/lib/scheduled-reports/index.ts',
627
628
  'src/lib/guards.ts',
628
629
  'src/lib/guards.test.ts',
630
+ 'src/lib/auth/adapters/better-auth.ts',
629
631
  'src/config/marketing.test.ts',
630
632
  'src/config/env-schema.ts',
631
633
  'src/instrumentation.ts',
634
+ 'src/proxy.ts',
632
635
  ];
633
636
  export function buildEnvContent(content, config) {
634
637
  let result = content;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@codapult/cli",
3
- "version": "0.21.0",
4
- "description": "Open-source CLI and MCP server for Codapult SaaS projects, with architecture guardrails for AI-assisted development",
3
+ "version": "0.21.1",
4
+ "description": "Next.js SaaS CLI and MCP server for Codapult boilerplate projects, with setup, plugins, database, deployment, and AI-agent architecture guardrails",
5
5
  "license": "MIT",
6
- "packageManager": "pnpm@11.22.0+sha512.1ff870c4c6133dfd88fb2afc46dd13d47f09c9794b438c6fdb47ca98caf3bc16381ee0be93a091b8e3824cf01f889f46d7d9e20910fb0be1ab0fb5baa80dd621",
6
+ "packageManager": "pnpm@12.14.0+sha512.c18ba6d87993d3d164cb5e8948f32b2c06ee854487e06cd8d86781342fb3e5bb4634367034711e86802baa9c37bea906ce1929ad08d70884c97d801df13389a6",
7
7
  "engines": {
8
8
  "node": ">=20.19.0"
9
9
  },
@@ -35,8 +35,17 @@
35
35
  "codapult",
36
36
  "saas",
37
37
  "boilerplate",
38
+ "saas boilerplate",
39
+ "nextjs boilerplate",
40
+ "next.js boilerplate",
41
+ "starter-kit",
42
+ "saas starter kit",
43
+ "nextjs-saas",
44
+ "next.js saas",
45
+ "saas-starter",
38
46
  "cli",
39
47
  "nextjs",
48
+ "next.js",
40
49
  "mcp",
41
50
  "ai-agents",
42
51
  "architecture",
@@ -53,12 +62,12 @@
53
62
  "access": "public"
54
63
  },
55
64
  "dependencies": {
56
- "@codapult/guard": "^0.8.0",
65
+ "@codapult/guard": "^0.10.0",
57
66
  "@modelcontextprotocol/sdk": "^1.32.1",
58
67
  "commander": "^15.0.0",
59
68
  "picocolors": "^1.1.1",
60
69
  "typescript": "npm:@typescript/typescript6@^6.0.2",
61
- "zod": "^4.6.5"
70
+ "zod": "^4.6.7"
62
71
  },
63
72
  "devDependencies": {
64
73
  "@js-toolkit/config-utils": "^1.0.1",
@@ -66,15 +75,15 @@
66
75
  "@js-toolkit/prettier-config": "^1.0.1",
67
76
  "@js-toolkit/tsconfig": "^1.0.1",
68
77
  "@release-it/conventional-changelog": "^12.0.2",
69
- "@types/node": "^26.6.4",
78
+ "@types/node": "^26.6.5",
70
79
  "@typescript/native": "npm:typescript@^7.0.2",
71
- "@vitest/coverage-v8": "^5.0.3",
72
- "eslint": "^10.12.0",
80
+ "@vitest/coverage-v8": "^5.0.5",
81
+ "eslint": "^10.13.0",
73
82
  "eslint-config-prettier": "^10.1.8",
74
- "eslint-plugin-prettier": "^5.5.6",
75
- "prettier": "^3.9.9",
76
- "release-it": "^21.1.0",
77
- "typescript-eslint": "^8.71.1",
78
- "vitest": "^5.0.3"
83
+ "eslint-plugin-prettier": "^5.5.7",
84
+ "prettier": "^3.9.10",
85
+ "release-it": "^21.1.1",
86
+ "typescript-eslint": "^8.71.2",
87
+ "vitest": "^5.0.5"
79
88
  }
80
89
  }