@powerlines/plugin-prisma 0.4.358 → 0.4.359

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.cjs CHANGED
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- //#region \0rolldown/runtime.js
2
+ // \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  enumerable: true
26
26
  }) : target, mod));
27
27
 
28
- //#endregion
29
28
  let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
30
29
  let _powerlines_plugin_pulumi = require("@powerlines/plugin-pulumi");
31
30
  let _stryke_path_join_paths = require("@stryke/path/join-paths");
@@ -36,7 +35,7 @@ defu = __toESM(defu, 1);
36
35
  let node_module = require("node:module");
37
36
  let powerlines_plugin_utils = require("powerlines/plugin-utils");
38
37
 
39
- //#region src/index.ts
38
+ // src/index.ts
40
39
  /**
41
40
  * Load packages via CJS where published ESM is unreliable.
42
41
  *
@@ -120,5 +119,4 @@ const plugin = (options = {}) => {
120
119
  ];
121
120
  };
122
121
 
123
- //#endregion
124
122
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { PowerPlantPrismaOptions, PrismaPluginContext, PrismaPluginOptions, PrismaPluginResolvedConfig, PrismaPluginUserConfig, PrismaPostgresPrismaPluginOptions, PrismaSchema } from "./types/plugin.cjs";
2
2
  import "./types/index.cjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  prisma?: PrismaPluginOptions;
@@ -17,6 +16,5 @@ declare module "powerlines" {
17
16
  * @returns Powerlines plugin instances.
18
17
  */
19
18
  declare const plugin: <TContext extends PrismaPluginContext = PrismaPluginContext>(options?: PrismaPluginOptions) => Plugin<TContext>[];
20
- //#endregion
21
19
  export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin };
22
20
  //# sourceMappingURL=index.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;;YAsCY;IACR,SAAS;;;;;;;;;;;;cA2BA,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
1
+ {"version":3,"file":"index.d.cts","names":[],"sources":["../src/index.ts"],"mappings":";;;;YAsCY;IACR,SAAS;;;;;;;;;;;;cA2BA,SACX,iBAAiB,sBAAsB,qBAEvC,UAAS,wBACR,OAAO"}
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { PowerPlantPrismaOptions, PrismaPluginContext, PrismaPluginOptions, PrismaPluginResolvedConfig, PrismaPluginUserConfig, PrismaPostgresPrismaPluginOptions, PrismaSchema } from "./types/plugin.mjs";
2
2
  import "./types/index.mjs";
3
3
  import { Plugin } from "powerlines";
