Skip to content

Commit d5ba63c

Browse files
committed
remove angular condition
1 parent 7b3c82b commit d5ba63c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tools/schematics/scripts/set-magento-version.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ fi
99
CONDITION="magento-${VERSION}"
1010

1111
# 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
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
2020

2121
# Patch tsconfig.json: add customConditions to compilerOptions
2222
TSCONFIG=$(node -e "

0 commit comments

Comments
 (0)