Skip to content

Commit

Permalink
refactor(cdk/testing): remove deprecated protractor harness environment
Browse files Browse the repository at this point in the history
This commit removes the deprecated protractor harness environment from the
public NPM package.

BREAKING CHANGE: The deprecated `angular/cdk/testing/protractor` entry-point has been removed.
  • Loading branch information
devversion committed Jan 28, 2022
1 parent 816099e commit 6f72a24
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion scripts/check-entry-point-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@ const packagesDir = join(__dirname, '../src');
* Globs that matches directories which should never be considered
* as entry-points.
*/
const excludeGlobs = ['cdk/testing/private', '*/schematics/**'];
const excludeGlobs = [
'cdk/testing/private',
'*/schematics/**',
// The protractor testing entry-point is no longer publicly available,
// but exists in the repository until it ca be removed in g3.
'cdk/testing/protractor',
];

/** List of detected entry-points which are not properly configured. */
const nonConfigured = [];
Expand Down
1 change: 0 additions & 1 deletion src/cdk/config.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ CDK_ENTRYPOINTS = [
"text-field",
"tree",
"testing",
"testing/protractor",
"testing/testbed",
"testing/selenium-webdriver",
]
Expand Down
4 changes: 4 additions & 0 deletions src/cdk/testing/protractor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
### No longer publicly available

This code is no longer publicly available. The protractor harness envrionment became
deprecated in v12 and became unavailable with Angular CDK v14.

0 comments on commit 6f72a24

Please sign in to comment.