gatsby-source-notion-churnotion 1.0.94 → 1.0.97
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/onPostBootstrap.js +1 -1
- package/package.json +1 -1
package/dist/onPostBootstrap.js
CHANGED
@@ -80,7 +80,6 @@ const onPostBootstrap = async ({ actions, getNode, getNodesByType, createNodeId,
|
|
80
80
|
const docs = nodes
|
81
81
|
.map((node) => ({ id: node.id, text: node.rawText }))
|
82
82
|
.filter((doc) => doc.text?.trim() !== "");
|
83
|
-
reporter.info(`[TEST get Docs] ${docs}`);
|
84
83
|
const tfidf = new natural_1.TfIdf();
|
85
84
|
// tfidf
|
86
85
|
docs.map(async (doc) => {
|
@@ -92,6 +91,7 @@ const onPostBootstrap = async ({ actions, getNode, getNodesByType, createNodeId,
|
|
92
91
|
}
|
93
92
|
else {
|
94
93
|
const ssd = await getSpaceSeparatedDoc(await getTextFromRawText(doc.text));
|
94
|
+
reporter.info(`[TEST] ${ssd}`);
|
95
95
|
tfidf.addDocument(ssd);
|
96
96
|
await cache.set(key, ssd);
|
97
97
|
}
|
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.97",
|
5
5
|
"skipLibCheck": true,
|
6
6
|
"license": "0BSD",
|
7
7
|
"main": "./dist/gatsby-node.js",
|