stepzen 0.30.0-beta.1 → 0.30.0-beta.2
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 +1 -1
- package/lib/commands/service.js +4 -4
- package/lib/shared/constants.js +1 -1
- package/oclif.manifest.json +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
package/lib/commands/service.js
CHANGED
|
@@ -601,7 +601,7 @@ class Service extends zen_command_1.default {
|
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
603
|
async getStepZenHealthCheck(port) {
|
|
604
|
-
const url = `http://
|
|
604
|
+
const url = `http://127.0.0.1:${port}/healthz`;
|
|
605
605
|
try {
|
|
606
606
|
debug('stepzen:service')(chalk `fetching {cyan ${url}}`);
|
|
607
607
|
const response = await (0, fetch_1.default)(url);
|
|
@@ -663,9 +663,9 @@ class Service extends zen_command_1.default {
|
|
|
663
663
|
apikey: credentials.apiKeys[0],
|
|
664
664
|
serviceInstance: {
|
|
665
665
|
deploymentType: credentials.deploymentType,
|
|
666
|
-
zenctl2: `http://
|
|
667
|
-
introspection: `http://
|
|
668
|
-
dbintrospection: `http://
|
|
666
|
+
zenctl2: `http://127.0.0.1:${port}/api/zenctl/__graphql`,
|
|
667
|
+
introspection: `http://127.0.0.1:${port}/introspection/api/graphql`,
|
|
668
|
+
dbintrospection: `http://127.0.0.1:${port}/dbintrospection/graphql`,
|
|
669
669
|
},
|
|
670
670
|
}, constants_1.STEPZEN_LOCAL_CONFIG_FILE);
|
|
671
671
|
}
|
package/lib/shared/constants.js
CHANGED
|
@@ -120,7 +120,7 @@ const getZenServUrlTemplate = (config) => {
|
|
|
120
120
|
localZenServ = `${parsedUrl.protocol}//${parsedUrl.hostname}:${parsedUrl.port}`;
|
|
121
121
|
}
|
|
122
122
|
else {
|
|
123
|
-
localZenServ = 'http://
|
|
123
|
+
localZenServ = 'http://127.0.0.1:9000';
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
const urlTemplate = process.env.STEPZEN_SERVER_URL || localZenServ || exports.DEFAULT_STEPZEN_SERVER_URL;
|
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stepzen",
|
|
3
3
|
"description": "The StepZen CLI",
|
|
4
|
-
"version": "0.30.0-beta.
|
|
4
|
+
"version": "0.30.0-beta.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Darren Waddell <darren@stepzen.com>",
|
|
7
7
|
"contributors": [
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"@oclif/plugin-help": "5.2.4",
|
|
31
31
|
"@oclif/plugin-version": "1.2.1",
|
|
32
32
|
"@soluble/dsn-parser": "^1.6.0",
|
|
33
|
-
"@stepzen/fetch": "0.30.0-beta.
|
|
34
|
-
"@stepzen/graphiql-proxy": "0.30.0-beta.
|
|
35
|
-
"@stepzen/sdk": "0.30.0-beta.
|
|
36
|
-
"@stepzen/transpiler": "0.30.0-beta.
|
|
33
|
+
"@stepzen/fetch": "0.30.0-beta.2",
|
|
34
|
+
"@stepzen/graphiql-proxy": "0.30.0-beta.2",
|
|
35
|
+
"@stepzen/sdk": "0.30.0-beta.2",
|
|
36
|
+
"@stepzen/transpiler": "0.30.0-beta.2",
|
|
37
37
|
"chalk": "^4.1.2",
|
|
38
38
|
"chokidar": "^3.5.3",
|
|
39
39
|
"compare-versions": "^5.0.3",
|
|
@@ -127,13 +127,13 @@
|
|
|
127
127
|
"postpack": "rm -f oclif.manifest.json",
|
|
128
128
|
"posttest": "eslint . --ignore-path .prettierignore",
|
|
129
129
|
"prepack": "oclif manifest && oclif readme",
|
|
130
|
-
"test": "npm run build && cross-env STEPZEN_INTERACTIVE=true STEPZEN_SERVER_URL=http://
|
|
130
|
+
"test": "npm run build && cross-env STEPZEN_INTERACTIVE=true STEPZEN_SERVER_URL=http://127.0.0.1 nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
|
|
131
131
|
"test:single:example": "npm run test:single -- test/src/shared/curl-parser.test.ts",
|
|
132
|
-
"test:single": "npm run build && cross-env STEPZEN_INTERACTIVE=true STEPZEN_SERVER_URL=http://
|
|
132
|
+
"test:single": "npm run build && cross-env STEPZEN_INTERACTIVE=true STEPZEN_SERVER_URL=http://127.0.0.1 mocha test/_global.test.ts",
|
|
133
133
|
"clean": "rm -rf lib tsconfig.tsbuildinfo",
|
|
134
134
|
"build": "../../node_modules/.bin/tsc -b",
|
|
135
135
|
"version": "oclif readme && git add README.md"
|
|
136
136
|
},
|
|
137
137
|
"types": "lib/index.d.ts",
|
|
138
|
-
"gitHead": "
|
|
138
|
+
"gitHead": "bf50fc232164be1e06a707b36625be0d6a502b30"
|
|
139
139
|
}
|