Skip to content

Non-official Notion API & Utils for custom web page and data exporting

License

Notifications You must be signed in to change notification settings

texonom/notion-node

Repository files navigation

Texonom Notion

downloads

This repository is fork of React Notion X. Refactored with Turboplate. Search API, Backlinks and Property rendering are maintained in this project.

Property

Modules

  • @texonom/ntypes
  • @texonom/nclient
  • @texonom/ncompat
  • @texonom/nutils
  • @ntexonom/nreact

Development

pnpm i
pnpm build # TSUp
pnpm test # Vitest

Deployment

Version update in package.json is automated by standard-version

Release

# check terminal pwd project root
pnpm build && pnpm test
VERSION=
pnpm release $VERSION # Apply workspace
pnpm turbo release -- $VERSION
pnpm format
git commit -am "meta: deployment commit for $VERSION"
git tag $VERSION
pnpm turbo pu
git push && git push --tags

Prerelease

pnpm build && pnpm test
VERSION=alpha or beta or rc
pnpm prerelease $VERSION # Apply workspace
pnpm turbo prerelease -- $VERSION
git commit -am "meta: deployment commit for $VERSION"
pnpm turbo pu

Built with

Turboplate stacks

  • Turborepo monorepo
  • TSup build
  • Vitest test
  • ESLint lint
  • Prettier format
  • Husky git hook
  • Standard Version release