File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,15 @@ rm -f ${PROJECT_THEME_PATH}/languages/*
1212rm ${PROJECT_THEME_PATH} /README.md
1313rm ${PROJECT_THEME_PATH} /LICENSE.md
1414
15+ # DEV-177: Remove code-quality-checks from theme (dudestack project root handles hooks)
16+ # Remove the dependency and prepare script from package.json
17+ if [ -f " ${PROJECT_THEME_PATH} /package.json" ]; then
18+ # Remove @digitoimistodude/code-quality-checks dependency
19+ sed -i ' ' ' /"@digitoimistodude\/code-quality-checks"/d' ${PROJECT_THEME_PATH} /package.json
20+ # Remove the prepare script (husky is handled at project root)
21+ sed -i ' ' ' /"prepare":/d' ${PROJECT_THEME_PATH} /package.json
22+ fi
23+
1524# Remove demo content leftover files
1625rm ${PROJECT_THEME_PATH} /sass/layout/_wordpress.scss
1726
You can’t perform that action at this time.
0 commit comments