prisma-sql 1.1.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.
package/package.json ADDED
@@ -0,0 +1,86 @@
1
+ {
2
+ "name": "prisma-sql",
3
+ "version": "1.1.0",
4
+ "description": "Convert Prisma queries to optimized SQL with type safety. 2-7x faster than Prisma Client.",
5
+ "main": "dist/index.cjs",
6
+ "module": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js",
12
+ "require": "./dist/index.cjs"
13
+ }
14
+ },
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
20
+ "scripts": {
21
+ "build": "tsup",
22
+ "test": "vitest",
23
+ "test:coverage": "vitest --coverage",
24
+ "test:e2e": "vitest run tests/e2e",
25
+ "bench": "npx tsx tests/helpers/run-benchmarks.ts",
26
+ "prisma:generate": "npx prisma generate --schema=tests/prisma/schema.prisma",
27
+ "prisma:migrate": "npx prisma migrate dev --schema=tests/prisma/schema.prisma",
28
+ "prisma:reset": "npx prisma db push --force-reset --skip-generate --schema=tests/prisma/schema.prisma",
29
+ "prepublishOnly": "npm run build",
30
+ "sonar-cli": "sonar-scanner -Dsonar.projectKey=prisma-sql -Dsonar.sources=./src -Dsonar.host.url=http://localhost:9000 -Dsonar.login=sqp_9fe07460d0aa83f711d0edf4f317f05019d0613b",
31
+ "sonar": "yarn sonar-cli && npx tsx scripts/sonar.ts"
32
+ },
33
+ "keywords": [
34
+ "prisma",
35
+ "sql",
36
+ "query",
37
+ "optimizer",
38
+ "postgresql",
39
+ "sqlite",
40
+ "cloudflare",
41
+ "d1",
42
+ "performance",
43
+ "typescript"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "https://github.com/multipliedtwice/prisma-to-sql.git"
48
+ },
49
+ "bugs": {
50
+ "url": "https://github.com/multipliedtwice/prisma-to-sql/issues"
51
+ },
52
+ "homepage": "https://github.com/multipliedtwice/prisma-to-sql#readme",
53
+ "author": "multipliedtwice <multipliedtwice@gmail.com>",
54
+ "license": "MIT",
55
+ "dependencies": {
56
+ "@dee-wan/schema-parser": "1.1.0"
57
+ },
58
+ "devDependencies": {
59
+ "@faker-js/faker": "^10.2.0",
60
+ "@prisma/adapter-better-sqlite3": "^7.2.0",
61
+ "@prisma/adapter-pg": "^7.2.0",
62
+ "@prisma/client": "7.2.0",
63
+ "@types/better-sqlite3": "^7.6.13",
64
+ "@types/node": "^20.0.0",
65
+ "better-sqlite3": "^12.6.2",
66
+ "drizzle-kit": "^0.31.8",
67
+ "drizzle-orm": "^0.45.1",
68
+ "postgres": "^3.4.8",
69
+ "prisma": "7.2.0",
70
+ "tsup": "^8.5.1",
71
+ "tsx": "^4.7.0",
72
+ "typescript": "^5.3.3",
73
+ "vitest": "^4.0.14"
74
+ },
75
+ "peerDependencies": {
76
+ "@prisma/client": ">=4.0.0"
77
+ },
78
+ "peerDependenciesMeta": {
79
+ "@prisma/client": {
80
+ "optional": false
81
+ }
82
+ },
83
+ "engines": {
84
+ "node": ">=16.0.0"
85
+ }
86
+ }