b-gsdk 0.1.8 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.js +1 -1
- package/package.json +3 -2
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
@@ -15,7 +15,7 @@ async function main(args) {
|
|
15
15
|
throw new Error("Make sure you have a b-gsdk directory in the root of your project.");
|
16
16
|
}
|
17
17
|
const config = (0, get_b_gsdk_config_1.getBGsdkConfig)(bgsdkDirectoryPath);
|
18
|
-
const [
|
18
|
+
const [sdkCodegen, schemaCodegen] = await (0, cli_1.generate)({
|
19
19
|
schema: {
|
20
20
|
[config.endpoint]: {
|
21
21
|
headers: config.headers,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "b-gsdk",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.2.0",
|
4
4
|
"description": "A GraphQL Codegen that outputs a TypeScript SDK.",
|
5
5
|
"author": "Julian Benegas",
|
6
6
|
"license": "MIT",
|
@@ -11,7 +11,8 @@
|
|
11
11
|
"types": "src/index.d.ts",
|
12
12
|
"scripts": {
|
13
13
|
"build": "tsc",
|
14
|
-
"prepublish": "yarn build"
|
14
|
+
"prepublish": "yarn build",
|
15
|
+
"publish": "npm publish"
|
15
16
|
},
|
16
17
|
"dependencies": {
|
17
18
|
"@graphql-codegen/cli": "^2.6.2",
|
package/src/index.ts
CHANGED