Skip to content

Commit ab28135

Browse files
committed
v1.2.0
1 parent adf7142 commit ab28135

5 files changed

Lines changed: 14098 additions & 10568 deletions

File tree

e2e/package.json

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,40 +1,40 @@
11
{
2-
"private": true,
3-
"name": "@example/e2e",
4-
"version": "1.0.0",
5-
"type": "module",
6-
"scripts": {
7-
"dev": "pnpm run /^dev:/",
8-
"dev:next": "next dev",
9-
"dev:api": "graphql-fake-server --schema ./api/graphql/api.graphqls",
10-
"build": "next build",
11-
"start": "next start",
12-
"lint": "next lint",
13-
"e2e": "playwright test",
14-
"e2e:ui": "playwright test --ui",
15-
"codegen": "graphql-codegen --config ./graphql-codegen.ts"
16-
},
17-
"dependencies": {
18-
"@apollo/client": "^3.10.4",
19-
"@graphql-typed-document-node/core": "^3.2.0",
20-
"graphql": "^16.8.1",
21-
"next": "15.0.0-rc.0",
22-
"react": "19.0.0-rc-935180c7e0-20240524",
23-
"react-dom": "19.0.0-rc-935180c7e0-20240524",
24-
"react-error-boundary": "^4.0.13"
25-
},
26-
"devDependencies": {
27-
"@graphql-codegen/cli": "5.0.0",
28-
"@graphql-codegen/client-preset": "^4.2.4",
29-
"@newmo/graphql-codegen-plugin-typescript-react-apollo": "workspace:*",
30-
"@newmo/graphql-codegen-plugin-type-guards": "workspace:*",
31-
"@newmo/graphql-fake-server": "^0.9.3",
32-
"@playwright/test": "^1.44.1",
33-
"@types/node": "^20",
34-
"@types/react": "npm:types-react@rc",
35-
"@types/react-dom": "npm:types-react-dom@rc",
36-
"eslint": "^8",
37-
"eslint-config-next": "14.2.1",
38-
"typescript": "^5"
39-
}
2+
"private": true,
3+
"name": "@example/e2e",
4+
"version": "1.2.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "pnpm run /^dev:/",
8+
"dev:next": "next dev",
9+
"dev:api": "graphql-fake-server --schema ./api/graphql/api.graphqls",
10+
"build": "next build",
11+
"start": "next start",
12+
"lint": "next lint",
13+
"e2e": "playwright test",
14+
"e2e:ui": "playwright test --ui",
15+
"codegen": "graphql-codegen --config ./graphql-codegen.ts"
16+
},
17+
"dependencies": {
18+
"@apollo/client": "^3.10.4",
19+
"@graphql-typed-document-node/core": "^3.2.0",
20+
"graphql": "^16.8.1",
21+
"next": "15.0.0-rc.0",
22+
"react": "19.0.0-rc-935180c7e0-20240524",
23+
"react-dom": "19.0.0-rc-935180c7e0-20240524",
24+
"react-error-boundary": "^4.0.13"
25+
},
26+
"devDependencies": {
27+
"@graphql-codegen/cli": "5.0.0",
28+
"@graphql-codegen/client-preset": "^4.2.4",
29+
"@newmo/graphql-codegen-plugin-type-guards": "workspace:*",
30+
"@newmo/graphql-codegen-plugin-typescript-react-apollo": "workspace:*",
31+
"@newmo/graphql-fake-server": "^0.9.3",
32+
"@playwright/test": "^1.44.1",
33+
"@types/node": "^20",
34+
"@types/react": "npm:types-react@rc",
35+
"@types/react-dom": "npm:types-react-dom@rc",
36+
"eslint": "^8",
37+
"eslint-config-next": "14.2.1",
38+
"typescript": "^5"
39+
}
4040
}

