@monkeyplus/flow 4.0.0-beta.6 → 4.0.0-beta.8
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/dist/index.cjs +203 -470
- package/dist/index.d.ts +9 -2
- package/dist/index.mjs +199 -468
- package/package.json +6 -2
- package/types/flow.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monkeyplus/flow",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.8",
|
|
4
4
|
"description": "Utils hapi",
|
|
5
5
|
"author": "Andres Navarrete",
|
|
6
6
|
"license": "MIT",
|
|
@@ -21,13 +21,17 @@
|
|
|
21
21
|
"@hapi/boom": "9.x.x",
|
|
22
22
|
"@hapi/hoek": "9.x.x",
|
|
23
23
|
"consola": "^2.15.3",
|
|
24
|
+
"chalk": "^4.1.2",
|
|
25
|
+
"chokidar": "^3.5.3",
|
|
26
|
+
"hookable": "^5.1.1",
|
|
24
27
|
"fs-extra": "^10.0.0",
|
|
25
28
|
"ramda": "^0.28.0"
|
|
26
29
|
},
|
|
27
30
|
"devDependencies": {
|
|
28
|
-
"chalk": "^5.0.0",
|
|
29
31
|
"@types/fs-extra": "^9.0.13",
|
|
30
32
|
"@types/hapi__hapi": "^20.0.10",
|
|
33
|
+
"@types/hapi__nes": "^11.0.5",
|
|
34
|
+
"@types/hapi__vision": "^5.5.3",
|
|
31
35
|
"@types/ramda": "^0.27.64"
|
|
32
36
|
},
|
|
33
37
|
"peerDependencies": {
|
package/types/flow.d.ts
CHANGED
|
@@ -33,6 +33,10 @@ export interface FlowOptions {
|
|
|
33
33
|
routeOptions?: RouteOptions
|
|
34
34
|
dirTemplates?: string
|
|
35
35
|
plugins: FlowOptionPlugins
|
|
36
|
+
staticDir: string
|
|
37
|
+
hmr: {
|
|
38
|
+
dirs: string[]
|
|
39
|
+
}
|
|
36
40
|
engines?: ('eta' | 'nunjucks')[]
|
|
37
41
|
}
|
|
38
42
|
|
|
@@ -118,6 +122,7 @@ export namespace Flow {
|
|
|
118
122
|
}
|
|
119
123
|
export interface Configs extends FlowOptions {
|
|
120
124
|
relativeTo: string
|
|
125
|
+
|
|
121
126
|
locales: string[]
|
|
122
127
|
defaultUbication: string
|
|
123
128
|
defaultLanguage: string
|