@powerlines/plugin-prisma 0.4.353 → 0.4.354

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,4 +1,4 @@
1
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
2
  //#region \0rolldown/runtime.js
3
3
  var __create = Object.create;
4
4
  var __defProp = Object.defineProperty;
@@ -27,9 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
27
27
 
28
28
  //#endregion
29
29
  let _powerlines_plugin_power_plant = require("@powerlines/plugin-power-plant");
30
- _powerlines_plugin_power_plant = __toESM(_powerlines_plugin_power_plant, 1);
31
30
  let _powerlines_plugin_pulumi = require("@powerlines/plugin-pulumi");
32
- _powerlines_plugin_pulumi = __toESM(_powerlines_plugin_pulumi, 1);
33
31
  let _stryke_path_join_paths = require("@stryke/path/join-paths");
34
32
  let _stryke_string_format_constant_case = require("@stryke/string-format/constant-case");
35
33
  let _stryke_string_format_kebab_case = require("@stryke/string-format/kebab-case");
@@ -61,8 +59,8 @@ const prismaGenerator = require$1("@power-plant/prisma");
61
59
  const plugin = (options = {}) => {
62
60
  const generatorConfig = { ...prismaGenerator };
63
61
  return [
64
- (0, _powerlines_plugin_power_plant.default)(generatorConfig),
65
- ...(0, _powerlines_plugin_pulumi.default)(options.pulumi),
62
+ (0, _powerlines_plugin_power_plant.plugin)(generatorConfig),
63
+ ...(0, _powerlines_plugin_pulumi.plugin)(options.pulumi),
66
64
  {
67
65
  name: "prisma",
68
66
  config() {
@@ -123,5 +121,4 @@ const plugin = (options = {}) => {
123
121
  };
124
122
 
125
123
  //#endregion
126
- exports.default = plugin;
127
124
  exports.plugin = plugin;
package/dist/index.d.cts CHANGED
@@ -18,5 +18,5 @@ declare module "powerlines" {
18
18
  */
19
19
  declare const plugin: <TContext extends PrismaPluginContext = PrismaPluginContext>(options?: PrismaPluginOptions) => Plugin<TContext>[];
20
20
  //#endregion
21
- export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin as default, plugin };
21
+ export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin };
22
22
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.mts CHANGED
@@ -18,5 +18,5 @@ declare module "powerlines" {
18
18
  */
19
19
  declare const plugin: <TContext extends PrismaPluginContext = PrismaPluginContext>(options?: PrismaPluginOptions) => Plugin<TContext>[];
20
20
  //#endregion
21
- export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin as default, plugin };
21
+ export { type PowerPlantPrismaOptions, type PrismaPluginContext, type PrismaPluginOptions, type PrismaPluginResolvedConfig, type PrismaPluginUserConfig, type PrismaPostgresPrismaPluginOptions, type PrismaSchema, plugin };
22
22
  //# sourceMappingURL=index.d.mts.map
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { createRequire } from "node:module";
2
- import powerPlant from "@powerlines/plugin-power-plant";
3
- import pulumi from "@powerlines/plugin-pulumi";
2
+ import { plugin as plugin$1 } from "@powerlines/plugin-power-plant";
3
+ import { plugin as plugin$2 } from "@powerlines/plugin-pulumi";
4
4
  import { joinPaths } from "@stryke/path/join-paths";
5
5
  import { constantCase } from "@stryke/string-format/constant-case";
6
6
  import { kebabCase } from "@stryke/string-format/kebab-case";
@@ -30,8 +30,8 @@ const prismaGenerator = require("@power-plant/prisma");
30
30
  const plugin = (options = {}) => {
31
31
  const generatorConfig = { ...prismaGenerator };
32
32
  return [
33
- powerPlant(generatorConfig),
34
- ...pulumi(options.pulumi),
33
+ plugin$1(generatorConfig),
34
+ ...plugin$2(options.pulumi),
35
35
  {
36
36
  name: "prisma",
37
37
  config() {
@@ -92,5 +92,5 @@ const plugin = (options = {}) => {
92
92
  };
93
93
 
94
94
  //#endregion
95
- export { plugin as default, plugin };
95
+ export { plugin };
96
96
  //# sourceMappingURL=index.mjs.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powerlines/plugin-prisma",
3
- "version": "0.4.353",
3
+ "version": "0.4.354",
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"],
@@ -93,18 +93,18 @@
93
93
  "@power-plant/core": "^0.0.89",
94
94
  "@power-plant/prisma": "^0.0.70",
95
95
  "@power-plant/prisma-schema": "^0.0.1",
96
- "@powerlines/plugin-power-plant": "^0.1.66",
97
- "@powerlines/plugin-pulumi": "^0.6.312",
96
+ "@powerlines/plugin-power-plant": "^0.1.67",
97
+ "@powerlines/plugin-pulumi": "^0.6.313",
98
98
  "@stryke/path": "^0.29.35",
99
99
  "@stryke/string-format": "^0.17.50",
100
100
  "defu": "^6.1.7",
101
- "powerlines": "^0.47.209"
101
+ "powerlines": "^0.47.210"
102
102
  },
103
103
  "devDependencies": {
104
- "@powerlines/plugin-plugin": "^0.12.622",
104
+ "@powerlines/plugin-plugin": "^0.12.623",
105
105
  "@pulumi/pulumi": "^3.256.0",
106
106
  "@types/node": "^25.9.5"
107
107
  },
108
108
  "publishConfig": { "access": "public" },
109
- "gitHead": "88974b224a5cdb97dbd377373c9ed7f8a8780324"
109
+ "gitHead": "4ee69b33975e2fa912d2c73700dc7e949f25b2d4"
110
110
  }