@docfy/ember 0.4.6 → 0.4.7
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/lib/index.js +2 -3
- package/package.json +2 -2
- package/src/index.ts +3 -3
package/lib/index.js
CHANGED
|
@@ -112,11 +112,10 @@ module.exports = {
|
|
|
112
112
|
// Re-enables caching of this addon, due to opting out
|
|
113
113
|
// of the caching implicitly by specifying treeFor* methods
|
|
114
114
|
cacheKeyForTree(treeType) {
|
|
115
|
+
var _a, _b, _c;
|
|
115
116
|
switch (treeType) {
|
|
116
117
|
case 'app': {
|
|
117
|
-
const sources = this.docfyConfig.sources
|
|
118
|
-
.map((item) => item.root)
|
|
119
|
-
.join(',');
|
|
118
|
+
const sources = (_c = (_b = (_a = this.docfyConfig) === null || _a === void 0 ? void 0 : _a.sources) === null || _b === void 0 ? void 0 : _b.map((item) => item.root)) === null || _c === void 0 ? void 0 : _c.join(',');
|
|
120
119
|
return calculate_cache_key_for_tree_1.default(treeType, this, [sources]);
|
|
121
120
|
}
|
|
122
121
|
default:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docfy/ember",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"description": "Ember integration with Docfy",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ember-addon",
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"prember"
|
|
123
123
|
]
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "b774d9e5bd1e676ac79dc61c4ef061c380a21b94"
|
|
126
126
|
}
|
package/src/index.ts
CHANGED
|
@@ -140,9 +140,9 @@ module.exports = {
|
|
|
140
140
|
cacheKeyForTree(treeType: string): string {
|
|
141
141
|
switch (treeType) {
|
|
142
142
|
case 'app': {
|
|
143
|
-
const sources = (this.docfyConfig as DocfyConfig)
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
const sources = (this.docfyConfig as DocfyConfig)?.sources
|
|
144
|
+
?.map((item) => item.root)
|
|
145
|
+
?.join(',');
|
|
146
146
|
return cacheKeyForTree(treeType, this, [sources]);
|
|
147
147
|
}
|
|
148
148
|
default:
|