@nstudio/xplat 16.5.7 → 16.5.8

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/xplat",
3
- "version": "16.5.7",
3
+ "version": "16.5.8",
4
4
  "description": "Cross-platform (xplat) tools for Nx workspaces.",
5
5
  "homepage": "https://nstudio.io/xplat",
6
6
  "repository": {
@@ -41,10 +41,12 @@
41
41
  "postinstall": "node src/utils/postinstall.js"
42
42
  },
43
43
  "dependencies": {
44
+ "@nx/angular": "^16.0.0",
44
45
  "@nx/devkit": "^16.0.0",
45
46
  "@nx/js": "^16.0.0",
46
- "@nstudio/focus": "16.5.7",
47
- "@nstudio/xplat-utils": "16.5.7"
47
+ "@nstudio/focus": "16.5.8",
48
+ "@nstudio/xplat-utils": "16.5.8",
49
+ "patch-package": "^7.0.0"
48
50
  },
49
51
  "author": "Nathan Walker",
50
52
  "license": "MIT",
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.nxVersion = exports.xplatVersion = void 0;
4
- exports.xplatVersion = '16.5.7';
4
+ exports.xplatVersion = '16.5.8';
5
5
  exports.nxVersion = '^16.0.0';
@@ -197,9 +197,9 @@ var XplatHelpers;
197
197
  xplat_utils_1.supportedNxExtraPlatforms.includes(platform)) {
198
198
  // platforms that are supported directly via Nx only right now
199
199
  // 'app'/'application' is only schematic supported via xplat proxy at moment
200
- const packageName = `@nx/${platform}`;
201
- devDependencies[packageName] = versions_1.nxVersion;
202
- packagesToRunXplat.push(packageName);
200
+ // const packageName = `@nx/${platform}`;
201
+ // devDependencies[packageName] = nxVersion;
202
+ // packagesToRunXplat.push(packageName);
203
203
  }
204
204
  else {
205
205
  const packageName = `@nstudio/${platform}-${framework}`;
@@ -227,9 +227,9 @@ var XplatHelpers;
227
227
  xplat_utils_1.supportedNxExtraPlatforms.includes(platform)) {
228
228
  // platforms supported directly via Nx only right now
229
229
  // 'app'/'application' is only schematic supported via xplat proxy at moment
230
- const packageName = `@nx/${platform}`;
231
- devDependencies[packageName] = versions_1.nxVersion;
232
- packagesToRunXplat.push(packageName);
230
+ // const packageName = `@nx/${platform}`;
231
+ // devDependencies[packageName] = nxVersion;
232
+ // packagesToRunXplat.push(packageName);
233
233
  }
234
234
  else {
235
235
  throw new schematics_1.SchematicsException((0, errors_1.unsupportedPlatformError)(platform));
@@ -316,9 +316,9 @@ var XplatHelpers;
316
316
  else if (xplat_utils_1.supportedNxExtraPlatforms.includes(platform)) {
317
317
  // platforms supported directly via Nx only right now
318
318
  // 'app'/'application' is only schematic supported via xplat proxy at moment
319
- const packageName = `@nx/${platform}`;
320
- devDependencies[packageName] = versions_1.nxVersion;
321
- packagesToRun.push(packageName);
319
+ // const packageName = `@nx/${platform}`;
320
+ // devDependencies[packageName] = nxVersion;
321
+ // packagesToRun.push(packageName);
322
322
  }
323
323
  else {
324
324
  throw new schematics_1.SchematicsException((0, errors_1.unsupportedPlatformError)(platform));
@@ -461,18 +461,13 @@ var XplatHelpers;
461
461
  testEnvironment,
462
462
  interactive: false,
463
463
  unitTestRunner: 'jest',
464
- bundler: 'none'
464
+ bundler: 'none',
465
465
  };
466
466
  if (libName === 'scss') {
467
467
  libOptions.skipTsConfig = true;
468
468
  }
469
469
  // console.log(`CALLING externalSchematic('@nx/workspace', 'lib') for:`, `libs/${directory ? directory + '/' : ''}${libName}`)
470
- try {
471
- return (0, schematics_1.chain)([(0, schematics_1.externalSchematic)('@nx/js', 'library', libOptions)]);
472
- }
473
- catch (err) {
474
- return (0, schematics_1.noop)();
475
- }
470
+ return (0, schematics_1.chain)([(0, schematics_1.externalSchematic)('@nx/js', 'library', libOptions)]);
476
471
  };
477
472
  }
478
473
  XplatHelpers.generateLib = generateLib;