@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.
- package/package.json +1 -1
- package/src/index.ts +4 -4
package/package.json
CHANGED
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() {
|