Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 218ef07

Browse files
authoredJan 24, 2025··
fix: don't put sass.silenceDeprecations in the 'test' section of angular.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
1 parent c316af9 commit 218ef07

File tree

24 files changed

+85
-286
lines changed

24 files changed

+85
-286
lines changed
 

‎feature-libs/asm/schematics/add-asm/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,7 @@ exports[`Spartacus Asm schematics: ng-add Asm feature general setup styling shou
180180
"stylePreprocessorOptions": {
181181
"includePaths": [
182182
"node_modules/"
183-
],
184-
"sass": {
185-
"silenceDeprecations": [
186-
"import"
187-
]
188-
}
183+
]
189184
}
190185
}
191186
}

‎feature-libs/cart/schematics/add-cart/__snapshots__/index_spec.ts.snap

+5-30
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,7 @@ exports[`Spartacus Cart schematics: ng-add Cart Base feature general setup styli
203203
"stylePreprocessorOptions": {
204204
"includePaths": [
205205
"node_modules/"
206-
],
207-
"sass": {
208-
"silenceDeprecations": [
209-
"import"
210-
]
211-
}
206+
]
212207
}
213208
}
214209
}
@@ -401,12 +396,7 @@ exports[`Spartacus Cart schematics: ng-add Cart Import Export feature general se
401396
"stylePreprocessorOptions": {
402397
"includePaths": [
403398
"node_modules/"
404-
],
405-
"sass": {
406-
"silenceDeprecations": [
407-
"import"
408-
]
409-
}
399+
]
410400
}
411401
}
412402
}
@@ -599,12 +589,7 @@ exports[`Spartacus Cart schematics: ng-add Quick Order feature general setup sty
599589
"stylePreprocessorOptions": {
600590
"includePaths": [
601591
"node_modules/"
602-
],
603-
"sass": {
604-
"silenceDeprecations": [
605-
"import"
606-
]
607-
}
592+
]
608593
}
609594
}
610595
}
@@ -797,12 +782,7 @@ exports[`Spartacus Cart schematics: ng-add Saved Cart feature general setup styl
797782
"stylePreprocessorOptions": {
798783
"includePaths": [
799784
"node_modules/"
800-
],
801-
"sass": {
802-
"silenceDeprecations": [
803-
"import"
804-
]
805-
}
785+
]
806786
}
807787
}
808788
}
@@ -1005,12 +985,7 @@ exports[`Spartacus Cart schematics: ng-add Wish List feature general setup styli
1005985
"stylePreprocessorOptions": {
1006986
"includePaths": [
1007987
"node_modules/"
1008-
],
1009-
"sass": {
1010-
"silenceDeprecations": [
1011-
"import"
1012-
]
1013-
}
988+
]
1014989
}
1015990
}
1016991
}

‎feature-libs/checkout/schematics/add-checkout/__snapshots__/index_spec.ts.snap

+3-18
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature b2b general setu
255255
"stylePreprocessorOptions": {
256256
"includePaths": [
257257
"node_modules/"
258-
],
259-
"sass": {
260-
"silenceDeprecations": [
261-
"import"
262-
]
263-
}
258+
]
264259
}
265260
}
266261
}
@@ -453,12 +448,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature base general set
453448
"stylePreprocessorOptions": {
454449
"includePaths": [
455450
"node_modules/"
456-
],
457-
"sass": {
458-
"silenceDeprecations": [
459-
"import"
460-
]
461-
}
451+
]
462452
}
463453
}
464454
}
@@ -745,12 +735,7 @@ exports[`Spartacus Checkout schematics: ng-add Checkout feature scheduled replen
745735
"stylePreprocessorOptions": {
746736
"includePaths": [
747737
"node_modules/"
748-
],
749-
"sass": {
750-
"silenceDeprecations": [
751-
"import"
752-
]
753-
}
738+
]
754739
}
755740
}
756741
}

‎feature-libs/customer-ticketing/schematics/add-customer-ticketing/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,7 @@ exports[`Spartacus Customer Ticketing schematics: ng-add Customer Ticketing feat
180180
"stylePreprocessorOptions": {
181181
"includePaths": [
182182
"node_modules/"
183-
],
184-
"sass": {
185-
"silenceDeprecations": [
186-
"import"
187-
]
188-
}
183+
]
189184
}
190185
}
191186
}

