igniteui-live-editing 2.0.5 → 2.0.7

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.
@@ -40,6 +40,7 @@ const TsRoutingPathService_1 = require("../services/TsRoutingPathService");
40
40
  const SampleDefinitionFile_1 = require("./misc/SampleDefinitionFile");
41
41
  const APP_MODULE_TEMPLATE_PATH = path.join(__dirname, "../templates/app.module.ts.template");
42
42
  const COMPONENT_STYLE_FILE_EXTENSION = "scss";
43
+ const ROOT_MODULE_PATHS = ["app/grid-crm"];
43
44
  const COMPONENT_FILE_EXTENSIONS = ["ts", "html", COMPONENT_STYLE_FILE_EXTENSION];
44
45
  class SampleAssetsGenerator {
45
46
  constructor(options) {
@@ -141,7 +142,12 @@ class SampleAssetsGenerator {
141
142
  console.log("Live-Editing - ERROR missing route for " + sampleName);
142
143
  }
143
144
  else {
144
- sampleRoute = sampleRoute.replace("/", "--") + ".json";
145
+ if (ROOT_MODULE_PATHS.includes(sampleRoute)) {
146
+ sampleRoute = sampleRoute.replace("app/", "") + ".json";
147
+ }
148
+ else {
149
+ sampleRoute = sampleRoute.replace("/", "--") + ".json";
150
+ }
145
151
  fs.writeFileSync(this.options.samplesDir + sampleRoute, JSON.stringify(sampleDef));
146
152
  this._logsSampleFiles += sampleFilesCount;
147
153
  this._logsUtilitiesFiles += additionalFiles.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "igniteui-live-editing",
3
- "version": "2.0.5",
3
+ "version": "2.0.7",
4
4
  "description": "This feature helps us to provide each sample as a separate application to external consumers.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -11,7 +11,6 @@ import { AppComponent } from "./app.component";{imports}
11
11
  declarations: [{ngDeclarations}],
12
12
  imports: [{ngImports}],
13
13
  providers: [{ngProviders}],
14
- entryComponents: [{ngEntryComponents}],
15
14
  schemas: [{ngSchemas}]
16
15
  })
17
16
  export class AppModule {}
@@ -10,48 +10,48 @@
10
10
  },
11
11
  "private": true,
12
12
  "dependencies": {
13
- "@angular/animations": "^15.0.0",
14
- "@angular/cdk": "^15.0.0",
15
- "@angular/common": "^15.0.0",
16
- "@angular/compiler": "^15.0.0",
17
- "@angular/core": "^15.0.0",
18
- "@angular/forms": "^15.0.0",
19
- "@angular/platform-browser": "^15.0.0",
20
- "@angular/platform-browser-dynamic": "^15.0.0",
21
- "@angular/router": "^15.0.0",
13
+ "@angular/animations": "^16.0.0",
14
+ "@angular/cdk": "^16.0.0",
15
+ "@angular/common": "^16.0.0",
16
+ "@angular/compiler": "^16.0.0",
17
+ "@angular/core": "^16.0.0",
18
+ "@angular/forms": "^16.0.0",
19
+ "@angular/platform-browser": "^16.0.0",
20
+ "@angular/platform-browser-dynamic": "^16.0.0",
21
+ "@angular/router": "^16.0.0",
22
22
  "@juggle/resize-observer": "^3.3.1",
23
23
  "@types/hammerjs": "^2.0.39",
24
24
  "@microsoft/signalr": "^5.0.11",
25
25
  "core-js": "2.6.2",
26
26
  "hammerjs": "^2.0.8",
27
- "igniteui-angular": "^15.0.0",
28
- "igniteui-theming": "^1.1.4",
29
- "igniteui-angular-charts": "^14.0.0",
30
- "igniteui-angular-core": "^14.0.0",
31
- "igniteui-angular-excel": "^14.0.0",
32
- "igniteui-angular-gauges": "^14.0.0",
33
- "igniteui-angular-maps": "^14.0.0",
34
- "igniteui-angular-spreadsheet": "^14.0.0",
35
- "igniteui-angular-spreadsheet-chart-adapter": "^14.0.0",
36
- "igniteui-dockmanager": "^1.11.0",
27
+ "igniteui-angular": "^16.0.0-rc.0",
28
+ "igniteui-theming": "^1.2.0",
29
+ "igniteui-angular-charts": "^15.0.1",
30
+ "igniteui-angular-core": "^15.0.1",
31
+ "igniteui-angular-excel": "^15.0.1",
32
+ "igniteui-angular-gauges": "^15.0.1",
33
+ "igniteui-angular-maps": "^15.0.1",
34
+ "igniteui-angular-spreadsheet": "^15.0.1",
35
+ "igniteui-angular-spreadsheet-chart-adapter": "^15.0.1",
36
+ "igniteui-dockmanager": "^1.12.4",
37
37
  "immediate": "^3.2.3",
38
38
  "intl": "^1.2.5",
39
39
  "rxjs": "^6.6.7",
40
40
  "tslib": "^2.3.1",
41
- "zone.js": "~0.11.4"
41
+ "zone.js": "~0.13.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@angular-devkit/build-angular": "^15.0.0",
45
- "@angular/cli": "^15.0.0",
46
- "@angular/compiler-cli": "^15.0.0",
47
- "@types/jasmine": "~3.10.0",
48
- "@types/node": "^12.11.1",
49
- "jasmine-core": "~3.10.0",
50
- "karma": "^6.3.11",
51
- "karma-chrome-launcher": "~3.1.0",
44
+ "@angular-devkit/build-angular": "^16.0.0",
45
+ "@angular/cli": "^16.0.0",
46
+ "@angular/compiler-cli": "^16.0.0",
47
+ "@types/jasmine": "^4.3.1",
48
+ "@types/node": "^13.13.52",
49
+ "jasmine-core": "~4.2.0",
50
+ "karma": "^6.4.2",
51
+ "karma-chrome-launcher": "~3.2.0",
52
52
  "karma-coverage": "~2.0.3",
53
- "karma-jasmine": "~4.0.0",
54
- "karma-jasmine-html-reporter": "~1.7.0",
55
- "typescript": "~4.8.4"
53
+ "karma-jasmine": "~5.1.0",
54
+ "karma-jasmine-html-reporter": "^2.0.0",
55
+ "typescript": "4.9.5"
56
56
  }
57
57
  }