Skip to content

Commit

Permalink
fix: don't put sass.silenceDeprecations in the 'test' section of angu…
Browse files Browse the repository at this point in the history
…lar.json via our installation schematics (#19915)

In the PR #19878 we've added a logic to our schematics that puts `sass.silenceDeprecations` config into customers' `angular.json` - to both "architect" sections: `build` and `test`

This PR removes it from the `test` architect, becasue it's not supported there by Angular CLI

fixes https://jira.tools.sap/browse/CXSPA-9294
  • Loading branch information
Platonn authored Jan 24, 2025
1 parent c316af9 commit 218ef07
Show file tree
Hide file tree
Showing 24 changed files with 85 additions and 286 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ exports[`Spartacus Asm schematics: ng-add Asm feature general setup styling shou
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,7 @@ exports[`Spartacus Cart schematics: ng-add Cart Base feature general setup styli
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -401,12 +396,7 @@ exports[`Spartacus Cart schematics: ng-add Cart Import Export feature general se
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -599,12 +589,7 @@ exports[`Spartacus Cart schematics: ng-add Quick Order feature general setup sty
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -797,12 +782,7 @@ exports[`Spartacus Cart schematics: ng-add Saved Cart feature general setup styl
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -1005,12 +985,7 @@ exports[`Spartacus Cart schematics: ng-add Wish List feature general setup styli
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,12 +255,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature b2b general setu
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -453,12 +448,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature base general set
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -745,12 +735,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature scheduled replen
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ exports[`Spartacus Customer Ticketing schematics: ng-add Customer Ticketing feat
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,7 @@ exports[`Spartacus Estimated-Delivery-Date schematics: ng-add Estimated-Delivery
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,7 @@ exports[`Spartacus Order schematics: ng-add Order feature general setup styling
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,12 +218,7 @@ exports[`Spartacus Organization schematics: ng-add Account summary feature gener
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -451,12 +446,7 @@ exports[`Spartacus Organization schematics: ng-add Administration feature genera
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -684,12 +674,7 @@ exports[`Spartacus Organization schematics: ng-add Order approval feature genera
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -917,12 +902,7 @@ exports[`Spartacus Organization schematics: ng-add Unit order feature general se
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -1150,12 +1130,7 @@ exports[`Spartacus Organization schematics: ng-add User registration feature gen
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,12 +129,7 @@ exports[`Spartacus PDF Invoices schematics: ng-add PDF Invoices feature general
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,12 +183,7 @@ exports[`Spartacus Pickup in Store schematics: ng-add Pick Up In Store feature g
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -499,12 +494,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -728,12 +718,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -923,12 +908,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,7 @@ exports[`Spartacus Product Multi-Dimensional schematics: ng-add list feature gen
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down Expand Up @@ -329,12 +324,7 @@ exports[`Spartacus Product Multi-Dimensional schematics: ng-add selector feature
"stylePreprocessorOptions": {
"includePaths": [
"node_modules/"
],
"sass": {
"silenceDeprecations": [
"import"
]
}
]
}
}
}
Expand Down
Loading

0 comments on commit 218ef07

Please sign in to comment.