Skip to content

Commit 1270bd9

Browse files
author
Vladimir Amiorkov
authored
feat: remove 'hooks' when cleaning demo apps (#11)
1 parent cfcfb75 commit 1270bd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/scripts/predefined-scripts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -309,19 +309,19 @@ function getPluginPreDefinedScripts(srcPath, demoFolder, demoAngularFolder, demo
309309
},
310310
{
311311
key: "nd.clean.demo",
312-
value: "rm -rf " + demoFolder + "/node_modules " + demoFolder + "/platforms",
312+
value: "rm -rf " + demoFolder + "/node_modules " + demoFolder + "/platforms " + demoFolder + "/hooks",
313313
description: "Clears the node_modules and platforms folder of the Vanila NS app",
314314
category: "main"
315315
},
316316
{
317317
key: "nd.clean.demo.angular",
318-
value: "rm -rf " + demoAngularFolder + "/node_modules " + demoAngularFolder + "/platforms",
318+
value: "rm -rf " + demoAngularFolder + "/node_modules " + demoAngularFolder + "/platforms " + demoAngularFolder + "/hooks",
319319
description: "Clears the node_modules and platforms folder of the Angular NS app",
320320
category: "main"
321321
},
322322
{
323323
key: "nd.clean.demo.vue",
324-
value: "rm -rf " + demoVueFolder + "/node_modules " + demoVueFolder + "/platforms",
324+
value: "rm -rf " + demoVueFolder + "/node_modules " + demoVueFolder + "/platforms " + demoVueFolder + "/hooks",
325325
description: "Clears the node_modules and platforms folder of the Angular NS app",
326326
category: "main"
327327
}];

0 commit comments

Comments
 (0)