|
721 | 721 | </exec> |
722 | 722 | </target> |
723 | 723 |
|
724 | | - <target name="environment-change" depends="production-protection" description="Change application environment and install composer dev-dependencies when development environment is selected."> |
| 724 | + <target name="environment-change" depends="production-protection" description="Change application environment and install Composer and NPM dependencies for the selected environment."> |
725 | 725 | <if> |
726 | 726 | <not><isset property="change.environment"/></not> |
727 | 727 | <then> |
|
752 | 752 | </exec> |
753 | 753 | </else> |
754 | 754 | </if> |
| 755 | + <phingcall target="npm-install-dependencies"/> |
755 | 756 | <phingcall target="clean-cache"/> |
756 | 757 | <phingcall target="maintenance-off"/> |
757 | 758 | </target> |
758 | 759 |
|
759 | | - <target name="environment-change-prod" description="Change application environment to production and install production composer dependencies."> |
| 760 | + <target name="environment-change-prod" description="Change application environment to production and install production dependencies."> |
760 | 761 | <property name="change.environment" value="prod"/> |
761 | 762 | <phingcall target="environment-change"/> |
762 | 763 | </target> |
|
901 | 902 | <exec executable="/bin/sh" logoutput="true" passthru="true" checkreturn="true"> |
902 | 903 | <arg value="${path.framework}/scripts/npm-install-with-retry.sh"/> |
903 | 904 | <arg value="${path.npm.executable}"/> |
| 905 | + <arg value="${path.root}"/> |
904 | 906 | </exec> |
905 | 907 | </target> |
906 | 908 |
|
|
1058 | 1060 | </if> |
1059 | 1061 | </target> |
1060 | 1062 |
|
1061 | | - <target name="standards" depends="phplint,ecs,markdown-check,annotations-check,phpstan,twig-lint,yaml-standards,js-standards-check" description="Checks coding standards."/> |
| 1063 | + <target name="standards" depends="phplint,ecs,markdown-check,annotations-check,phpstan,twig-lint,yaml-standards,js-standards-check,stylelint" description="Checks coding standards."/> |
1062 | 1064 |
|
1063 | | - <target name="standards-diff" depends="phplint-diff,ecs-diff,markdown-check,annotations-check,phpstan,twig-lint-diff,yaml-standards,js-standards-check" description="Checks coding standards in changed files."/> |
| 1065 | + <target name="standards-diff" depends="phplint-diff,ecs-diff,markdown-check,annotations-check,phpstan,twig-lint-diff,yaml-standards,js-standards-check,stylelint" description="Checks coding standards in changed files."/> |
1064 | 1066 |
|
1065 | 1067 | <target name="standards-fix" depends="ecs-fix,markdown-fix,annotations-fix,yaml-standards-fix,js-standards-fix,ux-icons-lock" description="Automatically fixes *some* coding standards violations in all files. Always run 'standards' to be sure there are no further violations."/> |
1066 | 1068 |
|
|
0 commit comments