Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nstudio/xplat-utils

Package Overview
Dependencies
Maintainers
8
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nstudio/xplat-utils - npm Package Compare versions

Comparing version 15.0.4-rc.0 to 15.0.4-rc.1

2

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc