Skip to content

Commit

Permalink
feat(notion): notion flow
Browse files Browse the repository at this point in the history
  • Loading branch information
LetTTGACO committed Apr 27, 2024
1 parent 1784291 commit d41f9c1
Show file tree
Hide file tree
Showing 12 changed files with 749 additions and 7 deletions.
93 changes: 93 additions & 0 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions playground/plugin-from-notion/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"name": "@elogx-test/plugin-from-notion",
"version": "1.0.1",
"description": "",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"scripts": {
"build": "tsup"
},
"author": "",
"license": "MIT",
"peerDependencies": {
"@elogx-test/elog": "^1.0.0"
},
"peerDependenciesMeta": {
"@elogx-test/elog": {
"optional": true
}
},
"dependencies": {
"@notionhq/client": "~2.2.15",
"notion-to-md": "~3.1.1",
"tiny-async-pool": "~2.1.0"
},
"devDependencies": {
"tsup": "^6.7.0",
"typescript": "~5.2.2",
"@types/node": "~18.15.3",
"@elogx-test/elog": "workspace:*",
"@types/tiny-async-pool": "~2.0.3"
}
}
8 changes: 8 additions & 0 deletions playground/plugin-from-notion/src/Context.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import type { PluginContext } from '@elogx-test/elog';

export default class {
readonly ctx: PluginContext;
constructor(ctx: PluginContext) {
this.ctx = ctx;
}
}
Loading

0 comments on commit d41f9c1

Please sign in to comment.