@defra/forms-engine-plugin 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/package.json +16 -9
package/README.md
CHANGED
|
@@ -167,6 +167,7 @@ The forms plugin is configured with [registration options](https://hapi.dev/api/
|
|
|
167
167
|
- `filters` (optional) - A map of custom template filters to include
|
|
168
168
|
- `cacheName` (optional) - The cache name to use. Defaults to hapi's [default server cache]. Recommended for production. See [here]
|
|
169
169
|
(#custom-cache) for more details
|
|
170
|
+
- `viewPaths` (optional) - Include additional view paths when using custom `page.view`s
|
|
170
171
|
- `pluginPath` (optional) - The location of the plugin (defaults to `node_modules/@defra/forms-engine-plugin`)
|
|
171
172
|
|
|
172
173
|
### Services
|
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defra/forms-engine-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Defra forms engine",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": ".server/server/plugins/engine/index.js",
|
|
7
6
|
"files": [
|
|
8
7
|
".server",
|
|
9
8
|
".public",
|
|
@@ -12,10 +11,18 @@
|
|
|
12
11
|
"exports": {
|
|
13
12
|
".": {
|
|
14
13
|
"sass": "./.server/client/stylesheets/application.scss",
|
|
15
|
-
"import": "./.server/
|
|
16
|
-
"default": "./.server/
|
|
14
|
+
"import": "./.server/server/plugins/engine/index.js",
|
|
15
|
+
"default": "./.server/server/plugins/engine/index.js"
|
|
17
16
|
},
|
|
18
|
-
"./
|
|
17
|
+
"./application.js": "./.server/client/javascripts/application.js",
|
|
18
|
+
"./application.min.js": "./.public/javascripts/application.min.js",
|
|
19
|
+
"./application.min.js.map": "./.public/javascripts/application.min.js.map",
|
|
20
|
+
"./file-upload.js": "./.server/client/javascripts/file-upload.js",
|
|
21
|
+
"./file-upload.min.js": "./.public/javascripts/file-upload.min.js",
|
|
22
|
+
"./file-upload.min.js.map": "./.public/javascripts/file-upload.min.js.map",
|
|
23
|
+
"./application.min.css": "./.public/stylesheets/application.min.css",
|
|
24
|
+
"./controllers/*": "./.server/server/plugins/engine/pageControllers/*",
|
|
25
|
+
"./package.json": "./package.json"
|
|
19
26
|
},
|
|
20
27
|
"scripts": {
|
|
21
28
|
"build": "npm run build:server && npm run build:client",
|
|
@@ -60,7 +67,7 @@
|
|
|
60
67
|
"@hapi/catbox-memory": "^6.0.2",
|
|
61
68
|
"@hapi/catbox-redis": "^7.0.2",
|
|
62
69
|
"@hapi/crumb": "^9.0.1",
|
|
63
|
-
"@hapi/hapi": "^21.
|
|
70
|
+
"@hapi/hapi": "^21.4.0",
|
|
64
71
|
"@hapi/hoek": "^11.0.7",
|
|
65
72
|
"@hapi/inert": "^7.1.0",
|
|
66
73
|
"@hapi/jwt": "^3.2.0",
|
|
@@ -84,11 +91,11 @@
|
|
|
84
91
|
"highlight.js": "^11.11.1",
|
|
85
92
|
"http-status-codes": "^2.3.0",
|
|
86
93
|
"humanize-duration": "^3.32.1",
|
|
87
|
-
"ioredis": "^5.
|
|
94
|
+
"ioredis": "^5.6.0",
|
|
88
95
|
"joi": "^17.13.3",
|
|
89
|
-
"liquidjs": "^10.
|
|
96
|
+
"liquidjs": "^10.21.0",
|
|
90
97
|
"lodash": "^4.17.21",
|
|
91
|
-
"marked": "^15.0.
|
|
98
|
+
"marked": "^15.0.7",
|
|
92
99
|
"nunjucks": "^3.2.3",
|
|
93
100
|
"outdent": "^0.8.0",
|
|
94
101
|
"pino": "^9.6.0",
|