Skip to content

Commit 26ede9e

Browse files
authored
feat: support Angular Elements (#18)
* feat: require Angular Elements version * test: add Angular elements to test fixtures * chore: update build
1 parent 9e72e6b commit 26ede9e

12 files changed

+42
-1
lines changed

__tests__/package-json-versions/full-package-json.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const fullPackageJson = {
3636
'@angular/common': '~10.1.6',
3737
'@angular/compiler': '~10.1.6',
3838
'@angular/core': '~10.1.6',
39+
'@angular/elements': '~10.1.6',
3940
'@angular/forms': '~10.1.6',
4041
'@angular/platform-browser': '~10.1.6',
4142
'@angular/platform-browser-dynamic': '~10.1.6',

__tests__/package-json-versions/full-with-tsickle.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const fullWithTsickleJson = {
3636
'@angular/common': '~8.2.0',
3737
'@angular/compiler': '~8.2.0',
3838
'@angular/core': '~8.2.0',
39+
'@angular/elements': '~8.2.0',
3940
'@angular/forms': '~8.2.0',
4041
'@angular/platform-browser': '~8.2.0',
4142
'@angular/platform-browser-dynamic': '~8.2.0',

__tests__/package-json-versions/package-without-ng-packagr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonWithoutNgPackagr = {
3636
'@angular/common': '~10.1.6',
3737
'@angular/compiler': '~10.1.6',
3838
'@angular/core': '~10.1.6',
39+
'@angular/elements': '~10.1.6',
3940
'@angular/forms': '~10.1.6',
4041
'@angular/platform-browser': '~10.1.6',
4142
'@angular/platform-browser-dynamic': '~10.1.6',

__tests__/package-json-versions/v11_1-all-override-without-ng-packagr.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonWith11_1AllWithoutNgPackagr = {
3636
'@angular/common': '~11.1.0',
3737
'@angular/compiler': '~11.1.0',
3838
'@angular/core': '~11.1.0',
39+
'@angular/elements': '~11.1.0',
3940
'@angular/forms': '~11.1.0',
4041
'@angular/platform-browser': '~11.1.0',
4142
'@angular/platform-browser-dynamic': '~11.1.0',

__tests__/package-json-versions/v11_1-all-override.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonWithV11_1All = {
3636
'@angular/common': '~11.1.0',
3737
'@angular/compiler': '~11.1.0',
3838
'@angular/core': '~11.1.0',
39+
'@angular/elements': '~11.1.0',
3940
'@angular/forms': '~11.1.0',
4041
'@angular/platform-browser': '~11.1.0',
4142
'@angular/platform-browser-dynamic': '~11.1.0',

__tests__/package-json-versions/v11_1-dep-overrided.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonWithV11_1Dependencies = {
3636
'@angular/common': '~11.1.0',
3737
'@angular/compiler': '~11.1.0',
3838
'@angular/core': '~11.1.0',
39+
'@angular/elements': '~11.1.0',
3940
'@angular/forms': '~11.1.0',
4041
'@angular/platform-browser': '~11.1.0',
4142
'@angular/platform-browser-dynamic': '~11.1.0',

__tests__/package-json-versions/v11_1-devdep-override.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonWithV11_1DevDependencies = {
3636
'@angular/common': '~10.1.6',
3737
'@angular/compiler': '~10.1.6',
3838
'@angular/core': '~10.1.6',
39+
'@angular/elements': '~10.1.6',
3940
'@angular/forms': '~10.1.6',
4041
'@angular/platform-browser': '~10.1.6',
4142
'@angular/platform-browser-dynamic': '~10.1.6',

__tests__/package-json-versions/v8-with-forced-dependencies.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ export const packageJsonV8WithForceDependencies = {
3636
'@angular/common': '~8.0.3',
3737
'@angular/compiler': '~8.0.3',
3838
'@angular/core': '~8.0.3',
39+
'@angular/elements': '~8.0.3',
3940
'@angular/forms': '~8.0.3',
4041
'@angular/platform-browser': '~8.0.3',
4142
'@angular/platform-browser-dynamic': '~8.0.3',

dist/index.js

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)