zwischenstnde

This commit is contained in:
Martin Karkowski 2021-05-20 09:55:56 +02:00
parent 9c92f1f1ca
commit 8e8b4a795c
4 changed files with 14 additions and 4 deletions

1
04-main.bat Normal file
View File

@ -0,0 +1 @@
node .\dist\lib\cli\runNopeBackend.js -c io-client -l info

View File

@ -33,7 +33,7 @@ Make shure you run the following tasks
After installation you can use the following cli-tool:
> `nope`
> `nope-js`
Please select the option you want. Therefore add one of the following options:

View File

@ -39,7 +39,16 @@ export const DESCRIPTION: IPackageDescription<typeof TYPES> = {
}
}
],
providedFunctions: [],
providedFunctions: [
{
function: async ( ) => {
console.log("HERRL")
},
options: {
id: "HelloWorldService"
}
}
],
requiredPackages: [],
types: TYPES
};

View File

@ -4,7 +4,7 @@
"description": "Nodejs Backend, combining nextjs with openapi",
"main": "index.js",
"bin": {
"nope": "./bin/nope"
"nope-js": "./bin/nope"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
@ -115,4 +115,4 @@
"prettier": "^2.2.1",
"typescript": "^4.2.4"
}
}
}