@nstudio/xplat 16.5.5 → 16.5.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.
- package/package.json +3 -3
- package/src/utils/versions.js +1 -1
- package/src/utils/xplat.js +6 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@nstudio/xplat",
|
3
|
-
"version": "16.5.
|
3
|
+
"version": "16.5.7",
|
4
4
|
"description": "Cross-platform (xplat) tools for Nx workspaces.",
|
5
5
|
"homepage": "https://nstudio.io/xplat",
|
6
6
|
"repository": {
|
@@ -43,8 +43,8 @@
|
|
43
43
|
"dependencies": {
|
44
44
|
"@nx/devkit": "^16.0.0",
|
45
45
|
"@nx/js": "^16.0.0",
|
46
|
-
"@nstudio/focus": "16.5.
|
47
|
-
"@nstudio/xplat-utils": "16.5.
|
46
|
+
"@nstudio/focus": "16.5.7",
|
47
|
+
"@nstudio/xplat-utils": "16.5.7"
|
48
48
|
},
|
49
49
|
"author": "Nathan Walker",
|
50
50
|
"license": "MIT",
|
package/src/utils/versions.js
CHANGED
package/src/utils/xplat.js
CHANGED
@@ -467,7 +467,12 @@ var XplatHelpers;
|
|
467
467
|
libOptions.skipTsConfig = true;
|
468
468
|
}
|
469
469
|
// console.log(`CALLING externalSchematic('@nx/workspace', 'lib') for:`, `libs/${directory ? directory + '/' : ''}${libName}`)
|
470
|
-
|
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
|
+
}
|
471
476
|
};
|
472
477
|
}
|
473
478
|
XplatHelpers.generateLib = generateLib;
|