create-tigra 2.1.0 → 2.1.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.
@@ -213,6 +213,9 @@ async function main() {
213
213
  }
214
214
  }
215
215
 
216
+ // Create .developer-role file (default: fullstack = no restrictions)
217
+ await fs.writeFile(path.join(targetDir, '.developer-role'), 'fullstack\n', 'utf-8');
218
+
216
219
  spinner.succeed('Project scaffolded successfully!');
217
220
  } catch (error) {
218
221
  spinner.fail('Failed to scaffold project');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-tigra",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "type": "module",
5
5
  "description": "Create a production-ready full-stack app with Next.js 16 + Fastify 5 + Prisma + Redis",
6
6
  "bin": {
@@ -18,11 +18,13 @@ Read the file `.developer-role` in the project root to see the current role.
18
18
 
19
19
  ## What each role does
20
20
 
21
- | Role | Access |
22
- |------|--------|
23
- | `frontend` | Can only work in `client/`. Blocked from `server/`. |
24
- | `backend` | Can only work in `server/`. Blocked from `client/`. |
25
- | `fullstack` | Full access to everything. No restrictions. |
21
+ Claude can always READ all files for full project context. Only WRITE access is restricted.
22
+
23
+ | Role | Can edit |
24
+ |------|---------|
25
+ | `frontend` | `client/` only. Cannot edit `server/` files. |
26
+ | `backend` | `server/` only. Cannot edit `client/` files. |
27
+ | `fullstack` | Everything. No restrictions. |
26
28
 
27
29
  ## Response format
28
30
 
@@ -31,7 +33,7 @@ After switching, confirm like this:
31
33
  ```
32
34
  Role switched to **{role}**.
33
35
 
34
- - frontend → client/ only
35
- - backend → server/ only
36
- - fullstack → full access
36
+ - frontend → can edit client/ only (can read everything)
37
+ - backend → can edit server/ only (can read everything)
38
+ - fullstack → can edit everything
37
39
  ```