We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b3c82b commit d5ba63cCopy full SHA for d5ba63c
1 file changed
tools/schematics/scripts/set-magento-version.sh
@@ -9,14 +9,14 @@ fi
9
CONDITION="magento-${VERSION}"
10
11
# Patch angular.json: add condition to every build configuration across all projects
12
-ANGULAR=$(jq --arg cond "$CONDITION" '
13
- .projects |= with_entries(
14
- .value.architect.build.configurations |= with_entries(
15
- .value.conditions = ((.value.conditions // []) + [$cond] | unique)
16
- )
17
18
-' angular.json)
19
-echo "$ANGULAR" > angular.json
+# ANGULAR=$(jq --arg cond "$CONDITION" '
+# .projects |= with_entries(
+# .value.architect.build.configurations |= with_entries(
+# .value.conditions = ((.value.conditions // []) + [$cond] | unique)
+# )
+# ' angular.json)
+# echo "$ANGULAR" > angular.json
20
21
# Patch tsconfig.json: add customConditions to compilerOptions
22
TSCONFIG=$(node -e "
0 commit comments