stepzen 0.9.33-beta.1 → 0.9.33-beta.10

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.1 darwin-x64 node-v14.17.1
32
+ stepzen/0.9.33-beta.10 darwin-x64 node-v14.17.1
33
33
  $ stepzen --help [COMMAND]
34
34
  USAGE
35
35
  $ stepzen COMMAND
@@ -5,6 +5,7 @@ const command_1 = require("@oclif/command");
5
5
  const fs = require("fs");
6
6
  const glob = require("glob");
7
7
  const inquirer = require("inquirer");
8
+ const path = require("path");
8
9
  const utils_1 = require("../shared/utils");
9
10
  const moniker_1 = require("../shared/moniker");
10
11
  const workspace_1 = require("../shared/workspace");
@@ -61,11 +62,12 @@ class Init extends command_1.Command {
61
62
  if (hasRoot && answers['use-root'])
62
63
  workspace.root = root;
63
64
  // Write the file
64
- fs.writeFileSync(`${directory}/stepzen.config.json`, JSON.stringify(workspace, null, ' '));
65
+ const file = path.join(directory, 'stepzen.config.json');
66
+ fs.writeFileSync(file, JSON.stringify(workspace, null, ' '));
65
67
  // Fetch the newly created workspace
66
68
  const created = workspace_1.getWorkspace(directory);
67
69
  // Done!
68
- this.log(`Created ${created.directory}/stepzen.config.json`);
70
+ this.log(`Created ${path.join(created.directory, 'stepzen.config.json')}`);
69
71
  return created;
70
72
  }
71
73
  }
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  const chalk = require("chalk");
5
5
  const command_1 = require("@oclif/command");
6
6
  const fs = require("fs-extra");
7
+ const path = require("path");
7
8
  const utils_1 = require("../shared/utils");
8
9
  const { configure, stitch, validate } = require('@stepzen/transpiler');