‎feature-libs/estimated-delivery-date/schematics/add-estimated-delivery-date/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,7 @@ exports[`Spartacus Estimated-Delivery-Date schematics: ng-add Estimated-Delivery
166166
"stylePreprocessorOptions": {
167167
"includePaths": [
168168
"node_modules/"
169-
],
170-
"sass": {
171-
"silenceDeprecations": [
172-
"import"
173-
]
174-
}
169+
]
175170
}
176171
}
177172
}

‎feature-libs/order/schematics/add-order/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -180,12 +180,7 @@ exports[`Spartacus Order schematics: ng-add Order feature general setup styling
180180
"stylePreprocessorOptions": {
181181
"includePaths": [
182182
"node_modules/"
183-
],
184-
"sass": {
185-
"silenceDeprecations": [
186-
"import"
187-
]
188-
}
183+
]
189184
}
190185
}
191186
}

‎feature-libs/organization/schematics/add-organization/__snapshots__/index_spec.ts.snap

+5-30
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,7 @@ exports[`Spartacus Organization schematics: ng-add Account summary feature gener
218218
"stylePreprocessorOptions": {
219219
"includePaths": [
220220
"node_modules/"
221-
],
222-
"sass": {
223-
"silenceDeprecations": [
224-
"import"
225-
]
226-
}
221+
]
227222
}
228223
}
229224
}
@@ -451,12 +446,7 @@ exports[`Spartacus Organization schematics: ng-add Administration feature genera
451446
"stylePreprocessorOptions": {
452447
"includePaths": [
453448
"node_modules/"
454-
],
455-
"sass": {
456-
"silenceDeprecations": [
457-
"import"
458-
]
459-
}
449+
]
460450
}
461451
}
462452
}
@@ -684,12 +674,7 @@ exports[`Spartacus Organization schematics: ng-add Order approval feature genera
684674
"stylePreprocessorOptions": {
685675
"includePaths": [
686676
"node_modules/"
687-
],
688-
"sass": {
689-
"silenceDeprecations": [
690-
"import"
691-
]
692-
}
677+
]
693678
}
694679
}
695680
}
@@ -917,12 +902,7 @@ exports[`Spartacus Organization schematics: ng-add Unit order feature general se
917902
"stylePreprocessorOptions": {
918903
"includePaths": [
919904
"node_modules/"
920-
],
921-
"sass": {
922-
"silenceDeprecations": [
923-
"import"
924-
]
925-
}
905+
]
926906
}
927907
}
928908
}
@@ -1150,12 +1130,7 @@ exports[`Spartacus Organization schematics: ng-add User registration feature gen
11501130
"stylePreprocessorOptions": {
11511131
"includePaths": [
11521132
"node_modules/"
1153-
],
1154-
"sass": {
1155-
"silenceDeprecations": [
1156-
"import"
1157-
]
1158-
}
1133+
]
11591134
}
11601135
}
11611136
}

‎feature-libs/pdf-invoices/schematics/add-pdf-invoices/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,7 @@ exports[`Spartacus PDF Invoices schematics: ng-add PDF Invoices feature general
129129
"stylePreprocessorOptions": {
130130
"includePaths": [
131131
"node_modules/"
132-
],
133-
"sass": {
134-
"silenceDeprecations": [
135-
"import"
136-
]
137-
}
132+
]
138133
}
139134
}
140135
}

