Skip to content

Commit e4cd73d

Browse files
add back about exist pgpm workspace
1 parent f77c9e0 commit e4cd73d

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.agents/skills/constructive-starter-kits/references/nextjs-app.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,21 @@ pgpm init \
6969
--moduleName <module-name>
7070
```
7171

72+
**Required arguments for existing workspace :**
73+
74+
| Argument | Description |
75+
|----------|-------------|
76+
| `--moduleName` | Module/package name for the new boilerplate |
77+
78+
This creates the module at `packages/<module-name>/` within your existing workspace. The workspace-level arguments (`--name`, `--fullName`, `--email`, etc.) are **not needed** since the workspace already exists.
79+
80+
> **Note:** You must run this from the workspace root or a valid `packages/` subdirectory. If you are not inside a pnpm workspace, pgpm will error with "Not inside a PNPM workspace." Use the `-w` flag (see above) to create a new workspace and module together.
81+
82+
> **Interactive mode (for humans):**
83+
> ```bash
84+
> pgpm init --repo constructive-io/sandbox-templates --template nextjs/constructive-app
85+
> ```
86+
7287
### 2. Install Dependencies
7388
7489
```bash

0 commit comments

Comments
 (0)