@lwrjs/nunjucks-view-provider 0.17.2-alpha.9 → 0.18.0
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/build/es/index.js
CHANGED
|
@@ -4,8 +4,15 @@ import grayMatter from 'gray-matter';
|
|
|
4
4
|
import { getViewSourceFromFile, canResolveView } from '@lwrjs/shared-utils';
|
|
5
5
|
import { NunjucksCustomLoader, addHelperMethods } from './nunjucks-env-utils.js';
|
|
6
6
|
export default class NunJucksViewProvider {
|
|
7
|
+
emitter;
|
|
8
|
+
watcher;
|
|
9
|
+
watcherViewMap = new Map();
|
|
10
|
+
name;
|
|
11
|
+
routes;
|
|
12
|
+
contentDir;
|
|
13
|
+
layoutsDir;
|
|
14
|
+
rootDir;
|
|
7
15
|
constructor(pluginConfig, providerConfig) {
|
|
8
|
-
this.watcherViewMap = new Map();
|
|
9
16
|
this.routes = providerConfig.config.routes;
|
|
10
17
|
this.contentDir = providerConfig.config.contentDir;
|
|
11
18
|
this.layoutsDir = providerConfig.config.layoutsDir;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "0.
|
|
7
|
+
"version": "0.18.0",
|
|
8
8
|
"homepage": "https://developer.salesforce.com/docs/platform/lwr/overview",
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
@@ -33,16 +33,16 @@
|
|
|
33
33
|
"build": "tsc -b"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@lwrjs/shared-utils": "0.
|
|
36
|
+
"@lwrjs/shared-utils": "0.18.0",
|
|
37
37
|
"gray-matter": "^4.0.2",
|
|
38
38
|
"nunjucks": "^3.2.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@lwrjs/types": "0.
|
|
41
|
+
"@lwrjs/types": "0.18.0",
|
|
42
42
|
"memfs": "^4.13.0"
|
|
43
43
|
},
|
|
44
44
|
"engines": {
|
|
45
|
-
"node": ">=
|
|
45
|
+
"node": ">=20.0.0"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "763c7c558ea75fe34a91162c9793de63e55f1d2f"
|
|
48
48
|
}
|