mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-27 03:42:08 +03:00
There can be more than Notion and Miro. AFFiNE is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
affineblock-editorcollaborativeeditorknowledge-basemiromiro-alternativenotionnotion-alternativeprivacy-firstrustsemanticstarred-repostarred-toeverything-repoyjs
.github | ||
.vscode | ||
packages | ||
scripts/module-resolve | ||
.eslintignore | ||
.eslintrc.js | ||
.gitignore | ||
.pnpmfile.cjs | ||
.prettierrc | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md |
Pathfinder
Prerequisites
- Git
- Node: any 12.x version starting with v12.0.0 or greater
- Pnpm: See how to installation
Development
pnpm dev
Open https://localhost:3000 in browser.
Build
pnpm build
Replace Modules
You can create module-resolve.js
in project root dir to replace some package to better implements.
There is a template file in scripts/module-resolve/module-resolve.tmpl.js
.
Example:
function resolve(pkg) {
if (pkg.dependencies && pkg.dependencies['@toeverything/pathfinder-logger']) {
pkg.dependencies['@toeverything/pathfinder-logger'] = '^0.0.1';
}
return pkg;
}
module.exports = {
resolve,
};
After modify/create this file, please delete the node_modules
, then run pnpm install
again