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