Skip to content

Commit

Permalink
Merge pull request #247 from kirklin/main
Browse files Browse the repository at this point in the history
chore: use pnpm
  • Loading branch information
sHow8e authored Mar 21, 2023
2 parents 7be804c + 7a19f94 commit 4e99cdd
Show file tree
Hide file tree
Showing 8 changed files with 9,918 additions and 9,507 deletions.
4 changes: 2 additions & 2 deletions .arco-cli/after-init.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const { spawnSync } = require('child_process');

const isWindows = process.platform === 'win32';
const cmd = isWindows ? 'yarn.cmd' : 'yarn';
const cmd = isWindows ? 'pnpm.cmd' : 'pnpm';

const logInfo = (messages) => {
messages.forEach((m) => {
Expand All @@ -20,7 +20,7 @@ module.exports = ({ projectName }) => {
'******************************************************************************',
' Read README.md for help information. Execute following command to start',
` $ cd ${projectName}`,
' $ yarn dev',
' $ pnpm run dev',
'******************************************************************************',
]);
};
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
pnpm commitlint --edit $1
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ English | [简体中文](./README.zh-CN.md)
## 🌈 Usage

```bash
$ npm i arco-cli@latest yarn -g
$ npm i arco-cli@latest pnpm -g

$ arco init my-project
```
Expand Down
2 changes: 1 addition & 1 deletion arco-design-pro-vite/.husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
pnpm commitlint --edit $1
Loading

0 comments on commit 4e99cdd

Please sign in to comment.