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 10.3.9 to 11.0.0-rc.0

2

index.js

@@ -10,5 +10,5 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./src/utils"), exports);
{
"name": "@nstudio/xplat-utils",
"version": "10.3.9",
"version": "11.0.0-rc.0",
"description": "Utilities for xplat tooling.",

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

@@ -10,5 +10,5 @@ "use strict";

var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./utils"), exports);

@@ -23,5 +23,4 @@ import type { FrameworkTypes, PlatformNxExtraTypes, PlatformTypes, PlatformWithNxTypes } from './types';

export declare function getRootTsConfigPath(): string;
export declare function checkRootTsConfig(tree: Tree): import("@angular-devkit/schematics/src/tree/interface").Tree;
export declare function getAppPaths(tree: Tree, type?: PlatformTypes): Array<string>;
export declare function prerun(options?: any, init?: boolean): (tree: Tree) => import("@angular-devkit/schematics/src/tree/interface").Tree;
export declare function sanitizeCommaDelimitedArg(input: string): Array<string>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.sanitizeCommaDelimitedArg = exports.prerun = exports.getAppPaths = exports.checkRootTsConfig = exports.getRootTsConfigPath = exports.copy = exports.getNxWorkspaceConfig = exports.updateFile = exports.updateJsonFile = exports.getJsonFromFile = exports.jsonParse = exports.addInstallTask = 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.sanitizeCommaDelimitedArg = exports.prerun = exports.getAppPaths = exports.getRootTsConfigPath = exports.copy = exports.getNxWorkspaceConfig = exports.updateFile = exports.updateJsonFile = exports.getJsonFromFile = exports.jsonParse = exports.addInstallTask = 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;
const schematics_1 = require("@angular-devkit/schematics");

@@ -136,14 +136,2 @@ const tasks_1 = require("@angular-devkit/schematics/tasks");

exports.getRootTsConfigPath = getRootTsConfigPath;
function checkRootTsConfig(tree) {
if (!tree.exists('/tsconfig.json') && tree.exists('/tsconfig.base.json')) {
// to support Nx 10.1+
// NOTE: We may end up creating tsconfig's at libs and xplat levels in future
// This allows ts resolution to work as normal
tree.create('/tsconfig.json', JSON.stringify({
extends: `.${getRootTsConfigPath()}`,
}, null, 2));
}
return tree;
}
exports.checkRootTsConfig = checkRootTsConfig;
function getAppPaths(tree, type // by default, will return all app paths (considering folder nesting)

@@ -225,3 +213,2 @@ ) {

}
tree = checkRootTsConfig(tree);
// console.log('npmScope:', npmScope);

@@ -228,0 +215,0 @@ const packageJson = getJsonFromFile(tree, 'package.json');

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