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

@nstudio/xplat-utils

Package Overview
Dependencies
Maintainers
0
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 19.0.0 to 20.0.0

2

package.json
{
"name": "@nstudio/xplat-utils",
"version": "19.0.0",
"version": "20.0.0",
"description": "Utilities for xplat tooling.",

@@ -5,0 +5,0 @@ "homepage": "https://nstudio.io/xplat",

@@ -5,3 +5,2 @@ <h1 align="center">Cross-platform (xplat) tools for Nx workspaces</h1>

[![Build Status](https://travis-ci.org/nstudio/xplat.svg?branch=master)](https://travis-ci.org/nstudio/xplat)
[![License](https://img.shields.io/npm/l/@nstudio/schematics.svg?style=flat-square)]()

@@ -8,0 +7,0 @@ [![NPM Version](https://badge.fury.io/js/%40nstudio%2Fschematics.svg)](https://www.npmjs.com/@nstudio/schematics)

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toFileName = exports.parseProjectNameFromPath = exports.sanitizeCommaDelimitedArg = exports.prerun = exports.getAppPaths = exports.getRootTsConfigPath = exports.copy = exports.updateFile = exports.updateJsonFile = exports.getJsonFromFile = exports.jsonParse = exports.isTesting = exports.setTest = exports.isXplatWorkspace = exports.getAppName = exports.getGroupByName = exports.getFrontendFramework = exports.getPrefix = exports.getNpmScope = exports.supportedFrameworks = exports.supportedPlatformsWithNx = exports.supportedNxExtraPlatforms = exports.supportedPlatforms = void 0;
exports.copy = exports.supportedFrameworks = exports.supportedPlatformsWithNx = exports.supportedNxExtraPlatforms = exports.supportedPlatforms = void 0;
exports.getNpmScope = getNpmScope;
exports.getPrefix = getPrefix;
exports.getFrontendFramework = getFrontendFramework;
exports.getGroupByName = getGroupByName;
exports.getAppName = getAppName;
exports.isXplatWorkspace = isXplatWorkspace;
exports.setTest = setTest;
exports.isTesting = isTesting;
exports.jsonParse = jsonParse;
exports.getJsonFromFile = getJsonFromFile;
exports.updateJsonFile = updateJsonFile;
exports.updateFile = updateFile;
exports.getRootTsConfigPath = getRootTsConfigPath;
exports.getAppPaths = getAppPaths;
exports.prerun = prerun;
exports.sanitizeCommaDelimitedArg = sanitizeCommaDelimitedArg;
exports.parseProjectNameFromPath = parseProjectNameFromPath;
exports.toFileName = toFileName;
const schematics_1 = require("@angular-devkit/schematics");

@@ -46,15 +64,11 @@ const devkit_1 = require("@nx/devkit");

}
exports.getNpmScope = getNpmScope;
function getPrefix() {
return prefix;
}
exports.getPrefix = getPrefix;
function getFrontendFramework() {
return frontendFramework;
}
exports.getFrontendFramework = getFrontendFramework;
function getGroupByName() {
return groupByName;
}
exports.getGroupByName = getGroupByName;
function getAppName(options, platform) {

@@ -65,15 +79,11 @@ return groupByName

}
exports.getAppName = getAppName;
function isXplatWorkspace() {
return usingXplatWorkspace;
}
exports.isXplatWorkspace = isXplatWorkspace;
function setTest() {
isTest = true;
}
exports.setTest = setTest;
function isTesting() {
return isTest;
}
exports.isTesting = isTesting;
function jsonParse(content) {

@@ -86,3 +96,2 @@ if (content) {

}
exports.jsonParse = jsonParse;
function getJsonFromFile(tree, path) {

@@ -92,3 +101,2 @@ // console.log('getJsonFromFile:', path)

}
exports.getJsonFromFile = getJsonFromFile;
function updateJsonFile(tree, path, jsonData) {

@@ -109,3 +117,2 @@ try {

}
exports.updateJsonFile = updateJsonFile;
function updateFile(tree, path, content) {

@@ -126,3 +133,2 @@ try {

}
exports.updateFile = updateFile;
const copy = (tree, from, to) => {

@@ -139,3 +145,2 @@ const file = tree.get(from);

}
exports.getRootTsConfigPath = getRootTsConfigPath;
function getAppPaths(tree, type // by default, will return all app paths (considering folder nesting)

@@ -211,3 +216,2 @@ ) {

}
exports.getAppPaths = getAppPaths;
function prerun(options, init) {

@@ -291,3 +295,2 @@ return (tree) => {

}
exports.prerun = prerun;
function sanitizeCommaDelimitedArg(input) {

@@ -302,3 +305,2 @@ if (input) {

}
exports.sanitizeCommaDelimitedArg = sanitizeCommaDelimitedArg;
function parseProjectNameFromPath(input) {

@@ -310,3 +312,2 @@ if (input && input.indexOf('/') > -1) {

}
exports.parseProjectNameFromPath = parseProjectNameFromPath;
function toFileName(s) {

@@ -318,2 +319,1 @@ return s

}
exports.toFileName = toFileName;
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