-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
222 lines (222 loc) · 9.61 KB
/
Copy pathpackage.json
File metadata and controls
222 lines (222 loc) · 9.61 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
{
"name": "tmi-ux",
"version": "1.10.3",
"type": "module",
"scripts": {
"prepare": "git config core.hooksPath .husky 2>/dev/null || true",
"ng": "ng",
"generate-build-info": "sh scripts/generate-build-info.sh",
"prebuild": "pnpm run generate-build-info",
"predev": "pnpm run generate-build-info",
"start": "node server.js",
"start:dev": "ng serve",
"build": "ng build",
"build:prod": "ng build --configuration=production",
"build:test": "ng build --configuration=test",
"build:aws": "ng build --configuration=aws",
"deploy:aws": "bash scripts/deploy-aws.sh",
"watch": "ng build --watch --configuration development",
"test": "vitest run",
"test:watch": "vitest",
"test:ui": "vitest --ui",
"test:coverage": "vitest run --coverage",
"test:tm": "vitest run \"src/app/pages/tm/tm.component.spec.ts\"",
"test:dfd": "vitest run \"src/app/pages/dfd/dfd.component.spec.ts\"",
"test:e2e": "playwright test --project=workflows --project=field-coverage --project=visual-regression --project=admin",
"test:e2e:ui": "playwright test --ui",
"test:e2e:debug": "playwright test --debug",
"test:e2e:headed": "playwright test --headed --project=workflows --project=field-coverage --project=visual-regression --project=admin",
"test:e2e:workflows": "playwright test --project=workflows",
"test:e2e:field-coverage": "playwright test --project=field-coverage",
"test:e2e:visual-regression": "playwright test --project=visual-regression",
"test:e2e:admin": "playwright test --project=admin",
"test:e2e:google-drive": "playwright test --project=google-drive-live",
"e2e:validate-schema": "uv run e2e/schema/validate-fields.py",
"dev": "ng serve --open",
"dev:test": "ng serve --configuration=test --open",
"dev:e2e": "ng serve --configuration=e2e --open",
"dev:prod": "ng serve --configuration=production --open",
"lint": "eslint \"src/**/*.{ts,html}\" --fix",
"lint:e2e": "eslint \"e2e/**/*.ts\" --fix",
"lint:scss": "stylelint \"src/**/*.scss\" --fix",
"lint:i18n": "uv run scripts/check-i18n-style.py",
"lint:all": "pnpm run lint && pnpm run lint:e2e && pnpm run lint:scss && pnpm run lint:i18n",
"typecheck:e2e": "tsc --noEmit -p tsconfig.e2e.json",
"format": "prettier --write \"src/**/*.{ts,html,scss,json,md}\" | grep -v '(unchanged)' || echo 'Formatting complete (no changes needed)'",
"format:check": "prettier --check \"src/**/*.{ts,html,scss,json,md}\"",
"check": "pnpm run format:check && pnpm run lint:all",
"validate-json": "node scripts/validate-json.cjs",
"validate-json:i18n": "node scripts/validate-json.cjs \"src/assets/i18n/*.json\"",
"validate-json:all": "node scripts/validate-json.cjs \"**/*.json\" --strict",
"validate-jsonc": "node scripts/validate-json.cjs --jsonc",
"validate-jsonc:tsconfig": "node scripts/validate-json.cjs \"tsconfig*.json\" --jsonc",
"unused-i18n": "node scripts/check-unused-i18n-keys.cjs src/assets/i18n/en-US.json",
"validate-all": "pnpm run validate-json:i18n && pnpm run validate-jsonc:tsconfig && pnpm run unused-i18n",
"sort-json": "uv run scripts/check-i18n.py -y",
"compare-json": "uv run scripts/check-i18n.py -y",
"check-i18n": "uv run scripts/check-i18n.py src/assets/i18n/en-US.json --diff src/assets/i18n/* -y",
"check-i18n:dry-run": "uv run scripts/check-i18n.py src/assets/i18n/en-US.json --diff src/assets/i18n/* -y --dry-run",
"loc-dedupe": "uv run scripts/find_duplicate_localizations.py --skippolicy --reference",
"bump": "pnpm update --verbose && pnpm install --verbose",
"check:security": "tsx scripts/check-security.ts",
"build:hosted-container": "ng build --configuration=hosted-container",
"heroku-postbuild": "ng build --configuration=hosted-container",
"deploy:heroku": "./scripts/push-heroku.sh",
"build:oci": "ng build --configuration=oci",
"deploy:oci": "OCI_COMPARTMENT_ID=tmi ./scripts/push-oci.sh",
"build:container": "ng build --configuration=container",
"deploy:chainguard": "./scripts/push-chainguard.sh",
"deploy:aws:ecr": "./scripts/push-ecr.sh",
"deploy:aws:eks": "aws eks update-kubeconfig --region us-east-1 --name tmi-eks && kubectl rollout restart deployment/tmi-ux -n tmi && kubectl get pods -n tmi -l app=tmi-ux -w",
"generate:api-types": "sh scripts/generate-api-types.sh",
"generate:icon-manifest": "tsx scripts/generate-icon-manifest.ts"
},
"private": true,
"dependencies": {
"@angular/cdk": "^22.1.1",
"@angular/common": "^22.1.1",
"@angular/compiler": "^22.1.1",
"@angular/core": "^22.1.1",
"@angular/forms": "^22.1.1",
"@angular/material": "^22.1.1",
"@angular/platform-browser": "^22.1.1",
"@angular/platform-browser-dynamic": "^22.1.1",
"@angular/router": "^22.1.1",
"@antv/x6": "3.1.7",
"@jsverse/transloco": "^8.4.0",
"@types/prismjs": "^1.26.6",
"ae-cvss-calculator": "^1.0.13",
"clipboard": "^2.0.11",
"dompurify": "^3.4.13",
"express": "^5.2.1",
"express-rate-limit": "^8.6.2",
"fontkit": "^2.0.4",
"html2canvas": "^1.4.1",
"marked": "^18.0.9",
"mermaid": "^11.16.1",
"ngx-markdown": "^22.0.0",
"pdf-lib": "^1.17.1",
"prismjs": "^1.30.0",
"rxjs": "~7.8.2",
"survey-angular-ui": "^2.5.38",
"survey-core": "^2.5.38",
"svgo": "^4.0.2",
"tslib": "^2.8.1",
"uuid": "^14.0.1",
"zone.js": "~0.16.2"
},
"devDependencies": {
"@analogjs/vite-plugin-angular": "^2.6.4",
"@angular-eslint/builder": "^22.1.0",
"@angular-eslint/eslint-plugin": "^22.1.0",
"@angular-eslint/eslint-plugin-template": "^22.1.0",
"@angular-eslint/schematics": "^22.1.0",
"@angular-eslint/template-parser": "^22.1.0",
"@angular/build": "^22.1.3",
"@angular/cli": "^22.1.3",
"@angular/compiler-cli": "^22.1.1",
"@axe-core/playwright": "^4.12.1",
"@eslint/js": "^10.0.1",
"@material/material-color-utilities": "^0.4.0",
"@oxc-project/runtime": "^0.143.0",
"@playwright/test": "^1.62.1",
"@testing-library/angular": "^19.4.2",
"@types/jsdom": "^28.0.3",
"@types/node": "^26.2.0",
"@typescript-eslint/eslint-plugin": "^8.67.0",
"@typescript-eslint/parser": "^8.67.0",
"@vitest/coverage-v8": "^4.1.9",
"@vitest/ui": "^4.1.9",
"angular-eslint": "^22.1.0",
"cross-env": "^10.1.0",
"eslint": "^10.8.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-unused-imports": "^4.4.1",
"fake-indexeddb": "^6.2.5",
"glob": "^13.0.6",
"globals": "^17.9.0",
"http-proxy-middleware": "^4.2.0",
"jsdom": "^30.0.1",
"openapi-typescript": "^7.13.0",
"prettier": "^3.9.6",
"stylelint": "^17.14.1",
"stylelint-config-standard-scss": "^17.0.0",
"tsx": "^4.23.12",
"typescript": "~6.0.3",
"typescript-eslint": "^8.67.0",
"vite": "^8.2.1",
"vitest": "^4.1.9"
},
"packageManager": "pnpm@10.34.4+sha512.8768be55200ae3f2226b6527fcca2687e14bc4e5f12d7721a0f25da3df47915177058648db4177baf348120fa0ba2752d8d8d93f6beaf1fe64ae18da8de961af",
"engines": {
"node": "^22.15.0 || >=24.0.0 <25.0.0"
},
"resolutions": {
"http-proxy-middleware": "^4.0.0"
},
"pnpm": {
"overrides": {
"@isaacs/brace-expansion": ">=5.0.1",
"esbuild": ">=0.28.1",
"lodash-es": ">=4.18.0",
"http-proxy-middleware": "^4.0.0",
"wrap-ansi@9.0.1": "9.0.0",
"slice-ansi@7.1.1": "7.1.0",
"node-forge": "^1.4.0",
"body-parser": ">=2.2.2",
"qs": "^6.15.1",
"tar": ">=7.5.21",
"webpack": ">=5.106.2",
"serialize-javascript": ">=7.0.5",
"immutable": ">=5.1.5",
"flatted": ">=3.4.2",
"undici": ">=7.28.0 <8",
"picomatch@>=2": ">=2.3.2",
"picomatch@>=4": ">=4.0.4",
"hono": ">=4.12.34",
"@hono/node-server": ">=2.0.5",
"fast-uri": ">=4.1.2",
"@babel/plugin-transform-modules-systemjs": ">=7.29.4 <8",
"uuid": "$uuid",
"postcss": ">=8.5.18",
"ip-address": ">=10.1.1",
"webpack-dev-server": ">=5.2.4",
"ws": ">=8.20.1",
"brace-expansion": ">=5.0.9",
"@babel/core@>=7.0.0 <8": ">=7.29.6 <8",
"js-yaml": ">=4.3.1 <5",
"nanoid": ">=3.3.17 <4",
"piscina": ">=5.2.0",
"vite@>=7.0.0": ">=7.3.5",
"@angular/build>vite": "^8.2.0"
},
"peerDependencyRules": {
"ignoreMissing": [
"jest",
"@jest/types",
"jest-diff"
],
"allowedVersions": {}
},
"onlyBuiltDependencies": [
"@parcel/watcher",
"esbuild",
"lmdb",
"msgpackr-extract",
"playwright",
"unrs-resolver"
],
"patchedDependencies": {
"@antv/x6@3.1.7": "patches/@antv__x6@3.1.7.patch"
}
},
"comments": {
"dependencies": {
"@antv/x6": "Pinned exact at 3.1.7: pnpm patch (patches/@antv__x6@3.1.7.patch) sets type:commonjs to fix upstream antvis/X6#5048 (package.json declares type:module over a CJS main build). Separately, the package's own es/ (ESM) build is unloadable by Node due to extensionless directory imports, which is why the patch targets type rather than redirecting main to es/index.js. A version bump invalidates the patch. Remove patch + relax pin when upstream ships a fix. See issue #446."
},
"pnpm.overrides": {
"@angular/build>vite": "Must track the vite major @angular/build is built for (22.1.2 -> vite 8/rolldown). Pinning vite 7 made the dev server register its Angular-linker prebundle plugin under rolldownOptions, which vite 7 silently ignores, so cold `ng serve` boots crashed with the _PlatformLocation JIT error. Retarget (not delete): the blanket vite@>=7.0.0 override re-locks 7.3.5 if this entry is merely removed."
}
}
}