@nstudio/xplat-utils
Advanced tools
Comparing version 15.0.4-rc.0 to 15.0.4-rc.1
{ | ||
"name": "@nstudio/xplat-utils", | ||
"version": "15.0.4-rc.0", | ||
"version": "15.0.4-rc.1", | ||
"description": "Utilities for xplat tooling.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://nstudio.io/xplat", |
@@ -45,6 +45,8 @@ <h1 align="center">Cross-platform (xplat) tools for Nx workspaces</h1> | ||
**NOTE:** If you encounter any issue, you can try creating an Nx workspace with version specified, for example: | ||
**NOTE:** If you encounter any issue, you can try creating an Nx workspace with a version specified. | ||
We have tested with the following, for example: | ||
``` | ||
npx create-nx-workspace@14.1.7 | ||
npx create-nx-workspace@15.9.2 | ||
``` | ||
@@ -51,0 +53,0 @@ |
@@ -7,7 +7,7 @@ export interface ITargetPlatforms { | ||
} | ||
export declare type PlatformTypes = 'web' | 'nativescript' | 'ionic' | 'electron'; | ||
export declare type PlatformNxExtraTypes = 'express' | 'nest' | 'node' | 'react'; | ||
export declare type PlatformWithNxTypes = PlatformTypes | PlatformNxExtraTypes; | ||
export declare type PlatformModes = PlatformTypes | 'fullstack'; | ||
export declare type FrameworkTypes = 'angular'; | ||
export declare type FrameworkOptions = FrameworkTypes | 'all'; | ||
export type PlatformTypes = 'web' | 'nativescript' | 'ionic' | 'electron'; | ||
export type PlatformNxExtraTypes = 'express' | 'nest' | 'node' | 'react'; | ||
export type PlatformWithNxTypes = PlatformTypes | PlatformNxExtraTypes; | ||
export type PlatformModes = PlatformTypes | 'fullstack'; | ||
export type FrameworkTypes = 'angular'; | ||
export type FrameworkOptions = FrameworkTypes | 'all'; |
@@ -78,8 +78,5 @@ "use strict"; | ||
try { | ||
if (tree.exists(path)) { | ||
tree.overwrite(path, (0, devkit_1.serializeJson)(jsonData)); | ||
} | ||
else { | ||
tree.create(path, (0, devkit_1.serializeJson)(jsonData)); | ||
} | ||
// if (tree.exists(path)) { | ||
tree.overwrite(path, (0, devkit_1.serializeJson)(jsonData)); | ||
// } | ||
return tree; | ||
@@ -95,2 +92,5 @@ } | ||
try { | ||
// if (tree.exists(path)) { | ||
// tree.overwrite(path, content); | ||
// } | ||
if (tree.exists(path)) { | ||
@@ -97,0 +97,0 @@ tree.overwrite(path, content); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
174
22187