diff --git a/.npmrc b/.npmrc index 7546189c..5ca71642 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ -sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli -shamefully-hoist=true \ No newline at end of file +sentrycli_cdnurl=https://cdn.npm.taobao.org/dist/sentry-cli \ No newline at end of file diff --git a/README.md b/README.md index 2acb9a7c..a778bbe6 100644 --- a/README.md +++ b/README.md @@ -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 ``` diff --git a/docker/Dockerfile b/docker/Dockerfile index 0a81df0a..2af17b8d 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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} \ diff --git a/package.json b/package.json index a0051d14..86c8e047 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/shell/share.sh b/shell/share.sh index 57f456ce..decf3bba 100755 --- a/shell/share.sh +++ b/shell/share.sh @@ -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 }