lerna.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"version": "1.1.0",
4-
"npmClient": "pnpm"
2+
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3+
"version": "1.2.0",
4+
"npmClient": "pnpm"
55
}
Lines changed: 49 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,51 +1,51 @@
11
{
2-
"name": "@newmo/graphql-codegen-plugin-type-guards",
3-
"version": "1.1.0",
4-
"description": "GraphQL Codegen Plugin to create type guards function for TypeScript",
5-
"keywords": [
6-
"graphql",
7-
"plugin",
8-
"typescript"
9-
],
10-
"homepage": "https://github.com/newmo-oss/graphql-codegen-plugins",
11-
"bugs": {
12-
"url": "https://github.com/newmo-oss/graphql-codegen-plugins/issues"
13-
},
14-
"repository": {
15-
"type": "git",
16-
"url": "https://github.com/newmo-oss/graphql-codegen-plugins.git"
17-
},
18-
"license": "MIT",
19-
"author": "newmo, Inc.",
20-
"type": "commonjs",
21-
"main": "lib/graphql-codegen-plugin-type-guards.js",
22-
"files": [
23-
"lib/"
24-
],
25-
"workspaces": [
26-
"./test"
27-
],
28-
"scripts": {
29-
"build": "tsc",
30-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
31-
"codegen": "graphql-codegen --config ./test/graphql-codegen.ts",
32-
"updateSnapshot": "npm run build && npm run codegen",
33-
"test": "npm run updateSnapshot && cd test && npm run build"
34-
},
35-
"peerDependencies": {
36-
"graphql": "^15.0.0 || ^16.0.0"
37-
},
38-
"dependencies": {
39-
"@graphql-codegen/plugin-helpers": "^5.0.4"
40-
},
41-
"devDependencies": {
42-
"graphql": "^16.8.1",
43-
"@graphql-codegen/cli": "5.0.0",
44-
"@graphql-codegen/client-preset": "^4.2.4",
45-
"@types/node": "^20.11.29",
46-
"typescript": "^5.4.5"
47-
},
48-
"publishConfig": {
49-
"access": "public"
50-
}
2+
"name": "@newmo/graphql-codegen-plugin-type-guards",
3+
"version": "1.2.0",
4+
"description": "GraphQL Codegen Plugin to create type guards function for TypeScript",
5+
"keywords": [
6+
"graphql",
7+
"plugin",
8+
"typescript"
9+
],
10+
"homepage": "https://github.com/newmo-oss/graphql-codegen-plugins",
11+
"bugs": {
12+
"url": "https://github.com/newmo-oss/graphql-codegen-plugins/issues"
13+
},
14+
"repository": {
15+
"type": "git",
16+
"url": "https://github.com/newmo-oss/graphql-codegen-plugins.git"
17+
},
18+
"license": "MIT",
19+
"author": "newmo, Inc.",
20+
"type": "commonjs",
21+
"main": "lib/graphql-codegen-plugin-type-guards.js",
22+
"files": [
23+
"lib/"
24+
],
25+
"workspaces": [
26+
"./test"
27+
],
28+
"scripts": {
29+
"build": "tsc",
30+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
31+
"codegen": "graphql-codegen --config ./test/graphql-codegen.ts",
32+
"updateSnapshot": "npm run build && npm run codegen",
33+
"test": "npm run updateSnapshot && cd test && npm run build"
34+
},
35+
"peerDependencies": {
36+
"graphql": "^15.0.0 || ^16.0.0"
37+
},
38+
"dependencies": {
39+
"@graphql-codegen/plugin-helpers": "^5.0.4"
40+
},
41+
"devDependencies": {
42+
"@graphql-codegen/cli": "5.0.0",
43+
"@graphql-codegen/client-preset": "^4.2.4",
44+
"@types/node": "^20.11.29",
45+
"graphql": "^16.8.1",
46+
"typescript": "^5.4.5"
47+
},
48+
"publishConfig": {
49+
"access": "public"
50+
}
5151
}
Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,49 @@
11
{
2-
"name": "@newmo/graphql-codegen-plugin-typescript-react-apollo",
3-
"version": "1.1.0",
4-
"description": "GraphQL Codegen Plugin to create React Hooks for client preset",
5-
"keywords": [
6-
"graphql",
7-
"plugin",
8-
"react",
9-
"hook"
10-
],
11-
"homepage": "https://github.com/newmo-oss/graphql-codegen-plugins",
12-
"bugs": {
13-
"url": "https://github.com/newmo-oss/graphql-codegen-plugins/issues"
14-
},
15-
"repository": {
16-
"type": "git",
17-
"url": "https://github.com/newmo-oss/graphql-codegen-plugins.git"
18-
},
19-
"license": "MIT",
20-
"author": "newmo, Inc.",
21-
"type": "commonjs",
22-
"main": "lib/graphql-codegen-plugin-typescript-react-apollo.js",
23-
"files": [
24-
"lib/"
25-
],
26-
"workspaces": [
27-
"./test"
28-
],
29-
"scripts": {
30-
"build": "tsc",
31-
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
32-
"prepare": "git config --local core.hooksPath .githooks",
33-
"codegen": "graphql-codegen --config ./test/graphql-codegen.ts",
34-
"updateSnapshot": "npm run build && npm run codegen",
35-
"test": "npm run updateSnapshot && cd test && npm run build"
36-
},
37-
"dependencies": {
38-
"@graphql-codegen/plugin-helpers": "^5.0.4"
39-
},
40-
"devDependencies": {
41-
"@graphql-codegen/cli": "5.0.0",
42-
"@graphql-codegen/client-preset": "^4.2.4",
43-
"@types/node": "^20.11.29",
44-
"typescript": "^5.4.5"
45-
},
46-
"publishConfig": {
47-
"access": "public"
48-
}
2+
"name": "@newmo/graphql-codegen-plugin-typescript-react-apollo",
3+
"version": "1.2.0",
4+
"description": "GraphQL Codegen Plugin to create React Hooks for client preset",
5+
"keywords": [
6+
"graphql",
7+
"plugin",
8+
"react",
9+
"hook"
10+
],
11+
"homepage": "https://github.com/newmo-oss/graphql-codegen-plugins",
12+
"bugs": {
13+
"url": "https://github.com/newmo-oss/graphql-codegen-plugins/issues"
14+
},
15+
"repository": {
16+
"type": "git",
17+
"url": "https://github.com/newmo-oss/graphql-codegen-plugins.git"
18+
},
19+
"license": "MIT",
20+
"author": "newmo, Inc.",
21+
"type": "commonjs",
22+
"main": "lib/graphql-codegen-plugin-typescript-react-apollo.js",
23+
"files": [
24+
"lib/"
25+
],
26+
"workspaces": [
27+
"./test"
28+
],
29+
"scripts": {
30+
"build": "tsc",
31+
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
32+
"prepare": "git config --local core.hooksPath .githooks",
33+
"codegen": "graphql-codegen --config ./test/graphql-codegen.ts",
34+
"updateSnapshot": "npm run build && npm run codegen",
35+
"test": "npm run updateSnapshot && cd test && npm run build"
36+
},
37+
"dependencies": {
38+
"@graphql-codegen/plugin-helpers": "^5.0.4"
39+
},
40+
"devDependencies": {
41+
"@graphql-codegen/cli": "5.0.0",
42+
"@graphql-codegen/client-preset": "^4.2.4",
43+
"@types/node": "^20.11.29",
44+
"typescript": "^5.4.5"
45+
},
46+
"publishConfig": {
47+
"access": "public"
48+
}
4949
}

0 commit comments

Comments
 (0)