Skip to content

Commit cd1ce0c

Browse files
FLS-1473: adding dependencies form the parent to runner and designer
1 parent d841206 commit cd1ce0c

File tree

3 files changed

+172
-18
lines changed

3 files changed

+172
-18
lines changed

designer/package.json

Lines changed: 91 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,46 +16,128 @@
1616
"license": "SEE LICENSE IN LICENSE",
1717
"description": "Cross government digital form builder adapter (designer)",
1818
"dependencies": {
19-
"@communitiesuk/model": "1.0.0"
19+
"@communitiesuk/model": "1.0.0",
20+
"@hapi/hapi": "^20.2.2",
21+
"@hapi/inert": "^6.0.1",
22+
"@hapi/scooter": "6.0.0",
23+
"@hapi/wreck": "17.0.0",
24+
"@xgovformbuilder/govuk-react-jsx": "7.1.2",
25+
"@xgovformbuilder/model": "3.0.0",
26+
"aws-sdk": "^2.1083.0",
27+
"blankie": "5.0.0",
28+
"classnames": "^2.3.1",
29+
"core-js": "^3.21.1",
30+
"depth-first": "^4.0.0",
31+
"dotenv": "16.0.0",
32+
"flagg": "^1.1.2",
33+
"focus-trap-react": "^8.9.2",
34+
"hapi-pino": "^8.0.1",
35+
"hoek": "^6.1.3",
36+
"i18next": "^21.6.12",
37+
"i18next-http-backend": "^1.3.2",
38+
"joi": "^17.9.1",
39+
"jszip": "^3.10.1",
40+
"lodash": "^4.17.21",
41+
"nanoid": "^3.3.4",
42+
"path-to-regexp": "1.8.0",
43+
"react-router-dom": "^5.2.0",
44+
"schmervice": "^1.6.0",
45+
"vision": "5.4.3",
46+
"yar": "^9.1.0"
2047
},
2148
"devDependencies": {
49+
"@babel/cli": "^7.23.3",
2250
"@babel/core": "^7.23.3",
51+
"@babel/eslint-parser": "^7.23.3",
52+
"@babel/eslint-plugin": "^7.22.10",
2353
"@babel/node": "^7.22.19",
2454
"@babel/plugin-proposal-export-default-from": "^7.23.3",
2555
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
2656
"@babel/plugin-transform-class-properties": "^7.23.3",
2757
"@babel/plugin-transform-logical-assignment-operators": "^7.23.4",
58+
"@babel/plugin-transform-modules-amd": "^7.23.3",
2859
"@babel/plugin-transform-nullish-coalescing-operator": "^7.23.4",
2960
"@babel/plugin-transform-optional-chaining": "^7.23.3",
3061
"@babel/plugin-transform-private-methods": "^7.23.3",
3162
"@babel/plugin-transform-runtime": "^7.23.3",
3263
"@babel/preset-env": "^7.23.3",
3364
"@babel/preset-react": "^7.23.3",
3465
"@babel/preset-typescript": "^7.23.3",
66+
"@babel/register": "^7.22.15",
67+
"@babel/runtime": "^7.23.3",
3568
"@communitiesuk/model": "1.0.0",
69+
"@hapi/code": "^8.0.7",
70+
"@hapi/eslint-plugin": "^6.0.0",
71+
"@hapi/lab": "^24.5.1",
72+
"@testing-library/jest-dom": "^5.16.2",
73+
"@testing-library/react": "^12.1.3",
74+
"@testing-library/user-event": "^13.5.0",
3675
"@tsconfig/recommended": "^1.0.6",
76+
"@types/dagre": "^0.7.47",
77+
"@types/hapi": "^18.0.7",
3778
"@types/node": "^20.14.8",
79+
"@types/react": "^17.0.39",
80+
"@types/react-dom": "^17.0.11",
81+
"@typescript-eslint/eslint-plugin": "^5.13.0",
82+
"@typescript-eslint/parser": "^5.13.0",
83+
"@xgovformbuilder/lab-babel": "2.1.2",
84+
"acorn": "8.7.0",
3885
"autoprefixer": "^10.4.2",
86+
"babel-eslint": "^10.1.0",
3987
"babel-loader": "^8.3.0",
88+
"babel-plugin-module-name-mapper": "^1.2.0",
4089
"babel-plugin-module-resolver": "^4.1.0",
90+
"babel-plugin-transform-import-ignore": "^1.1.0",
4191
"babel-preset-env": "^1.7.0",
92+
"cheerio": "^1.0.0-rc.10",
4293
"clean-webpack-plugin": "^4.0.0",
4394
"concurrently": "^7.0.0",
44-
"copy-webpack-plugin": "^6.1.1",
45-
"css-loader": "^4.3.0",
95+
"copy-webpack-plugin": "^13.0.0",
96+
"cross-env": "^7.0.3",
97+
"css-loader": "^6.0.0",
98+
"dagre": "0.8.2",
99+
"enzyme": "^3.11.0",
100+
"enzyme-adapter-react-16": "^1.15.6",
101+
"eslint": "^8.10.0",
102+
"eslint-plugin-import": "^2.25.4",
103+
"eslint-plugin-json": "^3.1.0",
104+
"eslint-plugin-react": "^7.29.2",
105+
"eslint-plugin-react-hooks": "^4.3.0",
106+
"eslint-plugin-tsdoc": "^0.2.14",
46107
"file-loader": "^6.2.0",
47-
"html-webpack-plugin": "^4.5.2",
48-
"mini-css-extract-plugin": "^0.11.2",
108+
"flat": "5.0.2",
109+
"govuk-frontend": "^4.10.0",
110+
"hoek": "^6.1.3",
111+
"html-webpack-plugin": "^5.6.4",
112+
"i18next-parser": "^3.3.0",
113+
"jest": "^26.6.3",
114+
"jsdom": "^19.0.0",
115+
"lcov-result-merger": "^3.1.0",
116+
"mini-css-extract-plugin": "^2.0.0",
117+
"msw": "^1.3.2",
49118
"nodemon": "^2.0.20",
119+
"nunjucks": "^3.2.3",
50120
"postcss": "^8.2.4",
51121
"postcss-loader": "^4.1.0",
122+
"prismjs": "1.27.0",
123+
"react": "16.13.1",
124+
"react-dom": "16.13.1",
125+
"react-helmet": "^6.1.0",
126+
"react-simple-code-editor": "0.11.0",
127+
"react-sortable-hoc": "1.11.0",
128+
"resolve": "^1.22.0",
129+
"resolve-url-loader": "^5.0.0",
52130
"sass": "^1.26.11",
53131
"sass-loader": "^10.0.2",
132+
"sinon": "^13.0.1",
133+
"standard": "16.0.4",
54134
"ts-node-dev": "^1.1.8",
55-
"webpack": "^4.44.2",
135+
"typescript": "4.9.5",
136+
"webpack": "^5.0.0",
56137
"webpack-bundle-analyzer": "^4.3.0",
57-
"webpack-cli": "^3.3.12",
58-
"webpack-dev-server": "^3.11.0",
59-
"webpack-node-externals": "^2.5.2"
138+
"webpack-cli": "^5.0.0",
139+
"webpack-dev-server": "^5.0.0",
140+
"webpack-node-externals": "^3.0.0",
141+
"whatwg-fetch": "^3.5.0"
60142
}
61143
}

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,17 @@
1515
"version": "1.0.0",
1616
"description": "Mono repo for communitiesuk's designer, model and runner adapter for xgovformbuilder",
1717
"scripts": {
18-
"setup": "node update-package.js && yarn",
1918
"runner": "yarn workspace @communitiesuk/runner",
2019
"designer": "yarn workspace @communitiesuk/designer",
2120
"model": "yarn workspace @communitiesuk/model",
2221
"e2e": "yarn workspace e2e",
2322
"e2e-test": "yarn workspace e2e-test"
2423
},
2524
"resolutions": {
26-
"joi": "17.13.3"
25+
"@xgovformbuilder/model": "link:./digital-form-builder/model",
26+
"@xgovformbuilder/queue-model": "link:./digital-form-builder/queue-model",
27+
"joi": "17.13.3",
28+
"@hapi/hapi": "21.4.3"
2729
},
2830
"author": "Communities UK",
2931
"license": "MIT"

