Skip to content

Commit 71bd568

Browse files
committed
[examples] More package cleanup and type-fixing
1 parent d3a7230 commit 71bd568

File tree

5 files changed

+4
-29
lines changed

5 files changed

+4
-29
lines changed

example-hooks/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
"express": "^4.15.2",
1717
"express-graphql": "^0.7.1",
1818
"graphql": "^15.3.0",
19-
"graphql-compiler": "^1.7.0",
2019
"graphql-relay": "^0.6.0",
2120
"prop-types": "^15.6.2",
2221
"react": "0.0.0-experimental-f42431abe",

example-hooks/yarn.lock

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,7 +2129,7 @@ capture-stack-trace@^1.0.0:
21292129
resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.1.tgz#a6c0bbe1f38f3aa0b92238ecb6ff42c344d4135d"
21302130
integrity sha512-mYQLZnx5Qt1JgB1WEiMCf2647plpGeQ2NMR/5L0HNZzGQo4fuSPnK+wjfPnKZV0aiJDgzmWqqkV/g7JD+DW0qw==
21312131

2132-
chalk@^1.1.1, chalk@^1.1.3:
2132+
chalk@^1.1.3:
21332133
version "1.1.3"
21342134
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
21352135
integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=
@@ -3452,15 +3452,6 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.4
34523452
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
34533453
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
34543454

3455-
graphql-compiler@^1.7.0:
3456-
version "1.7.0"
3457-
resolved "https://registry.yarnpkg.com/graphql-compiler/-/graphql-compiler-1.7.0.tgz#19942b47325cd41f6f4f79e67ef0d75c379b6ba1"
3458-
integrity sha512-jC4PBo1ikFRiA2CLclNxMMFJTwhxPam1HxzIxJgWWHm26AXw0ZsN41a2t6vGfw7NxXCfnef4JCIHWFMgIm8iOQ==
3459-
dependencies:
3460-
chalk "^1.1.1"
3461-
fb-watchman "^2.0.0"
3462-
immutable "~3.7.6"
3463-
34643455
graphql-relay@^0.6.0:
34653456
version "0.6.0"
34663457
resolved "https://registry.yarnpkg.com/graphql-relay/-/graphql-relay-0.6.0.tgz#18ec36b772cfcb3dbb9bd369c3f8004cf42c7b93"

example/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"express": "^4.15.2",
2626
"express-graphql": "^0.7.1",
2727
"graphql": "^15.3.0",
28-
"graphql-compiler": "^1.7.0",
2928
"graphql-relay": "^0.6.0",
3029
"prop-types": "^15.6.2",
3130
"react": "^16.10.2",

example/ts/components/TodoListFooter.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class TodoListFooter extends React.Component<Props> {
4444
{numRemainingTodos === 1 ? "" : "s"} left
4545
</span>
4646
<label>
47-
<input type="checkbox" value={this.props.append} onChange={this.props.onSetAppend}/>
47+
<input type="checkbox" checked={this.props.append} onChange={this.props.onSetAppend}/>
4848
Append
4949
</label>
5050
{numCompletedTodos > 0 && (

example/yarn.lock

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -512,12 +512,7 @@
512512
"@types/prop-types" "*"
513513
csstype "^2.2.0"
514514

515-
"@types/relay-runtime@*":
516-
version "6.0.9"
517-
resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-6.0.9.tgz#261b1575e5a256fd9474a6cc078981c08597b03c"
518-
integrity sha512-VyfieDPYEwq86PDgqWwHMluWtD+hUp8qsdcRn0ef39hfVRXE7VK9QHB/2mTyW/OkBqO7ZnUA7hejPDEdhkoSDA==
519-
520-
"@types/relay-runtime@^10.0.1":
515+
"@types/relay-runtime@*", "@types/relay-runtime@^10.0.1":
521516
version "10.0.1"
522517
resolved "https://registry.yarnpkg.com/@types/relay-runtime/-/relay-runtime-10.0.1.tgz#0fca4e922e77a29772d325f0eb21fc461cfd7f1f"
523518
integrity sha512-7JTrA3QR3rSgLVkMjFjmkUkGHKAiNZCXOX46okT+20kiuxfg6Fz/q90ukVAYTXLfbFHXWQQRZZ69HOdiR5IFGQ==
@@ -2080,7 +2075,7 @@ camelcase@^5.0.0:
20802075
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
20812076
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
20822077

2083-
chalk@^1.1.1, chalk@^1.1.3:
2078+
chalk@^1.1.3:
20842079
version "1.1.3"
20852080
resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98"
20862081
integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=
@@ -3270,15 +3265,6 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.4
32703265
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.3.tgz#4a12ff1b60376ef09862c2093edd908328be8423"
32713266
integrity sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==
32723267

3273-
graphql-compiler@^1.7.0:
3274-
version "1.7.0"
3275-
resolved "https://registry.yarnpkg.com/graphql-compiler/-/graphql-compiler-1.7.0.tgz#19942b47325cd41f6f4f79e67ef0d75c379b6ba1"
3276-
integrity sha512-jC4PBo1ikFRiA2CLclNxMMFJTwhxPam1HxzIxJgWWHm26AXw0ZsN41a2t6vGfw7NxXCfnef4JCIHWFMgIm8iOQ==
3277-
dependencies:
3278-
chalk "^1.1.1"
3279-
fb-watchman "^2.0.0"
3280-
immutable "~3.7.6"
3281-
32823268
graphql-relay@^0.6.0:
32833269
version "0.6.0"
32843270
resolved "https://registry.yarnpkg.com/graphql-relay/-/graphql-relay-0.6.0.tgz#18ec36b772cfcb3dbb9bd369c3f8004cf42c7b93"

0 commit comments

Comments
 (0)