@powerlines/plugin-prisma 0.4.224 → 0.4.226
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/{client-generator-DiEbyprh.cjs → client-generator-BmaKFa6E.cjs} +1 -1
- package/dist/{client-generator-AyI_e7aN.mjs → client-generator-CK_kTFNn.mjs} +1 -1
- package/dist/client-generator-DF0Ws1pv.cjs +152 -0
- package/dist/client-generator-fDhGHV1f.mjs +147 -0
- package/dist/helpers/client-generator.cjs +1 -1
- package/dist/helpers/client-generator.mjs +1 -1
- package/dist/helpers/index.cjs +1 -1
- package/dist/helpers/index.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +117 -24
|
@@ -7,7 +7,7 @@ let _stryke_type_checks_is_buffer = require("@stryke/type-checks/is-buffer");
|
|
|
7
7
|
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
8
8
|
|
|
9
9
|
//#region package.json
|
|
10
|
-
var version = "0.4.
|
|
10
|
+
var version = "0.4.225";
|
|
11
11
|
|
|
12
12
|
//#endregion
|
|
13
13
|
//#region src/helpers/client-generator.ts
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
let _stryke_path_find = require("@stryke/path/find");
|
|
2
|
+
let _prisma_client_generator_ts = require("@prisma/client-generator-ts");
|
|
3
|
+
let _prisma_engines_version = require("@prisma/engines-version");
|
|
4
|
+
let _stryke_convert_buffer_to_string = require("@stryke/convert/buffer-to-string");
|
|
5
|
+
let _stryke_path_replace = require("@stryke/path/replace");
|
|
6
|
+
let _stryke_type_checks_is_buffer = require("@stryke/type-checks/is-buffer");
|
|
7
|
+
let _stryke_type_checks_is_string = require("@stryke/type-checks/is-string");
|
|
8
|
+
|
|
9
|
+
//#region package.json
|
|
10
|
+
var version = "0.4.226";
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/helpers/client-generator.ts
|
|
14
|
+
var PowerlinesClientGenerator = class {
|
|
15
|
+
context;
|
|
16
|
+
#options;
|
|
17
|
+
name = "powerlines-client";
|
|
18
|
+
constructor(context) {
|
|
19
|
+
this.context = context;
|
|
20
|
+
this.#options = {
|
|
21
|
+
name: this.name,
|
|
22
|
+
output: null,
|
|
23
|
+
config: {},
|
|
24
|
+
provider: {
|
|
25
|
+
fromEnvVar: "POWERLINES_CLIENT_PROVIDER",
|
|
26
|
+
value: this.name
|
|
27
|
+
},
|
|
28
|
+
binaryTargets: [],
|
|
29
|
+
previewFeatures: this.context.prisma.previewFeatures,
|
|
30
|
+
sourceFilePath: this.context.prisma.schema.schemaRootDir
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
async getManifest(_config) {
|
|
34
|
+
return Promise.resolve({
|
|
35
|
+
defaultOutput: "./generated",
|
|
36
|
+
prettyName: "Powerlines Client",
|
|
37
|
+
version,
|
|
38
|
+
requiresEngines: [],
|
|
39
|
+
requiresEngineVersion: _prisma_engines_version.enginesVersion
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async generate() {
|
|
43
|
+
const { prismaClientDmmf, fileMap } = (0, _prisma_client_generator_ts.buildClient)({
|
|
44
|
+
datamodel: this.context.prisma.schema.schemas.map((s) => s.content).join("\n"),
|
|
45
|
+
schemaPath: this.context.prisma.schema.schemaPath,
|
|
46
|
+
binaryPaths: {},
|
|
47
|
+
datasources: this.context.prisma.schema.datasources,
|
|
48
|
+
outputDir: this.context.config.prisma.outputPath,
|
|
49
|
+
runtimeBase: "@prisma/client/runtime",
|
|
50
|
+
dmmf: this.context.prisma.dmmf,
|
|
51
|
+
generator: this.#options,
|
|
52
|
+
engineVersion: _prisma_engines_version.enginesVersion,
|
|
53
|
+
clientVersion: version,
|
|
54
|
+
activeProvider: this.context.prisma.schema.primaryDatasource?.activeProvider,
|
|
55
|
+
typedSql: this.context.prisma.typedSql,
|
|
56
|
+
target: this.context.config.prisma.runtime,
|
|
57
|
+
generatedFileExtension: "ts",
|
|
58
|
+
importFileExtension: "ts",
|
|
59
|
+
moduleFormat: "esm",
|
|
60
|
+
tsNoCheckPreamble: true,
|
|
61
|
+
compilerBuild: "fast"
|
|
62
|
+
});
|
|
63
|
+
const errorArray = [];
|
|
64
|
+
const denylists = {
|
|
65
|
+
models: [
|
|
66
|
+
"PrismaClient",
|
|
67
|
+
"Prisma",
|
|
68
|
+
"async",
|
|
69
|
+
"await",
|
|
70
|
+
"break",
|
|
71
|
+
"case",
|
|
72
|
+
"catch",
|
|
73
|
+
"class",
|
|
74
|
+
"const",
|
|
75
|
+
"continue",
|
|
76
|
+
"debugger",
|
|
77
|
+
"default",
|
|
78
|
+
"delete",
|
|
79
|
+
"do",
|
|
80
|
+
"else",
|
|
81
|
+
"enum",
|
|
82
|
+
"export",
|
|
83
|
+
"extends",
|
|
84
|
+
"false",
|
|
85
|
+
"finally",
|
|
86
|
+
"for",
|
|
87
|
+
"function",
|
|
88
|
+
"if",
|
|
89
|
+
"implements",
|
|
90
|
+
"import",
|
|
91
|
+
"in",
|
|
92
|
+
"instanceof",
|
|
93
|
+
"interface",
|
|
94
|
+
"let",
|
|
95
|
+
"new",
|
|
96
|
+
"null",
|
|
97
|
+
"package",
|
|
98
|
+
"private",
|
|
99
|
+
"protected",
|
|
100
|
+
"public",
|
|
101
|
+
"return",
|
|
102
|
+
"super",
|
|
103
|
+
"switch",
|
|
104
|
+
"this",
|
|
105
|
+
"throw",
|
|
106
|
+
"true",
|
|
107
|
+
"try",
|
|
108
|
+
"using",
|
|
109
|
+
"typeof",
|
|
110
|
+
"var",
|
|
111
|
+
"void",
|
|
112
|
+
"while",
|
|
113
|
+
"with",
|
|
114
|
+
"yield"
|
|
115
|
+
],
|
|
116
|
+
fields: [
|
|
117
|
+
"AND",
|
|
118
|
+
"OR",
|
|
119
|
+
"NOT"
|
|
120
|
+
],
|
|
121
|
+
dynamic: []
|
|
122
|
+
};
|
|
123
|
+
if (prismaClientDmmf.datamodel.enums) {
|
|
124
|
+
for (const it of prismaClientDmmf.datamodel.enums) if (denylists.models.includes(it.name) || denylists.fields.includes(it.name)) errorArray.push(/* @__PURE__ */ new Error(`"enum ${it.name}"`));
|
|
125
|
+
}
|
|
126
|
+
if (prismaClientDmmf.datamodel.models) {
|
|
127
|
+
for (const it of prismaClientDmmf.datamodel.models) if (denylists.models.includes(it.name) || denylists.fields.includes(it.name)) errorArray.push(/* @__PURE__ */ new Error(`"model ${it.name}"`));
|
|
128
|
+
}
|
|
129
|
+
if (errorArray.length > 0) {
|
|
130
|
+
let message = `Error: The schema at "${this.context.prisma.schema.schemaPath}" contains reserved keywords.\n Rename the following items:`;
|
|
131
|
+
for (const error of errorArray) message += `\n - ${error.message}`;
|
|
132
|
+
throw new Error(`${message}\nTo learn more about how to rename models, check out https://pris.ly/d/naming-models`);
|
|
133
|
+
}
|
|
134
|
+
await this.writeFileMap(fileMap);
|
|
135
|
+
}
|
|
136
|
+
stop() {}
|
|
137
|
+
async writeFileMap(fileMap) {
|
|
138
|
+
return Promise.all(Object.entries(fileMap).map(async ([fileName, content]) => {
|
|
139
|
+
if ((0, _stryke_type_checks_is_string.isString)(content)) this.context.emitBuiltinSync(content, `prisma/${(0, _stryke_path_replace.replaceExtension)(fileName)}`, { extension: (0, _stryke_path_find.findFileExtension)(fileName) || "ts" });
|
|
140
|
+
else if ((0, _stryke_type_checks_is_buffer.isBuffer)(content)) this.context.emitBuiltinSync((0, _stryke_convert_buffer_to_string.bufferToString)(content), `prisma/${(0, _stryke_path_replace.replaceExtension)(fileName)}`, { extension: (0, _stryke_path_find.findFileExtension)(fileName) || "ts" });
|
|
141
|
+
else await this.writeFileMap(content);
|
|
142
|
+
}));
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
//#endregion
|
|
147
|
+
Object.defineProperty(exports, 'PowerlinesClientGenerator', {
|
|
148
|
+
enumerable: true,
|
|
149
|
+
get: function () {
|
|
150
|
+
return PowerlinesClientGenerator;
|
|
151
|
+
}
|
|
152
|
+
});
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { findFileExtension } from "@stryke/path/find";
|
|
2
|
+
import { buildClient } from "@prisma/client-generator-ts";
|
|
3
|
+
import { enginesVersion } from "@prisma/engines-version";
|
|
4
|
+
import { bufferToString } from "@stryke/convert/buffer-to-string";
|
|
5
|
+
import { replaceExtension } from "@stryke/path/replace";
|
|
6
|
+
import { isBuffer } from "@stryke/type-checks/is-buffer";
|
|
7
|
+
import { isString } from "@stryke/type-checks/is-string";
|
|
8
|
+
|
|
9
|
+
//#region package.json
|
|
10
|
+
var version = "0.4.225";
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/helpers/client-generator.ts
|
|
14
|
+
var PowerlinesClientGenerator = class {
|
|
15
|
+
context;
|
|
16
|
+
#options;
|
|
17
|
+
name = "powerlines-client";
|
|
18
|
+
constructor(context) {
|
|
19
|
+
this.context = context;
|
|
20
|
+
this.#options = {
|
|
21
|
+
name: this.name,
|
|
22
|
+
output: null,
|
|
23
|
+
config: {},
|
|
24
|
+
provider: {
|
|
25
|
+
fromEnvVar: "POWERLINES_CLIENT_PROVIDER",
|
|
26
|
+
value: this.name
|
|
27
|
+
},
|
|
28
|
+
binaryTargets: [],
|
|
29
|
+
previewFeatures: this.context.prisma.previewFeatures,
|
|
30
|
+
sourceFilePath: this.context.prisma.schema.schemaRootDir
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
async getManifest(_config) {
|
|
34
|
+
return Promise.resolve({
|
|
35
|
+
defaultOutput: "./generated",
|
|
36
|
+
prettyName: "Powerlines Client",
|
|
37
|
+
version,
|
|
38
|
+
requiresEngines: [],
|
|
39
|
+
requiresEngineVersion: enginesVersion
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async generate() {
|
|
43
|
+
const { prismaClientDmmf, fileMap } = buildClient({
|
|
44
|
+
datamodel: this.context.prisma.schema.schemas.map((s) => s.content).join("\n"),
|
|
45
|
+
schemaPath: this.context.prisma.schema.schemaPath,
|
|
46
|
+
binaryPaths: {},
|
|
47
|
+
datasources: this.context.prisma.schema.datasources,
|
|
48
|
+
outputDir: this.context.config.prisma.outputPath,
|
|
49
|
+
runtimeBase: "@prisma/client/runtime",
|
|
50
|
+
dmmf: this.context.prisma.dmmf,
|
|
51
|
+
generator: this.#options,
|
|
52
|
+
engineVersion: enginesVersion,
|
|
53
|
+
clientVersion: version,
|
|
54
|
+
activeProvider: this.context.prisma.schema.primaryDatasource?.activeProvider,
|
|
55
|
+
typedSql: this.context.prisma.typedSql,
|
|
56
|
+
target: this.context.config.prisma.runtime,
|
|
57
|
+
generatedFileExtension: "ts",
|
|
58
|
+
importFileExtension: "ts",
|
|
59
|
+
moduleFormat: "esm",
|
|
60
|
+
tsNoCheckPreamble: true,
|
|
61
|
+
compilerBuild: "fast"
|
|
62
|
+
});
|
|
63
|
+
const errorArray = [];
|
|
64
|
+
const denylists = {
|
|
65
|
+
models: [
|
|
66
|
+
"PrismaClient",
|
|
67
|
+
"Prisma",
|
|
68
|
+
"async",
|
|
69
|
+
"await",
|
|
70
|
+
"break",
|
|
71
|
+
"case",
|
|
72
|
+
"catch",
|
|
73
|
+
"class",
|
|
74
|
+
"const",
|
|
75
|
+
"continue",
|
|
76
|
+
"debugger",
|
|
77
|
+
"default",
|
|
78
|
+
"delete",
|
|
79
|
+
"do",
|
|
80
|
+
"else",
|
|
81
|
+
"enum",
|
|
82
|
+
"export",
|
|
83
|
+
"extends",
|
|
84
|
+
"false",
|
|
85
|
+
"finally",
|
|
86
|
+
"for",
|
|
87
|
+
"function",
|
|
88
|
+
"if",
|
|
89
|
+
"implements",
|
|
90
|
+
"import",
|
|
91
|
+
"in",
|
|
92
|
+
"instanceof",
|
|
93
|
+
"interface",
|
|
94
|
+
"let",
|
|
95
|
+
"new",
|
|
96
|
+
"null",
|
|
97
|
+
"package",
|
|
98
|
+
"private",
|
|
99
|
+
"protected",
|
|
100
|
+
"public",
|
|
101
|
+
"return",
|
|
102
|
+
"super",
|
|
103
|
+
"switch",
|
|
104
|
+
"this",
|
|
105
|
+
"throw",
|
|
106
|
+
"true",
|
|
107
|
+
"try",
|
|
108
|
+
"using",
|
|
109
|
+
"typeof",
|
|
110
|
+
"var",
|
|
111
|
+
"void",
|
|
112
|
+
"while",
|
|
113
|
+
"with",
|
|
114
|
+
"yield"
|
|
115
|
+
],
|
|
116
|
+
fields: [
|
|
117
|
+
"AND",
|
|
118
|
+
"OR",
|
|
119
|
+
"NOT"
|
|
120
|
+
],
|
|
121
|
+
dynamic: []
|
|
122
|
+
};
|
|
123
|
+
if (prismaClientDmmf.datamodel.enums) {
|
|
124
|
+
for (const it of prismaClientDmmf.datamodel.enums) if (denylists.models.includes(it.name) || denylists.fields.includes(it.name)) errorArray.push(/* @__PURE__ */ new Error(`"enum ${it.name}"`));
|
|
125
|
+
}
|
|
126
|
+
if (prismaClientDmmf.datamodel.models) {
|
|
127
|
+
for (const it of prismaClientDmmf.datamodel.models) if (denylists.models.includes(it.name) || denylists.fields.includes(it.name)) errorArray.push(/* @__PURE__ */ new Error(`"model ${it.name}"`));
|
|
128
|
+
}
|
|
129
|
+
if (errorArray.length > 0) {
|
|
130
|
+
let message = `Error: The schema at "${this.context.prisma.schema.schemaPath}" contains reserved keywords.\n Rename the following items:`;
|
|
131
|
+
for (const error of errorArray) message += `\n - ${error.message}`;
|
|
132
|
+
throw new Error(`${message}\nTo learn more about how to rename models, check out https://pris.ly/d/naming-models`);
|
|
133
|
+
}
|
|
134
|
+
await this.writeFileMap(fileMap);
|
|
135
|
+
}
|
|
136
|
+
stop() {}
|
|
137
|
+
async writeFileMap(fileMap) {
|
|
138
|
+
return Promise.all(Object.entries(fileMap).map(async ([fileName, content]) => {
|
|
139
|
+
if (isString(content)) this.context.emitBuiltinSync(content, `prisma/${replaceExtension(fileName)}`, { extension: findFileExtension(fileName) || "ts" });
|
|
140
|
+
else if (isBuffer(content)) this.context.emitBuiltinSync(bufferToString(content), `prisma/${replaceExtension(fileName)}`, { extension: findFileExtension(fileName) || "ts" });
|
|
141
|
+
else await this.writeFileMap(content);
|
|
142
|
+
}));
|
|
143
|
+
}
|
|
144
|
+
};
|
|
145
|
+
|
|
146
|
+
//#endregion
|
|
147
|
+
export { PowerlinesClientGenerator as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_client_generator = require('../client-generator-
|
|
2
|
+
const require_client_generator = require('../client-generator-DF0Ws1pv.cjs');
|
|
3
3
|
|
|
4
4
|
exports.PowerlinesClientGenerator = require_client_generator.PowerlinesClientGenerator;
|
package/dist/helpers/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
2
|
const require_get_schema = require('../get-schema-Ddq6Y5_l.cjs');
|
|
3
|
-
const require_client_generator = require('../client-generator-
|
|
3
|
+
const require_client_generator = require('../client-generator-DF0Ws1pv.cjs');
|
|
4
4
|
const require_helpers_schema_creator = require('./schema-creator.cjs');
|
|
5
5
|
const require_helpers_typed_sql = require('./typed-sql.cjs');
|
|
6
6
|
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesClientGenerator } from "../client-generator-
|
|
1
|
+
import { t as PowerlinesClientGenerator } from "../client-generator-CK_kTFNn.mjs";
|
|
2
2
|
import { getSchema } from "./get-schema.mjs";
|
|
3
3
|
import { PrismaSchemaCreator } from "./schema-creator.mjs";
|
|
4
4
|
import { introspectSql } from "./typed-sql.mjs";
|
package/dist/index.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
2
2
|
const require_get_schema = require('./get-schema-Ddq6Y5_l.cjs');
|
|
3
|
-
const require_client_generator = require('./client-generator-
|
|
3
|
+
const require_client_generator = require('./client-generator-DF0Ws1pv.cjs');
|
|
4
4
|
const require_helpers_schema_creator = require('./helpers/schema-creator.cjs');
|
|
5
5
|
const require_helpers_typed_sql = require('./helpers/typed-sql.cjs');
|
|
6
6
|
let _powerlines_plugin_pulumi = require("@powerlines/plugin-pulumi");
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PowerlinesClientGenerator } from "./client-generator-
|
|
1
|
+
import { t as PowerlinesClientGenerator } from "./client-generator-CK_kTFNn.mjs";
|
|
2
2
|
import { getSchema } from "./helpers/get-schema.mjs";
|
|
3
3
|
import { PrismaSchemaCreator } from "./helpers/schema-creator.mjs";
|
|
4
4
|
import { introspectSql } from "./helpers/typed-sql.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerlines/plugin-prisma",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.226",
|
|
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"],
|
|
@@ -40,40 +40,133 @@
|
|
|
40
40
|
],
|
|
41
41
|
"type": "module",
|
|
42
42
|
"exports": {
|
|
43
|
-
".": {
|
|
43
|
+
".": {
|
|
44
|
+
"require": {
|
|
45
|
+
"types": "./dist/index.d.cts",
|
|
46
|
+
"default": "./dist/index.cjs"
|
|
47
|
+
},
|
|
48
|
+
"import": {
|
|
49
|
+
"types": "./dist/index.d.mts",
|
|
50
|
+
"default": "./dist/index.mjs"
|
|
51
|
+
},
|
|
52
|
+
"default": {
|
|
53
|
+
"types": "./dist/index.d.mts",
|
|
54
|
+
"default": "./dist/index.mjs"
|
|
55
|
+
}
|
|
56
|
+
},
|
|
44
57
|
"./helpers": {
|
|
45
|
-
"
|
|
46
|
-
|
|
58
|
+
"require": {
|
|
59
|
+
"types": "./dist/helpers/index.d.cts",
|
|
60
|
+
"default": "./dist/helpers/index.cjs"
|
|
61
|
+
},
|
|
62
|
+
"import": {
|
|
63
|
+
"types": "./dist/helpers/index.d.mts",
|
|
64
|
+
"default": "./dist/helpers/index.mjs"
|
|
65
|
+
},
|
|
66
|
+
"default": {
|
|
67
|
+
"types": "./dist/helpers/index.d.mts",
|
|
68
|
+
"default": "./dist/helpers/index.mjs"
|
|
69
|
+
}
|
|
47
70
|
},
|
|
48
71
|
"./helpers/client-generator": {
|
|
49
|
-
"
|
|
50
|
-
|
|
72
|
+
"require": {
|
|
73
|
+
"types": "./dist/helpers/client-generator.d.cts",
|
|
74
|
+
"default": "./dist/helpers/client-generator.cjs"
|
|
75
|
+
},
|
|
76
|
+
"import": {
|
|
77
|
+
"types": "./dist/helpers/client-generator.d.mts",
|
|
78
|
+
"default": "./dist/helpers/client-generator.mjs"
|
|
79
|
+
},
|
|
80
|
+
"default": {
|
|
81
|
+
"types": "./dist/helpers/client-generator.d.mts",
|
|
82
|
+
"default": "./dist/helpers/client-generator.mjs"
|
|
83
|
+
}
|
|
51
84
|
},
|
|
52
85
|
"./helpers/get-schema": {
|
|
53
|
-
"
|
|
54
|
-
|
|
86
|
+
"require": {
|
|
87
|
+
"types": "./dist/helpers/get-schema.d.cts",
|
|
88
|
+
"default": "./dist/helpers/get-schema.cjs"
|
|
89
|
+
},
|
|
90
|
+
"import": {
|
|
91
|
+
"types": "./dist/helpers/get-schema.d.mts",
|
|
92
|
+
"default": "./dist/helpers/get-schema.mjs"
|
|
93
|
+
},
|
|
94
|
+
"default": {
|
|
95
|
+
"types": "./dist/helpers/get-schema.d.mts",
|
|
96
|
+
"default": "./dist/helpers/get-schema.mjs"
|
|
97
|
+
}
|
|
55
98
|
},
|
|
56
99
|
"./helpers/schema-creator": {
|
|
57
|
-
"
|
|
58
|
-
|
|
100
|
+
"require": {
|
|
101
|
+
"types": "./dist/helpers/schema-creator.d.cts",
|
|
102
|
+
"default": "./dist/helpers/schema-creator.cjs"
|
|
103
|
+
},
|
|
104
|
+
"import": {
|
|
105
|
+
"types": "./dist/helpers/schema-creator.d.mts",
|
|
106
|
+
"default": "./dist/helpers/schema-creator.mjs"
|
|
107
|
+
},
|
|
108
|
+
"default": {
|
|
109
|
+
"types": "./dist/helpers/schema-creator.d.mts",
|
|
110
|
+
"default": "./dist/helpers/schema-creator.mjs"
|
|
111
|
+
}
|
|
59
112
|
},
|
|
60
113
|
"./helpers/typed-sql": {
|
|
61
|
-
"
|
|
62
|
-
|
|
114
|
+
"require": {
|
|
115
|
+
"types": "./dist/helpers/typed-sql.d.cts",
|
|
116
|
+
"default": "./dist/helpers/typed-sql.cjs"
|
|
117
|
+
},
|
|
118
|
+
"import": {
|
|
119
|
+
"types": "./dist/helpers/typed-sql.d.mts",
|
|
120
|
+
"default": "./dist/helpers/typed-sql.mjs"
|
|
121
|
+
},
|
|
122
|
+
"default": {
|
|
123
|
+
"types": "./dist/helpers/typed-sql.d.mts",
|
|
124
|
+
"default": "./dist/helpers/typed-sql.mjs"
|
|
125
|
+
}
|
|
63
126
|
},
|
|
127
|
+
"./package.json": "./package.json",
|
|
64
128
|
"./types": {
|
|
65
|
-
"
|
|
66
|
-
|
|
129
|
+
"require": {
|
|
130
|
+
"types": "./dist/types/index.d.cts",
|
|
131
|
+
"default": "./dist/types/index.cjs"
|
|
132
|
+
},
|
|
133
|
+
"import": {
|
|
134
|
+
"types": "./dist/types/index.d.mts",
|
|
135
|
+
"default": "./dist/types/index.mjs"
|
|
136
|
+
},
|
|
137
|
+
"default": {
|
|
138
|
+
"types": "./dist/types/index.d.mts",
|
|
139
|
+
"default": "./dist/types/index.mjs"
|
|
140
|
+
}
|
|
67
141
|
},
|
|
68
142
|
"./types/plugin": {
|
|
69
|
-
"
|
|
70
|
-
|
|
143
|
+
"require": {
|
|
144
|
+
"types": "./dist/types/plugin.d.cts",
|
|
145
|
+
"default": "./dist/types/plugin.cjs"
|
|
146
|
+
},
|
|
147
|
+
"import": {
|
|
148
|
+
"types": "./dist/types/plugin.d.mts",
|
|
149
|
+
"default": "./dist/types/plugin.mjs"
|
|
150
|
+
},
|
|
151
|
+
"default": {
|
|
152
|
+
"types": "./dist/types/plugin.d.mts",
|
|
153
|
+
"default": "./dist/types/plugin.mjs"
|
|
154
|
+
}
|
|
71
155
|
},
|
|
72
156
|
"./types/prisma": {
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
157
|
+
"require": {
|
|
158
|
+
"types": "./dist/types/prisma.d.cts",
|
|
159
|
+
"default": "./dist/types/prisma.cjs"
|
|
160
|
+
},
|
|
161
|
+
"import": {
|
|
162
|
+
"types": "./dist/types/prisma.d.mts",
|
|
163
|
+
"default": "./dist/types/prisma.mjs"
|
|
164
|
+
},
|
|
165
|
+
"default": {
|
|
166
|
+
"types": "./dist/types/prisma.d.mts",
|
|
167
|
+
"default": "./dist/types/prisma.mjs"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
77
170
|
},
|
|
78
171
|
"main": "./dist/index.cjs",
|
|
79
172
|
"module": "./dist/index.mjs",
|
|
@@ -81,7 +174,7 @@
|
|
|
81
174
|
"typings": "dist/index.d.mts",
|
|
82
175
|
"files": ["dist/**/*"],
|
|
83
176
|
"dependencies": {
|
|
84
|
-
"@powerlines/plugin-pulumi": "0.6.
|
|
177
|
+
"@powerlines/plugin-pulumi": "^0.6.185",
|
|
85
178
|
"@prisma/client-generator-registry": "7.6.0",
|
|
86
179
|
"@prisma/config": "7.6.0",
|
|
87
180
|
"@prisma/dmmf": "7.6.0",
|
|
@@ -99,16 +192,16 @@
|
|
|
99
192
|
"defu": "^6.1.7",
|
|
100
193
|
"fp-ts": "^2.16.11",
|
|
101
194
|
"jiti": "^2.7.0",
|
|
102
|
-
"powerlines": "0.47.
|
|
195
|
+
"powerlines": "^0.47.83",
|
|
103
196
|
"prisma-util": "^2.1.1",
|
|
104
197
|
"ts-pattern": "^5.9.0"
|
|
105
198
|
},
|
|
106
199
|
"devDependencies": {
|
|
107
|
-
"@powerlines/plugin-plugin": "0.12.
|
|
200
|
+
"@powerlines/plugin-plugin": "^0.12.495",
|
|
108
201
|
"@prisma/client-generator-ts": "7.6.0",
|
|
109
202
|
"@pulumi/pulumi": "^3.243.0",
|
|
110
203
|
"@types/node": "^25.9.1"
|
|
111
204
|
},
|
|
112
205
|
"publishConfig": { "access": "public" },
|
|
113
|
-
"gitHead": "
|
|
206
|
+
"gitHead": "ba29330277e0d8be78bdad08d260ddae06a95e81"
|
|
114
207
|
}
|