@ruan-cat/vercel-deploy-tool 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.ts +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ruan-cat/vercel-deploy-tool",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "阮喵喵自用的vercel部署工具,用于实现复杂项目的部署。",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
package/src/index.ts CHANGED
@@ -207,19 +207,19 @@ function generateBuildTask(deployTarget: DeployTarget) {
207
207
  */
208
208
  function generateCopyDistTasks(deployTarget: WithUserCommands) {
209
209
  function delDirectoryCmd() {
210
- return <const>`rimraf ${vercelOutputStatic}`;
210
+ return <const>`pnpm dlx rimraf ${vercelOutputStatic}`;
211
211
  }
212
212
 
213
213
  function createDirectoryCmd() {
214
- return <const>`mkdirp ${vercelOutputStatic}`;
214
+ return <const>`pnpm dlx mkdirp ${vercelOutputStatic}`;
215
215
  }
216
216
 
217
217
  function copyDirectoryFileCmd() {
218
- return <const>`cpx "${deployTarget.outputDirectory}" ${vercelOutputStatic}`;
218
+ return <const>`pnpm dlx cpx "${deployTarget.outputDirectory}" ${vercelOutputStatic}`;
219
219
  }
220
220
 
221
221
  function printDirectoryFileCmd() {
222
- return <const>`shx ls -R ${vercelOutputStatic}`;
222
+ return <const>`pnpm dlx shx ls -R ${vercelOutputStatic}`;
223
223
  }
224
224
 
225
225
  function cmdPrefix() {