@veloxts/orm 0.1.0 → 0.2.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/README.md +4 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/plugin.d.ts +1 -1
- package/dist/plugin.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# @veloxts/orm
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **Alpha Release** - This framework is in early development. APIs may change between versions. Not recommended for production use yet.
|
|
4
|
+
|
|
5
|
+
Prisma wrapper with enhanced developer experience for the VeloxTS framework.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
@@ -69,7 +71,7 @@ const prisma = new PrismaClient();
|
|
|
69
71
|
|
|
70
72
|
// Create VeloxTS app
|
|
71
73
|
const app = await createVeloxApp({
|
|
72
|
-
port:
|
|
74
|
+
port: 3210,
|
|
73
75
|
logger: true,
|
|
74
76
|
});
|
|
75
77
|
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
15
15
|
*
|
|
16
16
|
* const prisma = new PrismaClient();
|
|
17
|
-
* const app = await createVeloxApp({ port:
|
|
17
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
18
18
|
*
|
|
19
19
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
|
20
20
|
* await app.start();
|
|
@@ -106,7 +106,7 @@ export {
|
|
|
106
106
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
107
107
|
*
|
|
108
108
|
* const prisma = new PrismaClient();
|
|
109
|
-
* const app = await createVeloxApp({ port:
|
|
109
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
110
110
|
*
|
|
111
111
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
|
112
112
|
* await app.start();
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
15
15
|
*
|
|
16
16
|
* const prisma = new PrismaClient();
|
|
17
|
-
* const app = await createVeloxApp({ port:
|
|
17
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
18
18
|
*
|
|
19
19
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
|
20
20
|
* await app.start();
|
|
@@ -78,7 +78,7 @@ export {
|
|
|
78
78
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
79
79
|
*
|
|
80
80
|
* const prisma = new PrismaClient();
|
|
81
|
-
* const app = await createVeloxApp({ port:
|
|
81
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
82
82
|
*
|
|
83
83
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
|
84
84
|
* await app.start();
|
package/dist/plugin.d.ts
CHANGED
|
@@ -79,7 +79,7 @@ declare module '@veloxts/core' {
|
|
|
79
79
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
80
80
|
*
|
|
81
81
|
* const prisma = new PrismaClient();
|
|
82
|
-
* const app = await createVeloxApp({ port:
|
|
82
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
83
83
|
*
|
|
84
84
|
* // Register the database plugin
|
|
85
85
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
package/dist/plugin.js
CHANGED
|
@@ -42,7 +42,7 @@ const DEFAULT_PLUGIN_NAME = '@veloxts/orm';
|
|
|
42
42
|
* import { createDatabasePlugin } from '@veloxts/orm';
|
|
43
43
|
*
|
|
44
44
|
* const prisma = new PrismaClient();
|
|
45
|
-
* const app = await createVeloxApp({ port:
|
|
45
|
+
* const app = await createVeloxApp({ port: 3210 });
|
|
46
46
|
*
|
|
47
47
|
* // Register the database plugin
|
|
48
48
|
* await app.use(createDatabasePlugin({ client: prisma }));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@veloxts/orm",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Prisma wrapper with enhanced DX for VeloxTS framework",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"fastify": "5.6.2",
|
|
16
|
-
"@veloxts/core": "0.
|
|
16
|
+
"@veloxts/core": "0.2.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"typescript": "5.9.3",
|