runner/package.json

Lines changed: 77 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
6-
"build": "yarn clean:build && yarn babel-build && yarn babel-build:adapter && npm run package-json:copy && yarn static-content:dist-push && yarn scss:build && yarn copy-forms && yarn copy-local",
6+
"build": "yarn clean:build && yarn babel-build && yarn babel-build:adapter && npm run package-json:copy && yarn static-content:dist-push && yarn scss:build && yarn copy-local",
77
"babel-build": "babel --config-file ../digital-form-builder/runner/.babelrc --extensions '.ts' ../digital-form-builder/runner/src -d dist/digital-form-builder/runner/src --copy-files -s inline",
88
"babel-build:adapter": "babel --config-file ../runner/.babelrc --extensions '.ts' ../runner/src -d dist/digital-form-builder-adapter/runner --copy-files -s inline",
99
"package-json:copy": "cp package.json dist/digital-form-builder/runner && cp package.json dist/digital-form-builder-adapter",
@@ -28,12 +28,57 @@
2828
"@aws-sdk/client-s3": "3.633.0",
2929
"@aws-sdk/lib-storage": "3.633.0",
3030
"@aws-sdk/s3-request-presigner": "3.633.0",
31+
"@babel/runtime": "^7.23.3",
32+
"@hapi/bell": "^13.0.1",
33+
"@hapi/boom": "^10.0.1",
34+
"@hapi/catbox": "^12.1.1",
35+
"@hapi/catbox-memory": "^6.0.1",
36+
"@hapi/catbox-redis": "^7.0.2",
37+
"@hapi/cookie": "^12.0.1",
38+
"@hapi/crumb": "^9.0.1",
39+
"@hapi/hapi": "^21.3.2",
40+
"@hapi/inert": "^7.1.0",
41+
"@hapi/jwt": "^3.2.0",
42+
"@hapi/scooter": "^7.0.0",
43+
"@hapi/vision": "^7.0.3",
44+
"@hapi/wreck": "^18.0.1",
45+
"@hapi/yar": "^11.0.1",
3146
"@sentry/node": "^8.47.0",
47+
"@types/google-libphonenumber": "^7.4.30",
48+
"@xgovformbuilder/runner": "workspace:digital-form-builder/runner",
49+
"accept-language-parser": "1.5.0",
50+
"accessible-autocomplete": "^2.0.2",
51+
"atob": "^2.1.2",
52+
"blankie": "5.0.0",
53+
"blipp": "4.0.1",
54+
"boom": "7.3.0",
55+
"btoa": "^1.2.1",
56+
"config": "^3.3.7",
57+
"dotenv": "8.2.0",
3258
"dropzone": "5.9.3",
59+
"expr-eval": "^2.0.2",
60+
"google-libphonenumber": "^3.2.34",
3361
"govuk-frontend": "^5.10.2",
62+
"hapi-auth-jwt2": "10.2.0",
3463
"hapi-i18n": "3.0.1",
35-
"joi": "17.13.3",
36-
"tinymce": "7.3.0"
64+
"hapi-pino": "8.0.0",
65+
"hapi-pulse": "3.0.0",
66+
"hapi-rate-limit": "4.1.0",
67+
"hapi-require-https": "5.0.0",
68+
"hmpo-components": "^5.2.1",
69+
"ioredis": "4.16.1",
70+
"lodash": "^4.17.21",
71+
"nanoid": "^3.3.4",
72+
"notifications-node-client": "^7.0.4",
73+
"nunjucks": "^3.2.3",
74+
"pg-boss": "^10.1.3",
75+
"resolve": "^1.19.0",
76+
"schmervice": "^1.6.0",
77+
"tinymce": "7.3.0",
78+
"tmp": "^0.2.1",
79+
"url-parse": "^1.5.10",
80+
"uuid": "^8.3.2",
81+
"yar": "9.1.0"
3782
},
3883
"devDependencies": {
3984
"@babel/cli": "^7.23.3",
@@ -47,14 +92,39 @@
4792
"@babel/preset-env": "^7.23.3",
4893
"@babel/preset-typescript": "^7.23.3",
4994
"@babel/register": "^7.22.15",
50-
"@hapi/lab": "26.0.0",
95+
"@hapi/code": "8.0.1",
96+
"@hapi/lab": "24.0.0",
97+
"@oclif/core": "^1.19.0",
98+
"@types/hapi": "^18.0.7",
99+
"@types/hapi__yar": "^10.1.1",
51100
"@types/hoek": "^4.1.4",
101+
"@types/mysql": "^2.15.21",
102+
"@types/nodemailer": "^6.4.4",
103+
"@types/url-parse": "^1.4.8",
104+
"@types/wreck": "^14.0.0",
105+
"@xgovformbuilder/lab-babel": "2.1.2",
106+
"@xgovformbuilder/model": "workspace:model",
107+
"@xgovformbuilder/queue-model": "workspace:queue-model",
108+
"acorn": "^8.7.0",
52109
"babel-eslint": "^10.1.0",
53110
"babel-plugin-module-name-mapper": "^1.2.0",
54-
"hapi-auth-jwt2": "10.2.0",
55-
"prisma": "^5.1.1",
111+
"cheerio": "^1.0.0-rc.10",
112+
"chrome-launcher": "^0.13.4",
113+
"code": "5.2.4",
114+
"concurrently": "^8.0.0",
115+
"date-fns": "^2.24.0",
116+
"eslint": "^8.11.0",
117+
"eslint-plugin-import": "^2.25.4",
118+
"eslint-plugin-tsdoc": "^0.2.14",
119+
"flat": "5.0.2",
120+
"form-data": "^4.0.0",
121+
"lodash-es": "^4.17.21",
122+
"nodemon": "^3.0.2",
123+
"pino": "8.15.1",
124+
"prisma": "5.22.0",
56125
"sass": "^1.49.9",
57-
"sinon": "^19.0.2"
126+
"sinon": "^13.0.1",
127+
"typescript": "4.9.5"
58128
},
59129
"pkg": {
60130
"assets": [

0 commit comments

Comments
 (0)