Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Build and Push to Docker Registry

concurrency:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

Expand Down Expand Up @@ -58,7 +58,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20.9.0
node-version: 22.18.0
- name: ⚙️ Install zx
run: npm install -g zx

Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
run: |
REGISTRIES=("registry.cn-shenzhen.aliyuncs.com/teable" "ghcr.io/teableio" "docker.io/teableio")
TAGS=("latest" "sha-${{ github.sha }}")

for REGISTRY in "${REGISTRIES[@]}"; do
for TAG in "${TAGS[@]}"; do
docker manifest create $REGISTRY/${{ matrix.image }}:$TAG \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [20.9.0]
node-version: [22.18.0]
database-type: [postgres]
env:
CI: 1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node-version: [20.9.0]
node-version: [22.18.0]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 20.9.0
node-version: 22.18.0
- name: ⚙️ Install zx
run: npm install -g zx

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
node-version: [20.9.0]
node-version: [22.18.0]

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ auto-install-peers=true
lockfile=true
# force use npmjs.org registry
registry=https://registry.npmjs.org/
use-node-version=20.9.0
use-node-version=22.18.0
save-prefix=''
2 changes: 1 addition & 1 deletion apps/nestjs-backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"@types/mime-types": "2.1.4",
"@types/ms": "0.7.34",
"@types/multer": "1.4.11",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/node-fetch": "2.6.11",
"@types/nodemailer": "6.4.14",
"@types/oauth2orize": "1.11.5",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ export class MinioStorage implements StorageAdapter {
.getObject(bucket, objectName)
.then((stream) => {
stream.pipe(writeStream);
writeStream.on('finish', resolve);
writeStream.on('finish', () => resolve(null));
writeStream.on('error', reject);
stream.on('error', reject);
})
Expand Down
2 changes: 1 addition & 1 deletion apps/nestjs-backend/src/features/attachments/plugins/s3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class S3Storage implements StorageAdapter {
await new Promise((resolve, reject) => {
const writeStream = fse.createWriteStream(sourceFilePath);
(stream as Readable).pipe(writeStream);
writeStream.on('finish', resolve);
writeStream.on('finish', () => resolve(null));
writeStream.on('error', reject);
(stream as Readable).on('error', reject);
});
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"@types/cors": "2.8.17",
"@types/express": "4.17.21",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/nprogress": "0.2.3",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
Expand Down
2 changes: 1 addition & 1 deletion dockers/teable/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG NODE_VERSION=20.9.0
ARG NODE_VERSION=22.18.0
ARG BUILD_VERSION="1.0.0-alpha"

###################################################################
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"zx": "7.2.3"
},
"engines": {
"node": ">=20.0.0",
"node": ">=22.0.0",
"pnpm": ">=9.13.0",
"npm": "please-use-pnpm"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/common-i18n/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@teable/eslint-config-bases": "workspace:^",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"cross-env": "7.0.3",
"eslint": "8.57.0",
"prettier": "3.2.5",
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/de/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,14 @@
},
"webSearch": {
"description": "Konfigurieren Sie den Firecrawl API-Schlüssel, um die Websuchfunktion zu aktivieren. Gehen Sie zu <a>Firecrawl-Einstellungen</a>, um den API-Schlüssel zu erhalten"
},
"app": {
"domain": "Domain",
"v0ApiKey": "V0 API Schlüssel",
"customDomain": "Benutzerdefinierte Domain (Optional)",
"customDomainDescription": "Legen Sie Ihre benutzerdefinierte Domain für die App-Bereitstellung fest, besuchen Sie <a>Vercel Domain</a> um eine benutzerdefinierte Domain zu erhalten",
"vercelToken": "Vercel API Token",
"vercelTokenDescription": "Besuchen Sie <a>Vercel Einstellungen</a> um das API Token zu erhalten"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -527,6 +527,14 @@
},
"webSearch": {
"description": "Configure Firecrawl API key to enable web search feature, access <a>Firecrawl settings</a> to get API key"
},
"app": {
"domain": "Domain",
"v0ApiKey": "V0 API Key",
"customDomain": "Custom Domain (Optional)",
"customDomainDescription": "Set your custom domain for app deployment, access <a>Vercel domain</a> to get custom domain",
"vercelToken": "Vercel API Token",
"vercelTokenDescription": "Access <a>Vercel settings</a> to get API token"
}
},
"action": {
Expand Down
15 changes: 15 additions & 0 deletions packages/common-i18n/src/locales/en/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -895,6 +895,21 @@
"ask": "Ask",
"analyze": "Analyze",
"build": "Build"
},
"buildApp": {
"thinking": {
"duration": "Thought for {{duration}}s"
},
"task": {
"searching": "Searching \"{{query}}\"",
"readingFiles": "Reading files:",
"foundResults": "Found {{count}} results",
"noIssuesFound": "No issues found",
"defaultTitle": "Task"
},
"codeProject": {
"defaultTitle": "Code Project"
}
}
}
}
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/es/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,14 @@
},
"webSearch": {
"description": "Configure la clave API de Firecrawl para habilitar la función de búsqueda web, acceda a <a>configuración de Firecrawl</a> para obtener la clave API"
},
"app": {
"domain": "Dominio",
"v0ApiKey": "Clave API de V0",
"customDomain": "Dominio Personalizado (Opcional)",
"customDomainDescription": "Configura tu dominio personalizado para el despliegue de la aplicación, accede a <a>dominio de Vercel</a> para obtener el dominio personalizado",
"vercelToken": "Token API de Vercel",
"vercelTokenDescription": "Accede a <a>configuración de Vercel</a> para obtener el token API"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,14 @@
},
"webSearch": {
"description": "Configurez la clé API Firecrawl pour activer la fonction de recherche web, accédez aux <a>paramètres Firecrawl</a> pour obtenir la clé API"
},
"app": {
"domain": "Domaine",
"v0ApiKey": "Clé API V0",
"customDomain": "Domaine Personnalisé (Optionnel)",
"customDomainDescription": "Définissez votre domaine personnalisé pour le déploiement de l'application, accédez au <a>domaine Vercel</a> pour obtenir un domaine personnalisé",
"vercelToken": "Token API Vercel",
"vercelTokenDescription": "Accédez aux <a>paramètres Vercel</a> pour obtenir le token API"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/it/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,14 @@
},
"webSearch": {
"description": "Configura la chiave API Firecrawl per abilitare la funzione di ricerca web, accedi alle <a>impostazioni Firecrawl</a> per ottenere la chiave API"
},
"app": {
"domain": "Dominio",
"v0ApiKey": "Chiave API V0",
"customDomain": "Dominio Personalizzato (Opzionale)",
"customDomainDescription": "Imposta il tuo dominio personalizzato per la distribuzione dell'app, accedi al <a>dominio Vercel</a> per ottenere il dominio personalizzato",
"vercelToken": "Token API Vercel",
"vercelTokenDescription": "Accedi alle <a>impostazioni Vercel</a> per ottenere il token API"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/ja/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,14 @@
},
"webSearch": {
"description": "ウェブ検索機能を有効にするためにFirecrawl APIキーを設定し、APIキーを取得するために<a>Firecrawl設定</a>にアクセスしてください"
},
"app": {
"domain": "ドメイン",
"v0ApiKey": "V0 APIキー",
"customDomain": "カスタムドメイン(オプション)",
"customDomainDescription": "アプリのデプロイ用のカスタムドメインを設定し、<a>Vercelドメイン</a>にアクセスしてカスタムドメインを取得してください",
"vercelToken": "Vercel APIトークン",
"vercelTokenDescription": "APIトークンを取得するために<a>Vercel設定</a>にアクセスしてください"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/ru/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,14 @@
},
"webSearch": {
"description": "Настройте API ключ Firecrawl для включения функции веб-поиска, перейдите в <a>настройки Firecrawl</a> для получения API ключа"
},
"app": {
"domain": "Домен",
"v0ApiKey": "Ключ API V0",
"customDomain": "Пользовательский домен (необязательно)",
"customDomainDescription": "Настройте свой пользовательский домен для развертывания приложения, перейдите в <a>домен Vercel</a> для получения пользовательского домена",
"vercelToken": "Токен API Vercel",
"vercelTokenDescription": "Перейдите в <a>настройки Vercel</a> для получения токена API"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/tr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,14 @@
},
"webSearch": {
"description": "Web arama özelliğini etkinleştirmek için Firecrawl API anahtarını yapılandırın, API anahtarını almak için <a>Firecrawl ayarlarına</a> erişin"
},
"app": {
"domain": "Alan Adı",
"v0ApiKey": "V0 API Anahtarı",
"customDomain": "Özel Alan Adı (İsteğe Bağlı)",
"customDomainDescription": "Uygulama dağıtımı için özel alan adınızı ayarlayın, özel alan adı almak için <a>Vercel alan adına</a> erişin",
"vercelToken": "Vercel API Token",
"vercelTokenDescription": "API token almak için <a>Vercel ayarlarına</a> erişin"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/uk/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,14 @@
},
"webSearch": {
"description": "Налаштуйте API ключ Firecrawl для увімкнення функції веб-пошуку, перейдіть до <a>налаштувань Firecrawl</a> для отримання API ключа"
},
"app": {
"domain": "Домен",
"v0ApiKey": "Ключ API V0",
"customDomain": "Користувацький домен (необов'язково)",
"customDomainDescription": "Налаштуйте свій користувацький домен для розгортання застосунку, перейдіть до <a>домену Vercel</a> для отримання користувацького домену",
"vercelToken": "Токен API Vercel",
"vercelTokenDescription": "Перейдіть до <a>налаштувань Vercel</a> для отримання токена API"
}
},
"action": {
Expand Down
8 changes: 8 additions & 0 deletions packages/common-i18n/src/locales/zh/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,14 @@
},
"webSearch": {
"description": "配置 Firecrawl API 密钥以启用网络搜索功能,访问 <a>Firecrawl 设置</a> 获取 API 密钥"
},
"app": {
"domain": "域名",
"v0ApiKey": "V0 API 密钥",
"customDomain": "自定义域名 (可选)",
"customDomainDescription": "设置应用部署的自定义域名,访问 <a>Vercel 域名</a> 获取自定义域名",
"vercelToken": "Vercel API 密钥",
"vercelTokenDescription": "设置 Vercel API 密钥以启用自定义域名部署功能,访问 <a>Vercel 设置</a> 获取 API 密钥"
}
},
"action": {
Expand Down
15 changes: 15 additions & 0 deletions packages/common-i18n/src/locales/zh/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -898,6 +898,21 @@
"ask": "提问",
"analyze": "分析",
"build": "构建"
},
"buildApp": {
"thinking": {
"duration": "思考用时 {{duration}} 秒"
},
"task": {
"searching": "搜索 \"{{query}}\"",
"readingFiles": "读取文件:",
"foundResults": "找到 {{count}} 个结果",
"noIssuesFound": "未发现问题",
"defaultTitle": "任务"
},
"codeProject": {
"defaultTitle": "代码项目"
}
}
}
}
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"@size-limit/file": "11.1.2",
"@teable/eslint-config-bases": "workspace:^",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@vitest/coverage-v8": "2.1.5",
"antlr4ts-cli": "0.5.0-alpha.4",
"cross-env": "7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/db-main-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"@httpx/dsn-parser": "1.8.4",
"@faker-js/faker": "8.4.1",
"@teable/eslint-config-bases": "workspace:^",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/bcrypt": "5.0.2",
"camelcase": "8.0.0",
"cross-env": "7.0.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-bases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"devDependencies": {
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.2.2",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
"es-check": "7.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@svgr/plugin-prettier": "8.1.0",
"@svgr/plugin-svgo": "8.1.0",
"@types/fs-extra": "11.0.4",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/react": "18.2.69",
"axios": "1.7.7",
"chalk": "5.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/openapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"dependencies": {
"@asteasolutions/zod-to-openapi": "6.4.0",
"@teable/core": "workspace:^",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"axios": "1.7.7",
"form-data": "4.0.0",
"httpsnippet-lite": "3.0.5",
Expand Down
2 changes: 2 additions & 0 deletions packages/openapi/src/admin/setting/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ export const aiConfigVoSchema = aiConfigSchema.merge(

export const appConfigSchema = z.object({
apiKey: z.string().optional(),
vercelToken: z.string().optional(),
customDomain: z.string().optional(),
creditCount: z.number().min(0).optional(),
});

Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@testing-library/jest-dom": "6.4.2",
"@testing-library/react": "14.2.2",
"@types/lodash": "4.17.0",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
"@types/react-hammerjs": "1.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
"@tailwindcss/aspect-ratio": "0.4.2",
"@teable/eslint-config-bases": "workspace:^",
"@testing-library/react": "14.2.2",
"@types/node": "20.9.0",
"@types/node": "22.18.0",
"@types/react": "18.2.69",
"@types/react-dom": "18.2.22",
"autoprefixer": "10.4.19",
Expand Down
Loading
Loading