‎feature-libs/pickup-in-store/schematics/add-pickup-in-store/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,7 @@ exports[`Spartacus Pickup in Store schematics: ng-add Pick Up In Store feature g
183183
"stylePreprocessorOptions": {
184184
"includePaths": [
185185
"node_modules/"
186-
],
187-
"sass": {
188-
"silenceDeprecations": [
189-
"import"
190-
]
191-
}
186+
]
192187
}
193188
}
194189
}

‎feature-libs/product-configurator/schematics/add-product-configurator/__snapshots__/index_spec.ts.snap

+4-24
Original file line numberDiff line numberDiff line change
@@ -249,12 +249,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
249249
"stylePreprocessorOptions": {
250250
"includePaths": [
251251
"node_modules/"
252-
],
253-
"sass": {
254-
"silenceDeprecations": [
255-
"import"
256-
]
257-
}
252+
]
258253
}
259254
}
260255
}
@@ -499,12 +494,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
499494
"stylePreprocessorOptions": {
500495
"includePaths": [
501496
"node_modules/"
502-
],
503-
"sass": {
504-
"silenceDeprecations": [
505-
"import"
506-
]
507-
}
497+
]
508498
}
509499
}
510500
}
@@ -728,12 +718,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
728718
"stylePreprocessorOptions": {
729719
"includePaths": [
730720
"node_modules/"
731-
],
732-
"sass": {
733-
"silenceDeprecations": [
734-
"import"
735-
]
736-
}
721+
]
737722
}
738723
}
739724
}
@@ -923,12 +908,7 @@ exports[`Spartacus product configurator schematics: ng-add Product config featur
923908
"stylePreprocessorOptions": {
924909
"includePaths": [
925910
"node_modules/"
926-
],
927-
"sass": {
928-
"silenceDeprecations": [
929-
"import"
930-
]
931-
}
911+
]
932912
}
933913
}
934914
}

‎feature-libs/product-multi-dimensional/schematics/add-product-multi-dimensional/__snapshots__/index_spec.ts.snap

+2-12
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,7 @@ exports[`Spartacus Product Multi-Dimensional schematics: ng-add list feature gen
131131
"stylePreprocessorOptions": {
132132
"includePaths": [
133133
"node_modules/"
134-
],
135-
"sass": {
136-
"silenceDeprecations": [
137-
"import"
138-
]
139-
}
134+
]
140135
}
141136
}
142137
}
@@ -329,12 +324,7 @@ exports[`Spartacus Product Multi-Dimensional schematics: ng-add selector feature
329324
"stylePreprocessorOptions": {
330325
"includePaths": [
331326
"node_modules/"
332-
],
333-
"sass": {
334-
"silenceDeprecations": [
335-
"import"
336-
]
337-
}
327+
]
338328
}
339329
}
340330
}

‎feature-libs/product/schematics/add-product/__snapshots__/index_spec.ts.snap

+4-24
Original file line numberDiff line numberDiff line change
@@ -218,12 +218,7 @@ exports[`Spartacus Product schematics: ng-add BulkPricing feature general setup
218218
"stylePreprocessorOptions": {
219219
"includePaths": [
220220
"node_modules/"
221-
],
222-
"sass": {
223-
"silenceDeprecations": [
224-
"import"
225-
]
226-
}
221+
]
227222
}
228223
}
229224
}
@@ -451,12 +446,7 @@ exports[`Spartacus Product schematics: ng-add FutureStock feature general setup
451446
"stylePreprocessorOptions": {
452447
"includePaths": [
453448
"node_modules/"
454-
],
455-
"sass": {
456-
"silenceDeprecations": [
457-
"import"
458-
]
459-
}
449+
]
460450
}
461451
}
462452
}
@@ -649,12 +639,7 @@ exports[`Spartacus Product schematics: ng-add ImageZoom feature general setup st
649639
"stylePreprocessorOptions": {
650640
"includePaths": [
651641
"node_modules/"
652-
],
653-
"sass": {
654-
"silenceDeprecations": [
655-
"import"
656-
]
657-
}
642+
]
658643
}
659644
}
660645
}
@@ -847,12 +832,7 @@ exports[`Spartacus Product schematics: ng-add Variants feature general setup sty
847832
"stylePreprocessorOptions": {
848833
"includePaths": [
849834
"node_modules/"
850-
],
851-
"sass": {
852-
"silenceDeprecations": [
853-
"import"
854-
]
855-
}
835+
]
856836
}
857837
}
858838
}

