@postxl/generators 3.2.0 → 3.2.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.
|
@@ -88,7 +88,7 @@ pnpm run generate -f
|
|
|
88
88
|
# Regenerate specific files (glob pattern)
|
|
89
89
|
pnpm run generate -f -p 'backend/libs/types/**/*.ts'
|
|
90
90
|
|
|
91
|
-
#
|
|
91
|
+
# Continue past generation errors (does NOT skip ejected or modified files)
|
|
92
92
|
pnpm run generate -i
|
|
93
93
|
|
|
94
94
|
# Regenerate only the listed models (per-model files narrowed; aggregates rebuild
|
|
@@ -242,7 +242,7 @@ export class UserService {
|
|
|
242
242
|
|
|
243
243
|
- Generated files are tracked in \`postxl-lock.json\`
|
|
244
244
|
- When you manually modify a generated file, it becomes "ejected" - you are responsible for maintaining it
|
|
245
|
-
- Use \`pnpm run generate -i\` to
|
|
245
|
+
- Use \`pnpm run generate -i\` to continue past generation errors -- it does NOT skip ejected files, and no flag does
|
|
246
246
|
- Use \`pnpm run generate -f -p 'pattern'\` to forcefully regenerate specific files
|
|
247
247
|
|
|
248
248
|
## Schema-Driven Development
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This folder contains the frontend application for the PostXL template project. It is a full-stack React application built with Vite + React + TypeScript and uses TanStack Router for file-based routing, TanStack Query for data fetching, tRPC for type-safe APIs, Tailwind CSS for styling, and shadcn/ui-based components (Radix primitives).
|
|
4
4
|
|
|
5
|
-
> **Note**: This is a code-generated project from PostXL. Most files are automatically generated from `postxl-schema.json` using the PostXL generator framework. See the main project [CLAUDE.md](
|
|
5
|
+
> **Note**: This is a code-generated project from PostXL. Most files are automatically generated from `postxl-schema.json` using the PostXL generator framework. See the main project [CLAUDE.md](../CLAUDE.md) for details on the generation workflow.
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
## Table of Contents
|
|
@@ -420,7 +420,6 @@ Available aliases:
|
|
|
420
420
|
- To regenerate code after schema changes: `pnpm run generate` (from project root)
|
|
421
421
|
- To force regeneration: `pnpm run generate -f`
|
|
422
422
|
- Generated files should not be manually edited unless you "eject" them (modify them to take ownership)
|
|
423
|
-
- See the main [CLAUDE.md](../../../CLAUDE.md) for generator development workflow
|
|
424
423
|
|
|
425
424
|
|
|
426
425
|
## Troubleshooting
|
|
@@ -469,7 +468,6 @@ Available aliases:
|
|
|
469
468
|
|
|
470
469
|
### Getting Help
|
|
471
470
|
|
|
472
|
-
- Check the [PostXL CLAUDE.md](../../../CLAUDE.md) for monorepo-level documentation
|
|
473
471
|
- Review TanStack Router docs: https://tanstack.com/router/latest
|
|
474
472
|
- Review tRPC docs: https://trpc.io/docs
|
|
475
473
|
- Check Vite documentation: https://vite.dev/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@postxl/generators",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.1",
|
|
4
4
|
"description": "Code generators for PXL - generates backend, frontend, Prisma schemas, and more",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@faker-js/faker": "9.9.0",
|
|
45
45
|
"@prisma/prisma-schema-wasm": "7.8.0-6.3c6e192761c0362d496ed980de936e2f3cebcd3a",
|
|
46
46
|
"exceljs": "^4.4.0",
|
|
47
|
-
"@postxl/
|
|
48
|
-
"@postxl/
|
|
49
|
-
"@postxl/ui-components": "^1.
|
|
47
|
+
"@postxl/generator": "^1.8.0",
|
|
48
|
+
"@postxl/schema": "^2.3.0",
|
|
49
|
+
"@postxl/ui-components": "^1.9.0",
|
|
50
50
|
"@postxl/utils": "^1.4.2"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {},
|