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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: module not find
JimmFlybad5dda67e41
diff --git a/packages/i18n/src/scripts/api.ts b/packages/i18n/src/scripts/api.tsindex ae286fe584..657e3c245c 100644--- a/packages/i18n/src/scripts/api.ts+++ b/packages/i18n/src/scripts/api.ts@@ -1,5 +1,5 @@// cSpell:ignore Tolgee-import { fetchTolgee } from './request';+import { fetchTolgee } from './request.js';/*** Returns all project languagesdiff --git a/packages/i18n/src/scripts/download.ts b/packages/i18n/src/scripts/download.tsindex a43e84bf22..7aa0740c6e 100644--- a/packages/i18n/src/scripts/download.ts+++ b/packages/i18n/src/scripts/download.ts@@ -2,8 +2,8 @@import fs from 'node:fs/promises';import path from 'node:path';import { format } from 'prettier';-import { getAllProjectLanguages, getRemoteTranslations } from './api';-import type { TranslationRes } from './utils';+import { getAllProjectLanguages, getRemoteTranslations } from './api.js';+import type { TranslationRes } from './utils.js';const RES_DIR = path.resolve(process.cwd(), 'src', 'resources');@@ -66,7 +66,7 @@ const main = async () => {);const availableLanguages = languagesWithTranslations.filter(- language => language.completeRate > 0+ language => language.completeRate === 1);availableLanguages@@ -90,7 +90,7 @@ const main = async () => {console.log('Generating meta data...');const code = `// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.// Run \`pnpm run download-resources\` to regenerate.- // To overwrite this, please overwrite ${path.basename(__filename)}+ // To overwrite this, please overwrite download.ts script.${availableLanguages.map(language =>diff --git a/packages/i18n/src/scripts/sync.ts b/packages/i18n/src/scripts/sync.tsindex 80b16a5024..b89734e4c4 100644--- a/packages/i18n/src/scripts/sync.ts+++ b/packages/i18n/src/scripts/sync.ts@@ -1,8 +1,8 @@// cSpell:ignore Tolgeeimport { readFile } from 'fs/promises';import path from 'path';-import { createsNewKey, getRemoteTranslations } from './api';-import type { TranslationRes } from './utils';+import { createsNewKey, getRemoteTranslations } from './api.js';+import type { TranslationRes } from './utils.js';const BASE_JSON_PATH = path.resolve(process.cwd(),