create-next-pro-cli 0.1.29 → 0.1.31

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.
@@ -4,21 +4,27 @@ Next.js App Router template for `create-next-pro-cli`.
4
4
 
5
5
  ## Runtime
6
6
 
7
- Choose Bun, npm, or pnpm for dependency installation and project scripts. The
8
- repository keeps `bun.lock` as its reproducible source lockfile, while npm and
9
- pnpm consumers create their own lockfiles in their working copies.
7
+ Choose one runtime and package-manager path for dependency installation and
8
+ project scripts. The repository keeps `bun.lock` as its reproducible source
9
+ lockfile, while npm and pnpm consumers create their own lockfiles in their
10
+ working copies.
10
11
 
11
- Required:
12
+ Bun-only path:
13
+
14
+ ```bash
15
+ bun --version
16
+ ```
17
+
18
+ Node.js path:
12
19
 
13
20
  ```bash
14
21
  node --version
15
- bun --version # optional
16
- npm --version # optional
17
- pnpm --version # optional
22
+ npm --version # or: pnpm --version
18
23
  ```
19
24
 
20
- Node must satisfy `>=24.0.0`. Bun must satisfy `>=1.3.14` when selected, and
21
- pnpm 11 or later is supported.
25
+ Bun must satisfy `>=1.3.14` when selected and does not require a separate
26
+ Node.js installation. The Node.js path requires Node.js `>=24.0.0`; pnpm 11 or
27
+ later is supported.
22
28
 
23
29
  The npm `allowScripts` policy and pnpm `allowBuilds` policy approve only the
24
30
  native build steps required by Next.js and the file-watcher toolchain. Security
@@ -87,6 +93,14 @@ Replace `bun run` with `npm run` or `pnpm run` for the selected manager. The
87
93
  `audit` and `test:consumer` scripts detect the invoking manager without shell
88
94
  commands, including on Windows.
89
95
 
96
+ ## Agent workflows
97
+
98
+ Codex-compatible project guidance is available in `AGENTS.md`. Focused command
99
+ skills under `.agents/skills` document project creation and every public
100
+ `add*`/`rmpage` operation. Agents should read the matching skill, invoke the CLI
101
+ with `--json`, inspect all reported events and complete every required next
102
+ step before running the project checks.
103
+
90
104
  ## Template Features
91
105
 
92
106
  - Next.js 16 App Router
@@ -17,9 +17,11 @@ const gitignoreSource = await stat(path.join(root, ".gitignore.template")).then(
17
17
  () => ".gitignore",
18
18
  );
19
19
  const entries = [
20
+ [".agents", ".agents"],
20
21
  [".env.example", ".env.example"],
21
22
  [gitignoreSource, ".gitignore"],
22
23
  [".prettierignore", ".prettierignore"],
24
+ ["AGENTS.md", "AGENTS.md"],
23
25
  ["README.md", "README.md"],
24
26
  ["bun.lock", "bun.lock"],
25
27
  ["eslint.config.mjs", "eslint.config.mjs"],
@@ -11,6 +11,15 @@ async function source(relativePath: string) {
11
11
 
12
12
  describe("updated template baseline", () => {
13
13
  test.each([
14
+ ["AGENTS.md", "$create-next-pro-addlanguage"],
15
+ [
16
+ ".agents/skills/create-next-pro-addlanguage/SKILL.md",
17
+ "translate every listed JSON file",
18
+ ],
19
+ [
20
+ ".agents/skills/create-next-pro-rmpage/SKILL.md",
21
+ "project-confined page deletion",
22
+ ],
14
23
  ["src/lib/github/repository.ts", "getGitHubRepositoryStats"],
15
24
  ["src/ui/_home/GitHubActions.tsx", "GITHUB_REPOSITORY_URL"],
16
25
  ["src/ui/_home/page-shell.tsx", "Empowered by Rising Corporation"],