@postxl/generators 1.23.1 → 1.24.0

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/dist/index.d.ts CHANGED
@@ -17,7 +17,7 @@ export { backendUpdateGenerator, backendUpdateGeneratorId } from './backend-upda
17
17
  export { backendViewGenerator, backendViewGeneratorId } from './backend-view';
18
18
  export { baseGenerator, baseGeneratorId } from './base';
19
19
  export { decodersGenerator, decodersGeneratorId } from './decoders';
20
- export { typesGenerator, typesGeneratorId } from './types';
20
+ export { typesGenerator, typesGeneratorId, generateTypesStandalone } from './types';
21
21
  export { mockDataGenerator, mockDataGeneratorId } from './mock-data';
22
22
  export { seedDataGenerator, seedDataGeneratorId } from './seed-data';
23
23
  export * as Frontend from './frontend-core';
package/dist/index.js CHANGED
@@ -34,8 +34,8 @@ var __importStar = (this && this.__importStar) || (function () {
34
34
  };
35
35
  })();
36
36
  Object.defineProperty(exports, "__esModule", { value: true });
37
- exports.frontendFormsGenerator = exports.frontendActionsGeneratorId = exports.frontendActionsGenerator = exports.frontendAdminGeneratorId = exports.frontendAdminGenerator = exports.Frontend = exports.seedDataGeneratorId = exports.seedDataGenerator = exports.mockDataGeneratorId = exports.mockDataGenerator = exports.typesGeneratorId = exports.typesGenerator = exports.decodersGeneratorId = exports.decodersGenerator = exports.baseGeneratorId = exports.baseGenerator = exports.backendViewGeneratorId = exports.backendViewGenerator = exports.backendUpdateGeneratorId = exports.backendUpdateGenerator = exports.backendSeedGeneratorId = exports.backendSeedGenerator = exports.backendUploadGeneratorId = exports.backendUploadGenerator = exports.backendS3GeneratorId = exports.backendS3Generator = exports.backendTrpcRouterGeneratorId = exports.backendTrpcRouterGenerator = exports.backendRestApiGeneratorId = exports.backendRestApiGenerator = exports.backendRepositoriesGeneratorId = exports.backendRepositoriesGenerator = exports.backendExcelIoGeneratorId = exports.backendExcelIoGenerator = exports.backendImportGeneratorId = exports.backendImportGenerator = exports.backendE2eGeneratorId = exports.backendE2eGenerator = exports.databasePrismaGenerator = exports.backendDataManagementGeneratorId = exports.backendDataManagementGenerator = exports.backendGeneratorId = exports.backendModuleXlPortGenerator = exports.backendGenerator = exports.backendAuthenticationGeneratorId = exports.backendAuthenticationGenerator = exports.backendAiGeneratorId = exports.backendAiGenerator = exports.backendActionsGeneratorId = exports.backendActionsGenerator = void 0;
38
- exports.generators = exports.devOpsGeneratorId = exports.configureDevopsGenerator = exports.e2eGeneratorId = exports.e2eGenerator = exports.all = exports.configureFrontendGenerator = exports.frontendTrpcClientGeneratorId = exports.frontendTrpcClientGenerator = exports.frontendTablesGeneratorId = exports.frontendTablesGenerator = exports.frontendFormsGeneratorId = void 0;
37
+ exports.frontendActionsGeneratorId = exports.frontendActionsGenerator = exports.frontendAdminGeneratorId = exports.frontendAdminGenerator = exports.Frontend = exports.seedDataGeneratorId = exports.seedDataGenerator = exports.mockDataGeneratorId = exports.mockDataGenerator = exports.generateTypesStandalone = exports.typesGeneratorId = exports.typesGenerator = exports.decodersGeneratorId = exports.decodersGenerator = exports.baseGeneratorId = exports.baseGenerator = exports.backendViewGeneratorId = exports.backendViewGenerator = exports.backendUpdateGeneratorId = exports.backendUpdateGenerator = exports.backendSeedGeneratorId = exports.backendSeedGenerator = exports.backendUploadGeneratorId = exports.backendUploadGenerator = exports.backendS3GeneratorId = exports.backendS3Generator = exports.backendTrpcRouterGeneratorId = exports.backendTrpcRouterGenerator = exports.backendRestApiGeneratorId = exports.backendRestApiGenerator = exports.backendRepositoriesGeneratorId = exports.backendRepositoriesGenerator = exports.backendExcelIoGeneratorId = exports.backendExcelIoGenerator = exports.backendImportGeneratorId = exports.backendImportGenerator = exports.backendE2eGeneratorId = exports.backendE2eGenerator = exports.databasePrismaGenerator = exports.backendDataManagementGeneratorId = exports.backendDataManagementGenerator = exports.backendGeneratorId = exports.backendModuleXlPortGenerator = exports.backendGenerator = exports.backendAuthenticationGeneratorId = exports.backendAuthenticationGenerator = exports.backendAiGeneratorId = exports.backendAiGenerator = exports.backendActionsGeneratorId = exports.backendActionsGenerator = void 0;
38
+ exports.generators = exports.devOpsGeneratorId = exports.configureDevopsGenerator = exports.e2eGeneratorId = exports.e2eGenerator = exports.all = exports.configureFrontendGenerator = exports.frontendTrpcClientGeneratorId = exports.frontendTrpcClientGenerator = exports.frontendTablesGeneratorId = exports.frontendTablesGenerator = exports.frontendFormsGeneratorId = exports.frontendFormsGenerator = void 0;
39
39
  // Backend generators
