Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

feat: add sync scripts

JimmFly807762cf1a6d
diff --git a/packages/i18n/package.json b/packages/i18n/package.json
index cc559528e3..2f9cf000e3 100644
--- a/packages/i18n/package.json
+++ b/packages/i18n/package.json
@@ -10,7 +10,10 @@
".": "./dist/src/index.js"
},
"scripts": {
- "build": "tsc --project ./tsconfig.json"
+ "build": "tsc --project ./tsconfig.json",
+ "sync-languages": "NODE_OPTIONS=--experimental-fetch ts-node src/scripts/sync.ts",
+ "sync-languages:check": "pnpm run sync-languages --check",
+ "download-resources": "NODE_OPTIONS=--experimental-fetch ts-node src/scripts/download.ts"
},
"keywords": [],
"repository": {