Merge pull request #5 from aleleba/PR-134290

PR-134290: fixing npx.
This commit is contained in:
Alejandro Lembke Barrientos 2022-08-05 19:41:04 -06:00 committed by GitHub
commit 317b2b31bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

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

View File

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