PR-134290: fixing npx.

This commit is contained in:
Alejandro Lembke Barrientos 2022-08-06 01:40:39 +00:00
parent 9cbed6b8ea
commit ddb040f45c
2 changed files with 10 additions and 1 deletions

View File

@ -14,6 +14,15 @@ const runCommand = command => {
return true; return true;
} }
const runCommandWithOutput = command => {
try{
return execSync(`${command}`);
} catch (e) {
console.error(`Failed to execute ${command}`, e);
return false;
}
}
const replaceTextOnFile = ({ const replaceTextOnFile = ({
file, file,
textToBeReplaced, textToBeReplaced,

View File

@ -1,6 +1,6 @@
{ {
"name": "@aleleba/create-node-ts-graphql-server", "name": "@aleleba/create-node-ts-graphql-server",
"version": "1.1.2", "version": "1.1.3",
"description": "Node with Typescript and GraphQL Server", "description": "Node with Typescript and GraphQL Server",
"bin": "./bin/cli.js", "bin": "./bin/cli.js",
"main": "index.js", "main": "index.js",