Skip to content

Commit 2fe80a6

Browse files
author
Angular Builds
committed
a0c02af7e refactor(@angular-devkit/core): remove deprecated fs, object and array APIs
1 parent b857f4e commit 2fe80a6

File tree

8 files changed

+5
-37
lines changed

8 files changed

+5
-37
lines changed

package.json

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
"builders": "builders.json",
88
"dependencies": {
99
"@ampproject/remapping": "2.0.0",
10-
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#d23a168b8",
11-
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#d23a168b8",
12-
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#d23a168b8",
10+
"@angular-devkit/architect": "github:angular/angular-devkit-architect-builds#a0c02af7e",
11+
"@angular-devkit/build-webpack": "github:angular/angular-devkit-build-webpack-builds#a0c02af7e",
12+
"@angular-devkit/core": "github:angular/angular-devkit-core-builds#a0c02af7e",
1313
"@babel/core": "7.16.12",
1414
"@babel/generator": "7.16.8",
1515
"@babel/helper-annotate-as-pure": "7.16.7",
@@ -20,13 +20,12 @@
2020
"@babel/runtime": "7.16.7",
2121
"@babel/template": "7.16.7",
2222
"@discoveryjs/json-ext": "0.5.6",
23-
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#d23a168b8",
23+
"@ngtools/webpack": "github:angular/ngtools-webpack-builds#a0c02af7e",
2424
"ansi-colors": "4.1.1",
2525
"babel-loader": "8.2.3",
2626
"babel-plugin-istanbul": "6.1.1",
2727
"browserslist": "^4.9.1",
2828
"cacache": "15.3.0",
29-
"circular-dependency-plugin": "5.2.2",
3029
"copy-webpack-plugin": "10.2.1",
3130
"core-js": "3.20.3",
3231
"critters": "0.0.16",

src/builders/browser/schema.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,6 @@ export interface Schema {
131131
* Generates a service worker config for production builds.
132132
*/
133133
serviceWorker?: boolean;
134-
/**
135-
* Show circular dependency warnings on builds.
136-
* @deprecated The recommended method to detect circular dependencies in project code is to
137-
* use either a lint rule or other external tooling.
138-
*/
139-
showCircularDependencies?: boolean;
140134
/**
141135
* Output source maps for scripts and styles. For more information, see
142136
* https://angular.io/guide/workspace-config#source-map-configuration.

src/builders/browser/schema.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -329,12 +329,6 @@
329329
"description": "Extract all licenses in a separate file.",
330330
"default": true
331331
},
332-
"showCircularDependencies": {
333-
"type": "boolean",
334-
"description": "Show circular dependency warnings on builds.",
335-
"default": false,
336-
"x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling."
337-
},
338332
"buildOptimizer": {
339333
"type": "boolean",
340334
"description": "Enables advanced build optimizations when using the 'aot' option.",

src/builders/server/schema.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ export interface Schema {
8383
* The path where style resources will be placed, relative to outputPath.
8484
*/
8585
resourcesOutputPath?: string;
86-
/**
87-
* Show circular dependency warnings on builds.
88-
* @deprecated The recommended method to detect circular dependencies in project code is to
89-
* use either a lint rule or other external tooling.
90-
*/
91-
showCircularDependencies?: boolean;
9286
/**
9387
* Output source maps for scripts and styles. For more information, see
9488
* https://angular.io/guide/workspace-config#source-map-configuration.

src/builders/server/schema.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,6 @@
177177
"description": "Extract all licenses in a separate file, in the case of production builds only.",
178178
"default": true
179179
},
180-
"showCircularDependencies": {
181-
"type": "boolean",
182-
"description": "Show circular dependency warnings on builds.",
183-
"default": false,
184-
"x-deprecated": "The recommended method to detect circular dependencies in project code is to use either a lint rule or other external tooling."
185-
},
186180
"namedChunks": {
187181
"type": "boolean",
188182
"description": "Use file name for lazy loaded chunks.",

src/utils/build-options.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ export interface BuildOptions {
3636
deleteOutputPath?: boolean;
3737
preserveSymlinks?: boolean;
3838
extractLicenses?: boolean;
39-
showCircularDependencies?: boolean;
4039
buildOptimizer?: boolean;
4140
namedChunks?: boolean;
4241
crossOrigin?: CrossOrigin;

src/webpack/configs/common.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@ async function getCommonConfig(wco) {
116116
patterns: (0, helpers_1.assetPatterns)(root, buildOptions.assets),
117117
}));
118118
}
119-
if (buildOptions.showCircularDependencies) {
120-
const CircularDependencyPlugin = require('circular-dependency-plugin');
121-
extraPlugins.push(new CircularDependencyPlugin({
122-
exclude: /[\\/]node_modules[\\/]/,
123-
}));
124-
}
125119
if (buildOptions.extractLicenses) {
126120
const LicenseWebpackPlugin = require('license-webpack-plugin').LicenseWebpackPlugin;
127121
extraPlugins.push(new LicenseWebpackPlugin({

uniqueId

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Mon Jan 31 2022 20:07:18 GMT+0000 (Coordinated Universal Time)
1+
Mon Jan 31 2022 20:09:00 GMT+0000 (Coordinated Universal Time)

0 commit comments

Comments
 (0)