@nstudio/angular 16.7.5 → 16.8.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nstudio/angular",
3
- "version": "16.7.5",
3
+ "version": "16.8.0",
4
4
  "description": "Angular Plugin for xplat",
5
5
  "homepage": "https://nstudio.io/xplat",
6
6
  "repository": {
@@ -32,6 +32,6 @@
32
32
  "@nx/angular": "^16.0.0"
33
33
  },
34
34
  "peerDependencies": {
35
- "@nstudio/xplat": "16.7.5"
35
+ "@nstudio/xplat": "16.8.0"
36
36
  }
37
37
  }
@@ -33,7 +33,7 @@ function default_1(options) {
33
33
  })
34
34
  : (0, schematics_1.noop)(),
35
35
  (tree, context) => {
36
- const nrwlWebOptions = Object.assign(Object.assign({}, options), { standalone: false, skipInstall: true });
36
+ const nrwlWebOptions = Object.assign(Object.assign({}, options), { standalone: false, skipInstall: true, projectNameAndRootFormat: 'derived' });
37
37
  // remove non schema validated properties
38
38
  delete nrwlWebOptions.groupByName;
39
39
  delete nrwlWebOptions.useXplat;
@@ -1,11 +1,11 @@
1
1
  // angular
2
2
  import { TestBed, inject } from '@angular/core/testing';
3
3
  // app
4
- import { LogService } from './log.service';
4
+ import { IDebug, LogService } from './log.service';
5
5
 
6
6
  const reset = () => {
7
7
  for (const key in LogService.DEBUG) {
8
- LogService.DEBUG[key] = false;
8
+ LogService.DEBUG[key as keyof IDebug] = false;
9
9
  }
10
10
  };
11
11
  describe('core: LogService', () => {
package/src/utils/ast.js CHANGED
@@ -14,7 +14,7 @@ function addToCollection(tree, source, barrelIndexPath, symbolName, insertSpaces
14
14
  return source;
15
15
  // if (!collection) return [new NoopChange()];
16
16
  // return [new NoopChange()];
17
- console.log('collection.hasTrailingComma:', collection.hasTrailingComma);
17
+ // console.log('collection.hasTrailingComma:', collection.hasTrailingComma);
18
18
  if (collection.hasTrailingComma || collection.length === 0) {
19
19
  return (0, js_1.insertChange)(tree, source, barrelIndexPath, collection.end, symbolName);
20
20
  }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.typesJest = exports.jestPresetAngular = exports.zonejsVersion = exports.rxjsVersion = exports.ngxTranslateHttpVersion = exports.ngxTranslateVersion = exports.angularDevkitVersion = exports.angularVersion = exports.nxVersion = exports.xplatVersion = void 0;
4
- exports.xplatVersion = '16.7.5';
4
+ exports.xplatVersion = '16.8.0';
5
5
  exports.nxVersion = '^16.0.0';
6
6
  exports.angularVersion = '^16.0.0';
7
7
  exports.angularDevkitVersion = '^16.0.0';