Skip to content

Commit ac2d228

Browse files
authored
remove script (ritz078#234)
* fixes * fixes * updates * added star count
1 parent 09ec063 commit ac2d228

5 files changed

Lines changed: 281 additions & 420 deletions

File tree

.github/dependabot.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

components/Navigator.tsx

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,13 @@
1-
import React, { Fragment, useEffect } from "react";
1+
import React, { Fragment } from "react";
22
import { Heading, Pane, Text } from "evergreen-ui";
33
import { categorizedRoutes, Route } from "@utils/routes";
44
import Link from "next/link";
55
import { useRouter } from "next/router";
66
import SearchBox from "@components/Searchbox";
7-
import loadScript from "load-script";
87

98
export default function() {
109
const router = useRouter();
1110

12-
useEffect(() => {
13-
if (!IS_DEV)
14-
loadScript("https://codefund.io/properties/367/funder.js", {
15-
async: true
16-
});
17-
}, []);
18-
1911
return (
2012
<Pane
2113
width={240}
@@ -83,7 +75,6 @@ export default function() {
8375
</Pane>
8476

8577
<Pane borderTop>
86-
<div id="codefund" />
8778
<Heading size={400} paddingY={15} textAlign="center">
8879
Created by{" "}
8980
<a href="https://twitter.com/ritz078" target="_blank">

package.json

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -18,30 +18,30 @@
1818
"node": "12.x"
1919
},
2020
"dependencies": {
21-
"@babel/standalone": "^7.10.4",
22-
"@graphql-codegen/core": "^1.15.4",
23-
"@graphql-codegen/flow": "^1.17.0",
24-
"@graphql-codegen/flow-operations": "^1.15.4",
25-
"@graphql-codegen/flow-resolvers": "^1.16.0",
26-
"@graphql-codegen/fragment-matcher": "^1.16.0",
27-
"@graphql-codegen/introspection": "^1.16.3",
28-
"@graphql-codegen/java": "^1.15.4",
21+
"@babel/standalone": "^7.11.2",
22+
"@graphql-codegen/core": "^1.17.7",
23+
"@graphql-codegen/flow": "^1.17.7",
24+
"@graphql-codegen/flow-operations": "^1.17.7",
25+
"@graphql-codegen/flow-resolvers": "^1.17.7",
26+
"@graphql-codegen/fragment-matcher": "^1.17.7",
27+
"@graphql-codegen/introspection": "^1.17.7",
28+
"@graphql-codegen/java": "^1.17.7",
2929
"@graphql-codegen/java-resolvers": "^1.17.7",
30-
"@graphql-codegen/schema-ast": "^1.15.4",
31-
"@graphql-codegen/typescript": "^1.15.4",
32-
"@graphql-codegen/typescript-apollo-angular": "^1.15.4",
33-
"@graphql-codegen/typescript-mongodb": "^1.16.0",
34-
"@graphql-codegen/typescript-operations": "^1.16.3",
35-
"@graphql-codegen/typescript-react-apollo": "^1.15.4",
36-
"@graphql-codegen/typescript-resolvers": "^1.16.3",
37-
"@graphql-codegen/typescript-stencil-apollo": "^1.16.3",
38-
"@graphql-codegen/typescript-urql": "^1.17.7",
30+
"@graphql-codegen/schema-ast": "^1.17.7",
31+
"@graphql-codegen/typescript": "^1.17.7",
32+
"@graphql-codegen/typescript-apollo-angular": "^2.0.0",
33+
"@graphql-codegen/typescript-mongodb": "^1.17.7",
34+
"@graphql-codegen/typescript-operations": "^1.17.7",
35+
"@graphql-codegen/typescript-react-apollo": "^2.0.5",
36+
"@graphql-codegen/typescript-resolvers": "^1.17.7",
37+
"@graphql-codegen/typescript-stencil-apollo": "^1.17.7",
38+
"@graphql-codegen/typescript-urql": "^2.0.0",
3939
"@khanacademy/flow-to-ts": "^0.1.6",
40-
"@openapi-contrib/json-schema-to-openapi-schema": "^1.1.0",
40+
"@openapi-contrib/json-schema-to-openapi-schema": "^1.2.0",
4141
"@svgr/core": "^5.4.0",
4242
"@svgr/plugin-jsx": "^5.4.0",
4343
"@types/jsonld": "^1.5.1",
44-
"@walmartlabs/json-to-simple-graphql-schema": "^2.0.1",
44+
"@walmartlabs/json-to-simple-graphql-schema": "^2.0.3",
4545
"babel-plugin-json-to-proptypes": "^0.1.0",
4646
"babel-plugin-object-styles-to-template": "^0.2.2",
4747
"babel-standalone": "^6.26.0",
@@ -62,7 +62,6 @@
6262
"json_typegen_wasm": "^0.4.0",
6363
"jsonld": "^3.1.1",
6464
"jsonschema-protobuf": "^1.0.2",
65-
"load-script": "^1.0.0",
6665
"lodash": "^4.17.19",
6766
"markdown": "^0.5.0",
6867
"monaco-editor": "0.17.1",
@@ -82,19 +81,19 @@
8281
"stringify-object": "^3.3.0",
8382
"svg-to-dataurl": "^1.0.0",
8483
"svgo": "^1.3.2",
85-
"tempy": "^0.5.0",
84+
"tempy": "^0.6.0",
8685
"text-encoding-utf-8": "^1.0.2",
8786
"transform-json-types": "^0.7.0",
8887
"ts-json-schema-generator": "^0.70.2",
89-
"typescript": "3.9.5",
88+
"typescript": "3.9.7",
9089
"xml-js": "^1.6.11",
9190
"yaml": "^1.10.0"
9291
},
9392
"devDependencies": {
94-
"@types/lodash": "^4.14.157",
95-
"@types/node": "^14.0.23",
96-
"@types/prettier": "^1.18.0",
97-
"@types/react": "^16.9.41",
93+
"@types/lodash": "^4.14.159",
94+
"@types/node": "^14.0.27",
95+
"@types/prettier": "^2.0.2",
96+
"@types/react": "^16.9.45",
9897
"@types/svgo": "^1.3.3",
9998
"@zeit/next-css": "^1.0.1",
10099
"husky": "^4.2.5",
@@ -105,7 +104,7 @@
105104
"postinstall-postinstall": "^2.0.0",
106105
"pretty-quick": "^2.0.1",
107106
"ui-box": "2.1.0",
108-
"webpack": "^4.38.0",
107+
"webpack": "^4.44.1",
109108
"worker-loader": "^2.0.0"
110109
},
111110
"husky": {

pages/_app.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,18 @@ export default class extends App {
121121
</Pane>
122122

123123
<Pane display="flex" alignItems={"center"}>
124+
<a
125+
style={{
126+
display: "inline-block",
127+
height: 20
128+
}}
129+
href="https://github.com/ritz078/transform"
130+
>
131+
<img
132+
src="https://img.shields.io/github/stars/ritz078/transform?style=social"
133+
alt=""
134+
/>
135+
</a>
124136
<Button
125137
appearance="minimal"
126138
height={40}

0 commit comments

Comments
 (0)