-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
192 lines (192 loc) · 11.9 KB
/
Copy pathpackage.json
File metadata and controls
192 lines (192 loc) · 11.9 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
{
"name": "events-helsinki-monorepo",
"private": true,
"type": "module",
"homepage": "https://github.com/City-of-Helsinki/events-helsinki-monorepo",
"repository": {
"type": "git",
"url": "https://github.com/City-of-Helsinki/events-helsinki-monorepo"
},
"license": "MIT",
"author": {
"name": "Jaakko Nenonen <jaakko@codelicious.fi>"
},
"workspaces": [
"apps/*",
"packages/*",
"proxies/*"
],
"scripts": {
"g:clean": "yarn clean:global-cache && yarn workspaces foreach -ptv run clean",
"g:build": "yarn workspaces foreach -p --topological-dev -v run build",
"g:build-changed": "yarn workspaces foreach --topological-dev --no-private -v --since=origin/main run build",
"g:test": "yarn workspaces foreach -ptv run test",
"g:test-e2e": "yarn workspaces foreach -tv run test-e2e",
"g:lint": "yarn workspaces foreach -ptv run lint --color",
"g:lint-styles": "yarn workspaces foreach -ptv run lint-styles --color",
"g:typecheck": "yarn workspaces foreach -ptv run typecheck",
"g:lint-staged-files": "lint-staged --allow-empty --debug && yarn lint:dependency-versions",
"g:lint-fix": "yarn workspaces foreach -ptv run lint-fix",
"g:check-dist": "yarn workspaces foreach -ptv run check-dist",
"g:share-static-symlink": "yarn workspaces foreach -pv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run share-static-symlink",
"g:share-static-hardlink": "yarn workspaces foreach -pv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run share-static-hardlink",
"clean:global-cache": "rimraf --no-glob ./.cache",
"apps:build": "yarn workspaces foreach -ptv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run build",
"apps:clean": "yarn workspaces foreach -ptv --include 'hobbies-helsinki' --include 'events-helsinki' --include 'sports-helsinki' run clean",
"packages:build": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run build",
"packages:test:unit": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run test",
"packages:lint": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run lint",
"packages:typecheck": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run typecheck",
"packages:clean": "yarn workspaces foreach -ptv --include '@events-helsinki/*' run clean",
"docker:prune-cache": "docker buildx prune",
"docker:hobbies:install": "docker buildx bake -f docker-compose.hobbies.yml --progress=tty deps",
"docker:hobbies:develop": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.hobbies.yml up develop",
"docker:hobbies:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.hobbies.yml build --progress=tty --no-cache --force-rm develop",
"docker:hobbies:build": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.hobbies.yml --env-file ./apps/hobbies-helsinki/.env.local build --progress=tty runner",
"docker:hobbies:serve": "docker compose -f docker-compose.hobbies.yml --env-file ./apps/hobbies-helsinki/.env.local up runner",
"docker:events:install": "docker buildx bake -f docker-compose.events.yml --progress=tty deps",
"docker:events:develop": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.events.yml up develop",
"docker:events:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.events.yml build --progress=tty --no-cache --force-rm develop",
"docker:events:build": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.events.yml --env-file ./apps/events-helsinki/.env.local build --progress=tty runner",
"docker:events:serve": "docker compose -f docker-compose.events.yml --env-file ./apps/events-helsinki/.env.local up runner",
"docker:sports:install": "docker buildx bake -f docker-compose.sports.yml --progress=tty deps",
"docker:sports:develop": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.sports.yml up develop",
"docker:sports:develop:reinstall": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.sports.yml build --progress=tty --no-cache --force-rm develop",
"docker:sports:build": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.sports.yml --env-file ./apps/sports-helsinki/.env.local build --progress=tty runner",
"docker:sports:serve": "docker compose -f docker-compose.sports.yml --env-file ./apps/sports-helsinki/.env.local up runner",
"docker:events-graphql-proxy": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.events-graphql-proxy.yml --env-file ./proxies/events-graphql-proxy/.env up events-graphql-proxy",
"docker:venue-graphql-proxy": "cross-env DOCKER_BUILDKIT=1 docker compose -f docker-compose.venue-graphql-proxy.yml --env-file ./proxies/venue-graphql-proxy/.env up venue-graphql-proxy",
"docker:graphql-router:hobbies:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://harrastus.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker compose -f docker-compose.router.yml up",
"docker:graphql-router:events:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://tapahtumat.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker compose -f docker-compose.router.yml up",
"docker:graphql-router:sports:serve": "cross-env FEDERATION_CMS_ROUTING_URL=https://liikunta.app-staging.hkih.hion.dev/graphql FEDERATION_EVENTS_ROUTING_URL=https://events-graphql-proxy.test.hel.ninja/proxy/graphql FEDERATION_UNIFIED_SEARCH_ROUTING_URL=https://kuva-unified-search.api.test.hel.ninja/search FEDERATION_VENUES_ROUTING_URL=https://venue-graphql-proxy.test.hel.ninja/proxy/graphql docker compose -f docker-compose.router.yml up",
"docker:down": "docker compose down",
"docker:nuke-all": "npm-run-all --sequential --continue-on-error --print-label \"docker:nuke:*\"",
"docker:nuke:images": "docker image rm -f $(docker image ls -q)",
"docker:nuke:containers": "docker container rm -f $(docker container ls -qa)",
"docker:nuke:volumes": "docker volume rm $(docker volume ls -q)",
"docker:nuke:prune-cachemount": "docker builder prune --filter type=exec.cachemount",
"docker:nuke:prune-buildx": "docker buildx prune",
"nuke:node_modules": "rimraf '**/node_modules'",
"deps:check": "yarn dlx npm-check-updates@latest --configFileName .ncurc.yml --deep --mergeConfig",
"deps:update": "yarn dlx npm-check-updates@latest --configFileName .ncurc.yml -u --deep --mergeConfig",
"check:install": "yarn dlx @yarnpkg/doctor@3.1.4 .",
"check:renovate:config": "docker run -v renovate.json5:/usr/src/app/renovate.json5 -it renovate/renovate renovate-config-validator",
"lint:dependency-versions": "check-dependency-version-consistency .",
"lint:dependency-versions:fix": "check-dependency-version-consistency . --fix\"",
"postinstall": "is-ci || yarn husky",
"g:hds-critical-styles:create": "node ./scripts/create-critical-hds-styles-file.js ./static/assets/styles/critical-hds-styles.css",
"prepare": "husky"
},
"//": [
"`@babel/runtime` in resolutions to resolve dependabot issue #184 of dep for a dep",
"`@tootallnate/once` in resolutions to fix GHSA-vpq2-c234-7xj6 (Incorrect Control Flow Scoping, low severity)",
"`cookie` in resolutions to resolve dependabot issue #136 of dep for a dep",
"`form-data` in resolutions to resolve dependabot issues #213 & #214 of dep for a dep",
"`get-func-name` in resolutions to resolve dependabot issue of dep for a dep",
"`immutable` in resolutions to fix GHSA-wf6x-7x77-mvgw (Prototype Pollution, high severity)",
"`jose` in resolutions to resolve dependabot issue of dep for a dep",
"`lodash` in resolutions to fix GHSA-r5fr-rjxr-66jc (Code Injection, high severity) and GHSA-f23m-r3pf-42rh (Prototype Pollution, moderate severity)",
"`minimatch` in resolutions to fix GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74, GHSA-3ppc-4f35-3m26 (ReDoS, high severity)",
"`path-to-regexp` in resolutions to fix GHSA-j3q9-mxjg-w52f and GHSA-37ch-88jc-xwx2 (ReDoS, high severity)",
"`rollup` in resolutions to fix GHSA-mw96-cpmx-2vgc (Arbitrary File Write via Path Traversal, high severity)",
"`serialize-javascript` in resolutions to fix GHSA-qj8w-gfj5-8c6v (CPU exhaustion DoS, moderate severity)",
"`socks` in resolutions to resolve dependabot issue #83 of dep for a dep",
"`svgo` in resolutions to fix GHSA-xpqw-6gx7-v673 (Billion Laughs DoS, high severity)",
"`tar` in resolutions to fix GHSA-r6q2-hw4h-h46w (Race Condition on macOS APFS, high severity)",
"`tmp` in resolutions to resolve dependabot issue #216 of dep for a dep",
"`underscore` in resolutions to fix GHSA-qpx9-hpmf-5gmw (DoS via recursion, high severity)",
"`ws` in resolutions to resolve dependabot issue #85 of dep for a dep",
"other packages in resolutions are there to make it sure only 1 version of it is installed in monorepo"
],
"resolutions": {
"@babel/core": "^7.29.6",
"@babel/runtime": "^7.28.4",
"@testing-library/dom": "^10.4.0",
"@tootallnate/once": "^3.0.1",
"@types/node": "22.18.9",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"cookie": "0.7.2",
"eslint": "9.39.4",
"form-data": "^4.0.4",
"get-func-name": "2.0.2",
"immutable@npm:~3.7.6": "^3.8.3",
"jose": "4.15.9",
"lodash": "4.18.1",
"minimatch@npm:9.0.3": "^9.0.6",
"minimatch@npm:10.1.2": "^10.2.3",
"path-to-regexp": "^8.4.0",
"react": "18.3.1",
"react-dom": "18.3.1",
"rollup@npm:4.35.0": "^4.59.0",
"serialize-javascript": "^7.0.5",
"socks": "^2.8.6",
"svgo@npm:^3.0.2": "^4.0.1",
"tar": ">=7.5.4",
"tmp": "0.2.5",
"underscore": ">=1.13.8",
"typescript": "5.8.3",
"ws": "^8.13.3"
},
"dependencies": {
"@next/bundle-analyzer": "15.5.11",
"@sentry/nextjs": "^10.52.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"hds-react": "4.8.1",
"next": "15.5.18",
"next-transpile-modules": "10.0.1",
"postcss": "^8.5.10",
"react": "18.3.1",
"react-dom": "18.3.1"
},
"devDependencies": {
"@babel/core": "^7.29.6",
"@commitlint/cli": "^19.8.1",
"@commitlint/config-conventional": "^19.8.1",
"@events-helsinki/eslint-config-bases": "workspace:^",
"@testing-library/dom": "^10.4.0",
"@types/body-parser": "^1",
"@types/cors": "2.8.19",
"@types/express": "5.0.3",
"@types/lodash": "^4.17.20",
"@types/node": "22.18.9",
"@types/prettier": "3.0.0",
"@types/react": "18.3.1",
"@types/react-dom": "18.3.1",
"@types/shell-quote": "1.7.5",
"@typescript-eslint/eslint-plugin": "^8.57.2",
"@typescript-eslint/parser": "^8.57.2",
"check-dependency-version-consistency": "5.0.1",
"cross-env": "7.0.3",
"doctoc": "2.3.0",
"dotenv-expand": "12.0.2",
"edit-json-file": "1.8.1",
"env-cmd": "10.1.0",
"esbuild": "0.28.1",
"eslint": "9.39.4",
"eslint-config-next": "15.5.14",
"git-rev-sync": "3.0.2",
"husky": "^9.1.7",
"is-ci": "4.1.0",
"jest-date-mock": "^1.0.10",
"lint-staged": "16.1.2",
"nodemon": "3.1.10",
"npm-run-all": "4.1.5",
"picocolors": "1.1.1",
"prettier": "^3.6.2",
"rimraf": "6.0.1",
"shell-quote": "1.8.4",
"ts-loader": "9.5.2",
"ts-node": "10.9.2",
"typescript": "5.8.3",
"webpack": "5.104.1",
"webpack-cli": "6.0.1",
"webpack-node-externals": "3.0.0"
},
"engines": {
"node": ">=22.2.0",
"npm": "please-use-yarn",
"yarn": ">=1.22.0"
}
}