stepzen 0.9.33-beta.9 → 0.9.35-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -29,7 +29,7 @@ $ npm install -g stepzen
29
29
  $ stepzen COMMAND
30
30
  running command...
31
31
  $ stepzen (-v|--version|version)
32
- stepzen/0.9.33-beta.9 darwin-x64 node-v14.17.1
32
+ stepzen/0.9.35-beta.0 darwin-x64 node-v14.18.0
33
33
  $ stepzen --help [COMMAND]
34
34
  USAGE
35
35
  $ stepzen COMMAND
@@ -80,7 +80,7 @@ OPTIONS
80
80
  --all see all commands in CLI
81
81
  ```
82
82
 
83
- _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.2/src/commands/help.ts)_
83
+ _See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.3.1/src/commands/help.ts)_
84
84
 
85
85
  ## `stepzen import SCHEMAS`
86
86
 
@@ -146,7 +146,7 @@ OPTIONS
146
146
  -h, --help show CLI help
147
147
  --dir=dir working directory
148
148
  --endpoint=endpoint Override workspace endpoint
149
- --port=port [default: 5000]
149
+ --port=port [default: 5001]
150
150
  ```
151
151
 
152
152
  ## `stepzen upload TYPE DESTINATION`
@@ -1,12 +1,7 @@
1
1
  import { Command, flags } from '@oclif/command';
