forked from libredb/libredb-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
242 lines (242 loc) · 8.78 KB
/
Copy pathpackage.json
File metadata and controls
242 lines (242 loc) · 8.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
{
"name": "@libredb/studio",
"version": "0.12.0",
"private": false,
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "https://github.com/libredb/libredb-studio"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./providers": {
"import": {
"types": "./dist/providers.d.mts",
"default": "./dist/providers.mjs"
},
"require": {
"types": "./dist/providers.d.ts",
"default": "./dist/providers.js"
}
},
"./types": {
"import": {
"types": "./dist/types.d.mts",
"default": "./dist/types.mjs"
},
"require": {
"types": "./dist/types.d.ts",
"default": "./dist/types.js"
}
},
"./components": {
"import": {
"types": "./dist/components.d.mts",
"default": "./dist/components.mjs"
},
"require": {
"types": "./dist/components.d.ts",
"default": "./dist/components.js"
}
},
"./workspace": {
"import": {
"types": "./dist/workspace.d.mts",
"default": "./dist/workspace.mjs"
},
"require": {
"types": "./dist/workspace.d.ts",
"default": "./dist/workspace.js"
}
},
"./security": {
"import": {
"types": "./dist/security.d.mts",
"default": "./dist/security.mjs"
},
"require": {
"types": "./dist/security.d.ts",
"default": "./dist/security.js"
}
},
"./styles.css": "./dist/styles.css"
},
"bin": {
"libredb-studio": "bin/studio.js"
},
"files": [
"dist",
"bin"
],
"peerDependencies": {
"react": "^19",
"react-dom": "^19"
},
"engines": {
"node": ">=24.0.0"
},
"packageManager": "bun@1.3.14",
"//trustedDependencies": "Explicit allowlist of the ONLY dependencies permitted to execute code at install time. Without this field bun applies its own default allowlist, which synthesizes a `node-gyp rebuild` for any package shipping a binding.gyp - including better-sqlite3 13, whose `gypfile: false` says not to (it is N-API and ships prebuilts, so npm honours it and bun does not). These three are exactly the packages that ran scripts before the field existed; cpu-features (optional, ssh2) and unrs-resolver stay blocked as they already were.",
"trustedDependencies": [
"esbuild",
"oracledb",
"ssh2"
],
"//overrides": "Transitive dependencies held above what their parent's range would otherwise resolve to. lodash: recharts asks for ^4.17.21 and CVE-2026-4800 (arbitrary code execution via untrusted input in template imports) is fixed in 4.18.0. The fix is inside the parent's range, so this only forces resolution forward - remove the entry once recharts raises its own floor. Nothing in this repository imports lodash directly.",
"overrides": {
"lodash": "^4.18.1",
"tedious": "^20.0.5"
},
"scripts": {
"dev": "node scripts/copy-monaco.mjs && next dev",
"build": "node scripts/copy-monaco.mjs && next build",
"build:lib": "tsup && node scripts/copy-theme.mjs",
"attw": "rm -rf .attw && bun pm pack --quiet --destination .attw && attw .attw/*.tgz --profile node16 --exclude-entrypoints styles.css",
"prepublishOnly": "bun run build:lib && bun run attw",
"start": "next start",
"format": "biome format .",
"format:fix": "biome format --write .",
"lint": "oxlint && eslint .",
"lint:oxc": "oxlint",
"typecheck": "tsc --noEmit",
"test": "bun test tests/unit tests/api tests/integration && bun test tests/hooks && bun test tests/security && bun test tests/evals && bun run test:components",
"test:ci": "bash tests/run-core.sh && bun run test:components",
"agent:eval": "bun tests/evals/real-model.ts",
"test:evals": "bun test tests/evals",
"test:unit": "bun test tests/unit",
"test:integration": "bun test tests/integration",
"test:hooks": "bun test tests/hooks",
"test:api": "bun test tests/api",
"test:components": "bash tests/run-components.sh",
"test:components:coverage": "bash tests/run-components.sh --coverage --coverage-reporter=lcov --coverage-dir=coverage/components",
"test:e2e": "bunx playwright test",
"test:coverage:core": "bash tests/run-core.sh --coverage --coverage-reporter=lcov --coverage-dir=coverage/core",
"test:coverage": "rm -rf coverage && bun run test:coverage:core && bun run test:components:coverage && node scripts/merge-lcov.mjs coverage/core/file-*/lcov.info coverage/components/lcov.info coverage/lcov.info",
"coverage:check": "node scripts/check-coverage.mjs coverage/lcov.info",
"test:coverage-html": "bun run test:coverage && genhtml coverage/lcov.info --output-directory coverage/html && echo '\n Open coverage/html/index.html in your browser'",
"knip": "knip",
"chart:check": "node scripts/sync-chart-version.mjs --check",
"chart:bump": "node scripts/sync-chart-version.mjs --write",
"distribution:check": "node scripts/distribution-check.mjs",
"distribution:matrix": "node scripts/distribution-check.mjs --matrix",
"channels:showcase": "node scripts/generate-channel-showcase.mjs",
"channels:showcase:check": "node scripts/generate-channel-showcase.mjs --check",
"readme:check": "node scripts/readme-check.mjs",
"security:check": "node scripts/security-check.mjs"
},
"dependencies": {
"@google/generative-ai": "^0.24.1",
"@libredb/libredb": "^0.2.2",
"@monaco-editor/react": "^4.7.0",
"@radix-ui/react-accordion": "^1.2.20",
"@radix-ui/react-alert-dialog": "^1.1.23",
"@radix-ui/react-aspect-ratio": "^1.1.15",
"@radix-ui/react-avatar": "^1.2.6",
"@radix-ui/react-checkbox": "^1.3.11",
"@radix-ui/react-collapsible": "^1.1.20",
"@radix-ui/react-context-menu": "^2.3.7",
"@radix-ui/react-dialog": "^1.1.23",
"@radix-ui/react-dropdown-menu": "^2.1.24",
"@radix-ui/react-hover-card": "^1.1.23",
"@radix-ui/react-label": "^2.1.15",
"@radix-ui/react-menubar": "^1.1.24",
"@radix-ui/react-navigation-menu": "^1.2.22",
"@radix-ui/react-popover": "^1.1.23",
"@radix-ui/react-progress": "^1.1.16",
"@radix-ui/react-radio-group": "^1.4.7",
"@radix-ui/react-scroll-area": "^1.2.18",
"@radix-ui/react-select": "^2.3.7",
"@radix-ui/react-separator": "^1.1.15",
"@radix-ui/react-slider": "^1.4.7",
"@radix-ui/react-slot": "^1.3.3",
"@radix-ui/react-switch": "^1.3.7",
"@radix-ui/react-tabs": "^1.1.21",
"@radix-ui/react-toggle": "^1.1.18",
"@radix-ui/react-toggle-group": "^1.1.19",
"@radix-ui/react-tooltip": "^1.2.16",
"@tanstack/react-table": "^9.1.2",
"@tanstack/react-virtual": "^3.14.9",
"@xyflow/react": "^12.11.3",
"@zumer/snapdom": "2.15.0",
"better-sqlite3": "^13.0.3",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"date-fns": "^4.4.0",
"elkjs": "^0.12.0",
"embla-carousel-react": "^8.6.0",
"framer-motion": "^13.1.0",
"geist": "^1.7.2",
"input-otp": "^1.4.2",
"ioredis": "^5.11.1",
"jose": "^6.2.9",
"lucide-react": "^1.31.0",
"monaco-editor": "^0.56.0",
"mongodb": "^7.5.0",
"mssql": "^12.7.0",
"mysql2": "^3.23.3",
"next": "^16.3.1",
"next-themes": "^0.4.6",
"openid-client": "^6.8.5",
"oracledb": "^6.10.0",
"pg": "^8.23.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-hook-form": "^7.85.0",
"react-resizable-panels": "^4.12.2",
"recharts": "^3.10.1",
"sonner": "^2.0.8",
"sql-formatter": "^15.8.2",
"ssh2": "^1.17.0",
"tailwind-merge": "^3.6.0",
"vaul": "^1.1.2",
"yaml": "^2.9.0",
"zod": "^4.4.3"
},
"devDependencies": {
"@ai-sdk/anthropic": "4.0.37",
"@ai-sdk/google": "4.0.40",
"@ai-sdk/openai": "4.0.37",
"@arethetypeswrong/cli": "^0.18.5",
"@biomejs/biome": "^2.5.8",
"@eslint/compat": "^2.1.0",
"@playwright/test": "^1.62.1",
"@tailwindcss/postcss": "^4.3.3",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.4",
"@types/better-sqlite3": "^9.6.0",
"@types/bun": "latest",
"@types/node": "^26.2.0",
"@types/pg": "^8.21.0",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/ssh2": "^1.15.5",
"@workflow/world-local": "4.2.4",
"@workflow/world-postgres": "4.3.3",
"ai": "7.0.59",
"eslint": "^10.8.1",
"eslint-config-next": "^16.3.1",
"happy-dom": "^20.11.2",
"knip": "^6.32.2",
"oxlint": "^1.78.0",
"tailwindcss": "^4.3.3",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"typescript-eslint": "^8.67.0",
"workflow": "4.8.1"
}
}