@powerlines/plugin-prisma 0.1.2 → 0.1.4
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/helpers/index.d.cts +1 -1
- package/dist/helpers/index.d.ts +1 -1
- package/dist/helpers/schema-creator.d.cts +1 -1
- package/dist/helpers/schema-creator.d.ts +1 -1
- package/dist/{index-CUlu9n5I.d.ts → index-BF_DlZlE.d.ts} +25 -1
- package/dist/{index-CG3S88IQ.d.cts → index-COZMC3fs.d.cts} +25 -1
- package/dist/src/index.d.cts +2 -2
- package/dist/src/index.d.ts +2 -2
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/plugin.d.cts +1 -1
- package/dist/types/plugin.d.ts +1 -1
- package/package.json +5 -5
package/dist/helpers/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { getSchema } from './get-schema.cjs';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-COZMC3fs.cjs';
|
|
3
3
|
import '../types/prisma.cjs';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
package/dist/helpers/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { getSchema } from './get-schema.js';
|
|
2
|
-
export { P as PrismaSchemaCreator } from '../index-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-BF_DlZlE.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-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-COZMC3fs.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-
|
|
2
|
+
export { P as PrismaSchemaCreator } from '../index-BF_DlZlE.js';
|
|
3
3
|
import '../types/prisma.js';
|
|
4
4
|
import '@storm-software/build-tools/types';
|
|
5
5
|
import '@storm-software/config-tools/types';
|
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -938,6 +938,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
938
938
|
* A logging function for the Powerlines engine
|
|
939
939
|
*/
|
|
940
940
|
log: LogFn;
|
|
941
|
+
/**
|
|
942
|
+
* A logging function for fatal messages
|
|
943
|
+
*/
|
|
944
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
945
|
+
/**
|
|
946
|
+
* A logging function for error messages
|
|
947
|
+
*/
|
|
948
|
+
error: (message: string | UnpluginMessage) => void;
|
|
949
|
+
/**
|
|
950
|
+
* A logging function for warning messages
|
|
951
|
+
*/
|
|
952
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
953
|
+
/**
|
|
954
|
+
* A logging function for informational messages
|
|
955
|
+
*/
|
|
956
|
+
info: (message: string | UnpluginMessage) => void;
|
|
957
|
+
/**
|
|
958
|
+
* A logging function for debug messages
|
|
959
|
+
*/
|
|
960
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
961
|
+
/**
|
|
962
|
+
* A logging function for trace messages
|
|
963
|
+
*/
|
|
964
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
941
965
|
/**
|
|
942
966
|
* The metadata information
|
|
943
967
|
*/
|
|
@@ -10,7 +10,7 @@ import { PackageJson } from '@stryke/types/package-json';
|
|
|
10
10
|
import { Jiti } from 'jiti';
|
|
11
11
|
import { ParserOptions, ParseResult } from 'oxc-parser';
|
|
12
12
|
import { Range } from 'semver';
|
|
13
|
-
import { UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
13
|
+
import { UnpluginMessage, UnpluginContext, UnpluginBuildContext, TransformResult, ExternalIdResult, HookFilter, UnpluginOptions } from 'unplugin';
|
|
14
14
|
import { TsConfigJson, CompilerOptions } from '@stryke/types/tsconfig';
|
|
15
15
|
import ts from 'typescript';
|
|
16
16
|
import { PrimitiveJsonValue } from '@stryke/json/types';
|
|
@@ -938,6 +938,30 @@ interface Context<TResolvedConfig extends ResolvedConfig = ResolvedConfig> {
|
|
|
938
938
|
* A logging function for the Powerlines engine
|
|
939
939
|
*/
|
|
940
940
|
log: LogFn;
|
|
941
|
+
/**
|
|
942
|
+
* A logging function for fatal messages
|
|
943
|
+
*/
|
|
944
|
+
fatal: (message: string | UnpluginMessage) => void;
|
|
945
|
+
/**
|
|
946
|
+
* A logging function for error messages
|
|
947
|
+
*/
|
|
948
|
+
error: (message: string | UnpluginMessage) => void;
|
|
949
|
+
/**
|
|
950
|
+
* A logging function for warning messages
|
|
951
|
+
*/
|
|
952
|
+
warn: (message: string | UnpluginMessage) => void;
|
|
953
|
+
/**
|
|
954
|
+
* A logging function for informational messages
|
|
955
|
+
*/
|
|
956
|
+
info: (message: string | UnpluginMessage) => void;
|
|
957
|
+
/**
|
|
958
|
+
* A logging function for debug messages
|
|
959
|
+
*/
|
|
960
|
+
debug: (message: string | UnpluginMessage) => void;
|
|
961
|
+
/**
|
|
962
|
+
* A logging function for trace messages
|
|
963
|
+
*/
|
|
964
|
+
trace: (message: string | UnpluginMessage) => void;
|
|
941
965
|
/**
|
|
942
966
|
* The metadata information
|
|
943
967
|
*/
|
package/dist/src/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from '../index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from '../index-COZMC3fs.cjs';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-COZMC3fs.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/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from '../index-
|
|
2
|
-
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
import { a as PrismaPluginContext, b as PrismaPluginOptions, c as Plugin } from '../index-BF_DlZlE.js';
|
|
2
|
+
export { e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-BF_DlZlE.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';
|
package/dist/types/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-COZMC3fs.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';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-BF_DlZlE.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';
|
package/dist/types/plugin.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-COZMC3fs.cjs';
|
|
2
2
|
import './prisma.cjs';
|
|
3
3
|
import '@storm-software/build-tools/types';
|
|
4
4
|
import '@storm-software/config-tools/types';
|
package/dist/types/plugin.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-
|
|
1
|
+
export { a as PrismaPluginContext, b as PrismaPluginOptions, e as PrismaPluginResolvedConfig, d as PrismaPluginUserConfig } from '../index-BF_DlZlE.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.
|
|
3
|
+
"version": "0.1.4",
|
|
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.4",
|
|
135
135
|
"defu": "^6.1.4",
|
|
136
136
|
"jiti": "^2.6.1",
|
|
137
|
-
"powerlines": "^0.
|
|
137
|
+
"powerlines": "^0.19.0",
|
|
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.
|
|
146
|
-
"@powerlines/plugin-plugin": "^0.11.
|
|
145
|
+
"@powerlines/nx": "^0.10.4",
|
|
146
|
+
"@powerlines/plugin-plugin": "^0.11.12",
|
|
147
147
|
"@types/node": "^22.19.0"
|
|
148
148
|
},
|
|
149
149
|
"publishConfig": { "access": "public" },
|
|
150
|
-
"gitHead": "
|
|
150
|
+
"gitHead": "8ee43c2a7eebce6b221aa572553f4296c87fce76"
|
|
151
151
|
}
|