Skip to content

Commit 856ca9c

Browse files
committed
fix: 修正 create.cjs 中的 pnpm 命令,改為使用 'pnpm install'
1 parent 94dc03d commit 856ca9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/create.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ async function main() {
1010
const commands = [
1111
`git clone https://github.com/j7-dev/wp-react-plugin.git ${projectName}`,
1212
`cd ${projectName}`,
13-
'pnpm',
13+
'pnpm install',
1414
`node ./replace-string.cjs ${projectName}`,
1515
'composer install --no-interaction',
1616
execRemove('.git'),

0 commit comments

Comments
 (0)