‎feature-libs/qualtrics/schematics/add-qualtrics/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -167,12 +167,7 @@ exports[`Spartacus Qualtrics schematics: ng-add Qualtrics feature general setup
167167
"stylePreprocessorOptions": {
168168
"includePaths": [
169169
"node_modules/"
170-
],
171-
"sass": {
172-
"silenceDeprecations": [
173-
"import"
174-
]
175-
}
170+
]
176171
}
177172
}
178173
}

‎feature-libs/quote/schematics/add-quote/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -238,12 +238,7 @@ exports[`Spartacus Quote schematics: ng-add Quote feature general setup styling
238238
"stylePreprocessorOptions": {
239239
"includePaths": [
240240
"node_modules/"
241-
],
242-
"sass": {
243-
"silenceDeprecations": [
244-
"import"
245-
]
246-
}
241+
]
247242
}
248243
}
249244
}

‎feature-libs/requested-delivery-date/schematics/add-requested-delivery-date/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,7 @@ exports[`Spartacus Requested Delivery Date schematics: ng-add Requested Delivery
129129
"stylePreprocessorOptions": {
130130
"includePaths": [
131131
"node_modules/"
132-
],
133-
"sass": {
134-
"silenceDeprecations": [
135-
"import"
136-
]
137-
}
132+
]
138133
}
139134
}
140135
}

‎feature-libs/smartedit/schematics/add-smartedit/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,7 @@ exports[`Spartacus SmartEdit schematics: ng-add SmartEdit feature general setup
150150
"stylePreprocessorOptions": {
151151
"includePaths": [
152152
"node_modules/"
153-
],
154-
"sass": {
155-
"silenceDeprecations": [
156-
"import"
157-
]
158-
}
153+
]
159154
}
160155
}
161156
}

‎feature-libs/storefinder/schematics/add-storefinder/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -183,12 +183,7 @@ exports[`Spartacus Storefinder schematics: ng-add Storefinder feature general se
183183
"stylePreprocessorOptions": {
184184
"includePaths": [
185185
"node_modules/"
186-
],
187-
"sass": {
188-
"silenceDeprecations": [
189-
"import"
190-
]
191-
}
186+
]
192187
}
193188
}
194189
}

‎feature-libs/user/schematics/add-user/__snapshots__/index_spec.ts.snap

+2-12
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,7 @@ exports[`Spartacus User schematics: ng-add User Profile feature general setup st
211211
"stylePreprocessorOptions": {
212212
"includePaths": [
213213
"node_modules/"
214-
],
215-
"sass": {
216-
"silenceDeprecations": [
217-
"import"
218-
]
219-
}
214+
]
220215
}
221216
}
222217
}
@@ -406,12 +401,7 @@ exports[`Spartacus User schematics: ng-add User-Account feature general setup st
406401
"stylePreprocessorOptions": {
407402
"includePaths": [
408403
"node_modules/"
409-
],
410-
"sass": {
411-
"silenceDeprecations": [
412-
"import"
413-
]
414-
}
404+
]
415405
}
416406
}
417407
}

‎integration-libs/epd-visualization/schematics/add-epd-visualization/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -242,12 +242,7 @@ exports[`Spartacus SAP EPD Visualization integration schematics: ng-add SAP EPD
242242
"stylePreprocessorOptions": {
243243
"includePaths": [
244244
"node_modules/"
245-
],
246-
"sass": {
247-
"silenceDeprecations": [
248-
"import"
249-
]
250-
}
245+
]
251246
}
252247
}
253248
}

‎integration-libs/opf/schematics/add-opf/__snapshots__/index_spec.ts.snap

