@machynx/data-db 1.0.0

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.
@@ -0,0 +1,5 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ export default import('./query_compiler_bg.wasm?module')
@@ -0,0 +1,5 @@
1
+
2
+ /* !!! This is code generated by Prisma. Do not edit directly. !!!
3
+ /* eslint-disable */
4
+ // biome-ignore-all lint: generated file
5
+ export default import('./query_compiler_bg.wasm')
package/index.d.ts ADDED
@@ -0,0 +1,18 @@
1
+ // @machynx/core-db/index.d.ts
2
+
3
+ /**
4
+ * THIS FILE IS ZERO-MAINTENANCE.
5
+ * It uses TypeScript's wildcard export to automatically expose all generated
6
+ * models, types, enums, and the global Prisma namespace from the
7
+ * underlying generated client.
8
+ * * Do not manually update the exported list below.
9
+ */
10
+
11
+ // Export all types from the generated Prisma Client.
12
+ export * from "./client";
13
+
14
+ // Re-export PrismaClient class directly for standard usage.
15
+ export { PrismaClient } from "./client";
16
+
17
+ // Re-export the global Prisma namespace (for inputs like TaskCreateInput).
18
+ export type { Prisma } from "./client";
package/index.js ADDED
@@ -0,0 +1,5 @@
1
+ // @machynx/core-db/index.js
2
+
3
+ // This file serves as the main entry point for Node.js modules.
4
+ // It exports the generated PrismaClient instance from the './client' directory.
5
+ module.exports = require("./client");
package/package.json ADDED
@@ -0,0 +1,62 @@
1
+ {
2
+ "name": "@machynx/data-db",
3
+ "version": "1.0.0",
4
+ "description": "Machynx Data Plane Database - Shared Prisma schema & client",
5
+ "main": "index.js",
6
+ "types": "index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./index.js",
10
+ "require": "./index.js"
11
+ }
12
+ },
13
+ "scripts": {
14
+ "generate": "prisma generate",
15
+ "migrate:dev": "prisma migrate dev --name init",
16
+ "migrate:deploy": "prisma migrate deploy",
17
+ "db:push": "prisma db push --skip-generate",
18
+ "db:seed": "ts-node prisma/seed.ts",
19
+ "prisma:studio": "prisma studio",
20
+ "release:patch": "npm version patch -m \"chore: release v%s\" && yarn release:git",
21
+ "release:minor": "npm version minor -m \"chore: release v%s\" && yarn release:git",
22
+ "release:major": "npm version major -m \"chore: release v%s\" && yarn release:git",
23
+ "release:git": "git push && git push --tags",
24
+ "release:publish": "npm publish --access public"
25
+ },
26
+ "files": [
27
+ "index.js",
28
+ "index.d.ts",
29
+ "client",
30
+ "prisma/schema.prisma",
31
+ "prisma/migrations"
32
+ ],
33
+ "keywords": [
34
+ "prisma",
35
+ "database",
36
+ "machynx",
37
+ "data-plane"
38
+ ],
39
+ "author": "Machynx",
40
+ "license": "UNLICENSED",
41
+ "repository": {
42
+ "type": "git",
43
+ "url": "https://github.com/machynx/MACHYNX_CORE_DB.git"
44
+ },
45
+ "publishConfig": {
46
+ "registry": "https://registry.npmjs.org",
47
+ "access": "public"
48
+ },
49
+ "dependencies": {
50
+ "dotenv": "^17.2.3"
51
+ },
52
+ "peerDependencies": {
53
+ "@prisma/client": "^7.0.0",
54
+ "prisma": "^7.0.0"
55
+ },
56
+ "devDependencies": {
57
+ "@types/node": "^24.10.1",
58
+ "prisma": "^7.0.0",
59
+ "ts-node": "^10.9.2",
60
+ "typescript": "^5.9.3"
61
+ }
62
+ }