Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Last cleanup before 0.1.0 publish.
Browse files Browse the repository at this point in the history
  • Loading branch information
parkerziegler committed Nov 3, 2019
1 parent 931103d commit 85e778c
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 5 deletions.
2 changes: 1 addition & 1 deletion example/components/pokemon_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const PokemonList = () => {
{pokemon.types.map(type => {
if (typesToIcon.get(type)) {
return (
<div className="pokemon-type-container__type">
<div className="pokemon-type-container__type" key={type}>
<img
src={typesToIcon.get(type)}
className="pokemon-type-container__type-icon"
Expand Down
2 changes: 2 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"start": "next start"
},
"dependencies": {
"graphql": "^14.5.8",
"graphql-tag": "^2.10.1",
"isomorphic-unfetch": "^3.0.0",
"next": "9.1.1",
"next-urql": "file:../next-urql.tgz",
"react": "^16.11.0",
Expand Down
Binary file removed example/static/favicon.ico
Binary file not shown.
24 changes: 22 additions & 2 deletions example/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2438,6 +2438,13 @@ graphql-tag@^2.10.1:
resolved "https://registry.yarnpkg.com/graphql-tag/-/graphql-tag-2.10.1.tgz#10aa41f1cd8fae5373eaf11f1f67260a3cad5e02"
integrity sha512-jApXqWBzNXQ8jYa/HLkZJaVw9jgwNqZkywa2zfFn16Iv1Zb7ELNHkJaXHR7Quvd5SIGsy6Ny7SUKATgnu05uEg==

graphql@^14.5.8:
version "14.5.8"
resolved "https://registry.yarnpkg.com/graphql/-/graphql-14.5.8.tgz#504f3d3114cb9a0a3f359bbbcf38d9e5bf6a6b3c"
integrity sha512-MMwmi0zlVLQKLdGiMfWkgQD7dY/TUKt4L+zgJ/aR0Howebod3aNgP5JkgvAULiR2HPVZaP2VEElqtdidHweLkg==
dependencies:
iterall "^1.2.2"

has-ansi@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91"
Expand Down Expand Up @@ -2859,6 +2866,19 @@ isobject@^3.0.0, isobject@^3.0.1:
resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=

isomorphic-unfetch@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.0.0.tgz#de6d80abde487b17de2c400a7ef9e5ecc2efb362"
integrity sha512-V0tmJSYfkKokZ5mgl0cmfQMTb7MLHsBMngTkbLY0eXvKqiVRRoZP04Ly+KhKrJfKtzC9E6Pp15Jo+bwh7Vi2XQ==
dependencies:
node-fetch "^2.2.0"
unfetch "^4.0.0"

iterall@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/iterall/-/iterall-1.2.2.tgz#92d70deb8028e0c39ff3164fdbf4d8b088130cd7"
integrity sha512-yynBb1g+RFUPY64fTrFv7nsjRrENBQJaX2UL+2Szc9REFrSNm1rpSXHGzhmAy7a9uv3vlvgBlXnf9RqmPH1/DA==

jest-worker@24.9.0:
version "24.9.0"
resolved "https://registry.yarnpkg.com/jest-worker/-/jest-worker-24.9.0.tgz#5dbfdb5b2d322e98567898238a9697bcce67b3e5"
Expand Down Expand Up @@ -3419,7 +3439,7 @@ next@9.1.1:
webpack-hot-middleware "2.25.0"
webpack-sources "1.4.3"

node-fetch@2.6.0:
node-fetch@2.6.0, node-fetch@^2.2.0:
version "2.6.0"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd"
integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==
Expand Down Expand Up @@ -5201,7 +5221,7 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

unfetch@4.1.0:
unfetch@4.1.0, unfetch@^4.0.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.1.0.tgz#6ec2dd0de887e58a4dee83a050ded80ffc4137db"
integrity sha512-crP/n3eAPUJxZXM9T80/yv0YhkTEx2K1D3h7D1AJM6fzsWZrxdyRuLN0JH/dkZh1LNH8LxCnBzoPFCPbb2iGpg==
Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@
"name": "next-urql",
"version": "0.1.0",
"description": "Convenience wrappers for using urql with NextJS.",
"repository": "https://www.github.com/FormidableLabs/next-urql",
"bugs": {
"url": "https://github.com/FormidableLabs/next-urql/issues"
},
"main": "dist/next-urql.min.js",
"module": "dist/next-urql.es.min.js",
"source": "src/index.ts",
"author": "Formidable",
"license": "MIT",
"scripts": {
"check:types": "tsc",
Expand Down Expand Up @@ -59,6 +64,6 @@
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-is": "^16.8.6",
"urql": "^1.6.1"
"urql": "^1.1.0"
}
}
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ const makePlugins = isProduction =>
},
},
}),
// Compile TypeScript files using Babel.
babel({ extensions, include: ['src/**/*'], exclude: 'node_modules/**' }),
isProduction &&
replace({
Expand Down

0 comments on commit 85e778c

Please sign in to comment.