diff --git a/packages/apollo/.release-it.json b/packages/apollo/.release-it.json index b56c5c3..ca3ecd2 100644 --- a/packages/apollo/.release-it.json +++ b/packages/apollo/.release-it.json @@ -55,14 +55,15 @@ }, "npm": { "publishPath": "dist/packages/apollo", - "publish": true + "publish": false }, "github": { "release": true, "releaseName": "apollo ${version}" }, "hooks": { - "after:bump": "git checkout -- package.json" + "after:bump": "git checkout -- package.json", + "before:github:release": "npm publish dist/packages/apollo" }, "ci": true } diff --git a/packages/core/.release-it.json b/packages/core/.release-it.json index 8ded0fb..b42517d 100644 --- a/packages/core/.release-it.json +++ b/packages/core/.release-it.json @@ -55,14 +55,15 @@ }, "npm": { "publishPath": "dist/packages/core", - "publish": true + "publish": false }, "github": { "release": true, "releaseName": "core ${version}" }, "hooks": { - "after:bump": "git checkout -- package.json" + "after:bump": "git checkout -- package.json", + "before:github:release": "npm publish dist/packages/core" }, "ci": true } diff --git a/packages/core/src/lib/decorators.spec.ts b/packages/core/src/lib/decorators.spec.ts index 293d0a6..e87c640 100644 --- a/packages/core/src/lib/decorators.spec.ts +++ b/packages/core/src/lib/decorators.spec.ts @@ -359,7 +359,6 @@ describe('resolveField', () => { class PostResolver { @graphql.resolveField() async author(post: Parent): Promise { - console.log(post); return cast({}); } } diff --git a/packages/core/src/lib/decorators.ts b/packages/core/src/lib/decorators.ts index 4fc8e20..db2ac74 100644 --- a/packages/core/src/lib/decorators.ts +++ b/packages/core/src/lib/decorators.ts @@ -213,7 +213,6 @@ class GraphQLPropertyDecorator { // eslint-disable-next-line functional/prefer-readonly-type middleware(...middleware: InternalMiddleware[]) { this.t.middleware = new Set(middleware); - console.log(this); } } diff --git a/packages/core/src/lib/types-builder.spec.ts b/packages/core/src/lib/types-builder.spec.ts index 6789860..bac807e 100644 --- a/packages/core/src/lib/types-builder.spec.ts +++ b/packages/core/src/lib/types-builder.spec.ts @@ -508,7 +508,7 @@ describe('TypesBuilder', () => { }*/, ); - test('extends', () => { + test.todo('extends'/*, () => { interface Produce { readonly type: string; readonly test: string; @@ -521,7 +521,5 @@ describe('TypesBuilder', () => { interface Vegetable extends Produce { readonly type: 'vegetable'; } - - console.log(typeOf()); - }); + }*/); }); diff --git a/packages/core/src/lib/types-builder.ts b/packages/core/src/lib/types-builder.ts index 917b378..8ccf09d 100644 --- a/packages/core/src/lib/types-builder.ts +++ b/packages/core/src/lib/types-builder.ts @@ -165,7 +165,6 @@ export class TypesBuilder { return String; default: - console.log(type); throw new Error(`Kind ${type.kind} is not supported`); } }