Skip to content

Commit 2575b00

Browse files
authored
refactor(cdk/testing): remove deprecated protractor harness environment (#24304)
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.
1 parent 1f5648f commit 2575b00

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

scripts/check-entry-point-setup.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,13 @@ const packagesDir = join(__dirname, '../src');
2121
* Globs that matches directories which should never be considered
2222
* as entry-points.
2323
*/
24-
const excludeGlobs = ['cdk/testing/private', '*/schematics/**'];
24+
const excludeGlobs = [
25+
'cdk/testing/private',
26+
'*/schematics/**',
27+
// The protractor testing entry-point is no longer publicly available,
28+
// but exists in the repository until it can be removed in g3.
29+
'cdk/testing/protractor',
30+
];
2531

2632
/** List of detected entry-points which are not properly configured. */
2733
const nonConfigured = [];

src/cdk/config.bzl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ CDK_ENTRYPOINTS = [
1919
"text-field",
2020
"tree",
2121
"testing",
22-
"testing/protractor",
2322
"testing/testbed",
2423
"testing/selenium-webdriver",
2524
]

src/cdk/testing/protractor/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### No longer publicly available
2+
3+
The protractor harness environment is no longer part of the public API. It was
4+
deprecated in v12 and removed from the API in v14.

0 commit comments

Comments
 (0)