Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions __tests__/package-json-versions/full-package-json.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const fullPackageJson = {
'@angular/common': '~10.1.6',
'@angular/compiler': '~10.1.6',
'@angular/core': '~10.1.6',
'@angular/elements': '~10.1.6',
'@angular/forms': '~10.1.6',
'@angular/platform-browser': '~10.1.6',
'@angular/platform-browser-dynamic': '~10.1.6',
Expand Down
1 change: 1 addition & 0 deletions __tests__/package-json-versions/full-with-tsickle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const fullWithTsickleJson = {
'@angular/common': '~8.2.0',
'@angular/compiler': '~8.2.0',
'@angular/core': '~8.2.0',
'@angular/elements': '~8.2.0',
'@angular/forms': '~8.2.0',
'@angular/platform-browser': '~8.2.0',
'@angular/platform-browser-dynamic': '~8.2.0',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonWithoutNgPackagr = {
'@angular/common': '~10.1.6',
'@angular/compiler': '~10.1.6',
'@angular/core': '~10.1.6',
'@angular/elements': '~10.1.6',
'@angular/forms': '~10.1.6',
'@angular/platform-browser': '~10.1.6',
'@angular/platform-browser-dynamic': '~10.1.6',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonWith11_1AllWithoutNgPackagr = {
'@angular/common': '~11.1.0',
'@angular/compiler': '~11.1.0',
'@angular/core': '~11.1.0',
'@angular/elements': '~11.1.0',
'@angular/forms': '~11.1.0',
'@angular/platform-browser': '~11.1.0',
'@angular/platform-browser-dynamic': '~11.1.0',
Expand Down
1 change: 1 addition & 0 deletions __tests__/package-json-versions/v11_1-all-override.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonWithV11_1All = {
'@angular/common': '~11.1.0',
'@angular/compiler': '~11.1.0',
'@angular/core': '~11.1.0',
'@angular/elements': '~11.1.0',
'@angular/forms': '~11.1.0',
'@angular/platform-browser': '~11.1.0',
'@angular/platform-browser-dynamic': '~11.1.0',
Expand Down
1 change: 1 addition & 0 deletions __tests__/package-json-versions/v11_1-dep-overrided.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonWithV11_1Dependencies = {
'@angular/common': '~11.1.0',
'@angular/compiler': '~11.1.0',
'@angular/core': '~11.1.0',
'@angular/elements': '~11.1.0',
'@angular/forms': '~11.1.0',
'@angular/platform-browser': '~11.1.0',
'@angular/platform-browser-dynamic': '~11.1.0',
Expand Down
1 change: 1 addition & 0 deletions __tests__/package-json-versions/v11_1-devdep-override.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonWithV11_1DevDependencies = {
'@angular/common': '~10.1.6',
'@angular/compiler': '~10.1.6',
'@angular/core': '~10.1.6',
'@angular/elements': '~10.1.6',
'@angular/forms': '~10.1.6',
'@angular/platform-browser': '~10.1.6',
'@angular/platform-browser-dynamic': '~10.1.6',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export const packageJsonV8WithForceDependencies = {
'@angular/common': '~8.0.3',
'@angular/compiler': '~8.0.3',
'@angular/core': '~8.0.3',
'@angular/elements': '~8.0.3',
'@angular/forms': '~8.0.3',
'@angular/platform-browser': '~8.0.3',
'@angular/platform-browser-dynamic': '~8.0.3',
Expand Down
16 changes: 16 additions & 0 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions src/angular-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~6.0.9',
'@angular/compiler': '~6.0.9',
'@angular/core': '~6.0.9',
'@angular/elements': '~6.0.9',
'@angular/forms': '~6.0.9',
'@angular/platform-browser': '~6.0.9',
'@angular/platform-browser-dynamic': '~6.0.9',
Expand Down Expand Up @@ -50,6 +51,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~6.1.10',
'@angular/compiler': '~6.1.10',
'@angular/core': '~6.1.10',
'@angular/elements': '~6.1.10',
'@angular/forms': '~6.1.10',
'@angular/platform-browser': '~6.1.10',
'@angular/platform-browser-dynamic': '~6.1.10',
Expand Down Expand Up @@ -82,6 +84,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~7.0.4',
'@angular/compiler': '~7.0.4',
'@angular/core': '~7.0.4',
'@angular/elements': '~7.0.4',
'@angular/forms': '~7.0.4',
'@angular/platform-browser': '~7.0.4',
'@angular/platform-browser-dynamic': '~7.0.4',
Expand Down Expand Up @@ -114,6 +117,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~7.1.4',
'@angular/compiler': '~7.1.4',
'@angular/core': '~7.1.4',
'@angular/elements': '~7.1.4',
'@angular/forms': '~7.1.4',
'@angular/platform-browser': '~7.1.4',
'@angular/platform-browser-dynamic': '~7.1.4',
Expand Down Expand Up @@ -146,6 +150,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~7.2.16',
'@angular/compiler': '~7.2.16',
'@angular/core': '~7.2.16',
'@angular/elements': '~7.2.16',
'@angular/forms': '~7.2.16',
'@angular/platform-browser': '~7.2.16',
'@angular/platform-browser-dynamic': '~7.2.16',
Expand Down Expand Up @@ -178,6 +183,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~8.0.3',
'@angular/compiler': '~8.0.3',
'@angular/core': '~8.0.3',
'@angular/elements': '~8.0.3',
'@angular/forms': '~8.0.3',
'@angular/platform-browser': '~8.0.3',
'@angular/platform-browser-dynamic': '~8.0.3',
Expand Down Expand Up @@ -210,6 +216,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~8.1.0',
'@angular/compiler': '~8.1.0',
'@angular/core': '~8.1.0',
'@angular/elements': '~8.1.0',
'@angular/forms': '~8.1.0',
'@angular/platform-browser': '~8.1.0',
'@angular/platform-browser-dynamic': '~8.1.0',
Expand Down Expand Up @@ -242,6 +249,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~8.2.0',
'@angular/compiler': '~8.2.0',
'@angular/core': '~8.2.0',
'@angular/elements': '~8.2.0',
'@angular/forms': '~8.2.0',
'@angular/platform-browser': '~8.2.0',
'@angular/platform-browser-dynamic': '~8.2.0',
Expand Down Expand Up @@ -274,6 +282,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~9.0.7',
'@angular/compiler': '~9.0.7',
'@angular/core': '~9.0.7',
'@angular/elements': '~9.0.7',
'@angular/forms': '~9.0.7',
'@angular/platform-browser': '~9.0.7',
'@angular/platform-browser-dynamic': '~9.0.7',
Expand Down Expand Up @@ -305,6 +314,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~9.1.0',
'@angular/compiler': '~9.1.0',
'@angular/core': '~9.1.0',
'@angular/elements': '~9.1.0',
'@angular/forms': '~9.1.0',
'@angular/platform-browser': '~9.1.0',
'@angular/platform-browser-dynamic': '~9.1.0',
Expand Down Expand Up @@ -336,6 +346,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~10.0.14',
'@angular/compiler': '~10.0.14',
'@angular/core': '~10.0.14',
'@angular/elements': '~10.0.14',
'@angular/forms': '~10.0.14',
'@angular/platform-browser': '~10.0.14',
'@angular/platform-browser-dynamic': '~10.0.14',
Expand Down Expand Up @@ -367,6 +378,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~10.1.6',
'@angular/compiler': '~10.1.6',
'@angular/core': '~10.1.6',
'@angular/elements': '~10.1.6',
'@angular/forms': '~10.1.6',
'@angular/platform-browser': '~10.1.6',
'@angular/platform-browser-dynamic': '~10.1.6',
Expand Down Expand Up @@ -398,6 +410,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~10.2.0',
'@angular/compiler': '~10.2.0',
'@angular/core': '~10.2.0',
'@angular/elements': '~10.2.0',
'@angular/forms': '~10.2.0',
'@angular/platform-browser': '~10.2.0',
'@angular/platform-browser-dynamic': '~10.2.0',
Expand Down Expand Up @@ -429,6 +442,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~11.1.0',
'@angular/compiler': '~11.1.0',
'@angular/core': '~11.1.0',
'@angular/elements': '~11.1.0',
'@angular/forms': '~11.1.0',
'@angular/platform-browser': '~11.1.0',
'@angular/platform-browser-dynamic': '~11.1.0',
Expand Down Expand Up @@ -460,6 +474,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~11.1.0',
'@angular/compiler': '~11.1.0',
'@angular/core': '~11.1.0',
'@angular/elements': '~11.1.0',
'@angular/forms': '~11.1.0',
'@angular/platform-browser': '~11.1.0',
'@angular/platform-browser-dynamic': '~11.1.0',
Expand Down Expand Up @@ -491,6 +506,7 @@ export const versions = new Map<string, PackageJsonVersion>([
'@angular/common': '~11.2.0 || >=11.2.0-rc.0',
'@angular/compiler': '~11.2.0 || >=11.2.0-rc.0',
'@angular/core': '~11.2.0 || >=11.2.0-rc.0',
'@angular/elements': '~11.2.0 || >=11.2.0-rc.0',
'@angular/forms': '~11.2.0 || >=11.2.0-rc.0',
'@angular/platform-browser': '~11.2.0 || >=11.2.0-rc.0',
'@angular/platform-browser-dynamic': '~11.2.0 || >=11.2.0-rc.0',
Expand Down
1 change: 1 addition & 0 deletions src/types/package-json-version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ export interface PackageJsonVersion {
'@angular/common': string;
'@angular/compiler': string;
'@angular/core': string;
'@angular/elements': string;
'@angular/forms': string;
'@angular/platform-browser': string;
'@angular/platform-browser-dynamic': string;
Expand Down