@baeta/plugin-prisma 2.0.0-next.14 → 2.0.0-next.16
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 +8 -106
- package/README.md +31 -23
- package/dist/index.d.ts +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,117 +1,19 @@
|
|
|
1
1
|
# @baeta/plugin-prisma
|
|
2
2
|
|
|
3
|
-
## 2.0.0-next.
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- Updated dependencies:
|
|
8
|
-
- @baeta/plugin-exec@2.0.0-next.14
|
|
9
|
-
|
|
10
|
-
## 2.0.0-next.13
|
|
11
|
-
|
|
12
|
-
### Patch Changes
|
|
13
|
-
|
|
14
|
-
- Updated dependencies [[`3e7a4d7`](https://github.com/andreisergiu98/baeta/commit/3e7a4d71a59543b8a506938f788aec8b5d907776), [`3e7a4d7`](https://github.com/andreisergiu98/baeta/commit/3e7a4d71a59543b8a506938f788aec8b5d907776), [`53322ca`](https://github.com/andreisergiu98/baeta/commit/53322ca8ad0c10bce70e49692d5d15023ec3a5e8)]:
|
|
15
|
-
- @baeta/util-path@2.0.0-next.4
|
|
16
|
-
- @baeta/generator-sdk@2.0.0-next.5
|
|
17
|
-
- @baeta/plugin-exec@2.0.0-next.13
|
|
18
|
-
|
|
19
|
-
## 2.0.0-next.12
|
|
20
|
-
|
|
21
|
-
### Patch Changes
|
|
22
|
-
|
|
23
|
-
- Updated dependencies []:
|
|
24
|
-
- @baeta/plugin-exec@2.0.0-next.12
|
|
25
|
-
|
|
26
|
-
## 2.0.0-next.11
|
|
27
|
-
|
|
28
|
-
### Patch Changes
|
|
29
|
-
|
|
30
|
-
- Updated dependencies []:
|
|
31
|
-
- @baeta/plugin-exec@2.0.0-next.11
|
|
32
|
-
|
|
33
|
-
## 2.0.0-next.10
|
|
34
|
-
|
|
35
|
-
### Patch Changes
|
|
36
|
-
|
|
37
|
-
- Updated dependencies []:
|
|
38
|
-
- @baeta/plugin-exec@2.0.0-next.10
|
|
39
|
-
|
|
40
|
-
## 2.0.0-next.9
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- Updated dependencies [[`831cfa2`](https://github.com/andreisergiu98/baeta/commit/831cfa2a11445aaf7f2d1a1d7ddf073db9bb8008), [`831cfa2`](https://github.com/andreisergiu98/baeta/commit/831cfa2a11445aaf7f2d1a1d7ddf073db9bb8008)]:
|
|
45
|
-
- @baeta/generator-sdk@2.0.0-next.4
|
|
46
|
-
- @baeta/util-path@2.0.0-next.3
|
|
47
|
-
- @baeta/plugin-exec@2.0.0-next.9
|
|
48
|
-
|
|
49
|
-
## 2.0.0-next.8
|
|
50
|
-
|
|
51
|
-
### Patch Changes
|
|
52
|
-
|
|
53
|
-
- Updated dependencies []:
|
|
54
|
-
- @baeta/plugin-exec@2.0.0-next.8
|
|
55
|
-
|
|
56
|
-
## 2.0.0-next.7
|
|
57
|
-
|
|
58
|
-
### Patch Changes
|
|
59
|
-
|
|
60
|
-
- Updated dependencies []:
|
|
61
|
-
- @baeta/plugin-exec@2.0.0-next.7
|
|
62
|
-
|
|
63
|
-
## 2.0.0-next.3
|
|
64
|
-
|
|
65
|
-
### Patch Changes
|
|
66
|
-
|
|
67
|
-
- Update generator-sdk package
|
|
68
|
-
|
|
69
|
-
- Updated dependencies [[`6de5d15`](https://github.com/andreisergiu98/baeta/commit/6de5d15484d341a1717a1b2f3f45272912e6a886)]:
|
|
70
|
-
- @baeta/generator-sdk@2.0.0-next.3
|
|
71
|
-
- @baeta/plugin-exec@2.0.0-next.3
|
|
72
|
-
|
|
73
|
-
## 2.0.0-next.2
|
|
74
|
-
|
|
75
|
-
### Patch Changes
|
|
76
|
-
|
|
77
|
-
- Fix broken types
|
|
78
|
-
|
|
79
|
-
- Updated dependencies []:
|
|
80
|
-
- @baeta/generator-sdk@2.0.0-next.2
|
|
81
|
-
- @baeta/plugin-exec@2.0.0-next.2
|
|
82
|
-
- @baeta/util-path@2.0.0-next.2
|
|
83
|
-
|
|
84
|
-
## 2.0.0-next.1
|
|
85
|
-
|
|
86
|
-
### Patch Changes
|
|
87
|
-
|
|
88
|
-
- Fix release version
|
|
89
|
-
|
|
90
|
-
- Updated dependencies []:
|
|
91
|
-
- @baeta/generator-sdk@2.0.0-next.1
|
|
92
|
-
- @baeta/plugin-exec@2.0.0-next.1
|
|
93
|
-
- @baeta/util-path@2.0.0-next.1
|
|
94
|
-
|
|
95
|
-
## 2.0.0-next.0
|
|
3
|
+
## 2.0.0-next.16
|
|
96
4
|
|
|
97
5
|
### Major Changes
|
|
98
6
|
|
|
99
|
-
- [
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
- **Stricter type safety.**
|
|
103
|
-
You must now **explicitly define resolvers for every field** during development—breakages that used to surface at runtime are now caught at compile time.
|
|
104
|
-
- **Removed `@baeta/compiler`.**
|
|
105
|
-
Since modern runtimes can execute TypeScript natively, the separate compiler package is no longer needed. Use your runtime’s native TS support or your existing build setup.
|
|
106
|
-
- **Subscriptions update.**
|
|
107
|
-
`@baeta/subscriptions-pubsub` now targets **`graphql-subscriptions` v3**.
|
|
7
|
+
- Drop support for Node.js v23 and v25. Baeta now targets the active LTS releases — Node.js `^22.20.0`, `^24.0.0`, or `>=26.0.0`. by [@andreisergiu98](https://github.com/andreisergiu98) in [#290](https://github.com/andreisergiu98/baeta/pull/290)
|
|
8
|
+
|
|
9
|
+
- Updated for Baeta v2. by [@andreisergiu98](https://github.com/andreisergiu98) in [#290](https://github.com/andreisergiu98/baeta/pull/290)
|
|
108
10
|
|
|
109
11
|
### Patch Changes
|
|
110
12
|
|
|
111
|
-
- Updated dependencies [[`
|
|
112
|
-
- @baeta/generator-sdk@2.0.0-next.
|
|
113
|
-
- @baeta/plugin-exec@2.0.0-next.
|
|
114
|
-
- @baeta/util-path@2.0.0-next.
|
|
13
|
+
- Updated dependencies [[`046dc5c`](https://github.com/andreisergiu98/baeta/commit/046dc5c29a8ec0f613b9430caa659c08d41a678c), [`046dc5c`](https://github.com/andreisergiu98/baeta/commit/046dc5c29a8ec0f613b9430caa659c08d41a678c), [`046dc5c`](https://github.com/andreisergiu98/baeta/commit/046dc5c29a8ec0f613b9430caa659c08d41a678c)]:
|
|
14
|
+
- @baeta/generator-sdk@2.0.0-next.7
|
|
15
|
+
- @baeta/plugin-exec@2.0.0-next.16
|
|
16
|
+
- @baeta/util-path@2.0.0-next.6
|
|
115
17
|
|
|
116
18
|
## 1.0.11
|
|
117
19
|
|
package/README.md
CHANGED
|
@@ -5,9 +5,10 @@
|
|
|
5
5
|
<div align="center">
|
|
6
6
|
<h1>Baeta</h1>
|
|
7
7
|
<a href="https://www.npmjs.com/package/@baeta/cli"><img src="https://img.shields.io/npm/v/@baeta/cli.svg?style=flat" /></a>
|
|
8
|
-
<a href="https://github.com/andreisergiu98/baeta/actions/workflows/
|
|
8
|
+
<a href="https://github.com/andreisergiu98/baeta/actions/workflows/build.yml"><img src="https://img.shields.io/github/actions/workflow/status/andreisergiu98/baeta/build.yml" /></a>
|
|
9
9
|
<a href="https://github.com/andreisergiu98/baeta/pulls"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" /></a>
|
|
10
10
|
<a href="https://github.com/andreisergiu98/baeta/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue" /></a>
|
|
11
|
+
<img alt="nycrc config on GitHub" src="https://img.shields.io/nycrc/andreisergiu98/baeta?config=.nycrc.json&preferredThreshold=branches&color=green">
|
|
11
12
|
<br />
|
|
12
13
|
<br />
|
|
13
14
|
<a href="https://baeta.io/docs/getting-started/installation">Getting Started</a>
|
|
@@ -35,10 +36,11 @@ Building GraphQL APIs shouldn't be complicated. **Baeta** is a modern, modular,
|
|
|
35
36
|
- **Middleware & Directives**: Easy integration of custom behaviors
|
|
36
37
|
- **High Performance**: Built for scalability and efficiency
|
|
37
38
|
|
|
38
|
-
#### And optional
|
|
39
|
+
#### And optional app plugins and libraries
|
|
39
40
|
|
|
40
|
-
- **@baeta/
|
|
41
|
-
- **@baeta/
|
|
41
|
+
- **@baeta/auth**: Add powerful scope-based authorization
|
|
42
|
+
- **@baeta/complexity**: Reject resource-exhausting queries with depth, breadth and complexity limits
|
|
43
|
+
- **@baeta/cache**: Type-safe caching with declarative queries and automatic reconciliation
|
|
42
44
|
- ... and more!
|
|
43
45
|
|
|
44
46
|
## Why use Baeta?
|
|
@@ -89,7 +91,7 @@ const usersQuery = Query.users.resolve(() => {
|
|
|
89
91
|
return dataSource.user.findMany();
|
|
90
92
|
});
|
|
91
93
|
|
|
92
|
-
Query.$fields({
|
|
94
|
+
export default Query.$fields({
|
|
93
95
|
user: userQuery,
|
|
94
96
|
users: usersQuery,
|
|
95
97
|
});
|
|
@@ -98,17 +100,13 @@ Query.$fields({
|
|
|
98
100
|
#### 3. Add authorization
|
|
99
101
|
|
|
100
102
|
```typescript
|
|
103
|
+
import { auth, rule, scope } from "./lib/auth.ts";
|
|
101
104
|
import { UserModule } from "./typedef.ts";
|
|
102
105
|
|
|
103
106
|
const { Query } = UserModule;
|
|
104
107
|
|
|
105
108
|
const userQuery = Query.user
|
|
106
|
-
.$auth(
|
|
107
|
-
$or: {
|
|
108
|
-
isPublic: true,
|
|
109
|
-
isLoggedIn: true,
|
|
110
|
-
},
|
|
111
|
-
})
|
|
109
|
+
.$use(auth(rule.or(scope.isPublic, scope.isLoggedIn)))
|
|
112
110
|
.resolve(async ({ args }) => {
|
|
113
111
|
// ...
|
|
114
112
|
});
|
|
@@ -117,23 +115,33 @@ const userQuery = Query.user
|
|
|
117
115
|
#### 4. Add caching
|
|
118
116
|
|
|
119
117
|
```typescript
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
118
|
+
import { createCache, defineQuery } from "@baeta/cache";
|
|
119
|
+
import { redisClient } from "./lib/redis.ts";
|
|
120
|
+
|
|
121
|
+
const { Query, Mutation } = UserModule;
|
|
122
|
+
|
|
123
|
+
export const userCache = createCache(redisClient, {
|
|
124
|
+
name: "UserCache",
|
|
125
|
+
parse: JSON.parse,
|
|
126
|
+
serialize: JSON.stringify,
|
|
127
|
+
})
|
|
128
|
+
.withQueries({
|
|
129
|
+
findUser: defineQuery({
|
|
130
|
+
resolve: async (args: { id: string }) => {
|
|
131
|
+
return dataSource.user.findUnique({ where: args });
|
|
132
|
+
},
|
|
133
|
+
}),
|
|
127
134
|
})
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
})
|
|
135
|
+
.build();
|
|
136
|
+
|
|
137
|
+
const userQuery = Query.user.map(({ args }) =>
|
|
138
|
+
userCache.queries.findUser({ id: args.where.id }),
|
|
139
|
+
);
|
|
132
140
|
|
|
133
141
|
const updateUserMutation = Mutation.updateUser
|
|
134
142
|
.$use(async (next) => {
|
|
135
143
|
const user = await next();
|
|
136
|
-
await userCache.
|
|
144
|
+
if (user) await userCache.update(user);
|
|
137
145
|
return user;
|
|
138
146
|
})
|
|
139
147
|
.resolve(async ({ args }) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
import * as _$_baeta_generator_sdk0 from "@baeta/generator-sdk";
|
|
2
|
-
|
|
3
1
|
//#region lib/options.d.ts
|
|
4
2
|
/**
|
|
5
3
|
* Configuration options for the Prisma plugin
|
|
@@ -36,7 +34,7 @@ interface PrismaPluginOptions {
|
|
|
36
34
|
* @param options - Configuration options for the pagination plugin
|
|
37
35
|
* @returns A Baeta generator plugin
|
|
38
36
|
*/
|
|
39
|
-
declare function prismaPlugin(options: PrismaPluginOptions):
|
|
37
|
+
declare function prismaPlugin(options: PrismaPluginOptions): import("@baeta/generator-sdk").GeneratorPluginV1<unknown>[];
|
|
40
38
|
//#endregion
|
|
41
39
|
export { type PrismaPluginOptions, prismaPlugin as default, prismaPlugin };
|
|
42
40
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../lib/client-generator.ts","../index.ts"],"sourcesContent":["import { readFile } from 'node:fs/promises';\nimport type { Ctx, WatcherFile } from '@baeta/generator-sdk';\nimport { createExecPlugin } from '@baeta/plugin-exec';\nimport { resolve } from '@baeta/util-path';\nimport type { PrismaPluginOptions } from './options.ts';\n\nasync function compareSchemas(cwd: string, current: string, generated: string) {\n\tconst [currentSchema, generatedSchema] = await Promise.all([\n\t\treadFile(resolve(cwd, current), 'utf-8'),\n\t\treadFile(resolve(cwd, generated), 'utf-8').catch(() => null),\n\t]);\n\treturn currentSchema.replaceAll(' ', '') === generatedSchema?.replaceAll(' ', '');\n}\n\nexport function createPrismaClientPlugin(options: PrismaPluginOptions) {\n\tconst { prismaSchema, generateCommand, generatedSchemaPath } = options;\n\n\treturn createExecPlugin({\n\t\tname: 'prisma-client',\n\t\tactionName: 'Prisma client',\n\t\texec: generateCommand ?? 'prisma generate',\n\t\twatch: (generatorOptions, watcher, reload) => {\n\t\t\tconst prismaPath = resolve(generatorOptions.cwd, prismaSchema);\n\n\t\t\tconst handleChange = (file: WatcherFile) => {\n\t\t\t\tif (file.path === prismaPath) {\n\t\t\t\t\treload(file);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\twatcher.on('update', handleChange);\n\t\t\twatcher.on('delete', handleChange);\n\t\t},\n\t\tskip: async (ctx: Ctx) => {\n\t\t\tconst schema = resolve(ctx.generatorOptions.cwd, prismaSchema);\n\n\t\t\tif (ctx.watching && ctx.changedFile?.path !== schema) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif (!ctx.watching && generatedSchemaPath) {\n\t\t\t\treturn await compareSchemas(ctx.generatorOptions.cwd, prismaSchema, generatedSchemaPath);\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\t});\n}\n","import { createPrismaClientPlugin } from './lib/client-generator.ts';\nimport type { PrismaPluginOptions } from './lib/options.ts';\n\nexport type { PrismaPluginOptions } from './lib/options.ts';\n\nexport default prismaPlugin;\n\n/**\n * A plugin that manages Prisma client generation in your Baeta project.\n * See https://baeta.io/docs/plugins/prisma\n *\n * @param options - Configuration options for the pagination plugin\n * @returns A Baeta generator plugin\n */\nexport function prismaPlugin(options: PrismaPluginOptions) {\n\tif (options.generateClient === false) {\n\t\treturn [];\n\t}\n\treturn [createPrismaClientPlugin(options)];\n}\n"],"mappings":";;;;AAMA,eAAe,eAAe,KAAa,SAAiB,WAAmB;CAC9E,MAAM,CAAC,eAAe,mBAAmB,MAAM,QAAQ,IAAI,CAC1D,SAAS,QAAQ,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../lib/client-generator.ts","../index.ts"],"sourcesContent":["import { readFile } from 'node:fs/promises';\nimport type { Ctx, WatcherFile } from '@baeta/generator-sdk';\nimport { createExecPlugin } from '@baeta/plugin-exec';\nimport { resolve } from '@baeta/util-path';\nimport type { PrismaPluginOptions } from './options.ts';\n\nasync function compareSchemas(cwd: string, current: string, generated: string) {\n\tconst [currentSchema, generatedSchema] = await Promise.all([\n\t\treadFile(resolve(cwd, current), 'utf-8'),\n\t\treadFile(resolve(cwd, generated), 'utf-8').catch(() => null),\n\t]);\n\treturn currentSchema.replaceAll(' ', '') === generatedSchema?.replaceAll(' ', '');\n}\n\nexport function createPrismaClientPlugin(options: PrismaPluginOptions) {\n\tconst { prismaSchema, generateCommand, generatedSchemaPath } = options;\n\n\treturn createExecPlugin({\n\t\tname: 'prisma-client',\n\t\tactionName: 'Prisma client',\n\t\texec: generateCommand ?? 'prisma generate',\n\t\twatch: (generatorOptions, watcher, reload) => {\n\t\t\tconst prismaPath = resolve(generatorOptions.cwd, prismaSchema);\n\n\t\t\tconst handleChange = (file: WatcherFile) => {\n\t\t\t\tif (file.path === prismaPath) {\n\t\t\t\t\treload(file);\n\t\t\t\t}\n\t\t\t};\n\n\t\t\twatcher.on('update', handleChange);\n\t\t\twatcher.on('delete', handleChange);\n\t\t},\n\t\tskip: async (ctx: Ctx) => {\n\t\t\tconst schema = resolve(ctx.generatorOptions.cwd, prismaSchema);\n\n\t\t\tif (ctx.watching && ctx.changedFile?.path !== schema) {\n\t\t\t\treturn true;\n\t\t\t}\n\n\t\t\tif (!ctx.watching && generatedSchemaPath) {\n\t\t\t\treturn await compareSchemas(ctx.generatorOptions.cwd, prismaSchema, generatedSchemaPath);\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\t});\n}\n","import { createPrismaClientPlugin } from './lib/client-generator.ts';\nimport type { PrismaPluginOptions } from './lib/options.ts';\n\nexport type { PrismaPluginOptions } from './lib/options.ts';\n\nexport default prismaPlugin;\n\n/**\n * A plugin that manages Prisma client generation in your Baeta project.\n * See https://baeta.io/docs/plugins/prisma\n *\n * @param options - Configuration options for the pagination plugin\n * @returns A Baeta generator plugin\n */\nexport function prismaPlugin(options: PrismaPluginOptions) {\n\tif (options.generateClient === false) {\n\t\treturn [];\n\t}\n\treturn [createPrismaClientPlugin(options)];\n}\n"],"mappings":";;;;AAMA,eAAe,eAAe,KAAa,SAAiB,WAAmB;CAC9E,MAAM,CAAC,eAAe,mBAAmB,MAAM,QAAQ,IAAI,CAC1D,SAAS,QAAQ,KAAK,OAAO,GAAG,OAAO,GACvC,SAAS,QAAQ,KAAK,SAAS,GAAG,OAAO,CAAC,CAAC,YAAY,IAAI,CAC5D,CAAC;CACD,OAAO,cAAc,WAAW,KAAK,EAAE,MAAM,iBAAiB,WAAW,KAAK,EAAE;AACjF;AAEA,SAAgB,yBAAyB,SAA8B;CACtE,MAAM,EAAE,cAAc,iBAAiB,wBAAwB;CAE/D,OAAO,iBAAiB;EACvB,MAAM;EACN,YAAY;EACZ,MAAM,mBAAmB;EACzB,QAAQ,kBAAkB,SAAS,WAAW;GAC7C,MAAM,aAAa,QAAQ,iBAAiB,KAAK,YAAY;GAE7D,MAAM,gBAAgB,SAAsB;IAC3C,IAAI,KAAK,SAAS,YACjB,OAAO,IAAI;GAEb;GAEA,QAAQ,GAAG,UAAU,YAAY;GACjC,QAAQ,GAAG,UAAU,YAAY;EAClC;EACA,MAAM,OAAO,QAAa;GACzB,MAAM,SAAS,QAAQ,IAAI,iBAAiB,KAAK,YAAY;GAE7D,IAAI,IAAI,YAAY,IAAI,aAAa,SAAS,QAC7C,OAAO;GAGR,IAAI,CAAC,IAAI,YAAY,qBACpB,OAAO,MAAM,eAAe,IAAI,iBAAiB,KAAK,cAAc,mBAAmB;GAGxF,OAAO;EACR;CACD,CAAC;AACF;;;AC1CA,IAAA,wBAAe;;;;;;;;AASf,SAAgB,aAAa,SAA8B;CAC1D,IAAI,QAAQ,mBAAmB,OAC9B,OAAO,CAAC;CAET,OAAO,CAAC,yBAAyB,OAAO,CAAC;AAC1C"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@baeta/plugin-prisma",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.16",
|
|
4
|
+
"description": "Prisma integration plugin for Baeta.",
|
|
4
5
|
"keywords": [
|
|
5
6
|
"baeta",
|
|
6
7
|
"builder",
|
|
@@ -21,14 +22,14 @@
|
|
|
21
22
|
},
|
|
22
23
|
"repository": {
|
|
23
24
|
"type": "git",
|
|
24
|
-
"url": "https://github.com/andreisergiu98/baeta.git",
|
|
25
|
+
"url": "git+https://github.com/andreisergiu98/baeta.git",
|
|
25
26
|
"directory": "packages/plugin-prisma"
|
|
26
27
|
},
|
|
27
28
|
"files": [
|
|
28
|
-
"dist"
|
|
29
|
-
"package.json"
|
|
29
|
+
"dist"
|
|
30
30
|
],
|
|
31
31
|
"type": "module",
|
|
32
|
+
"sideEffects": false,
|
|
32
33
|
"types": "dist/index.d.ts",
|
|
33
34
|
"exports": {
|
|
34
35
|
".": {
|
|
@@ -37,13 +38,13 @@
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
"publishConfig": {
|
|
40
|
-
"access": "public",
|
|
41
41
|
"exports": {
|
|
42
42
|
".": {
|
|
43
43
|
"types": "./dist/index.d.ts",
|
|
44
44
|
"default": "./dist/index.js"
|
|
45
45
|
}
|
|
46
|
-
}
|
|
46
|
+
},
|
|
47
|
+
"access": "public"
|
|
47
48
|
},
|
|
48
49
|
"scripts": {
|
|
49
50
|
"build": "builder build",
|
|
@@ -54,9 +55,9 @@
|
|
|
54
55
|
"types": "tsc --noEmit"
|
|
55
56
|
},
|
|
56
57
|
"dependencies": {
|
|
57
|
-
"@baeta/generator-sdk": "^2.0.0-next.
|
|
58
|
-
"@baeta/plugin-exec": "^2.0.0-next.
|
|
59
|
-
"@baeta/util-path": "^2.0.0-next.
|
|
58
|
+
"@baeta/generator-sdk": "^2.0.0-next.7",
|
|
59
|
+
"@baeta/plugin-exec": "^2.0.0-next.16",
|
|
60
|
+
"@baeta/util-path": "^2.0.0-next.6"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
63
|
"@baeta/builder": "^0.0.0",
|
|
@@ -71,7 +72,7 @@
|
|
|
71
72
|
]
|
|
72
73
|
},
|
|
73
74
|
"engines": {
|
|
74
|
-
"node": "
|
|
75
|
+
"node": "^22.20.0 || ^24.0.0 || >=26.0.0"
|
|
75
76
|
},
|
|
76
77
|
"typedocOptions": {
|
|
77
78
|
"entryPoints": [
|