diff --git a/examples/angular/package.json b/examples/angular/package.json index e384677a5b9..eb88f131b46 100644 --- a/examples/angular/package.json +++ b/examples/angular/package.json @@ -34,20 +34,20 @@ "license": "MIT", "//": "NOTICE: For the Github CI we use the local RxDB build (rxdb-local.tgz). In your app should just install 'rxdb' from npm instead", "dependencies": { - "@angular/animations": "21.2.17", - "@angular/cdk": "21.2.14", - "@angular/common": "21.2.17", - "@angular/compiler": "21.2.17", - "@angular/core": "21.2.17", - "@angular/forms": "21.2.17", - "@angular/material": "21.2.14", - "@angular/platform-browser": "21.2.17", - "@angular/platform-browser-dynamic": "21.2.17", - "@angular/platform-server": "21.2.17", - "@angular/pwa": "21.2.15", - "@angular/router": "21.2.17", - "@angular/service-worker": "21.2.17", - "@angular/ssr": "21.2.15", + "@angular/animations": "22.0.2", + "@angular/cdk": "22.0.2", + "@angular/common": "22.0.2", + "@angular/compiler": "22.0.2", + "@angular/core": "22.0.2", + "@angular/forms": "22.0.2", + "@angular/material": "22.0.2", + "@angular/platform-browser": "22.0.2", + "@angular/platform-browser-dynamic": "22.0.2", + "@angular/platform-server": "22.0.2", + "@angular/pwa": "22.0.3", + "@angular/router": "22.0.2", + "@angular/service-worker": "22.0.2", + "@angular/ssr": "22.0.3", "@capacitor/android": "8.4.0", "@capacitor/core": "8.4.0", "@capacitor/ios": "8.4.0", @@ -67,11 +67,11 @@ "zone.js": "0.16.2" }, "devDependencies": { - "@angular-devkit/build-angular": "21.2.15", - "@angular/build": "21.2.15", - "@angular/cli": "21.2.15", - "@angular/compiler-cli": "21.2.17", - "@angular/language-service": "21.2.17", + "@angular-devkit/build-angular": "22.0.3", + "@angular/build": "22.0.3", + "@angular/cli": "22.0.3", + "@angular/compiler-cli": "22.0.2", + "@angular/language-service": "22.0.2", "@capacitor/cli": "latest", "@types/express": "^5.0.0", "@types/mocha": "10.0.10", @@ -86,7 +86,7 @@ "ts-mocha": "11.1.0", "ts-node": "10.9.2", "tslint": "6.1.3", - "typescript": "5.9.3", + "typescript": "6.0.3", "webpack-bundle-analyzer": "5.3.0" } } diff --git a/examples/angular/reinstall.sh b/examples/angular/reinstall.sh index 0b1c4e8b876..bd9695c3364 100644 --- a/examples/angular/reinstall.sh +++ b/examples/angular/reinstall.sh @@ -5,5 +5,6 @@ rm -rf ./node_modules rm -rf ./.angular rm -f rxdb-local.tgz npm run preinstall +npm cache clean --force npm i --legacy-peer-deps --verbose npm run build diff --git a/examples/angular/tsconfig.json b/examples/angular/tsconfig.json index 842ffcda4b8..ba6a0faf8c0 100644 --- a/examples/angular/tsconfig.json +++ b/examples/angular/tsconfig.json @@ -2,6 +2,7 @@ "compileOnSave": false, "compilerOptions": { "baseUrl": "./", + "ignoreDeprecations": "6.0", "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, diff --git a/orga/changelog/update-angular-example-to-v22.md b/orga/changelog/update-angular-example-to-v22.md new file mode 100644 index 00000000000..1dec22781eb --- /dev/null +++ b/orga/changelog/update-angular-example-to-v22.md @@ -0,0 +1 @@ +- Updated the Angular example to Angular 22 (from 21.2.x to 22.0.x) and TypeScript 6.0.3