Skip to content

Commit 61ca486

Browse files
committed
upgrade angular 11
1 parent 093531e commit 61ca486

File tree

7 files changed

+6267
-6297
lines changed

7 files changed

+6267
-6297
lines changed

dev-packages/e2e-tests/test-applications/angular-17/src/app/app.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { APP_INITIALIZER, ApplicationConfig, ErrorHandler } from '@angular/core';
22
import { Router, provideRouter } from '@angular/router';
33

4-
import { TraceService, createErrorHandler } from '@sentry/angular-ivy';
4+
import { TraceService, createErrorHandler } from '@sentry/angular';
55
import { routes } from './app.routes';
66

77
export const appConfig: ApplicationConfig = {

dev-packages/e2e-tests/test-applications/angular-17/src/app/component-tracking/component-tracking.components.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AfterViewInit, Component, OnInit } from '@angular/core';
2-
import { TraceClass, TraceMethod, TraceModule } from '@sentry/angular-ivy';
2+
import { TraceClass, TraceMethod, TraceModule } from '@sentry/angular';
33
import { SampleComponent } from '../sample-component/sample-component.components';
44

55
@Component({

dev-packages/e2e-tests/test-applications/angular-17/src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { bootstrapApplication } from '@angular/platform-browser';
22
import { AppComponent } from './app/app.component';
33
import { appConfig } from './app/app.config';
44

5-
import * as Sentry from '@sentry/angular-ivy';
5+
import * as Sentry from '@sentry/angular';
66

77
Sentry.init({
88
dsn: 'https://3b6c388182fb435097f41d181be2b2ba@o4504321058471936.ingest.sentry.io/4504321066008576',

packages/angular/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,16 @@
2828
"tslib": "^2.4.1"
2929
},
3030
"devDependencies": {
31-
"@angular-devkit/build-angular": "~0.1002.4",
32-
"@angular/cli": "^10.2.4",
33-
"@angular/common": "~10.2.5",
34-
"@angular/compiler": "^10.2.5",
35-
"@angular/compiler-cli": "~10.2.5",
36-
"@angular/core": "~10.2.5",
37-
"@angular/platform-browser": "~10.2.5",
38-
"@angular/platform-browser-dynamic": "~10.2.5",
39-
"@angular/router": "~10.2.5",
40-
"ng-packagr": "^10.1.0",
31+
"@angular-devkit/build-angular": "~0.1102.19",
32+
"@angular/cli": "^11.2.19",
33+
"@angular/common": "~11.2.14",
34+
"@angular/compiler": "^11.2.14",
35+
"@angular/compiler-cli": "~11.2.14",
36+
"@angular/core": "~11.2.14",
37+
"@angular/platform-browser": "~11.2.14",
38+
"@angular/platform-browser-dynamic": "~11.2.14",
39+
"@angular/router": "~11.2.14",
40+
"ng-packagr": "^11.2.4",
4141
"rxjs": "6.5.5",
4242
"typescript": "4.0.2",
4343
"zone.js": "^0.11.8"

packages/angular/setup-jest.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'zone.js';
2+
import 'zone.js/testing';
23

34
import { TestBed } from '@angular/core/testing';
45
import { BrowserDynamicTestingModule, platformBrowserDynamicTesting } from '@angular/platform-browser-dynamic/testing';

packages/angular/tsconfig.ngc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"extends": "./tsconfig.json",
77
"compilerOptions": {
88
"target": "es2017",
9+
"declarationMap": false,
910
"lib": ["dom", "es2017"],
1011
"baseUrl": "./"
1112
},
@@ -23,6 +24,6 @@
2324
// at application compile time into an Ivy-compatible version which is then further used in
2425
// the build process. This ensures compatibility with newer Angular versions than the one
2526
// that was used to initially compile the library (Angular 10 in our case).
26-
"enableIvy": false
27+
2728
}
2829
}

0 commit comments

Comments
 (0)