@powerlines/plugin-prisma 0.1.16 → 0.1.19

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.
@@ -1,5 +1,5 @@
1
1
  export { getSchema } from './get-schema.cjs';
2
- export { P as PrismaSchemaCreator } from '../index-DXJcxLn0.cjs';
2
+ export { P as PrismaSchemaCreator } from '../index-CerGqm3R.cjs';
3
3
  import '../types/prisma.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  export { getSchema } from './get-schema.js';
2
- export { P as PrismaSchemaCreator } from '../index-BpEIJT0p.js';
2
+ export { P as PrismaSchemaCreator } from '../index-CUXgq7zG.js';
3
3
  import '../types/prisma.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import 'prisma-util/schema-creator';
2
- export { P as PrismaSchemaCreator } from '../index-DXJcxLn0.cjs';
2
+ export { P as PrismaSchemaCreator } from '../index-CerGqm3R.cjs';
3
3
  import '../types/prisma.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,5 +1,5 @@
1
1
  import 'prisma-util/schema-creator';
2
- export { P as PrismaSchemaCreator } from '../index-BpEIJT0p.js';
2
+ export { P as PrismaSchemaCreator } from '../index-CUXgq7zG.js';
3
3
  import '../types/prisma.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
219
219
  tsconfigFilePath: string;
220
220
  };
221
221
 
222
- declare const __VFS_PATCH__: unique symbol;
223
- declare const __VFS_REVERT__: unique symbol;
222
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
223
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
224
224
  type OutputModeType = "fs" | "virtual";
225
225
  interface VirtualFile {
226
226
  /**
@@ -629,6 +629,15 @@ interface OutputConfig {
629
629
  * @defaultValue "dist/\{projectRoot\}"
630
630
  */
631
631
  outputPath?: string;
632
+ /**
633
+ * The output directory path for the project build.
634
+ *
635
+ * @remarks
636
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
637
+ *
638
+ * @defaultValue "\{projectRoot\}/dist"
639
+ */
640
+ distPath?: string;
632
641
  /**
633
642
  * The format of the output files
634
643
  *
@@ -219,8 +219,8 @@ type ParsedTypeScriptConfig = ts.ParsedCommandLine & {
219
219
  tsconfigFilePath: string;
220
220
  };
221
221
 
222
- declare const __VFS_PATCH__: unique symbol;
223
- declare const __VFS_REVERT__: unique symbol;
222
+ declare const __VFS_PATCH__ = "__VFS_PATCH__";
223
+ declare const __VFS_REVERT__ = "__VFS_REVERT__";
224
224
  type OutputModeType = "fs" | "virtual";
225
225
  interface VirtualFile {
226
226
  /**
@@ -629,6 +629,15 @@ interface OutputConfig {
629
629
  * @defaultValue "dist/\{projectRoot\}"
630
630
  */
631
631
  outputPath?: string;
632
+ /**
633
+ * The output directory path for the project build.
634
+ *
635
+ * @remarks
636
+ * This path is used to determine where the built files will be placed after the build process completes. This will be used in scenarios where the monorepo uses TSConfig paths to link packages together.
637
+ *
638
+ * @defaultValue "\{projectRoot\}/dist"
639
+ */
640
+ distPath?: string;
632
641
  /**
633
642
  * The format of the output files
634
643
  *
package/dist/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-DXJcxLn0.cjs';
2
- export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-DXJcxLn0.cjs';
1
+ import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-CerGqm3R.cjs';
2
+ export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-CerGqm3R.cjs';
3
3
  export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './types/prisma.cjs';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-BpEIJT0p.js';
2
- export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-BpEIJT0p.js';
1
+ import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from './index-CUXgq7zG.js';
2
+ export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from './index-CUXgq7zG.js';
3
3
  export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './types/prisma.js';
4
4
  import '@storm-software/build-tools/types';
5
5
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-DXJcxLn0.cjs';
1
+ export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-CerGqm3R.cjs';
2
2
  export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './prisma.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-BpEIJT0p.js';
1
+ export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-CUXgq7zG.js';
2
2
  export { ActiveConnectorType, BinaryTargetsEnvValue, ConnectorType, DataSource, EnvPaths, EnvValue, GeneratorConfig, GetSchemaOptions, GetSchemaResponse, MultipleSchemas, PrismaSchema, SchemaFileInput } from './prisma.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-DXJcxLn0.cjs';
1
+ export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-CerGqm3R.cjs';
2
2
  import './prisma.cjs';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
@@ -1,4 +1,4 @@
1
- export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-BpEIJT0p.js';
1
+ export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-CUXgq7zG.js';
2
2
  import './prisma.js';
3
3
  import '@storm-software/build-tools/types';
4
4
  import '@storm-software/config-tools/types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-prisma",
3
- "version": "0.1.16",
3
+ "version": "0.1.19",
4
4
  "type": "module",
5
5
  "description": "A Powerlines plugin to generate project code and a Prisma client from a Prisma schema (PSL).",
6
6
  "repository": {
@@ -134,7 +134,7 @@
134
134
  "@stryke/cli": "^0.12.7",
135
135
  "defu": "^6.1.4",
136
136
  "jiti": "^2.6.1",
137
- "powerlines": "^0.22.1",
137
+ "powerlines": "^0.23.2",
138
138
  "ts-pattern": "^5.9.0",
139
139
  "prisma-util": "^2.1.1",
140
140
  "@prisma/get-platform": "^6.19.0",
@@ -142,10 +142,10 @@
142
142
  "fp-ts": "^2.16.11"
143
143
  },
144
144
  "devDependencies": {
145
- "@powerlines/nx": "^0.10.16",
146
- "@powerlines/plugin-plugin": "^0.11.24",
145
+ "@powerlines/nx": "^0.10.19",
146
+ "@powerlines/plugin-plugin": "^0.11.27",
147
147
  "@types/node": "^22.19.1"
148
148
  },
149
149
  "publishConfig": { "access": "public" },
150
- "gitHead": "781b9a5f57b9c64bf6e659316741b7c8a429445f"
150
+ "gitHead": "628334bf5e96fa739c6a2b0a325f133ea928b530"
151
151
  }