@useoptic/cli-scripts
Advanced tools
Comparing version 8.0.6 to 8.0.7
@@ -5,2 +5,3 @@ /// <reference types="node" /> | ||
export declare function runStandaloneScript(modulePath: string, ...args: string[]): cp.ChildProcess; | ||
export declare function runScriptByName(name: string, ...args: string[]): cp.ChildProcess; | ||
//# sourceMappingURL=index.d.ts.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.runScriptByName = exports.runStandaloneScript = exports.basePath = void 0; | ||
const cp = require("child_process"); | ||
const path = require("path"); | ||
exports.basePath = __dirname; | ||
@@ -10,1 +12,5 @@ function runStandaloneScript(modulePath, ...args) { | ||
exports.runStandaloneScript = runStandaloneScript; | ||
function runScriptByName(name, ...args) { | ||
return runStandaloneScript(path.join(exports.basePath, name), ...args); | ||
} | ||
exports.runScriptByName = runScriptByName; |
{ | ||
"name": "@useoptic/cli-scripts", | ||
"version": "8.0.6", | ||
"version": "8.0.7", | ||
"scripts": { | ||
"ws:test": "echo scripts", | ||
"ws:build": "yarn run tsc -b --verbose" | ||
"ws:build": "yarn run tsc -b --verbose", | ||
"ws:clean": "rm -rf build/*" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "ssh://git@github.com/useoptic/optic-package.git", | ||
"directory": "workspaces/cli-scripts" | ||
}, | ||
"main": "build/index.js", | ||
@@ -9,0 +15,0 @@ "types": "build/index.d.ts", |
Sorry, the diff of this file is not supported yet
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3047
50
0