mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 23:06:06 +08:00
修改依赖
This commit is contained in:
parent
36ae6e460d
commit
f2426c3f66
3
.npmrc
3
.npmrc
|
@ -1,2 +1 @@
|
||||||
sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli
|
sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli
|
||||||
shamefully-hoist=true
|
|
|
@ -169,7 +169,7 @@ $ git clone git@github.com:whyour/qinglong.git
|
||||||
$ cd qinglong
|
$ cd qinglong
|
||||||
$ cp .env.example .env
|
$ cp .env.example .env
|
||||||
# 推荐使用 pnpm https://pnpm.io/zh/installation
|
# 推荐使用 pnpm https://pnpm.io/zh/installation
|
||||||
$ npm install -g pnpm@6
|
$ npm install -g pnpm
|
||||||
$ pnpm install
|
$ pnpm install
|
||||||
$ pnpm start
|
$ pnpm start
|
||||||
```
|
```
|
||||||
|
|
|
@ -38,7 +38,7 @@ RUN set -x \
|
||||||
&& touch ~/.bashrc \
|
&& touch ~/.bashrc \
|
||||||
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
&& git config --global user.email "qinglong@@users.noreply.github.com" \
|
||||||
&& git config --global user.name "qinglong" \
|
&& git config --global user.name "qinglong" \
|
||||||
&& npm install -g pnpm@6 \
|
&& npm install -g pnpm \
|
||||||
&& pnpm install -g pm2 \
|
&& pnpm install -g pm2 \
|
||||||
&& pnpm install -g ts-node typescript tslib \
|
&& pnpm install -g ts-node typescript tslib \
|
||||||
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
&& git clone -b ${QL_BRANCH} ${QL_URL} ${QL_DIR} \
|
||||||
|
|
|
@ -92,6 +92,7 @@
|
||||||
"concurrently": "^7.0.0",
|
"concurrently": "^7.0.0",
|
||||||
"darkreader": "4.9.44",
|
"darkreader": "4.9.44",
|
||||||
"lint-staged": "^12.3.4",
|
"lint-staged": "^12.3.4",
|
||||||
|
"monaco-editor": "^0.33.0",
|
||||||
"nodemon": "^2.0.15",
|
"nodemon": "^2.0.15",
|
||||||
"prettier": "^2.5.1",
|
"prettier": "^2.5.1",
|
||||||
"qiniu": "^7.4.0",
|
"qiniu": "^7.4.0",
|
||||||
|
@ -103,6 +104,7 @@
|
||||||
"react-dnd": "^14.0.2",
|
"react-dnd": "^14.0.2",
|
||||||
"react-dnd-html5-backend": "^14.0.0",
|
"react-dnd-html5-backend": "^14.0.0",
|
||||||
"react-dom": "17.x",
|
"react-dom": "17.x",
|
||||||
|
"react-router": "^6.3.0",
|
||||||
"react-split-pane": "^0.1.92",
|
"react-split-pane": "^0.1.92",
|
||||||
"sockjs-client": "^1.6.0",
|
"sockjs-client": "^1.6.0",
|
||||||
"ts-node": "^10.6.0",
|
"ts-node": "^10.6.0",
|
||||||
|
|
|
@ -252,7 +252,7 @@ npm_install_sub() {
|
||||||
elif ! type pnpm &>/dev/null; then
|
elif ! type pnpm &>/dev/null; then
|
||||||
npm install --production --registry=https://registry.npm.taobao.org || npm install --production
|
npm install --production --registry=https://registry.npm.taobao.org || npm install --production
|
||||||
else
|
else
|
||||||
pnpm install --production --registry=https://registry.npm.taobao.org || pnpm install --production
|
pnpm install --loglevel error --production --registry=https://registry.npm.taobao.org || pnpm install --production --loglevel error
|
||||||
fi
|
fi
|
||||||
unset_proxy
|
unset_proxy
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user