+1-6
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,7 @@ exports[`Spartacus SAP OPF integration schematics: ng-add SAP OPF feature genera
176176
"stylePreprocessorOptions": {
177177
"includePaths": [
178178
"node_modules/"
179-
],
180-
"sass": {
181-
"silenceDeprecations": [
182-
"import"
183-
]
184-
}
179+
]
185180
}
186181
}
187182
}

‎projects/schematics/src/add-spartacus/index.ts

+45-31
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,42 @@ Note: Since version 17, Angular's command "ng new" by default creates an app wit
359359
};
360360
}
361361

362+
function createSassSilenceDeprecations(
363+
context: SchematicContext,
364+
originalStylePreprocessorOptions: {
365+
sass?: { silenceDeprecations?: string[] };
366+
[key: string]: any;
367+
} = {}
368+
): { sass: { silenceDeprecations: string[] } } {
369+
const DEFAULT_SILENCE_DEPRECATIONS = [
370+
// We need to silence the deprecation warning for the `@import` directive
371+
// because `@import` is used in the Spartacus styles and in the Bootstrap 4 styles
372+
// (which are imported by the Spartacus styles).
373+
// Otherwise, since Angular v19, all apps would have a wall of deprecation warnings
374+
// in the console when running `ng serve`.
375+
//
376+
// CXSPA-447: Eventually we should remove all the `@import` directives from the Spartacus styles
377+
// and drop the usage of Bootstrap 4, and then we can remove the `silenceDeprecations` option.
378+
'import',
379+
];
380+
381+
context.logger.warn(
382+
`⚠️ Warnings about the Sass '@import' usage were silenced, because Sass '@import' is used in Spartacus and Bootstrap 4 styles. To enable warnings back, in your 'angular.json' file remove the item "import" from the array at section 'architect.build.options.stylePreprocessorOptions.sass.silenceDeprecations'. For more, see: https://sass-lang.com/blog/import-is-deprecated and https://angular.dev/reference/configs/workspace-config#style-preprocessor-options`
383+
);
384+
385+
return {
386+
sass: {
387+
...(originalStylePreprocessorOptions.sass || {}),
388+
silenceDeprecations: Array.from(
389+
new Set([
390+
...(originalStylePreprocessorOptions.sass?.silenceDeprecations || []),
391+
...DEFAULT_SILENCE_DEPRECATIONS,
392+
])
393+
),
394+
},
395+
};
396+
}
397+
362398
export function createStylePreprocessorOptions(
363399
options?: SpartacusOptions
364400
): Rule {
@@ -377,9 +413,17 @@ export function createStylePreprocessorOptions(
377413
const buildStylePreprocessorOptions = createStylePreprocessorOptionsArray(
378414
(architectBuild?.options as any)?.stylePreprocessorOptions
379415
);
416+
// Apply silenceDeprecations only for `build` configuration (but not `test` - it's not supported there)
417+
const buildSassOptions = createSassSilenceDeprecations(
418+
context,
419+
buildStylePreprocessorOptions
420+
);
380421
const buildOptions = {
381422
...architectBuild?.options,
382-
stylePreprocessorOptions: buildStylePreprocessorOptions,
423+
stylePreprocessorOptions: {
424+
...buildStylePreprocessorOptions,
425+
...buildSassOptions,
426+
},
383427
};
384428

385429
// `test` architect section
@@ -392,10 +436,6 @@ export function createStylePreprocessorOptions(
392436
stylePreprocessorOptions: testStylePreprocessorOptions,
393437
};
394438

395-
context.logger.warn(
396-
`⚠️ Warnings about the Sass '@import' usage were silenced, because Sass '@import' is used in Spartacus and Bootstrap 4 styles. To enable warnings back, in your angular.json remove the "import" value from the array at section 'architect.build.options.stylePreprocessorOptions.sass.silenceDeprecations'. For more, see: https://sass-lang.com/blog/import-is-deprecated and https://angular.dev/reference/configs/workspace-config#style-preprocessor-options`
397-
);
398-
399439
const updatedAngularJson = {
400440
...angularJson,
401441
projects: {
@@ -427,13 +467,9 @@ export function createStylePreprocessorOptions(
427467

428468
function createStylePreprocessorOptionsArray(angularJsonStylePreprocessorOptions: {
429469
includePaths?: string[];
430-
sass?: {
431-
silenceDeprecations?: string[];
432-
};
433470
[key: string]: any;
434471
}): {
435472
includePaths: string[];
436-
sass: { silenceDeprecations: string[] };
437473
[key: string]: any;
438474
} {
439475
if (!angularJsonStylePreprocessorOptions) {
@@ -448,31 +484,9 @@ function createStylePreprocessorOptionsArray(angularJsonStylePreprocessorOptions
448484
])
449485
);
450486

451-
const DEFAULT_SILENCE_DEPRECATIONS = [
452-
// We need to silence the deprecation warning for the `@import` directive
453-
// because `@import` is used in the Spartacus styles and in the Bootstrap 4 styles
454-
// (which are imported by the Spartacus styles).
455-
// Otherwise, since Angular v19, all apps would have a wall of deprecation warnings
456-
// in the console when running `ng serve`.
457-
//
458-
// CXSPA-447: Eventually we should remove all the `@import` directives from the Spartacus styles
459-
// and drop the usage of Bootstrap 4, and then we can remove the `silenceDeprecations` option.
460-
'import',
461-
];
462-
const silenceDeprecations = Array.from(
463-
new Set([
464-
...(angularJsonStylePreprocessorOptions.sass?.silenceDeprecations || []),
465-
...DEFAULT_SILENCE_DEPRECATIONS,
466-
])
467-
);
468-
469487
return {
470488
...angularJsonStylePreprocessorOptions,
471489
includePaths,
472-
sass: {
473-
...angularJsonStylePreprocessorOptions.sass,
474-
silenceDeprecations,
475-
},
476490
};
477491
}
478492

‎projects/schematics/src/add-ssr/__snapshots__/index_spec.ts.snap

-5
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,6 @@ exports[`add-ssr angular.json should be configured properly 1`] = `
106106
"includePaths": [
107107
"node_modules/",
108108
],
109-
"sass": {
110-
"silenceDeprecations": [
111-
"import",
112-
],
113-
},
114109
},
115110
"styles": [
116111
"src/styles.scss",

‎projects/schematics/src/shared/utils/__snapshots__/lib-utils_spec.ts.snap

+2-12
Original file line numberDiff line numberDiff line change
@@ -245,12 +245,7 @@ exports[`Lib utils assets options should update angular.json file with assets 1`
245245
"stylePreprocessorOptions": {
246246
"includePaths": [
247247
"node_modules/"
248-
],
249-
"sass": {
250-
"silenceDeprecations": [
251-
"import"
252-
]
253-
}
248+
]
254249
}
255250
}
256251
}
@@ -389,12 +384,7 @@ exports[`Lib utils assets options should update angular.json file with assets 2`
389384
"stylePreprocessorOptions": {
390385
"includePaths": [
391386
"node_modules/"
392-
],
393-
"sass": {
394-
"silenceDeprecations": [
395-
"import"
396-
]
397-
}
387+
]
398388
}
399389
}
400390
}

‎projects/schematics/src/shared/utils/__snapshots__/workspace-utils_spec.ts.snap

-10
Original file line numberDiff line numberDiff line change
@@ -93,11 +93,6 @@ exports[`Workspace utils getProject should return project 1`] = `
9393
"includePaths": [
9494
"node_modules/",
9595
],
96-
"sass": {
97-
"silenceDeprecations": [
98-
"import",
99-
],
100-
},
10196
},
10297
"styles": [
10398
"src/styles.scss",
@@ -217,11 +212,6 @@ exports[`Workspace utils getProjectTargets should return project targets 1`] = `
217212
"includePaths": [
218213
"node_modules/",
219214
],
220-
"sass": {
221-
"silenceDeprecations": [
222-
"import",
223-
],
224-
},
225215
},
226216
"styles": [
227217
"src/styles.scss",

0 commit comments

Comments
 (0)
Please sign in to comment.