@parameter1/base-cms-marko-web 2.50.0 → 2.73.0
Sign up to get free protection for your applications and to get access to all the features.
- package/components/browser-component.marko.js +2 -2
- package/components/document/components/body-wrapper.marko.js +2 -2
- package/components/document/components/error.marko.js +2 -2
- package/components/document/components/live-reload.marko.js +2 -2
- package/components/document/container.marko.js +2 -2
- package/components/document/index.marko.js +2 -2
- package/components/element/content/byline.marko +1 -0
- package/components/element/index.marko.js +2 -2
- package/components/element/website-section/name.marko +1 -0
- package/components/load-more/index.marko.js +2 -2
- package/components/load-more/trigger.marko.js +2 -2
- package/components/page/container.marko.js +2 -2
- package/components/page/description.marko.js +2 -2
- package/components/page/layouts/default.marko.js +2 -2
- package/components/page/metadata/components/common.marko.js +2 -2
- package/components/page/metadata/default.marko.js +2 -2
- package/components/page/rel-canonical.marko.js +2 -2
- package/components/page/title.marko.js +2 -2
- package/components/page/wrapper.marko.js +2 -2
- package/node-require.js +6 -0
- package/package.json +3 -2
- package/start-server.js +5 -5
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/browser-component.marko",
|
6
6
|
marko_component = require("./browser-component.marko"),
|
7
7
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
8
8
|
module_defaultValue = require("@parameter1/base-cms-marko-core/utils/default-value"),
|
@@ -73,7 +73,7 @@ marko_template._ = marko_renderer(render, {
|
|
73
73
|
}, marko_component);
|
74
74
|
|
75
75
|
marko_template.meta = {
|
76
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
76
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/browser-component.marko",
|
77
77
|
component: "./browser-component.marko",
|
78
78
|
tags: [
|
79
79
|
"@parameter1/base-cms-marko-core/components/resolve.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/body-wrapper.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
marko_dynamicTag = require("marko/src/runtime/helpers/dynamic-tag"),
|
8
8
|
marko_attrs = require("marko/src/runtime/html/helpers/attrs");
|
@@ -29,5 +29,5 @@ marko_template._ = marko_renderer(render, {
|
|
29
29
|
});
|
30
30
|
|
31
31
|
marko_template.meta = {
|
32
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
32
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/body-wrapper.marko"
|
33
33
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/error.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_isDev = require("../../../utils/is-dev"),
|
8
8
|
isDev = module_isDev.default || module_isDev,
|
@@ -77,7 +77,7 @@ marko_template._ = marko_renderer(render, {
|
|
77
77
|
});
|
78
78
|
|
79
79
|
marko_template.meta = {
|
80
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
80
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/error.marko",
|
81
81
|
tags: [
|
82
82
|
"../../page/title.marko",
|
83
83
|
"../../page/wrapper.marko"
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/live-reload.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_isDev = require("../../../utils/is-dev"),
|
8
8
|
isDev = module_isDev.default || module_isDev,
|
@@ -26,5 +26,5 @@ marko_template._ = marko_renderer(render, {
|
|
26
26
|
});
|
27
27
|
|
28
28
|
marko_template.meta = {
|
29
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
29
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/document/components/live-reload.marko"
|
30
30
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/document/container.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -47,7 +47,7 @@ marko_template._ = marko_renderer(render, {
|
|
47
47
|
});
|
48
48
|
|
49
49
|
marko_template.meta = {
|
50
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
50
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/document/container.marko",
|
51
51
|
tags: [
|
52
52
|
"../page/container.marko"
|
53
53
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/document/index.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -106,7 +106,7 @@ marko_template._ = marko_renderer(render, {
|
|
106
106
|
});
|
107
107
|
|
108
108
|
marko_template.meta = {
|
109
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
109
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/document/index.marko",
|
110
110
|
tags: [
|
111
111
|
"./container.marko",
|
112
112
|
"./components/live-reload.marko",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/element/index.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -43,5 +43,5 @@ marko_template._ = marko_renderer(render, {
|
|
43
43
|
});
|
44
44
|
|
45
45
|
marko_template.meta = {
|
46
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
46
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/element/index.marko"
|
47
47
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/load-more/index.marko",
|
6
6
|
marko_component = require("./index.marko"),
|
7
7
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
8
8
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
@@ -108,7 +108,7 @@ marko_template._ = marko_renderer(render, {
|
|
108
108
|
}, marko_component);
|
109
109
|
|
110
110
|
marko_template.meta = {
|
111
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
111
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/load-more/index.marko",
|
112
112
|
component: "./",
|
113
113
|
tags: [
|
114
114
|
"../browser-component.marko",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/load-more/trigger.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
marko_web_browser_component_template = require("../browser-component.marko"),
|
8
8
|
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
@@ -33,7 +33,7 @@ marko_template._ = marko_renderer(render, {
|
|
33
33
|
});
|
34
34
|
|
35
35
|
marko_template.meta = {
|
36
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
36
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/load-more/trigger.marko",
|
37
37
|
tags: [
|
38
38
|
"../browser-component.marko"
|
39
39
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/container.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -42,5 +42,5 @@ marko_template._ = marko_renderer(render, {
|
|
42
42
|
});
|
43
43
|
|
44
44
|
marko_template.meta = {
|
45
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
45
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/container.marko"
|
46
46
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/description.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
marko_attr = require("marko/src/runtime/html/helpers/attr");
|
8
8
|
|
@@ -22,5 +22,5 @@ marko_template._ = marko_renderer(render, {
|
|
22
22
|
});
|
23
23
|
|
24
24
|
marko_template.meta = {
|
25
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
25
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/description.marko"
|
26
26
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/layouts/default.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
marko_web_default_page_metadata_template = require("../metadata/default.marko"),
|
8
8
|
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
@@ -54,7 +54,7 @@ marko_template._ = marko_renderer(render, {
|
|
54
54
|
});
|
55
55
|
|
56
56
|
marko_template.meta = {
|
57
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
57
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/layouts/default.marko",
|
58
58
|
tags: [
|
59
59
|
"../metadata/default.marko"
|
60
60
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/metadata/components/common.marko",
|
6
6
|
marko_component = require("./common.marko"),
|
7
7
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
8
8
|
marko_web_page_title_template = require("../../title.marko"),
|
@@ -98,7 +98,7 @@ marko_template._ = marko_renderer(render, {
|
|
98
98
|
}, marko_component);
|
99
99
|
|
100
100
|
marko_template.meta = {
|
101
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
101
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/metadata/components/common.marko",
|
102
102
|
component: "./common.marko",
|
103
103
|
tags: [
|
104
104
|
"../../title.marko",
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/metadata/default.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
common_template = require("./components/common.marko"),
|
8
8
|
marko_loadTag = require("marko/src/runtime/helpers/load-tag"),
|
@@ -22,7 +22,7 @@ marko_template._ = marko_renderer(render, {
|
|
22
22
|
});
|
23
23
|
|
24
24
|
marko_template.meta = {
|
25
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
25
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/metadata/default.marko",
|
26
26
|
tags: [
|
27
27
|
"./components/common.marko"
|
28
28
|
]
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/rel-canonical.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsUtils_module = require("@parameter1/base-cms-utils"),
|
8
8
|
baseCmsUtils_module = module_baseCmsUtils_module.default || module_baseCmsUtils_module,
|
@@ -38,5 +38,5 @@ marko_template._ = marko_renderer(render, {
|
|
38
38
|
});
|
39
39
|
|
40
40
|
marko_template.meta = {
|
41
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
41
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/rel-canonical.marko"
|
42
42
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/title.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsUtils_module = require("@parameter1/base-cms-utils"),
|
8
8
|
baseCmsUtils_module = module_baseCmsUtils_module.default || module_baseCmsUtils_module,
|
@@ -42,5 +42,5 @@ marko_template._ = marko_renderer(render, {
|
|
42
42
|
});
|
43
43
|
|
44
44
|
marko_template.meta = {
|
45
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
45
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/title.marko"
|
46
46
|
};
|
@@ -2,7 +2,7 @@
|
|
2
2
|
"use strict";
|
3
3
|
|
4
4
|
var marko_template = module.exports = require("marko/src/html").t(__filename),
|
5
|
-
marko_componentType = "/@parameter1/base-cms-marko-web$2.
|
5
|
+
marko_componentType = "/@parameter1/base-cms-marko-web$2.62.0/components/page/wrapper.marko",
|
6
6
|
marko_renderer = require("marko/src/runtime/components/renderer"),
|
7
7
|
module_baseCmsObjectPath_module = require("@parameter1/base-cms-object-path"),
|
8
8
|
baseCmsObjectPath_module = module_baseCmsObjectPath_module.default || module_baseCmsObjectPath_module,
|
@@ -56,7 +56,7 @@ marko_template._ = marko_renderer(render, {
|
|
56
56
|
});
|
57
57
|
|
58
58
|
marko_template.meta = {
|
59
|
-
id: "/@parameter1/base-cms-marko-web$2.
|
59
|
+
id: "/@parameter1/base-cms-marko-web$2.62.0/components/page/wrapper.marko",
|
60
60
|
tags: [
|
61
61
|
"../element"
|
62
62
|
]
|
package/node-require.js
ADDED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@parameter1/base-cms-marko-web",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.73.0",
|
4
4
|
"description": "Core Marko+Express components for BaseCMS websites",
|
5
5
|
"author": "Jacob Bare <jacob@parameter1.com>",
|
6
6
|
"main": "index.js",
|
@@ -21,6 +21,7 @@
|
|
21
21
|
"@parameter1/base-cms-graphql-fragment-types": "^2.45.0",
|
22
22
|
"@parameter1/base-cms-image": "^2.45.0",
|
23
23
|
"@parameter1/base-cms-inflector": "^2.0.0",
|
24
|
+
"@parameter1/base-cms-marko-node-require": "^2.57.0",
|
24
25
|
"@parameter1/base-cms-object-path": "^2.45.0",
|
25
26
|
"@parameter1/base-cms-tenant-context": "^2.0.0",
|
26
27
|
"@parameter1/base-cms-utils": "^2.22.2",
|
@@ -50,5 +51,5 @@
|
|
50
51
|
"publishConfig": {
|
51
52
|
"access": "public"
|
52
53
|
},
|
53
|
-
"gitHead": "
|
54
|
+
"gitHead": "09b3b00891d224d618c50da506cb118c9e8756dd"
|
54
55
|
}
|
package/start-server.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
require('
|
1
|
+
require('./node-require');
|
2
2
|
const http = require('http');
|
3
3
|
const path = require('path');
|
4
4
|
const { createTerminus } = require('@godaddy/terminus');
|
@@ -7,10 +7,9 @@ const errorHandlers = require('./express/error-handlers');
|
|
7
7
|
const express = require('./express');
|
8
8
|
const loadMore = require('./express/load-more');
|
9
9
|
|
10
|
-
if (!process.env.LIVERELOAD_PORT) process.env.LIVERELOAD_PORT = 4010;
|
11
|
-
if (!process.env.EXPOSED_HOST) process.env.EXPOSED_HOST = 'localhost';
|
12
|
-
|
13
10
|
const { env } = process;
|
11
|
+
if (!process.env.LIVERELOAD_PORT) process.env.LIVERELOAD_PORT = 4010;
|
12
|
+
if (!process.env.EXPOSED_HOST) process.env.EXPOSED_HOST = env.HOST || 'localhost';
|
14
13
|
|
15
14
|
process.on('unhandledRejection', (e) => { throw e; });
|
16
15
|
|
@@ -21,6 +20,7 @@ module.exports = async ({
|
|
21
20
|
siteConfig,
|
22
21
|
coreConfig,
|
23
22
|
helmetConfig,
|
23
|
+
host = env.HOST,
|
24
24
|
port = env.PORT || 4008,
|
25
25
|
exposedPort = env.EXPOSED_PORT || env.PORT || 4008,
|
26
26
|
exposedHost = env.EXPOSED_HOST,
|
@@ -128,7 +128,7 @@ module.exports = async ({
|
|
128
128
|
});
|
129
129
|
|
130
130
|
return new Promise((res, rej) => {
|
131
|
-
server.listen(port, function listen(err) {
|
131
|
+
server.listen(port, host, function listen(err) {
|
132
132
|
if (err) {
|
133
133
|
rej(err);
|
134
134
|
} else {
|