Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Notion content source implementation #393

Closed
wants to merge 68 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
68 commits
Select commit Hold shift + click to select a range
45f4fda
feat(notion): setup @contentlayer/source-notion base code
kerwanp Mar 14, 2023
11e6c21
feat(notion): add date fields support
kerwanp Mar 14, 2023
e58f288
feat(notion): ask notion client as plugin parameter instead of buildi…
kerwanp Mar 14, 2023
e93cdac
feat(notion): add field definition options
kerwanp Mar 14, 2023
faf5d60
feat(notion): add option to disable automatic property import
kerwanp Mar 14, 2023
5e5e3d9
feat(notion): use notion renderer
kerwanp Mar 14, 2023
1d76490
feat(notion): use notion renderer rc.2
kerwanp Mar 14, 2023
e16dec9
style(notion): remove unused parameters
kerwanp Mar 14, 2023
f5c47db
feat(notion): implement support for new page properties
kerwanp Mar 14, 2023
1f6c105
feat(notion): upgrade to @notion-render/client
kerwanp Mar 15, 2023
43830f9
feat(notion): add query parameters to query databases
kerwanp Mar 15, 2023
7112bab
fix(notion): iterate over paginated results to query more than 100 pa…
kerwanp Mar 16, 2023
f2fbef2
feat(notion): handle relations
kerwanp Mar 16, 2023
a8a3b24
feat(notion): improve codebase and add rollup and relation property
kerwanp Mar 17, 2023
a24344d
feat(notion): remove temporarly support for rollup property
kerwanp Mar 17, 2023
8e90bcd
fix(notion): make plugin work properly even with unsupported proprty …
kerwanp Mar 17, 2023
e44d195
doc(notion): create documentation
kerwanp Mar 17, 2023
94313e3
feat(notion): prepare for alpha release
kerwanp Mar 17, 2023
0760378
chore(notion): change version
kerwanp Mar 17, 2023
3dbd542
style(notion): run lint:fix
kerwanp Mar 17, 2023
2e57b36
doc(notion): fix symbolink links
kerwanp Mar 17, 2023
6ae9a56
doc(notion): fix symbolink links
kerwanp Mar 17, 2023
a845f23
doc(notion): improve documentation
kerwanp Mar 17, 2023
c2890b8
chore(notion): increment version
kerwanp Mar 17, 2023
7c6b9d4
refactor(notion): improve codebase
kerwanp Mar 19, 2023
a46861b
fix(notion): remove unused notion.ts file
kerwanp Mar 19, 2023
d027856
feat(notion): improve code base and handle rollup properties
kerwanp Mar 20, 2023
5f2da38
refactory(notion): change fields to properties
kerwanp Mar 21, 2023
909c95d
chore(notion): increment version
kerwanp Mar 21, 2023
aae006e
feat(notion): make importContent defaults to true
kerwanp Mar 22, 2023
d67672a
chore(notion): increment version
kerwanp Mar 22, 2023
ab55ff6
fix(notion): fix problem where body is not added to the type
kerwanp Mar 22, 2023
e50544b
feat(notion): add computedfields to DatabaseType
kerwanp Mar 22, 2023
1572bc5
feat(notion): add computedFields support
kerwanp Mar 23, 2023
e914284
refactor(notion): improve codebase
kerwanp Mar 23, 2023
0442b0b
refactor(notion): use nested type definitions rather than unnamed nested
kerwanp Mar 23, 2023
763d199
docs(notion): add computedFields documentation
kerwanp Mar 23, 2023
7518f80
chore(notion): increment version
kerwanp Mar 23, 2023
2492167
feat(notion): add multi-select support
kerwanp Mar 24, 2023
6c617c7
chore(notion): increment version
kerwanp Mar 24, 2023
2281bdf
feat(notion): make multiselect defaults to []
kerwanp Mar 24, 2023
aad409c
chore(notion): increment version
kerwanp Mar 24, 2023
60fdc94
feat(notion): make files field defaults to []
kerwanp Mar 24, 2023
99bbd96
fix(notion): make date field required
kerwanp Mar 27, 2023
06c15e8
fix(notion): store generated html to doc.body.html to follow standards
kerwanp Mar 27, 2023
9071287
fix(notion): store generated html to doc.body.html to follow standards
kerwanp Mar 27, 2023
dacbfbc
chore(notion): increment version
kerwanp Mar 27, 2023
7c77cef
feat(notion): process pages concurrently
kerwanp Mar 31, 2023
2fe4bad
feat(notion): add rate limit support and process documents concurrently
kerwanp Mar 31, 2023
647e7bf
style(notion): lint files
kerwanp Mar 31, 2023
7663f0a
fix(notion): remove debug console logs
kerwanp Mar 31, 2023
dec388d
feat(notion): improve errors handling
kerwanp Mar 31, 2023
253cb58
chore(notion): increment version
kerwanp Mar 31, 2023
051ac1d
feat(notion): add ability to provide own client and renderer instance
kerwanp Mar 31, 2023
09582bf
chore(notion): increment version
kerwanp Mar 31, 2023
ea08f35
fix(notion): remove debug console log
kerwanp Mar 31, 2023
32d5178
chore(notion): increment version
kerwanp Mar 31, 2023
510741c
fix(notion): throw AbortError to fix p-retry
kerwanp Mar 31, 2023
f402551
feat(notion): add cache system
kerwanp Mar 31, 2023
f7ce026
chore(notion): increment version
kerwanp Mar 31, 2023
053b4a4
feat(notion): update @notion-render/client to rc.3
kerwanp Apr 2, 2023
727c5cc
feat(notion): upgrade to @notion-renderer/[email protected]
kerwanp Apr 2, 2023
342f774
Merge branch 'main' of github.com:contentlayerdev/contentlayer
kerwanp Apr 5, 2023
5d9791a
feat(notion): upgrade to [email protected] and handle notion errors
kerwanp Apr 5, 2023
c620dcc
feat(notion): update @notion-render/client
kerwanp May 12, 2023
07d7cea
Merge branch 'main' of github.com:contentlayerdev/contentlayer
kerwanp May 12, 2023
f34af86
chore(notion): increment version
kerwanp May 18, 2023
7591d91
feat(notion): add polling system
kerwanp May 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat(notion): upgrade to @notion-renderer/[email protected]
kerwanp committed Apr 2, 2023
commit 727c5cccdcd9215c252bd90dec9124abd9377ba7
4 changes: 2 additions & 2 deletions packages/@contentlayer/source-notion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "contentlayer-source-notion",
"version": "0.0.1-alpha.21",
"version": "0.0.1-alpha.23",
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
@@ -19,7 +19,7 @@
"dependencies": {
"@contentlayer/core": "workspace:*",
"@contentlayer/utils": "workspace:*",
"@notion-render/client": "1.0.0-rc.3",
"@notion-render/client": "1.0.0-rc.5",
"@notionhq/client": "^2.2.3",
"p-queue": "^7.3.4",
"p-retry": "^5.1.2",