9
10
  class Transpile extends command_1.Command {
@@ -25,7 +26,8 @@ class Transpile extends command_1.Command {
25
26
  validate(schema, {
26
27
  extensions: await utils_1.getStepZenExtensions(),
27
28
  });
28
- const stitched = fs.readFileSync(`${schema}/index.graphql`, 'utf8');
29
+ const file = path.join(schema, 'index.graphql');
30
+ const stitched = fs.readFileSync(file, 'utf8');
29
31
  this.log(stitched);
30
32
  }
31
33
  catch (error) {
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.createDashboardInterface = void 0;
5
5
  const fs = require("fs-extra");
6
6
  const os = require("os");
7
+ const path = require("path");
7
8
  const deploy_1 = require("../commands/deploy");
8
9
  const constants_1 = require("../shared/constants");
9
10
  const { merge } = require('@stepzen/transpiler');
@@ -13,10 +14,12 @@ exports.createDashboardInterface = (workspace) => ({
13
14
  await deploy_1.default.run([constants_1.STEPZEN_GENERATOR_ENGINES_SCHEMA, '--schema', 'stepzen/engines', '--silent']);
14
15
  },
15
16
  onImport: async (id, files) => {
16
- const tmp = `${os.tmpdir()}/stepzen-generated-schema-${Date.now()}`;
17
+ const tmp = path.join(os.tmpdir(), `stepzen-generated-schema-${Date.now()}`);
17
18
  fs.ensureDirSync(tmp);
18
19
  for (const file of files) {
19
- fs.writeFileSync(`${tmp}/${file.name}`, file.content);
20
+ const cleaned = file.name.replace(os.tmpdir(), '');
21
+ const dir = path.join(tmp, cleaned);
22
+ fs.writeFileSync(dir, file.content);
20
23
  }
21
24
  const built = await merge(workspace.schema, {
22
25
  name: id,
@@ -7,6 +7,7 @@ const fs = require("fs-extra");
7
7
  const inquirer = require("inquirer");
8
8
  const lodash_1 = require("lodash");
9
9
  const os = require("os");
10
+ const path = require("path");
10
11
  const shell = require("shelljs");
11
12
  const configuration_1 = require("../shared/configuration");
12
13
  const constants_1 = require("../shared/constants");
@@ -35,10 +36,11 @@ exports.createGeneratorFiles = async (id, details) => {
35
36
  method: 'POST',
36
37
  });
37
38
  const { data: { create } } = await response.json();
38
- const tmp = `${os.tmpdir()}/stepzen-generated-schema-${Date.now()}`;
39
+ const tmp = path.join(os.tmpdir(), `stepzen-generated-schema-${Date.now()}`);
39
40
  fs.ensureDirSync(tmp);
40
41
  for (const file of create) {
41
- fs.writeFileSync(`${tmp}/${file.name}`, file.content);
42
+ const dir = path.join(tmp, file.name);
43
+ fs.writeFileSync(dir, file.content);
42
44
  }
43
45
  return tmp;
44
46
  };
@@ -82,7 +84,7 @@ exports.getSchemaList = (arg) => {
82
84
  return schemas;
83
85
  };
84
86
  exports.getTemplates = async () => {
85
- const tmp = `${os.tmpdir()}/stepzen-api-templates-${Date.now()}`;
87
+ const tmp = path.join(os.tmpdir(), `stepzen-api-templates-${Date.now()}`);
86
88
  fs.ensureDirSync(tmp);
87
89
  const repository = constants_1.STEPZEN_API_TEMPLATES_REPOSITORY;
88
90
  const command = `git clone ${repository} ${tmp}`;
@@ -6,6 +6,7 @@ const cli_ux_1 = require("cli-ux");
6
6
  const fs = require("fs-extra");
7
7
  const lodash = require("lodash");
8
8
  const os = require("os");
9
+ const path = require("path");
9
10
  const helpers_1 = require("./helpers");
10
11
  const { merge } = require('@stepzen/transpiler');
11
12
  exports.default = async (schemas, source) => {
@@ -47,7 +48,8 @@ exports.default = async (schemas, source) => {
47
48
  const [id, configuration] = _j.value;
48
49
  if (!configuration) {
49
50
  if (fs.existsSync(`${templates}/${id}`)) {
50
- const config = fs.readFileSync(`${templates}/${id}/stepzen.config.json`, 'utf8');
51
+ const file = path.join(templates, id, 'stepzen.config.json');
52
+ const config = fs.readFileSync(file, 'utf8');
51
53
  const json = JSON.parse(config);
52
54
  generators[id] = {
53
55
  questions: ((_e = json === null || json === void 0 ? void 0 : json.config) === null || _e === void 0 ? void 0 : _e.questions) || [],
@@ -100,7 +102,7 @@ exports.default = async (schemas, source) => {
100
102
  finally { if (e_3) throw e_3.error; }
101
103
  }
102
104
  // We now have all the answers! Generate schemas
103
- const output = `${os.tmpdir()}/stepzen-generated-schema-${Date.now()}`;
105
+ const output = path.join(os.tmpdir(), `stepzen-generated-schema-${Date.now()}`);
104
106
  fs.ensureDirSync(output);
105
107
  fs.copySync(source, output);
106
108
  console.log();
@@ -124,7 +126,7 @@ exports.default = async (schemas, source) => {
124
126
  if (generator.type === 'template') {
125
127
  const tmp = await merge(output, {
126
128
  name: id,
127
- source: `${templates}/${id}`,
129
+ source: path.join(templates, id),
128
130
  }, {
129
131
  answers,
130
132
  silent: true,
@@ -6,6 +6,7 @@ exports.writeConfigurationToLoginFile = exports.verifyConfiguration = exports.re
6
6
  const debug = require("debug");
7
7
  const node_fetch_1 = require("node-fetch");
8
8
  const fs = require("fs");
9
+ const path = require("path");
9
10
  const yaml = require("yaml");
10
11
  const constants_1 = require("./constants");
11
12
  exports.readConfiguration = () => {
@@ -17,7 +18,8 @@ exports.readConfiguration = () => {
17
18
  }
18
19
  else {
19
20
  // Read the stored configuration, if it exists.
20
- configuration = fs.readFileSync(`${constants_1.STEPZEN_CONFIG_DIRECTORY}/${constants_1.STEPZEN_CONFIG_FILE}`, 'utf8');
21
+ const file = path.join(constants_1.STEPZEN_CONFIG_DIRECTORY, constants_1.STEPZEN_CONFIG_FILE);
22
+ configuration = fs.readFileSync(file, 'utf8');
21
23
  }
22
24
  // Parse the yaml into an Object.
23
25
  const parsed = yaml.parse(configuration);
@@ -45,7 +47,8 @@ exports.importConfiguration = (filepath) => {
45
47
  exports.removeConfigurationFromLoginFile = () => {
46
48
  try {
47
49
  // Remove the configuration file
48
- fs.unlinkSync(`${constants_1.STEPZEN_CONFIG_DIRECTORY}/${constants_1.STEPZEN_CONFIG_FILE}`);
50
+ const file = path.join(constants_1.STEPZEN_CONFIG_DIRECTORY, constants_1.STEPZEN_CONFIG_FILE);
51
+ fs.unlinkSync(file);
49
52
  return true;
50
53
  }
51
54
  catch (_a) {
@@ -81,6 +84,7 @@ exports.writeConfigurationToLoginFile = (configuration) => {
81
84
  fs.mkdirSync(constants_1.STEPZEN_CONFIG_DIRECTORY);
82
85
  }
83
86
  // Write the configuration file. Overwrites if it already exists.
84
- fs.writeFileSync(`${constants_1.STEPZEN_CONFIG_DIRECTORY}/${constants_1.STEPZEN_CONFIG_FILE}`, content);
87
+ const file = path.join(constants_1.STEPZEN_CONFIG_DIRECTORY, constants_1.STEPZEN_CONFIG_FILE);
88
+ fs.writeFileSync(file, content);
85
89
  return configuration;
86
90
  };
@@ -25,13 +25,14 @@ exports.getWorkspace = (directory) => {
25
25
  } while (parts.length > 0);
26
26
  // If it's found a workspace, then parse the configuration file
27
27
  if (workspace.directory) {
28
- const file = fs.readFileSync(`${workspace.directory}/stepzen.config.json`, 'utf8');
28
+ const filepath = path.join(workspace.directory, 'stepzen.config.json');
29
+ const file = fs.readFileSync(filepath, 'utf8');
29
30
  try {
30
31
  const config = JSON.parse(file);
31
32
  workspace = Object.assign(Object.assign({}, workspace), config);
32
33
  }
33
34
  catch (_a) {
34
- throw new Error(`Cannot parse configuration from ${workspace.directory}/stepzen.config.json`);
35
+ throw new Error(`Cannot parse configuration from ${filepath}`);
35
36
  }
36
37
  }
37
38
  // Add the 'schema' property, which is the directory + the 'root'
@@ -5,13 +5,15 @@ const chalk = require("chalk");
5
5
  const cli_ux_1 = require("cli-ux");
6
6
  const fs = require("fs");
7
7
  const os = require("os");
8
+ const path = require("path");
8
9
  const utils_1 = require("../shared/utils");
9
10
  // eslint-disable-next-line max-params
10
11
  exports.default = async (workspace, flags) => {
11
12
  utils_1.clearConsole();
12
13
  const cwd = workspace.schema.replace(os.homedir(), '~');
13
- if (fs.existsSync(`${cwd}/config.yaml`)) {
14
- console.log(`Watching ${chalk.blue(`${cwd}/config.yaml`)} for configuration changes`);
14
+ const config = path.join(cwd, 'config.yaml');
15
+ if (fs.existsSync(config)) {
16
+ console.log(`Watching ${chalk.blue(config)} for configuration changes`);
15
17
  }
16
18
  console.log(`Watching ${chalk.blue(cwd)} for GraphQL changes`);
17
19
  if (!flags['no-dashboard']) {
@@ -6,6 +6,7 @@ const chalk = require("chalk");
6
6
  const cli_ux_1 = require("cli-ux");
7
7
  const date_fns_1 = require("date-fns");
8
8
  const fs = require("fs-extra");
9
+ const path = require("path");
9
10
  const deploy_1 = require("../commands/deploy");
10
11
  const configuration_1 = require("../shared/configuration");
11
12
  const constants_1 = require("../shared/constants");
@@ -14,7 +15,7 @@ const validate_1 = require("../commands/validate");
14
15
  const dotenv = require('dotenv');
15
16
  exports.default = async (file, workspace, flags) => {
16
17
  var e_1, _a;
17
- dotenv.config({ path: `${workspace.directory}/.env` });
18
+ dotenv.config({ path: path.join(workspace.directory, '.env') });
18
19
  console.log();
19
20
  if (file) {
20
21
  console.log(`File changed: ${chalk.blue(file)}`);
@@ -35,9 +36,10 @@ exports.default = async (file, workspace, flags) => {
35
36
  cli_ux_1.default.action.start('Deploying to StepZen...');
36
37
  const deployArgs = [workspace.endpoint, '--silent'];
37
38
  const uploadCmds = [];
38
- if (fs.existsSync(`${workspace.schema}/config.yaml`)) {
39
+ const configPath = path.join(workspace.schema, 'config.yaml');
40
+ if (fs.existsSync(configPath)) {
39
41
  deployArgs.push('--configurationsets', `${workspace.endpoint},stepzen/default`);
40
- uploadCmds.push(['configurationset', workspace.endpoint, '--file', `${workspace.schema}/config.yaml`, '--silent']);
42
+ uploadCmds.push(['configurationset', workspace.endpoint, '--file', configPath, '--silent']);
41
43
  }
42
44
  else {
43
45
  deployArgs.push('--configurationsets', 'stepzen/default');
@@ -1 +1 @@
1
- {"version":"0.9.33-beta.1","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.33-beta.10","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}]}}}
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.1",
4
+ "version": "0.9.33-beta.10",
5
5
  "license": "MIT",
6
6
  "author": "Darren Waddell <darren@stepzen.com>",
7
7
  "contributors": [
@@ -16,10 +16,6 @@
16
16
  "node": ">=14.0.1",
17
17
  "npm": ">=6.14"
18
18
  },
19
- "os": [
20
- "darwin",
21
- "linux"
22
- ],
23
19
  "files": [
24
20
  "/bin",
25
21
  "/lib",
@@ -33,9 +29,9 @@
33
29
  "@oclif/command": "^1.8.0",
34
30
  "@oclif/config": "^1.17.0",
35
31
  "@oclif/plugin-help": "^3.2.0",
36
- "@stepzen/dashboard": "0.1.26",
37
- "@stepzen/sdk": "0.9.38",
38
- "@stepzen/transpiler": "0.0.26",
32
+ "@stepzen/dashboard": "0.1.29",
33
+ "@stepzen/sdk": "0.9.39",
34
+ "@stepzen/transpiler": "0.0.29",
39
35
  "@types/archiver": "^3.1.1",
40
36
  "@types/debug": "^4.1.6",
41
37
  "@types/node-fetch": "^2.5.7",
@@ -54,15 +50,16 @@
54
50
  "form-data": "^3.0.0",
55
51
  "fs-extra": "^9.1.0",
56
52
  "glob": "^7.1.7",
57
- "graphql": "^15.5.1",
53
+ "graphql": "^15.7.2",
58
54
  "inquirer": "^7.3.3",
59
55
  "lodash": "^4.17.21",
60
- "node-fetch": "^2.6.1",
56
+ "node-fetch": "^2.6.6",
61
57
  "open": "^7.3.0",
62
- "prettier": "^2.3.2",
58
+ "prettier": "^2.4.1",
63
59
  "shelljs": "^0.8.4",
64
60
  "throttle-debounce": "^3.0.1",
65
61
  "tslib": "^1.14.1",
62
+ "unzipper": "^0.10.11",
66
63
  "yaml": "^1.10.0"
67
64
  },
68
65
  "devDependencies": {
@@ -86,6 +83,7 @@
86
83
  "@types/rimraf": "^3.0.0",
87
84
  "@types/shelljs": "^0.8.8",
88
85
  "@types/throttle-debounce": "^2.1.0",
86
+ "@types/unzipper": "^0.10.4",
89
87
  "chai": "^4.2.0",
90
88
  "copyfiles": "^2.4.1",
91
89
  "eslint": "7.11.0",