Skip to content
Snippets Groups Projects
Commit 331d4401 authored by Benoit Lavenier's avatar Benoit Lavenier
Browse files

[enh] Migrate to Angular 14

parent 62317b85
Branches
Tags
No related merge requests found
{ {
"$schema": "./node_modules/@angular/cli/lib/config/schema.json", "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1, "version": 1,
"defaultProject": "app",
"newProjectRoot": "projects", "newProjectRoot": "projects",
"projects": { "projects": {
"app": { "app": {
...@@ -29,7 +28,11 @@ ...@@ -29,7 +28,11 @@
"safe-buffer", "safe-buffer",
"ed2curve", "ed2curve",
"crypto", "crypto",
"store" "store",
"localforage",
"bn.js",
"ip-regexp",
"eventemitter3"
], ],
"assets": [ "assets": [
{ {
...@@ -195,13 +198,15 @@ ...@@ -195,13 +198,15 @@
} }
}, },
"cli": { "cli": {
"defaultCollection": "@ionic/angular-toolkit",
"packageManager": "yarn", "packageManager": "yarn",
"analytics": false, "analytics": false,
"cache": { "cache": {
"enabled": true, "enabled": true,
"environment": "all" "environment": "all"
} },
"schematicCollections": [
"@ionic/angular-toolkit"
]
}, },
"schematics": { "schematics": {
"@ionic/angular-toolkit:component": { "@ionic/angular-toolkit:component": {
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
"url": "git.duniter.org:clients/cesium-grp/cesium2.git" "url": "git.duniter.org:clients/cesium-grp/cesium2.git"
}, },
"scripts": { "scripts": {
"postinstall": "ngcc",
"ng": "ng", "ng": "ng",
"start": "ng serve", "start": "ng serve",
"build": "ng build", "build": "ng build",
...@@ -23,23 +22,23 @@ ...@@ -23,23 +22,23 @@
"generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/core-types/interfaces --output ./src/interfaces --endpoint ./src/interfaces/types.json" "generate:meta": "ts-node --skip-project node_modules/.bin/polkadot-types-from-chain --package @duniter/core-types/interfaces --output ./src/interfaces --endpoint ./src/interfaces/types.json"
}, },
"dependencies": { "dependencies": {
"@angular/animations": "~13.3.11", "@angular/animations": "^14.2.0",
"@angular/common": "~13.3.11", "@angular/common": "^14.2.0",
"@angular/core": "~13.3.11", "@angular/core": "^14.2.0",
"@angular/forms": "~13.3.11", "@angular/forms": "^14.2.0",
"@angular/platform-browser": "~13.3.11", "@angular/platform-browser": "^14.2.0",
"@angular/platform-browser-dynamic": "~13.3.11", "@angular/platform-browser-dynamic": "^14.2.0",
"@angular/router": "~13.3.11", "@angular/router": "^14.2.0",
"@capacitor/app": "1.0.2", "@capacitor/app": "4.0.1",
"@capacitor/clipboard": "^1.0.8", "@capacitor/clipboard": "^4.0.1",
"@capacitor/core": "3.1.1", "@capacitor/core": "4.0.1",
"@capacitor/haptics": "1.0.2", "@capacitor/haptics": "4.0.1",
"@capacitor/keyboard": "1.0.2", "@capacitor/keyboard": "4.0.1",
"@capacitor/status-bar": "1.0.2", "@capacitor/status-bar": "4.0.1",
"@ionic/angular": "^6.1.11", "@ionic/angular": "^6.2.4",
"@ionic/storage-angular": "^3.0.6", "@ionic/storage-angular": "^3.0.6",
"@ngx-translate/core": "^13.0.0", "@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^6.0.0", "@ngx-translate/http-loader": "^7.0.0",
"@polkadot/api": "^8.9.1", "@polkadot/api": "^8.9.1",
"@polkadot/keyring": "^9.6.1", "@polkadot/keyring": "^9.6.1",
"@polkadot/ui-keyring": "^2.6.1", "@polkadot/ui-keyring": "^2.6.1",
...@@ -53,19 +52,19 @@ ...@@ -53,19 +52,19 @@
"scrypt-async": "^2.0.1", "scrypt-async": "^2.0.1",
"stream-browserify": "^3.0.0", "stream-browserify": "^3.0.0",
"tslib": "^2.0.0", "tslib": "^2.0.0",
"zone.js": "~0.11.6" "zone.js": "~0.11.8"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~13.3.8", "@angular-devkit/build-angular": "^14.2.1",
"@angular-eslint/builder": "~13.5.0", "@angular-eslint/builder": "~13.5.0",
"@angular-eslint/eslint-plugin": "~13.5.0", "@angular-eslint/eslint-plugin": "~13.5.0",
"@angular-eslint/eslint-plugin-template": "~13.5.0", "@angular-eslint/eslint-plugin-template": "~13.5.0",
"@angular-eslint/template-parser": "~13.5.0", "@angular-eslint/template-parser": "~13.5.0",
"@angular/cli": "^13.3.8", "@angular/cli": "^14.2.1",
"@angular/compiler": "~13.3.11", "@angular/compiler": "^14.2.0",
"@angular/compiler-cli": "~13.3.11", "@angular/compiler-cli": "^14.2.0",
"@angular/language-service": "~13.3.11", "@angular/language-service": "^14.2.0",
"@capacitor/cli": "3.6.0", "@capacitor/cli": "4.1.0",
"@ionic/angular-toolkit": "^6.1.0", "@ionic/angular-toolkit": "^6.1.0",
"@polkadot/typegen": "^8.9.1", "@polkadot/typegen": "^8.9.1",
"@polkadot/types": "^8.9.1", "@polkadot/types": "^8.9.1",
...@@ -76,7 +75,7 @@ ...@@ -76,7 +75,7 @@
"@typescript-eslint/parser": "4.33.0", "@typescript-eslint/parser": "4.33.0",
"eslint": "^7.32.0", "eslint": "^7.32.0",
"eslint-plugin-import": "2.26.0", "eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "39.3.3", "eslint-plugin-jsdoc": "39.3.6",
"eslint-plugin-prefer-arrow": "1.2.3", "eslint-plugin-prefer-arrow": "1.2.3",
"jasmine-core": "~4.2.0", "jasmine-core": "~4.2.0",
"jasmine-spec-reporter": "~7.0.0", "jasmine-spec-reporter": "~7.0.0",
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"extends": "./tsconfig.json", "extends": "./tsconfig.json",
"compilerOptions": { "compilerOptions": {
"outDir": "./out-tsc/app", "outDir": "./out-tsc/app",
"types": [] "types": ["node"]
}, },
"files": [ "files": [
"src/main.ts", "src/main.ts",
......
...@@ -10,7 +10,8 @@ ...@@ -10,7 +10,8 @@
"experimentalDecorators": true, "experimentalDecorators": true,
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2015", "incremental": true,
"target": "es2020",
"module": "es2020", "module": "es2020",
"lib": ["es2018", "dom"], "lib": ["es2018", "dom"],
"allowSyntheticDefaultImports": true, "allowSyntheticDefaultImports": true,
......
Source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment