@baeta/plugin-prisma 0.1.0 → 0.1.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,31 @@
1
1
  # @baeta/plugin-prisma
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#170](https://github.com/andreisergiu98/baeta/pull/170) [`59bbb9c`](https://github.com/andreisergiu98/baeta/commit/59bbb9c4baaf716f27dc251fe7aeb0231e6c5321) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - update dependencies
8
+
9
+ - Updated dependencies [[`e3fb6f8`](https://github.com/andreisergiu98/baeta/commit/e3fb6f877b4b20e248ad79cbaa3655cabe973f6b), [`59bbb9c`](https://github.com/andreisergiu98/baeta/commit/59bbb9c4baaf716f27dc251fe7aeb0231e6c5321)]:
10
+ - @baeta/generator-sdk@0.1.2
11
+ - @baeta/plugin-exec@0.1.2
12
+ - @baeta/util-path@0.1.2
13
+
14
+ ## 0.1.1
15
+
16
+ ### Patch Changes
17
+
18
+ - [`a3f0e5d`](https://github.com/andreisergiu98/baeta/commit/a3f0e5d03fc9ef21a87d3ec6bf264d0e9707636a) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - fix exports order in package.json
19
+
20
+ - [#161](https://github.com/andreisergiu98/baeta/pull/161) [`cca37dd`](https://github.com/andreisergiu98/baeta/commit/cca37dd7135a2852f1f6e287c46911306bdc8da0) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - update dependencies
21
+
22
+ - [#162](https://github.com/andreisergiu98/baeta/pull/162) [`1c42409`](https://github.com/andreisergiu98/baeta/commit/1c424095518f47a057dd8b475c3c634eeb59bb92) Thanks [@andreisergiu98](https://github.com/andreisergiu98)! - make generated schema path required
23
+
24
+ - Updated dependencies [[`7f1958c`](https://github.com/andreisergiu98/baeta/commit/7f1958c44d1b9bed473e48c875fdaa7020c434fa), [`b9638eb`](https://github.com/andreisergiu98/baeta/commit/b9638eb9fb713507efa9821b4f04cc7896a997b1), [`fd3a5d2`](https://github.com/andreisergiu98/baeta/commit/fd3a5d27b497aca4b8807155e801b1c1197c5fe2), [`9d8d6a1`](https://github.com/andreisergiu98/baeta/commit/9d8d6a15d63579a2e0bdaa07b7efdcf10aff2492), [`a3f0e5d`](https://github.com/andreisergiu98/baeta/commit/a3f0e5d03fc9ef21a87d3ec6bf264d0e9707636a), [`cca37dd`](https://github.com/andreisergiu98/baeta/commit/cca37dd7135a2852f1f6e287c46911306bdc8da0)]:
25
+ - @baeta/generator-sdk@0.1.1
26
+ - @baeta/plugin-exec@0.1.1
27
+ - @baeta/util-path@0.1.1
28
+
3
29
  ## 0.1.0
4
30
 
5
31
  ### Minor Changes
package/dist/index.d.cts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as _baeta_generator_sdk from '@baeta/generator-sdk';
2
2
 
3
3
  interface PrismaPluginOptions {
4
- prismaSchema: string;
5
4
  generateClient?: boolean;
6
5
  generateCommand?: string;
7
- generatedSchemaPath?: string;
6
+ prismaSchema: string;
7
+ generatedSchemaPath: string;
8
8
  }
9
9
 
10
- declare function prismaPlugin(options: PrismaPluginOptions): _baeta_generator_sdk.GeneratorPluginV1<{}>[];
10
+ declare function prismaPlugin(options: PrismaPluginOptions): _baeta_generator_sdk.GeneratorPluginV1<unknown>[];
11
11
 
12
12
  export { type PrismaPluginOptions, prismaPlugin as default, prismaPlugin };
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  import * as _baeta_generator_sdk from '@baeta/generator-sdk';
2
2
 
3
3
  interface PrismaPluginOptions {
4
- prismaSchema: string;
5
4
  generateClient?: boolean;
6
5
  generateCommand?: string;
7
- generatedSchemaPath?: string;
6
+ prismaSchema: string;
7
+ generatedSchemaPath: string;
8
8
  }
9
9
 
10
- declare function prismaPlugin(options: PrismaPluginOptions): _baeta_generator_sdk.GeneratorPluginV1<{}>[];
10
+ declare function prismaPlugin(options: PrismaPluginOptions): _baeta_generator_sdk.GeneratorPluginV1<unknown>[];
11
11
 
12
12
  export { type PrismaPluginOptions, prismaPlugin as default, prismaPlugin };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baeta/plugin-prisma",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "keywords": [
5
5
  "baeta",
6
6
  "graphql",
@@ -27,9 +27,9 @@
27
27
  "type": "module",
28
28
  "exports": {
29
29
  ".": {
30
+ "types": "./dist/index.d.ts",
30
31
  "import": "./dist/index.js",
31
- "require": "./dist/index.cjs",
32
- "types": "./dist/index.d.ts"
32
+ "require": "./dist/index.cjs"
33
33
  }
34
34
  },
35
35
  "types": "dist/index.d.ts",
@@ -44,22 +44,29 @@
44
44
  "types": "tsc --noEmit"
45
45
  },
46
46
  "dependencies": {
47
- "@baeta/generator-sdk": "^0.1.0",
48
- "@baeta/plugin-exec": "^0.1.0",
49
- "@baeta/util-path": "^0.1.0",
50
- "execa": "^9.4.0"
47
+ "@baeta/generator-sdk": "^0.1.2",
48
+ "@baeta/plugin-exec": "^0.1.2",
49
+ "@baeta/util-path": "^0.1.2",
50
+ "execa": "^9.5.1"
51
51
  },
52
52
  "devDependencies": {
53
53
  "@baeta/builder": "^0.0.0",
54
54
  "@baeta/tsconfig": "^0.0.0",
55
- "@types/node": "^22.7.4",
56
- "typescript": "^5.6.2"
55
+ "@types/node": "^22.9.1",
56
+ "typescript": "^5.6.3"
57
57
  },
58
58
  "engines": {
59
59
  "node": ">=22.0.0"
60
60
  },
61
61
  "publishConfig": {
62
- "access": "public"
62
+ "access": "public",
63
+ "exports": {
64
+ ".": {
65
+ "types": "./dist/index.d.ts",
66
+ "import": "./dist/index.js",
67
+ "require": "./dist/index.cjs"
68
+ }
69
+ }
63
70
  },
64
71
  "ava": {
65
72
  "extensions": {