stepzen 0.9.35 → 0.9.36-beta.3
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/LICENSE +1 -1
- package/README.md +5 -5
- package/lib/commands/deploy.js +1 -1
- package/lib/commands/import.js +1 -1
- package/lib/commands/init.js +1 -1
- package/lib/commands/lint.js +1 -1
- package/lib/commands/list.js +1 -1
- package/lib/commands/login.js +1 -1
- package/lib/commands/logout.js +1 -1
- package/lib/commands/start.js +1 -1
- package/lib/commands/transpile.js +1 -1
- package/lib/commands/upload.js +1 -1
- package/lib/commands/validate.js +1 -1
- package/lib/generate/dashboard-interface.js +1 -1
- package/lib/generate/helpers.js +1 -1
- package/lib/generate/index.js +1 -1
- package/lib/hooks/prerun/check-account.js +1 -1
- package/lib/hooks/prerun/check-upgrade.js +1 -1
- package/lib/hooks/prerun/ensure-api-key.js +1 -1
- package/lib/index.js +1 -1
- package/lib/shared/actions.js +1 -1
- package/lib/shared/configuration.js +1 -1
- package/lib/shared/constants.js +1 -1
- package/lib/shared/moniker.js +1 -1
- package/lib/shared/types.js +1 -1
- package/lib/shared/utils.js +1 -1
- package/lib/shared/validation.js +1 -1
- package/lib/shared/workspace.js +1 -1
- package/lib/start/console.js +1 -1
- package/lib/start/deploy.js +1 -1
- package/lib/start/index.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +9 -9
package/LICENSE
CHANGED
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.
|
|
32
|
+
stepzen/0.9.36-beta.3 darwin-x64 node-v14.18.0
|
|
33
33
|
$ stepzen --help [COMMAND]
|
|
34
34
|
USAGE
|
|
35
35
|
$ stepzen COMMAND
|
|
@@ -67,20 +67,20 @@ OPTIONS
|
|
|
67
67
|
|
|
68
68
|
## `stepzen help [COMMAND]`
|
|
69
69
|
|
|
70
|
-
|
|
70
|
+
Display help for stepzen.
|
|
71
71
|
|
|
72
72
|
```
|
|
73
73
|
USAGE
|
|
74
74
|
$ stepzen help [COMMAND]
|
|
75
75
|
|
|
76
76
|
ARGUMENTS
|
|
77
|
-
COMMAND
|
|
77
|
+
COMMAND Command to show help for.
|
|
78
78
|
|
|
79
79
|
OPTIONS
|
|
80
|
-
--
|
|
80
|
+
-n, --nested-commands Include all nested commands in the output.
|
|
81
81
|
```
|
|
82
82
|
|
|
83
|
-
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/
|
|
83
|
+
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v5.1.10/src/commands/help.ts)_
|
|
84
84
|
|
|
85
85
|
## `stepzen import SCHEMAS`
|
|
86
86
|
|
package/lib/commands/deploy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
// This file contains the code for the `stepzen deploy` command.
|
|
5
5
|
// Deployment in stepzen is an operation that takes three classes of uploaded
|
package/lib/commands/import.js
CHANGED
package/lib/commands/init.js
CHANGED
package/lib/commands/lint.js
CHANGED
package/lib/commands/list.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
// This file contains the code for the `stepzen list` command.
|
|
5
5
|
// The list command is used to retrieve the name and other metadata
|
package/lib/commands/login.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
// This file contains the code for the `stepzen login` command.
|
|
5
5
|
// Stepzen login checks that credentials presented are good and
|
package/lib/commands/logout.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
// This file contains the code for the `stepzen logout` command.
|
|
5
5
|
// The logout command removes the entry in the login file.
|
package/lib/commands/start.js
CHANGED
package/lib/commands/upload.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
// This file contains the code for the `stepzen upload` command.
|
|
5
5
|
// The upload command transfers resources on your local file system
|
package/lib/commands/validate.js
CHANGED
package/lib/generate/helpers.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.askTemplateQuestions = exports.askGeneratorQuestions = exports.getTemplates = exports.getSchemaList = exports.getConfiguration = exports.createGeneratorFiles = void 0;
|
|
5
5
|
const node_fetch_1 = require("node-fetch");
|
package/lib/generate/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
const utils_1 = require("../../shared/utils");
|
|
5
5
|
const hook = async function ({ Command: { id } }) {
|
package/lib/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
var command_1 = require("@oclif/command");
|
|
5
5
|
Object.defineProperty(exports, "run", { enumerable: true, get: function () { return command_1.run; } });
|
package/lib/shared/actions.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.upload = exports.list = exports.deploy = void 0;
|
|
5
5
|
const configuration_1 = require("./configuration");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.writeConfigurationToLoginFile = exports.verifyConfiguration = exports.removeConfigurationFromLoginFile = exports.importConfiguration = exports.readConfiguration = void 0;
|
|
5
5
|
// This file contains methods for managing configuration
|
package/lib/shared/constants.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.ADMIN_VERIFY_URL = exports.ADMIN_UPLOAD_URL = exports.ADMIN_LIST_URL = exports.ADMIN_DEPLOY_URL = exports.ADMIN_ACCOUNT_URL = exports.STEPZEN_API_TEMPLATES_REPOSITORY = exports.STEPZEN_GENERATOR_ENGINES_SCHEMA = exports.STEPZEN_SERVER_URL = exports.STEPZEN_DOMAIN = exports.STEPZEN_CONFIG_FILE = exports.STEPZEN_CONFIG_DIRECTORY = exports.STEPZEN_CONFIG_CONTENT = void 0;
|
|
5
5
|
// This file contains constants and all magic strings
|
package/lib/shared/moniker.js
CHANGED
package/lib/shared/types.js
CHANGED
package/lib/shared/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
2
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.validateEndpoint = exports.getStepZenExtensions = exports.getDirectory = exports.ensureApiKey = exports.clearConsole = exports.checkAuth = void 0;
|
|
5
5
|
const chalk = require("chalk");
|
package/lib/shared/validation.js
CHANGED
package/lib/shared/workspace.js
CHANGED
package/lib/start/console.js
CHANGED
package/lib/start/deploy.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
|
4
|
-
// Copyright (c) 2020,2021, StepZen, Inc.
|
|
4
|
+
// Copyright (c) 2020,2021,2022, StepZen, Inc.
|
|
5
5
|
const chalk = require("chalk");
|
|
6
6
|
const cli_ux_1 = require("cli-ux");
|
|
7
7
|
const date_fns_1 = require("date-fns");
|
package/lib/start/index.js
CHANGED
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"0.9.
|
|
1
|
+
{"version":"0.9.36-beta.3","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.
|
|
4
|
+
"version": "0.9.36-beta.3",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Darren Waddell <darren@stepzen.com>",
|
|
7
7
|
"contributors": [
|
|
@@ -27,22 +27,22 @@
|
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@oclif/command": "^1.8.0",
|
|
30
|
-
"@oclif/config": "^1.17.
|
|
31
|
-
"@oclif/plugin-help": "^
|
|
32
|
-
"@stepzen/dashboard": "0.1.
|
|
33
|
-
"@stepzen/sdk": "0.9.
|
|
34
|
-
"@stepzen/transpiler": "0.0.
|
|
30
|
+
"@oclif/config": "^1.17.1",
|
|
31
|
+
"@oclif/plugin-help": "^5.1.10",
|
|
32
|
+
"@stepzen/dashboard": "0.1.34",
|
|
33
|
+
"@stepzen/sdk": "0.9.42",
|
|
34
|
+
"@stepzen/transpiler": "0.0.34",
|
|
35
35
|
"@types/archiver": "^3.1.1",
|
|
36
36
|
"@types/debug": "^4.1.6",
|
|
37
37
|
"@types/node-fetch": "^2.5.7",
|
|
38
38
|
"archiver": "^5.0.2",
|
|
39
39
|
"chalk": "^4.1.1",
|
|
40
40
|
"chokidar": "^3.5.2",
|
|
41
|
-
"cli-ux": "^
|
|
41
|
+
"cli-ux": "^6.0.8",
|
|
42
42
|
"compare-versions": "^3.6.0",
|
|
43
43
|
"cors": "^2.8.5",
|
|
44
44
|
"cross-spawn": "^7.0.3",
|
|
45
|
-
"date-fns": "^2.
|
|
45
|
+
"date-fns": "^2.26.0",
|
|
46
46
|
"debug": "^4.3.0",
|
|
47
47
|
"detect-port": "^1.3.0",
|
|
48
48
|
"dotenv": "^8.6.0",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"node-fetch": "^2.6.6",
|
|
57
57
|
"open": "^7.3.0",
|
|
58
58
|
"prettier": "^2.4.1",
|
|
59
|
-
"shelljs": "^0.8.
|
|
59
|
+
"shelljs": "^0.8.5",
|
|
60
60
|
"throttle-debounce": "^3.0.1",
|
|
61
61
|
"tslib": "^1.14.1",
|
|
62
62
|
"unzipper": "^0.10.11",
|