Skip to content

Commit 5d2792c

Browse files
committed
Bump typescript-apollo-angular versions
1 parent 65655bc commit 5d2792c

3 files changed

Lines changed: 3 additions & 21 deletions

File tree

packages/plugins/typescript/apollo-angular/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
4141
},
4242
"dependencies": {
43-
"@graphql-codegen/plugin-helpers": "^3.0.0",
44-
"@graphql-codegen/visitor-plugin-common": "^2.13.8",
43+
"@graphql-codegen/plugin-helpers": "^6.0.0",
44+
"@graphql-codegen/visitor-plugin-common": "^6.0.0",
4545
"auto-bind": "~4.0.0",
4646
"change-case-all": "1.0.15",
4747
"tslib": "^2.8.1"

packages/plugins/typescript/apollo-angular/tests/apollo-angular.spec.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -40,24 +40,6 @@ describe('Apollo Angular', () => {
4040
};
4141

4242
describe('Imports', () => {
43-
it('should import DocumentNode when using noGraphQLTag', async () => {
44-
const docs = [{ location: '', document: basicDoc }];
45-
const content = (await plugin(
46-
schema,
47-
docs,
48-
{
49-
noGraphQLTag: true,
50-
},
51-
{
52-
outputFile: 'graphql.tsx',
53-
},
54-
)) as Types.ComplexPluginOutput;
55-
56-
expect(content.prepend).toContain(`import { DocumentNode } from 'graphql';`);
57-
expect(content.prepend).not.toContain(`import gql from 'graphql-tag';`);
58-
await validateTypeScript(content, schema, docs, {});
59-
});
60-
6143
it(`should use gql import from gqlImport config option`, async () => {
6244
const docs = [{ location: '', document: basicDoc }];
6345
const content = (await plugin(

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1602,7 +1602,7 @@
16021602
auto-bind "~4.0.0"
16031603
tslib "~2.6.0"
16041604

1605-
"@graphql-codegen/[email protected]", "@graphql-codegen/visitor-plugin-common@^2.12.1", "@graphql-codegen/visitor-plugin-common@^2.13.8":
1605+
"@graphql-codegen/[email protected]", "@graphql-codegen/visitor-plugin-common@^2.12.1":
16061606
version "2.13.8"
16071607
resolved "https://registry.yarnpkg.com/@graphql-codegen/visitor-plugin-common/-/visitor-plugin-common-2.13.8.tgz#09bc6317b227e5a278f394f4cef0d6c2d1910597"
16081608
integrity sha512-IQWu99YV4wt8hGxIbBQPtqRuaWZhkQRG2IZKbMoSvh0vGeWb3dB0n0hSgKaOOxDY+tljtOf9MTcUYvJslQucMQ==

0 commit comments

Comments
 (0)