2
2
  export default class Deploy extends Command {
3
3
  static description: string;
4
- static flags: {
5
- configurationsets: flags.IOptionFlag<string>;
6
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
7
- schema: flags.IOptionFlag<string>;
8
- silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
- };
4
+ static flags: flags.Input<any>;
10
5
  static args: {
11
6
  name: string;
12
7
  description: string;
@@ -1,11 +1,7 @@
1
1
  import { Command, flags } from '@oclif/command';
2
2
  export default class Import extends Command {
3
3
  static description: string;
4
- static flags: {
5
- dir: flags.IOptionFlag<string | undefined>;
6
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
7
- silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
8
- };
4
+ static flags: flags.Input<any>;
9
5
  static args: {
10
6
  name: string;
11
7
  required: boolean;
@@ -2,11 +2,7 @@ import { Command, flags } from '@oclif/command';
2
2
  export default class Init extends Command {
3
3
  static description: string;
4
4
  static hidden: boolean;
5
- static flags: {
6
- endpoint: flags.IOptionFlag<string | undefined>;
7
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
8
- yes: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
- };
5
+ static flags: flags.Input<any>;
10
6
  static args: {
11
7
  hidden: boolean;
12
8
  name: string;
@@ -2,9 +2,6 @@ import { Command, flags } from '@oclif/command';
2
2
  export default class Init extends Command {
3
3
  static description: string;
4
4
  static hidden: boolean;
5
- static flags: {
6
- dir: flags.IOptionFlag<string | undefined>;
7
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
8
- };
5
+ static flags: flags.Input<any>;
9
6
  run(): Promise<void>;
10
7
  }
@@ -1,9 +1,7 @@
1
- import { Command } from '@oclif/command';
1
+ import { Command, flags } from '@oclif/command';
2
2
  export default class List extends Command {
3
3
  static description: string;
4
- static flags: {
5
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
6
- };
4
+ static flags: flags.Input<any>;
7
5
  static args: {
8
6
  name: string;
9
7
  required: boolean;
@@ -1,11 +1,6 @@
1
1
  import { Command, flags } from '@oclif/command';
2
2
  export default class Login extends Command {
3
3
  static description: string;
4
- static flags: {
5
- account: flags.IOptionFlag<string | undefined>;
6
- adminkey: flags.IOptionFlag<string | undefined>;
7
- config: flags.IOptionFlag<string | undefined>;
8
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
9
- };
4
+ static flags: flags.Input<any>;
10
5
  run(): Promise<void>;
11
6
  }
@@ -1,8 +1,6 @@
1
- import { Command } from '@oclif/command';
1
+ import { Command, flags } from '@oclif/command';
2
2
  export default class Logout extends Command {
3
3
  static description: string;
4
- static flags: {
5
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
6
- };
4
+ static flags: flags.Input<any>;
7
5
  run(): Promise<void>;
8
6
  }
@@ -1,18 +1,7 @@
1
1
  import { Command, flags } from '@oclif/command';
2
2
  export default class Start extends Command {
3
3
  static description: string;
4
- static flags: {
5
- dir: flags.IOptionFlag<string | undefined>;
6
- endpoint: flags.IOptionFlag<string | undefined>;
7
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
8
- 'no-console': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
- 'no-dashboard': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
- 'no-init': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
11
- 'no-server': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
12
- 'no-validate': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
13
- 'no-watcher': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
14
- port: import("@oclif/parser/lib/flags").IOptionFlag<number>;
15
- };
4
+ static flags: flags.Input<any>;
16
5
  static args: never[];
17
6
  run(): Promise<void>;
18
7
  }
@@ -45,9 +45,11 @@ class Start extends command_1.Command {
45
45
  }
46
46
  // This is the file watcher
47
47
  if (!flags['no-watcher']) {
48
- chokidar.watch(workspace.schema, {
48
+ chokidar
49
+ .watch(workspace.schema, {
49
50
  ignored: '**/*.js',
50
- }).on('change', throttle_debounce_1.debounce(500, async (path) => {
51
+ })
52
+ .on('change', throttle_debounce_1.debounce(500, async (path) => {
51
53
  await utils_1.checkAuth();
52
54
  start_1.console(workspace, flags);
53
55
  start_1.deploy(path, workspace, flags);
@@ -100,6 +102,6 @@ Start.flags = {
100
102
  'no-server': command_1.flags.boolean({ hidden: true }),
101
103
  'no-validate': command_1.flags.boolean({ hidden: true }),
102
104
  'no-watcher': command_1.flags.boolean({ hidden: true }),
103
- port: command_1.flags.integer({ default: 5000, env: 'PORT' }),
105
+ port: command_1.flags.integer({ default: 5001, env: 'PORT' }),
104
106
  };
105
107
  Start.args = [];
@@ -2,15 +2,7 @@ import { Command, flags } from '@oclif/command';
2
2
  export default class Transpile extends Command {
3
3
  static description: string;
4
4
  static hidden: boolean;
5
- static flags: {
6
- config: flags.IOptionFlag<string | undefined>;
7
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
8
- 'hide-output': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
- inspect: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
10
- 'inspect-after': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
11
- 'output-configuration': import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
12
- silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
13
- };
5
+ static flags: flags.Input<any>;
14
6
  static args: {
15
7
  name: string;
16
8
  required: boolean;
@@ -1,12 +1,7 @@
1
1
  import { Command, flags } from '@oclif/command';
2
2
  export default class Upload extends Command {
3
3
  static description: string;
4
- static flags: {
5
- dir: flags.IOptionFlag<string | undefined>;
6
- file: flags.IOptionFlag<string | undefined>;
7
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
8
- silent: import("@oclif/parser/lib/flags").IBooleanFlag<boolean>;
9
- };
4
+ static flags: flags.Input<any>;
10
5
  static args: ({
11
6
  name: string;
12
7
  required: boolean;
@@ -1,10 +1,8 @@
1
- import { Command } from '@oclif/command';
1
+ import { Command, flags } from '@oclif/command';
2
2
  export default class Validate extends Command {
3
3
  static description: string;
4
4
  static hidden: boolean;
5
- static flags: {
6
- help: import("@oclif/parser/lib/flags").IBooleanFlag<void>;
7
- };
5
+ static flags: flags.Input<any>;
8
6
  static args: {
9
7
  name: string;
10
8
  required: boolean;
@@ -1 +1 @@
1
- {"version":"0.9.33-beta.9","commands":{"deploy":{"id":"deploy","description":"deploy to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"configurationsets":{"name":"configurationsets","type":"option","description":"Configurationsets to use","default":""},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"schema":{"name":"schema","type":"option","description":"Schema to use","required":true},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"destination","description":"destination","required":true}]},"import":{"id":"import","description":"import schemas from stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"working directory"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"silent":{"name":"silent","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"schemas","required":true}]},"init":{"id":"init","description":"stepzen init","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"endpoint":{"name":"endpoint","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"yes":{"name":"yes","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"directory","hidden":true}]},"lint":{"id":"lint","description":"stepzen lint","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"dir":{"name":"dir","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"list":{"id":"list","description":"list your items","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"type","description":"type","required":true,"options":["configurationsets","schemas"]}]},"login":{"id":"login","description":"log in to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"account":{"name":"account","type":"option","char":"a","hidden":true},"adminkey":{"name":"adminkey","type":"option","char":"k","hidden":true},"config":{"name":"config","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"logout":{"id":"logout","description":"log out of stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"start":{"id":"start","description":"start stepzen dashboard","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"working directory"},"endpoint":{"name":"endpoint","type":"option","description":"Override workspace endpoint"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"no-console":{"name":"no-console","type":"boolean","hidden":true,"allowNo":false},"no-dashboard":{"name":"no-dashboard","type":"boolean","hidden":true,"allowNo":false},"no-init":{"name":"no-init","type":"boolean","hidden":true,"allowNo":false},"no-server":{"name":"no-server","type":"boolean","hidden":true,"allowNo":false},"no-validate":{"name":"no-validate","type":"boolean","hidden":true,"allowNo":false},"no-watcher":{"name":"no-watcher","type":"boolean","hidden":true,"allowNo":false},"port":{"name":"port","type":"option","default":5000}},"args":[]},"transpile":{"id":"transpile","description":"transpile a graphql schema","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"config":{"name":"config","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"hide-output":{"name":"hide-output","type":"boolean","hidden":true,"allowNo":false},"inspect":{"name":"inspect","type":"boolean","char":"i","hidden":true,"allowNo":false},"inspect-after":{"name":"inspect-after","type":"boolean","hidden":true,"allowNo":false},"output-configuration":{"name":"output-configuration","type":"boolean","allowNo":false},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"folder","required":true}]},"upload":{"id":"upload","description":"upload to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"A directory to upload"},"file":{"name":"file","type":"option","description":"A file to upload"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"type","description":"type","required":true,"options":["configurationset","schema"]},{"name":"destination","description":"destination","required":true}]},"validate":{"id":"validate","description":"validate a graphql schema","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"folder","required":true}]}}}
1
+ {"version":"0.9.35-beta.0","commands":{"deploy":{"id":"deploy","description":"deploy to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"configurationsets":{"name":"configurationsets","type":"option","description":"Configurationsets to use","default":""},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"schema":{"name":"schema","type":"option","description":"Schema to use","required":true},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"destination","description":"destination","required":true}]},"import":{"id":"import","description":"import schemas from stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"working directory"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"silent":{"name":"silent","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"schemas","required":true}]},"init":{"id":"init","description":"stepzen init","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"endpoint":{"name":"endpoint","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"yes":{"name":"yes","type":"boolean","hidden":true,"allowNo":false}},"args":[{"name":"directory","hidden":true}]},"lint":{"id":"lint","description":"stepzen lint","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"dir":{"name":"dir","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"list":{"id":"list","description":"list your items","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"type","description":"type","required":true,"options":["configurationsets","schemas"]}]},"login":{"id":"login","description":"log in to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"account":{"name":"account","type":"option","char":"a","hidden":true},"adminkey":{"name":"adminkey","type":"option","char":"k","hidden":true},"config":{"name":"config","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"logout":{"id":"logout","description":"log out of stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[]},"start":{"id":"start","description":"start stepzen dashboard","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"working directory"},"endpoint":{"name":"endpoint","type":"option","description":"Override workspace endpoint"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"no-console":{"name":"no-console","type":"boolean","hidden":true,"allowNo":false},"no-dashboard":{"name":"no-dashboard","type":"boolean","hidden":true,"allowNo":false},"no-init":{"name":"no-init","type":"boolean","hidden":true,"allowNo":false},"no-server":{"name":"no-server","type":"boolean","hidden":true,"allowNo":false},"no-validate":{"name":"no-validate","type":"boolean","hidden":true,"allowNo":false},"no-watcher":{"name":"no-watcher","type":"boolean","hidden":true,"allowNo":false},"port":{"name":"port","type":"option","default":5001}},"args":[]},"transpile":{"id":"transpile","description":"transpile a graphql schema","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"config":{"name":"config","type":"option","hidden":true},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"hide-output":{"name":"hide-output","type":"boolean","hidden":true,"allowNo":false},"inspect":{"name":"inspect","type":"boolean","char":"i","hidden":true,"allowNo":false},"inspect-after":{"name":"inspect-after","type":"boolean","hidden":true,"allowNo":false},"output-configuration":{"name":"output-configuration","type":"boolean","allowNo":false},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"folder","required":true}]},"upload":{"id":"upload","description":"upload to stepzen","pluginName":"stepzen","pluginType":"core","aliases":[],"flags":{"dir":{"name":"dir","type":"option","description":"A directory to upload"},"file":{"name":"file","type":"option","description":"A file to upload"},"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false},"silent":{"name":"silent","type":"boolean","allowNo":false}},"args":[{"name":"type","description":"type","required":true,"options":["configurationset","schema"]},{"name":"destination","description":"destination","required":true}]},"validate":{"id":"validate","description":"validate a graphql schema","pluginName":"stepzen","pluginType":"core","hidden":true,"aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"show CLI help","allowNo":false}},"args":[{"name":"folder","required":true}]}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "stepzen",
3
3
  "description": "The StepZen CLI",
4
- "version": "0.9.33-beta.9",
4
+ "version": "0.9.35-beta.0",
5
5
  "license": "MIT",
6
6
  "author": "Darren Waddell <darren@stepzen.com>",
7
7
  "contributors": [
@@ -28,10 +28,10 @@
28
28
  "dependencies": {
29
29
  "@oclif/command": "^1.8.0",
30
30
  "@oclif/config": "^1.17.0",
31
- "@oclif/plugin-help": "^3.2.0",
32
- "@stepzen/dashboard": "0.1.29",
33
- "@stepzen/sdk": "0.9.39",
34
- "@stepzen/transpiler": "0.0.28",
31
+ "@oclif/plugin-help": "^3.2.4",
32
+ "@stepzen/dashboard": "0.1.31",
33
+ "@stepzen/sdk": "0.9.41",
34
+ "@stepzen/transpiler": "0.0.33",
35
35
  "@types/archiver": "^3.1.1",
36
36
  "@types/debug": "^4.1.6",
37
37
  "@types/node-fetch": "^2.5.7",