chore: update dependencies

This commit is contained in:
chenos 2022-04-26 16:12:48 +08:00
parent 231600afdc
commit 1682e80310
4 changed files with 11 additions and 2 deletions

View File

@ -98,6 +98,10 @@ yarn create nocobase-app my-nocobase-app -d postgres \
# 2. 切换目录
cd my-nocobase-app
# 📢 由于网络原因,接下来这一步骤可能需要十几分钟时间
# 📢 使用 SQLite 数据库时,需要配置 sqlite3_binary_host_mirror
yarn config set sqlite3_binary_host_mirror https://npmmirror.com/mirrors/sqlite3/
# 3. 安装依赖(使用阿里云镜像)
yarn install --registry=https://registry.npmmirror.com

View File

@ -0,0 +1,3 @@
/src/.umi
/src/.umi-production
/src/.umi-test

View File

@ -24,6 +24,10 @@ module.exports = (opts) => {
'@types/react': '^17.0.0',
'@types/react-dom': '^17.0.0',
},
dependencies: {
'cross-env': '^7.0.3',
dotenv: '^10.0.0',
},
devDependencies: {
'@testing-library/react': '^12.1.2',
'@types/jest': '^26.0.0',
@ -33,8 +37,6 @@ module.exports = (opts) => {
'@typescript-eslint/eslint-plugin': '^4.9.1',
'@typescript-eslint/parser': '^4.8.2',
concurrently: '^7.0.0',
'cross-env': '^7.0.3',
dotenv: '^10.0.0',
eslint: '^7.14.0',
'eslint-config-prettier': '^7.0.0',
'eslint-plugin-import': '^2.13.0',