mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 09:03:02 +00:00
refactor: update dependencies
This commit is contained in:
3115
package-lock.json
generated
3115
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
26
package.json
26
package.json
@@ -6,11 +6,11 @@
|
|||||||
"author": "Wieland Schöbl",
|
"author": "Wieland Schöbl",
|
||||||
"contributors": [],
|
"contributors": [],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "npm run tslint && npm run compile && npm run documentation",
|
"build": "npm run tslint && npm run compile",
|
||||||
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
"compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'",
|
||||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'",
|
||||||
"check-configuration": "openstapps-configuration",
|
"check-configuration": "openstapps-configuration",
|
||||||
"documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src",
|
"documentation": "typedoc --includeVersion --out docs src",
|
||||||
"start": "node lib/cli.js",
|
"start": "node lib/cli.js",
|
||||||
"tslint": "tslint 'src/**/*.ts'",
|
"tslint": "tslint 'src/**/*.ts'",
|
||||||
"prepublishOnly": "npm ci && npm run build",
|
"prepublishOnly": "npm ci && npm run build",
|
||||||
@@ -19,23 +19,23 @@
|
|||||||
"push": "git push && git push origin \"v$npm_package_version\""
|
"push": "git push && git push origin \"v$npm_package_version\""
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@openstapps/api": "0.25.0",
|
"@openstapps/api": "0.32.0",
|
||||||
"@openstapps/core": "0.38.1",
|
"@openstapps/core": "0.50.0",
|
||||||
"@openstapps/core-tools": "0.16.0",
|
"@openstapps/core-tools": "0.25.0",
|
||||||
"@openstapps/logger": "0.5.0",
|
"@openstapps/logger": "0.7.0",
|
||||||
|
"commander": "8.1.0",
|
||||||
"express": "4.17.1",
|
"express": "4.17.1",
|
||||||
"commander": "6.2.0",
|
"ts-node": "10.2.1"
|
||||||
"ts-node": "8.10.2"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@openstapps/configuration": "0.25.0",
|
"@openstapps/configuration": "0.27.0",
|
||||||
"@types/node": "10.17.46",
|
"@types/express": "4.17.13",
|
||||||
"@types/express": "4.17.8",
|
"@types/node": "14.17.12",
|
||||||
"conventional-changelog-cli": "2.1.1",
|
"conventional-changelog-cli": "2.1.1",
|
||||||
"prepend-file-cli": "1.0.6",
|
"prepend-file-cli": "1.0.6",
|
||||||
"rimraf": "3.0.2",
|
"rimraf": "3.0.2",
|
||||||
"tslint": "6.1.3",
|
"tslint": "6.1.3",
|
||||||
"typedoc": "0.18.0",
|
"typedoc": "0.21.9",
|
||||||
"typescript": "3.8.3"
|
"typescript": "4.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -40,13 +40,15 @@ const program = new Command()
|
|||||||
.option('-p, --port <number>', 'The port of the plugin', '4000') // TODO: adjust default
|
.option('-p, --port <number>', 'The port of the plugin', '4000') // TODO: adjust default
|
||||||
.parse(process.argv);
|
.parse(process.argv);
|
||||||
|
|
||||||
|
const options = program.opts();
|
||||||
|
|
||||||
// create an instance of the PluginClient
|
// create an instance of the PluginClient
|
||||||
const pluginClient = new PluginClient(new HttpClient(), program.backendUrl);
|
const pluginClient = new PluginClient(new HttpClient(), options.backendUrl);
|
||||||
|
|
||||||
// create an instance of your plugin
|
// create an instance of your plugin
|
||||||
const plugin = new MinimalPlugin(
|
const plugin = new MinimalPlugin(
|
||||||
// tslint:disable-next-line:no-magic-numbers
|
// tslint:disable-next-line:no-magic-numbers
|
||||||
Number.parseInt(program.port, 10), program.pluginName, program.url, `/${program.routeName}`, program.backendUrl,
|
Number.parseInt(options.port, 10), options.pluginName, options.url, `/${options.routeName}`, options.backendUrl,
|
||||||
new Converter(resolve(__dirname, '..', 'src', 'plugin', 'protocol')), // an instance of the converter. Required
|
new Converter(resolve(__dirname, '..', 'src', 'plugin', 'protocol')), // an instance of the converter. Required
|
||||||
// because your requests and response schemas are defined in the plugin. The path should lead to your request and
|
// because your requests and response schemas are defined in the plugin. The path should lead to your request and
|
||||||
// response interfaces
|
// response interfaces
|
||||||
|
|||||||
Reference in New Issue
Block a user