@c8y/devkit 1019.8.1 → 1019.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,8 +5,7 @@ const schematics_1 = require("@angular-devkit/schematics");
5
5
  function hashRouteModule(host, projectSrcRoot) {
6
6
  const routingModulePath = `${projectSrcRoot}/app/app-routing.module.ts`;
7
7
  if (!host.exists(routingModulePath)) {
8
- throw new schematics_1.SchematicsException(`Cannot find application routing module. To add @c8y/cli,
9
- application routing module should be present in app/app-routing.module.ts.`);
8
+ throw new schematics_1.SchematicsException(`Cannot find application routing module. To add an application with @c8y/websdk schematic, the application routing module should be present in app/app-routing.module.ts.`);
10
9
  }
11
10
  const content = host.read(routingModulePath).toString();
12
11
  const replacedContent = content.replace(/RouterModule\.forRoot\([^)]+\)/, 'RouterModule.forRoot(routes, { useHash: true })');
@@ -1 +1 @@
1
- {"version":3,"file":"app-routing.js","sourceRoot":"","sources":["../../../../../src/schematics/ng-add/configs/app-routing.ts"],"names":[],"mappings":";;;AAAA,2DAAuE;AAEvE,SAAgB,eAAe,CAAC,IAAU,EAAE,cAAsB;IAChE,MAAM,iBAAiB,GAAG,GAAG,cAAc,4BAA4B,CAAC;IACxE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE;QACnC,MAAM,IAAI,gCAAmB,CAAC;+EAC6C,CAAC,CAAC;KAC9E;IACD,MAAM,OAAO,GAAI,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAS,CAAC,QAAQ,EAAE,CAAC;IACjE,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CACrC,gCAAgC,EAChC,iDAAiD,CAClD,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;AACrD,CAAC;AAZD,0CAYC"}
1
+ {"version":3,"file":"app-routing.js","sourceRoot":"","sources":["../../../../../src/schematics/ng-add/configs/app-routing.ts"],"names":[],"mappings":";;;AAAA,2DAAuE;AAEvE,SAAgB,eAAe,CAAC,IAAU,EAAE,cAAsB;IAChE,MAAM,iBAAiB,GAAG,GAAG,cAAc,4BAA4B,CAAC;IACxE,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,iBAAiB,CAAC,EAAE;QACnC,MAAM,IAAI,gCAAmB,CAC3B,0KAA0K,CAC3K,CAAC;KACH;IACD,MAAM,OAAO,GAAI,IAAI,CAAC,IAAI,CAAC,iBAAiB,CAAS,CAAC,QAAQ,EAAE,CAAC;IACjE,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CACrC,gCAAgC,EAChC,iDAAiD,CAClD,CAAC;IACF,IAAI,CAAC,SAAS,CAAC,iBAAiB,EAAE,eAAe,CAAC,CAAC;AACrD,CAAC;AAbD,0CAaC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@c8y/devkit",
3
- "version": "1019.8.1",
3
+ "version": "1019.12.0",
4
4
  "license": "Apache-2.0",
5
5
  "author": "Cumulocity",
6
6
  "description": "Cumulocity Webpack Build Facade",
@@ -44,7 +44,7 @@
44
44
  "@babel/plugin-syntax-dynamic-import": "7.8.3",
45
45
  "@babel/plugin-transform-async-to-generator": "^7.18.6",
46
46
  "@babel/preset-env": "^7.23.8",
47
- "@c8y/client": "1019.8.1",
47
+ "@c8y/client": "1019.12.0",
48
48
  "@schematics/angular": "^15.2.6",
49
49
  "angular-gettext-tools": "2.5.3",
50
50
  "babel-eslint": "10.0.1",