4
- //#region src/index.d.ts
5
4
  declare module "powerlines" {
6
5
  interface Config {
7
6
  prisma?: PrismaPluginOptions;
@@ -17,6 +16,5 @@ declare module "powerlines" {
17
16
  * @returns Powerlines plugin instances.
18
17
  */
19
18
  declare const plugin: <TContext extends PrismaPluginContext = PrismaPluginContext>(options?: PrismaPluginOptions) => Plugin<TContext>[];
20
- //#endregion
21
19
  export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin };
22
20
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -7,7 +7,7 @@ import { kebabCase } from "@stryke/string-format/kebab-case";
7
7
  import defu from "defu";
8
8
  import { replacePathTokens } from "powerlines/plugin-utils";
9
9
 
10
- //#region src/index.ts
10
+ // src/index.ts
11
11
  /**
12
12
  * Load packages via CJS where published ESM is unreliable.
13
13
  *
@@ -91,6 +91,5 @@ const plugin = (options = {}) => {
91
91
  ];
92
92
  };
93
93
 
94
- //#endregion
95
94
  export { plugin };
96
95
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- require('./plugin.cjs');
1
+ require("./plugin.cjs");
@@ -3,7 +3,6 @@ import { Options, Options as PowerPlantPrismaOptions } from "@power-plant/prisma
3
3
  import { PrismaSchema, PrismaSchema as PrismaSchema$1 } from "@power-plant/prisma-schema";
4
4
  import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
5
5
  import { PulumiPluginContext, PulumiPluginOptions, PulumiPluginResolvedConfig, PulumiPluginUserConfig } from "@powerlines/plugin-pulumi";
6
- //#region src/types/plugin.d.ts
7
6
  interface PrismaPostgresPrismaPluginOptions {
8
7
  /**
9
8
  * The Prisma project name
@@ -69,6 +68,5 @@ type PrismaPluginResolvedConfig = ResolvedConfig & PulumiPluginResolvedConfig &
69
68
  };
70
69
  };
71
70
  type PrismaPluginContext<TResolvedConfig extends PrismaPluginResolvedConfig = PrismaPluginResolvedConfig> = PowerPlantPluginContext<PrismaSchema$1, Options, TResolvedConfig> & PulumiPluginContext;
72
- //#endregion
73
71
  export { type PowerPlantPrismaOptions, PrismaPluginContext, PrismaPluginOptions, PrismaPluginResolvedConfig, PrismaPluginUserConfig, PrismaPostgresPrismaPluginOptions, type PrismaSchema };
74
72
  //# sourceMappingURL=plugin.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"plugin.d.cts","names":["PowerPlantPrismaOptions","PrismaSchema"],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;UAmCiB;;;;;;EAMf;;;;;;EAOA;;;;;;EAoCA;;;;;KAMU,sBAAsB,QAChC,KAAKA;;;;;;;;;;;;EAaL;;;;EAKA;;;;EAKA,iBAAiB;;;;EAKjB,SAAS;;KAGC,yBAAyB,aACnC;EACE,SAAS;;KAGD,6BAA6B,iBACvC,6BACA,+BAA+BC,gBAAcD;EAC3C,QAAQ,KACN;;;;IAMA;;;;IAKA,iBAAiB,SAAS;;;KAIpB,oBACV,wBAAwB,6BACtB,8BACA,wBACFC,gBACAD,SACA,mBAEA"}
1
+ {"version":3,"file":"plugin.d.cts","names":["PowerPlantPrismaOptions","PrismaSchema"],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;UAmCiB;;;;;;EAMf;;;;;;EAOA;;;;;;EAoCA;;;;;KAMU,sBAAsB,QAChC,KAAKA;;;;;;;;;;;;EAaL;;;;EAKA;;;;EAKA,iBAAiB;;;;EAKjB,SAAS;;KAGC,yBAAyB,aACnC;EACE,SAAS;;KAGD,6BAA6B,iBACvC,6BACA,+BAA+BC,gBAAcD;EAC3C,QAAQ,KACN;;;;IAMA;;;;IAKA,iBAAiB,SAAS;;;KAIpB,oBACV,wBAAwB,6BACtB,8BACA,wBACFC,gBACAD,SACA,mBAEA"}
@@ -3,7 +3,6 @@ import { ResolvedConfig, UserConfig } from "powerlines";
3
3
  import { Options, Options as PowerPlantPrismaOptions } from "@power-plant/prisma";
4
4
  import { PrismaSchema, PrismaSchema as PrismaSchema$1 } from "@power-plant/prisma-schema";
5
5
  import { PowerPlantPluginContext, PowerPlantPluginResolvedConfig } from "@powerlines/plugin-power-plant/types/plugin";
6
- //#region src/types/plugin.d.ts
7
6
  interface PrismaPostgresPrismaPluginOptions {
8
7
  /**
9
8
  * The Prisma project name
@@ -69,6 +68,5 @@ type PrismaPluginResolvedConfig = ResolvedConfig & PulumiPluginResolvedConfig &
69
68
  };
70
69
  };
71
70
  type PrismaPluginContext<TResolvedConfig extends PrismaPluginResolvedConfig = PrismaPluginResolvedConfig> = PowerPlantPluginContext<PrismaSchema$1, Options, TResolvedConfig> & PulumiPluginContext;
72
- //#endregion
73
71
  export { type PowerPlantPrismaOptions, PrismaPluginContext, PrismaPluginOptions, PrismaPluginResolvedConfig, PrismaPluginUserConfig, PrismaPostgresPrismaPluginOptions, type PrismaSchema };
74
72
  //# sourceMappingURL=plugin.d.mts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-prisma",
3
- "version": "0.4.358",
3
+ "version": "0.4.359",
4
4
  "private": false,
5
5
  "description": "A Powerlines plugin to generate project code and a Prisma client from a Prisma schema (PSL).",
6
6
  "keywords": ["prisma", "powerlines", "storm-software", "powerlines-plugin"],
@@ -90,21 +90,21 @@
90
90
  "typings": "dist/index.d.mts",
91
91
  "files": ["dist/**/*"],
92
92
  "dependencies": {
93
- "@power-plant/core": "^0.0.93",
94
- "@power-plant/prisma": "^0.0.74",
93
+ "@power-plant/core": "^0.0.98",
94
+ "@power-plant/prisma": "^0.0.79",
95
95
  "@power-plant/prisma-schema": "^0.0.1",
96
- "@powerlines/plugin-power-plant": "^0.1.71",
97
- "@powerlines/plugin-pulumi": "^0.6.317",
96
+ "@powerlines/plugin-power-plant": "^0.1.72",
97
+ "@powerlines/plugin-pulumi": "^0.6.318",
98
98
  "@stryke/path": "^0.29.43",
99
99
  "@stryke/string-format": "^0.17.58",
100
100
  "defu": "^6.1.7",
101
- "powerlines": "^0.47.214"
101
+ "powerlines": "^0.47.215"
102
102
  },
103
103
  "devDependencies": {
104
- "@powerlines/plugin-plugin": "^0.12.627",
105
- "@pulumi/pulumi": "^3.267.0",
104
+ "@powerlines/plugin-plugin": "^0.12.628",
105
+ "@pulumi/pulumi": "^3.271.0",
106
106
  "@types/node": "^25.9.9"
107
107
  },
108
108
  "publishConfig": { "access": "public" },
109
- "gitHead": "11405039d1373508718de6817cecb7b8f8e46104"
109
+ "gitHead": "810bc635d1503594d09d9f0c8c93ea413745a9df"
110
110
  }