gatsby-source-notion-churnotion 1.0.96 → 1.0.98
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/onPostBootstrap.js +3 -0
- package/package.json +1 -1
package/dist/onPostBootstrap.js
CHANGED
@@ -85,12 +85,15 @@ const onPostBootstrap = async ({ actions, getNode, getNodesByType, createNodeId,
|
|
85
85
|
docs.map(async (doc) => {
|
86
86
|
if (doc.text) {
|
87
87
|
const key = `${md5(doc.text)}-doc`;
|
88
|
+
reporter.info(`[TEST1] ${doc.text}`);
|
89
|
+
reporter.info(`[TEST2] ${await getTextFromRawText(doc.text)}`);
|
88
90
|
const cached_ssd = await cache.get(key);
|
89
91
|
if (cached_ssd !== undefined) {
|
90
92
|
tfidf.addDocument(cached_ssd);
|
91
93
|
}
|
92
94
|
else {
|
93
95
|
const ssd = await getSpaceSeparatedDoc(await getTextFromRawText(doc.text));
|
96
|
+
reporter.info(`[TEST3] ${ssd}`);
|
94
97
|
tfidf.addDocument(ssd);
|
95
98
|
await cache.set(key, ssd);
|
96
99
|
}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "gatsby-source-notion-churnotion",
|
3
3
|
"description": "Gatsby plugin that can connect with One Notion Database RECURSIVELY using official API",
|
4
|
-
"version": "1.0.
|
4
|
+
"version": "1.0.98",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|