40
40
  var backend_actions_1 = require("./backend-actions");
41
41
  Object.defineProperty(exports, "backendActionsGenerator", { enumerable: true, get: function () { return backend_actions_1.backendActionsGenerator; } });
@@ -98,6 +98,7 @@ Object.defineProperty(exports, "decodersGeneratorId", { enumerable: true, get: f
98
98
  var types_1 = require("./types");
99
99
  Object.defineProperty(exports, "typesGenerator", { enumerable: true, get: function () { return types_1.typesGenerator; } });
100
100
  Object.defineProperty(exports, "typesGeneratorId", { enumerable: true, get: function () { return types_1.typesGeneratorId; } });
101
+ Object.defineProperty(exports, "generateTypesStandalone", { enumerable: true, get: function () { return types_1.generateTypesStandalone; } });
101
102
  var mock_data_1 = require("./mock-data");
102
103
  Object.defineProperty(exports, "mockDataGenerator", { enumerable: true, get: function () { return mock_data_1.mockDataGenerator; } });
103
104
  Object.defineProperty(exports, "mockDataGeneratorId", { enumerable: true, get: function () { return mock_data_1.mockDataGeneratorId; } });
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE3E,qBAAqB;AACrB,qDAAsF;AAA7E,0HAAA,uBAAuB,OAAA;AAAE,4HAAA,yBAAyB,OAAA;AAC3D,2CAAuE;AAA9D,gHAAA,kBAAkB,OAAA;AAAE,kHAAA,oBAAoB,OAAA;AACjD,mEAA2G;AAAlG,wIAAA,8BAA8B,OAAA;AAAE,0IAAA,gCAAgC,OAAA;AACzE,+CA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AAoE;AAA3D,8GAAA,iBAAiB,OAAA;AAAE,gHAAA,mBAAmB,OAAA;AAE/C,8DAA8D;AAC9D,4DAA2C;AAC3C,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,uDAAyF;AAAhF,4HAAA,wBAAwB,OAAA;AAAE,8HAAA,0BAA0B,OAAA;AAC7D,mDAAmF;AAA1E,wHAAA,sBAAsB,OAAA;AAAE,0HAAA,wBAAwB,OAAA;AACzD,qDAAsF;AAA7E,0HAAA,uBAAuB,OAAA;AAAE,4HAAA,yBAAyB,OAAA;AAC3D,+DAAmG;AAA1F,mIAAA,2BAA2B,OAAA;AAAE,qIAAA,6BAA6B,OAAA;AAEnE,yEAAyE;AACzE,iDAAiE;AAAxD,2HAAA,0BAA0B,OAAA;AAAE,oGAAA,GAAG,OAAA;AAExC,mBAAmB;AACnB,6BAAoD;AAA3C,mGAAA,YAAY,OAAA;AAAE,qGAAA,cAAc,OAAA;AACrC,mCAAsE;AAA7D,kHAAA,wBAAwB,OAAA;AAAE,2GAAA,iBAAiB,OAAA;AAEpD,2CAAyC;AAAhC,wGAAA,UAAU,OAAA"}
@@ -0,0 +1,13 @@
1
+ import * as Generator from '@postxl/generator';
2
+ import type { ProjectSchema } from '@postxl/schema';
3
+ /**
4
+ * Runs the types generator standalone (without requiring backend-core, base, or frontend-core generators).
5
+ *
6
+ * This is used by the `generate-types` CLI command to generate only the type files
7
+ * from a schema, without needing the full generation pipeline.
8
+ *
9
+ * @returns A VirtualFileSystem containing the generated type files with paths relative to the
10
+ * types output root (e.g. `src/index.ts`, `tsconfig.lib.json`), with the internal
11
+ * `backend/libs/types/` prefix stripped.
12
+ */
13
+ export declare function generateTypesStandalone(schema: ProjectSchema): Promise<Generator.VirtualFileSystem>;
@@ -0,0 +1,98 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.generateTypesStandalone = generateTypesStandalone;
37
+ const Generator = __importStar(require("@postxl/generator"));
38
+ const types_generator_1 = require("./types.generator");
39
+ /**
40
+ * Internal VFS path where the types generator writes its output.
41
+ * Used to strip the prefix when returning a clean VFS from standalone generation.
42
+ */
43
+ const TYPES_VFS_PREFIX = '/backend/libs/types/';
44
+ /**
45
+ * Runs the types generator standalone (without requiring backend-core, base, or frontend-core generators).
46
+ *
47
+ * This is used by the `generate-types` CLI command to generate only the type files
48
+ * from a schema, without needing the full generation pipeline.
49
+ *
50
+ * @returns A VirtualFileSystem containing the generated type files with paths relative to the
51
+ * types output root (e.g. `src/index.ts`, `tsconfig.lib.json`), with the internal
52
+ * `backend/libs/types/` prefix stripped.
53
+ */
54
+ async function generateTypesStandalone(schema) {
55
+ const baseContext = Generator.prepareBaseContext(schema);
56
+ // Minimal stubs for context properties that the types generator's register() and generate() phases access.
57
+ //
58
+ // The types generator reads these specific properties:
59
+ // - register() pushes to `backend.modules` (array of NestJS module descriptors)
60
+ // - register() calls `frontend.tsConfigReferences.set()` (Map of tsconfig references)
61
+ // - generate() only reads from the context built by register() (models, enums, types, vfs)
62
+ //
63
+ // The `base` stub is required because WithBase is part of the types generator's ContextRequirements.
64
+ // None of the base properties are read by the types generator itself.
65
+ const contextWithStubs = {
66
+ ...baseContext,
67
+ base: {
68
+ packageJson: {},
69
+ dotEnvExamples: [],
70
+ },
71
+ backend: {
72
+ modules: [],
73
+ packageJson: {},
74
+ tsConfigReferences: [],
75
+ },
76
+ frontend: {
77
+ components: [],
78
+ hooks: [],
79
+ contextProviders: [],
80
+ packageJson: {},
81
+ tsConfigReferences: new Map(),
82
+ },
83
+ };
84
+ // Run register phase
85
+ const registeredContext = types_generator_1.generator.register(contextWithStubs);
86
+ // Run generate phase
87
+ const generatedContext = await types_generator_1.generator.generate(registeredContext);
88
+ // The types generator writes to `backend/libs/types/` in the main VFS.
89
+ // Strip that prefix so the returned VFS has clean relative paths (e.g. `src/index.ts`).
90
+ const rawVfs = generatedContext.vfs;
91
+ const cleanVfs = new Generator.VirtualFileSystem();
92
+ for (const [filePath, content] of rawVfs.files) {
93
+ const relativePath = filePath.startsWith(TYPES_VFS_PREFIX) ? filePath.slice(TYPES_VFS_PREFIX.length) : filePath;
94
+ cleanVfs.write(relativePath, content);
95
+ }
96
+ return cleanVfs;
97
+ }
98
+ //# sourceMappingURL=generate-types-standalone.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generate-types-standalone.js","sourceRoot":"","sources":["../../src/types/generate-types-standalone.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,0DA+CC;AApED,6DAA8C;AAG9C,uDAA6C;AAE7C;;;GAG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CAAC,CAAC,QAAQ,CAAA;QAC/G,QAAQ,CAAC,KAAK,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;IACvC,CAAC;IACD,OAAO,QAAQ,CAAA;AACjB,CAAC"}
@@ -4,3 +4,4 @@ export { mockRegister as mockTypesGenerator } from './types.generator.mock';
4
4
  export type { ModelContextResult as ModelWithTypes } from './types.generator';
5
5
  export type { WithTypes } from './types.generator';
6
6
  export type * from './types.generator';
7
+ export { generateTypesStandalone } from './generate-types-standalone';
@@ -1,10 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.mockTypesGenerator = exports.typesGeneratorId = exports.typesGenerator = void 0;
3
+ exports.generateTypesStandalone = exports.mockTypesGenerator = exports.typesGeneratorId = exports.typesGenerator = void 0;
4
4
  var types_generator_1 = require("./types.generator");
5
5
  Object.defineProperty(exports, "typesGenerator", { enumerable: true, get: function () { return types_generator_1.generator; } });
6
6
  var types_generator_2 = require("./types.generator");
7
7
  Object.defineProperty(exports, "typesGeneratorId", { enumerable: true, get: function () { return types_generator_2.generatorId; } });
8
8
  var types_generator_mock_1 = require("./types.generator.mock");
9
9
  Object.defineProperty(exports, "mockTypesGenerator", { enumerable: true, get: function () { return types_generator_mock_1.mockRegister; } });
10
+ var generate_types_standalone_1 = require("./generate-types-standalone");
11
+ Object.defineProperty(exports, "generateTypesStandalone", { enumerable: true, get: function () { return generate_types_standalone_1.generateTypesStandalone; } });
10
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,qDAA+D;AAAtD,iHAAA,SAAS,OAAkB;AACpC,qDAAmE;AAA1D,mHAAA,WAAW,OAAoB;AACxC,+DAA2E;AAAlE,0HAAA,YAAY,OAAsB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;AAAA,qDAA+D;AAAtD,iHAAA,SAAS,OAAkB;AACpC,qDAAmE;AAA1D,mHAAA,WAAW,OAAoB;AACxC,+DAA2E;AAAlE,0HAAA,YAAY,OAAsB;AAI3C,yEAAqE;AAA5D,oIAAA,uBAAuB,OAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@postxl/generators",
3
- "version": "1.23.1",
3
+ "version": "1.24.0",
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",