Update jvm interface type to reflect latest implementation

(I.e. support for pargs in jarLaunch)
This commit is contained in:
Kris De Volder
2022-02-16 14:25:37 -08:00
parent b61a6bc7d2
commit a7230ab2ce
3 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "@pivotal-tools/jvm-launch-utils",
"version": "0.0.21",
"version": "0.0.22",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -1,6 +1,6 @@
{
"name": "@pivotal-tools/jvm-launch-utils",
"version": "0.0.21",
"version": "0.0.22",
"description": "Provides utilities useful for launching Java processes from node packages.",
"files": [
"src",

View File

@@ -28,7 +28,7 @@ export interface JVM {
/**
* Launch an executable jar with this jvm.
*/
jarLaunch(jar: string, vmargs?: string[], execFileOptions?: ChildProcess.ExecFileOptions) : ChildProcess.ChildProcess
jarLaunch(jar: string, vmargs?: string[], execFileOptions?: ChildProcess.ExecFileOptions, pargs?: [string]) : ChildProcess.ChildProcess
mainClassLaunch(mainClass: string, classpath: string[], jvmArgs: string[], execFileOptions?: ChildProcess.ExecFileOptions): ChildProcess.ChildProcess
}