@angular-devkit/build-angular 13.2.0-next.0 → 13.2.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,37 +1,37 @@
1
1
  {
2
2
  "name": "@angular-devkit/build-angular",
3
- "version": "13.2.0-next.0",
3
+ "version": "13.2.0-next.1",
4
4
  "description": "Angular Webpack Build Facade",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
7
7
  "builders": "builders.json",
8
8
  "dependencies": {
9
9
  "@ampproject/remapping": "1.0.2",
10
- "@angular-devkit/architect": "0.1302.0-next.0",
11
- "@angular-devkit/build-webpack": "0.1302.0-next.0",
12
- "@angular-devkit/core": "13.2.0-next.0",
13
- "@babel/core": "7.16.0",
14
- "@babel/generator": "7.16.0",
10
+ "@angular-devkit/architect": "0.1302.0-next.1",
11
+ "@angular-devkit/build-webpack": "0.1302.0-next.1",
12
+ "@angular-devkit/core": "13.2.0-next.1",
13
+ "@babel/core": "7.16.5",
14
+ "@babel/generator": "7.16.5",
15
15
  "@babel/helper-annotate-as-pure": "7.16.0",
16
- "@babel/plugin-proposal-async-generator-functions": "7.16.4",
17
- "@babel/plugin-transform-async-to-generator": "7.16.0",
18
- "@babel/plugin-transform-runtime": "7.16.4",
19
- "@babel/preset-env": "7.16.4",
20
- "@babel/runtime": "7.16.3",
16
+ "@babel/plugin-proposal-async-generator-functions": "7.16.5",
17
+ "@babel/plugin-transform-async-to-generator": "7.16.5",
18
+ "@babel/plugin-transform-runtime": "7.16.5",
19
+ "@babel/preset-env": "7.16.5",
20
+ "@babel/runtime": "7.16.5",
21
21
  "@babel/template": "7.16.0",
22
22
  "@discoveryjs/json-ext": "0.5.6",
23
- "@ngtools/webpack": "13.2.0-next.0",
23
+ "@ngtools/webpack": "13.2.0-next.1",
24
24
  "ansi-colors": "4.1.1",
25
25
  "babel-loader": "8.2.3",
26
26
  "babel-plugin-istanbul": "6.1.1",
27
27
  "browserslist": "^4.9.1",
28
28
  "cacache": "15.3.0",
29
29
  "circular-dependency-plugin": "5.2.2",
30
- "copy-webpack-plugin": "10.0.0",
30
+ "copy-webpack-plugin": "10.1.0",
31
31
  "core-js": "3.19.3",
32
32
  "critters": "0.0.15",
33
33
  "css-loader": "6.5.1",
34
- "esbuild-wasm": "0.14.2",
34
+ "esbuild-wasm": "0.14.5",
35
35
  "glob": "7.2.0",
36
36
  "https-proxy-agent": "5.0.0",
37
37
  "inquirer": "8.2.0",
@@ -46,15 +46,15 @@
46
46
  "open": "8.4.0",
47
47
  "ora": "5.4.1",
48
48
  "parse5-html-rewriting-stream": "6.0.1",
49
- "piscina": "3.1.0",
50
- "postcss": "8.4.4",
49
+ "piscina": "3.2.0",
50
+ "postcss": "8.4.5",
51
51
  "postcss-import": "14.0.2",
52
52
  "postcss-loader": "6.2.1",
53
53
  "postcss-preset-env": "6.7.0",
54
54
  "regenerator-runtime": "0.13.9",
55
55
  "resolve-url-loader": "4.0.0",
56
56
  "rxjs": "6.6.7",
57
- "sass": "1.44.0",
57
+ "sass": "1.45.0",
58
58
  "sass-loader": "12.4.0",
59
59
  "semver": "7.3.5",
60
60
  "source-map-loader": "3.0.0",
@@ -72,7 +72,7 @@
72
72
  "webpack-subresource-integrity": "5.0.0"
73
73
  },
74
74
  "optionalDependencies": {
75
- "esbuild": "0.14.2"
75
+ "esbuild": "0.14.5"
76
76
  },
77
77
  "peerDependencies": {
78
78
  "@angular/compiler-cli": "^13.0.0 || ^13.1.0-next",
@@ -81,7 +81,7 @@
81
81
  "karma": "^6.3.0",
82
82
  "ng-packagr": "^13.0.0 || ^13.1.0-next",
83
83
  "protractor": "^7.0.0",
84
- "tailwindcss": "^2.0.0",
84
+ "tailwindcss": "^2.0.0 || ^3.0.0",
85
85
  "typescript": ">=4.4.3 <4.6"
86
86
  },
87
87
  "peerDependenciesMeta": {
@@ -5,11 +5,11 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import { Options, Result, SassException } from 'sass';
8
+ import { LegacyResult as CompileResult, LegacyException as Exception, LegacyOptions as Options } from 'sass';
9
9
  /**
10
10
  * The callback type for the `dart-sass` asynchronous render function.
11
11
  */
12
- declare type RenderCallback = (error?: SassException, result?: Result) => void;
12
+ declare type RenderCallback = (error?: Exception, result?: CompileResult) => void;
13
13
  /**
14
14
  * A Sass renderer implementation that provides an interface that can be used by Webpack's
15
15
  * `sass-loader`. The implementation uses a Worker thread to perform the Sass rendering
@@ -37,7 +37,7 @@ export declare class SassWorkerImplementation {
37
37
  * @param options The `dart-sass` options to use when rendering the stylesheet.
38
38
  * @param callback The function to execute when the rendering is complete.
39
39
  */
40
- render(options: Options, callback: RenderCallback): void;
40
+ render(options: Options<'async'>, callback: RenderCallback): void;
41
41
  /**
42
42
  * Shutdown the Sass render worker.
43
43
  * Executing this method will stop any pending render requests.
@@ -340,17 +340,17 @@ function getStylesConfig(wco) {
340
340
  // Setup processing rules for global and component styles
341
341
  {
342
342
  oneOf: [
343
- // Component styles are all styles except defined global styles
344
- {
345
- use: componentStyleLoaders,
346
- resourceQuery: /\?ngResource/,
347
- type: 'asset/source',
348
- },
349
343
  // Global styles are only defined global styles
350
344
  {
351
345
  use: globalStyleLoaders,
346
+ include: globalStylePaths,
352
347
  resourceQuery: { not: [/\?ngResource/] },
353
348
  },
349
+ // Component styles are all styles except defined global styles
350
+ {
351
+ use: componentStyleLoaders,
352
+ type: 'asset/source',
353
+ },
354
354
  ],
355
355
  },
356
356
  { use },
@@ -5,7 +5,7 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.io/license
7
7
  */
8
- import type { ObjectPattern } from 'copy-webpack-plugin';
8
+ import type { ObjectPattern } from 'copy-webpack-plugin/types/index';
9
9
  import { ScriptTarget } from 'typescript';
10
10
  import type { Configuration, WebpackOptionsNormalized } from 'webpack';
11
11
  import { AssetPatternClass, ExtraEntryPoint, ExtraEntryPointClass } from '../../builders/browser/schema';
@@ -116,6 +116,7 @@ function getCacheSettings(wco, angularVersion) {
116
116
  const packageVersion = require('../../../package.json').version;
117
117
  return {
118
118
  type: 'filesystem',
119
+ profile: wco.buildOptions.verbose,
119
120
  cacheDirectory: path.join(cacheDirectory, 'angular-webpack'),
120
121
  maxMemoryGenerations: 1,
121
122
  // We use the versions and build options as the cache name. The Webpack configurations are too