Product/components used and version/fix level:
Backend: 1020.296.0
UI: 1011.0.4
Detailed explanation of the problem:
Hi it’s Luca,
this is a followup from this post.
We would like to upgrade our custom app Cockpit based UI version to latest. The idea is to proceed step by step so first is to go from web sdk version 11 to 12.
I followed this receip:
c8ycli new atc cockpit -a @c8y/apps@1011.45.0
The files changed by the above commands are:
In particular this is the new package.json:
{
"name": "dashboard",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"@angular/animations": "12.2.4",
"@angular/cdk": "12.2.4",
"@angular/common": "12.2.4",
"@angular/compiler": "12.2.4",
"@angular/core": "12.2.4",
"@angular/forms": "12.2.4",
"@angular/platform-browser": "12.2.4",
"@angular/platform-browser-dynamic": "12.2.4",
"@angular/router": "12.2.4",
"@angular/upgrade": "12.2.4",
"@c8y/ngx-components": "1011.45.0",
"@ngx-translate/core": "13.0.0",
"rxjs": "~6.6.3",
"zone.js": "~0.11.4",
"@c8y/ng1-modules": "1011.45.0",
"angular": "1.6.9",
"@c8y/style": "1011.45.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "12.2.4",
"@angular/compiler-cli": "12.2.4",
"@angular/language-service": "12.2.4",
"@angular/localize": "12.2.4",
"@types/webpack": "^5.28.0",
"file-loader": "^6.2.0",
"typescript": "4.2.4",
"@c8y/cli": "1011.45.0"
},
"scripts": {
"start": "c8ycli server",
"build": "c8ycli build",
"deploy": "c8ycli deploy",
"postinstall": "ngcc"
},
"keywords": [],
"author": "",
"license": "ISC",
"c8y": {
"application": {
"name": "atc",
"contextPath": "atc",
"key": "atc-application-key",
"tabsHorizontal": true,
"upgrade": true,
"rightDrawer": true,
"breadcrumbs": false,
"sensorAppOneLink": "http://onelink.to/pca6qe",
"sensorPhone": true,
"contentSecurityPolicy": "base-uri 'none'; default-src 'self' 'unsafe-inline' http: https: ws: wss:; connect-src 'self' http: https: ws: wss:; script-src 'self' open.mapquestapi.com *.twitter.com *.twimg.com *.aptrinsic.com 'unsafe-inline' 'unsafe-eval' data:; style-src * 'unsafe-inline' blob:; img-src * data:; font-src * data:; frame-src *; worker-src 'self' blob:;",
"dynamicOptionsUrl": "/apps/public/public-options/options.json"
},
"cli": {}
}
}
When i run npm install I get:
Any suggestion?