mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-01-09 21:46:48 -06:00
commit
317b2b31bd
@ -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,
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user