Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
247 lines (247 loc) · 9.46 KB
/
Copy pathpackage.json
File metadata and controls
247 lines (247 loc) · 9.46 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
243
244
245
246
247
{
"name": "nself-admin",
"version": "1.4.15",
"private": false,
"description": "Web-based administration interface for nself CLI backend stack",
"license": "MIT",
"keywords": [
"nself",
"docker",
"admin-panel",
"dashboard",
"monitoring",
"container-management",
"next-js",
"react",
"typescript",
"self-hosted",
"devops"
],
"repository": {
"type": "git",
"url": "https://github.com/nself-org/admin.git"
},
"scripts": {
"dev": "next dev --turbo -p ${PORT:-3021}",
"build": "next build --webpack",
"build:analyze": "ANALYZE=true next build --webpack",
"build:profile": "NODE_OPTIONS='--max-old-space-size=4096' ANALYZE=true next build --webpack 2>&1 | tee .next/build-profile.log",
"start": "next start -p ${PORT:-3021}",
"lint": "eslint src --max-warnings=0",
"type-check": "tsc --noEmit",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,md}\"",
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:ci": "jest --coverage --ci --reporters=default --reporters=github-actions",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:chromium": "playwright test --project=chromium",
"test:e2e:firefox": "playwright test --project=firefox",
"test:e2e:webkit": "playwright test --project=webkit",
"test:e2e:mobile": "playwright test --project='Mobile Chrome'",
"test:e2e:report": "playwright show-report",
"test:e2e:codegen": "playwright codegen http://localhost:3021",
"test:a11y": "node tests/accessibility/audit.js",
"test:all": "pnpm test && pnpm test:e2e",
"docker:build": "docker build -t nself/nself-admin:latest -t nself/nself-admin:$(node -p \"require('./package.json').version\") .",
"docker:push": "pnpm docker:build && docker push nself/nself-admin:latest && docker push nself/nself-admin:$(node -p \"require('./package.json').version\")",
"secure:setup": "node scripts/secure-setup.js",
"password:hash": "node scripts/hash-password.js",
"docker:release": "./scripts/docker-release.sh",
"version:bump:patch": "npm version patch --no-git-tag-version",
"version:bump:minor": "npm version minor --no-git-tag-version",
"version:bump:major": "npm version major --no-git-tag-version",
"release": "pnpm build && pnpm docker:push",
"ci:local": "pnpm lint && pnpm type-check && pnpm format:check && pnpm test:ci && pnpm build"
},
"packageManager": "pnpm@10.28.0",
"browserslist": "defaults, not ie <= 11",
"pnpm": {
"//auditConfig": [
"GHSA-528h-pc64-c93x: stream-json 1.9.1 via minio 8.0.7 (moderate DoS from the operator's own object store; the 3.x override breaks minio). Debt D-0202 (D-HYG-admin-stream-json), re-entry: P8 admin rewrite or a minio release on stream-json 3.",
"GHSA-hqr4-qq8f-hg3x and GHSA-mjw6-4jj6-33hc: same stream-json 1.9.1 via minio 8.0.7 (JSONC parser rescan DoS, Assembler prototype pollution); fix is stream-json 3.6.0, but minio 8.0.7 (latest) requires stream-json/jsonl/Parser.js which 3.x does not export. Debt D-0202, re-entry: a minio release on stream-json 3 or P8 admin rewrite.",
"GHSA-vfj7-8cjw-p6xm: braces <=3.0.3, no patched release exists; reached via direct dep fast-glob > micromatch (build-time MDX search glob over fixed repo paths in src/mdx/search.mjs) and dev eslint-config-next. Lead decision, HYG EPIC Invalidations. Review date 2026-11-01.",
"GHSA-hp3w-g68c-fv3c: sprintf-js 1.0.3 (<=1.1.3, no patched release), dev-only via jest > babel-plugin-istanbul > @istanbuljs/load-nyc-config > js-yaml > argparse; never in the runtime image. Debt D-0207, review date 2026-11-01."
],
"auditConfig": {
"ignoreGhsas": [
"GHSA-528h-pc64-c93x",
"GHSA-hqr4-qq8f-hg3x",
"GHSA-mjw6-4jj6-33hc",
"GHSA-vfj7-8cjw-p6xm",
"GHSA-hp3w-g68c-fv3c"
]
},
"onlyBuiltDependencies": [
"@tailwindcss/oxide",
"sharp",
"ssh2",
"cpu-features"
],
"overrides": {
"tar": ">=7.5.19",
"fast-xml-parser": ">=5.11.1",
"basic-ftp": ">=5.2.0",
"minimatch": ">=9.0.7",
"@eslint/eslintrc>minimatch": ">=9.0.7",
"serialize-javascript": ">=7.0.3",
"dompurify": ">=3.4.17",
"webpack": ">=5.104.1",
"protobufjs": ">=7.6.6 <8.0.0",
"lodash": ">=4.18.1",
"@grpc/grpc-js": ">=1.14.5",
"fast-uri": ">=4.2.3",
"fast-xml-builder": ">=1.1.7",
"browserslist@<4.28.7": "^4.28.7",
"engine.io": ">=6.6.7",
"socket.io-parser": ">=4.2.7",
"brace-expansion": ">=5.0.12",
"postcss": ">=8.5.18",
"ws@<7.5.11": ">=7.5.11",
"ws@>=8.0.0": ">=8.21.0",
"webpack-bundle-analyzer>ws": ">=8.21.0",
"@babel/core": ">=7.29.7 <8.0.0",
"@humanfs/node": ">=0.16.8 <0.17.0",
"@opentelemetry/core": ">=2.11.0",
"decode-uri-component": ">=0.5.0",
"linkify-it": ">=5.0.2 <6.0.0",
"uuid": ">=14.0.0",
"js-yaml@<4": ">=3.15.2 <4.0.0",
"js-yaml@>=4 <5": ">=4.3.2 <5.0.0",
"source-map-js@<1.2.2": "^1.2.2",
"postcss-selector-parser@<7.1.6": "^7.1.6",
"@opentelemetry/instrumentation-pg@<0.73.0": "^0.73.0",
"@opentelemetry/instrumentation-mysql2@<0.67.0": "^0.67.0",
"@opentelemetry/instrumentation-knex@<0.65.0": "^0.65.0",
"@opentelemetry/instrumentation-mysql@<0.67.0": "^0.67.0",
"@opentelemetry/instrumentation-mongoose@<0.67.0": "^0.67.0",
"@opentelemetry/instrumentation-tedious@<0.40.0": "^0.40.0"
}
},
"dependencies": {
"@algolia/autocomplete-core": "^1.19.7",
"@faker-js/faker": "^10.4.0",
"@headlessui/react": "^2.2.9",
"@heroicons/react": "^2.2.0",
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
"@monaco-editor/react": "^4.7.0",
"@next/mdx": "^16.2.1",
"@radix-ui/react-alert-dialog": "^1.1.15",
"@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
"@radix-ui/react-popover": "^1.1.15",
"@radix-ui/react-select": "^2.2.6",
"@radix-ui/react-separator": "^1.1.8",
"@radix-ui/react-switch": "^1.2.6",
"@sentry/nextjs": "^10.75.2",
"@sindresorhus/slugify": "^2.2.1",
"@tailwindcss/postcss": "^4.2.2",
"@tailwindcss/typography": "^0.5.19",
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.13.23",
"@types/bcryptjs": "^2.4.6",
"@types/dockerode": "^3.3.47",
"@types/js-yaml": "^4.0.9",
"@types/lodash": "^4.17.24",
"@types/lokijs": "^1.5.14",
"@types/mdx": "^2.0.13",
"@types/pg": "^8.20.0",
"@types/react-highlight-words": "^0.20.1",
"@xterm/addon-fit": "^0.11.0",
"@xterm/addon-web-links": "^0.12.0",
"@xterm/xterm": "^6.0.0",
"acorn": "^8.16.0",
"ansi-to-react": "^6.2.6",
"bcryptjs": "^3.0.3",
"clsx": "^2.1.1",
"cmdk": "^1.1.1",
"critters": "^0.0.23",
"date-fns": "^4.1.0",
"dockerode": "^4.0.10",
"dompurify": "^3.4.17",
"dotenv": "^17.3.1",
"fast-glob": "^3.3.3",
"flexsearch": "^0.8.212",
"framer-motion": "^12.38.0",
"jose": "^6.2.3",
"js-yaml": "^5.4.1",
"lightningcss": "^1.32.0",
"lodash": "^4.18.1",
"lokijs": "^1.5.12",
"lucide-react": "^0.539.0",
"mdast-util-to-string": "^4.0.0",
"mdx-annotations": "^0.1.4",
"minio": "^8.0.7",
"next": "^16.4.1",
"next-intl": "^4.9.2",
"next-themes": "^0.4.6",
"otplib": "^13.4.0",
"pg": "^8.20.0",
"prettier-plugin-organize-imports": "^4.3.0",
"qrcode": "^1.5.4",
"react": "^19.2.4",
"react-day-picker": "^9.14.0",
"react-dom": "^19.2.4",
"react-highlight-words": "^0.21.0",
"react-markdown": "^9.0.1",
"recharts": "^3.8.1",
"rehype-sanitize": "^6.0.0",
"remark": "^15.0.1",
"remark-gfm": "^4.0.1",
"remark-mdx": "^3.1.1",
"shiki": "^0.14.7",
"simple-functional-loader": "^1.2.1",
"socket.io": "^4.8.3",
"socket.io-client": "^4.8.3",
"sonner": "^2.0.7",
"swr": "^2.4.1",
"tailwindcss": "^4.2.2",
"typescript": "^6.0.3",
"ua-parser-js": "^1.0.41",
"unist-util-filter": "^5.0.1",
"unist-util-visit": "^5.1.0",
"zod": "^4.6.7",
"zustand": "^5.0.12",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
"@axe-core/playwright": "^4.11.1",
"@axe-core/react": "^4.11.1",
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^9.39.4",
"@jest/globals": "^30.3.0",
"@next/bundle-analyzer": "^16.2.1",
"@nself/config": "file:packages/config",
"@playwright/test": "^1.58.2",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/flexsearch": "^0.7.42",
"@types/jest": "^30.0.0",
"@types/node": "^24.12.0",
"@types/qrcode": "^1.5.6",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/ua-parser-js": "^0.7.39",
"@types/zxcvbn": "^4.4.5",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"axe-core": "^4.11.1",
"eslint": "^9.39.4",
"eslint-config-next": "^16.2.1",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-security": "^3.0.1",
"eventsource": "^4.1.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"prettier": "^3.8.1",
"prettier-plugin-tailwindcss": "^0.6.14",
"sharp": "0.35.5"
}
}