Mirror: The highly customizable and versatile GraphQL client with which you add on features like normalized caching as you grow.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Readd urql/core entrypoint

+86 -76
+2 -2
package.json
··· 31 31 } 32 32 }, 33 33 "devDependencies": { 34 - "@ampproject/rollup-plugin-closure-compiler": "^0.13.0", 34 + "@ampproject/rollup-plugin-closure-compiler": "^0.21.0", 35 35 "@babel/core": "^7.7.7", 36 36 "@babel/plugin-transform-object-assign": "^7.8.3", 37 37 "@babel/plugin-transform-react-jsx": "^7.8.3", ··· 41 41 "@rollup/plugin-replace": "^2.2.0", 42 42 "@testing-library/react": "^9.4.0", 43 43 "@testing-library/react-hooks": "^3.2.1", 44 - "@types/jest": "^25.1.1", 44 + "@types/jest": "^25.1.2", 45 45 "@types/react": "^16.9.19", 46 46 "@types/react-test-renderer": "^16.9.2", 47 47 "@typescript-eslint/eslint-plugin": "^2.18.0",
+1 -1
packages/preact-urql/package.json
··· 33 33 "@testing-library/preact": "^1.0.2", 34 34 "graphql": "^14.5.8", 35 35 "graphql-tag": "^2.10.1", 36 - "preact": "^10.1.1" 36 + "preact": "^10.3.1" 37 37 }, 38 38 "peerDependencies": { 39 39 "graphql": "^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0",
+1
packages/react-urql/core/index.d.ts
··· 1 + export * from '@urql/core';
+1
packages/react-urql/core/index.esm.js
··· 1 + export * from '@urql/core';
+1
packages/react-urql/core/index.js
··· 1 + module.exports = require('@urql/core');
+10
packages/react-urql/core/package.json
··· 1 + { 2 + "name": "urql-core", 3 + "private": true, 4 + "main": "index.js", 5 + "module": "index.esm.js", 6 + "types": "index.d.ts", 7 + "dependencies": { 8 + "@urql/core": "^1.7.0" 9 + } 10 + }
+1 -1
scripts/rollup/plugins.js
··· 86 86 isProduction && replace({ 87 87 'process.env.NODE_ENV': JSON.stringify('production') 88 88 }), 89 - compiler({ 89 + settings.isNamespaced && compiler({ 90 90 formatting: 'PRETTY_PRINT', 91 91 compilation_level: 'SIMPLE_OPTIMIZATIONS' 92 92 }),
+1
scripts/rollup/settings.js
··· 44 44 45 45 export const hasReact = externalModules.includes('react'); 46 46 export const hasPreact = externalModules.includes('preact'); 47 + export const isNamespaced = pkg.name.startsWith('@urql');
+68 -72
yarn.lock
··· 2 2 # yarn lockfile v1 3 3 4 4 5 - "@ampproject/rollup-plugin-closure-compiler@^0.13.0": 6 - version "0.13.0" 7 - resolved "https://registry.yarnpkg.com/@ampproject/rollup-plugin-closure-compiler/-/rollup-plugin-closure-compiler-0.13.0.tgz#23083ada1e5f899280c38acbf22454616ccc78a8" 8 - integrity sha512-uvbNj/ngTZxHZM7y1RLC+hQ1qUZ9JH0BVdVmcAWRH6U/25ek18V/r+ks9VKmkzRfn8Oe9nY4XmXHJozfQGVOIQ== 5 + "@ampproject/remapping@0.2.0": 6 + version "0.2.0" 7 + resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-0.2.0.tgz#07290a5c0f5eac8a4c33d38aa0d15a3416db432e" 8 + integrity sha512-a4EztS9/GOVQjX5Ol+Iz33TFhaXvYBF7aB6D8+Qz0/SCIxOm3UNRhGZiwcCuJ8/Ifc6NCogp3S48kc5hFxRpUw== 9 + dependencies: 10 + "@jridgewell/resolve-uri" "1.0.0" 11 + sourcemap-codec "1.4.8" 12 + 13 + "@ampproject/rollup-plugin-closure-compiler@^0.21.0": 14 + version "0.21.0" 15 + resolved "https://registry.yarnpkg.com/@ampproject/rollup-plugin-closure-compiler/-/rollup-plugin-closure-compiler-0.21.0.tgz#4a463c045c55c65d3865e9d6bcd7e84d82dbdbab" 16 + integrity sha512-x9VKAaM4HgKO/zWdtDXhI3Qlp+s2rsQm6QaEGpWjI5z8KSvLGKekHtJeNWc4XsQYWSlopBYcPaRz9YzJyZTPEQ== 9 17 dependencies: 18 + "@ampproject/remapping" "0.2.0" 19 + "@kristoferbaxter/estree-walker" "2.0.0" 10 20 acorn "7.1.0" 11 - acorn-dynamic-import "4.0.0" 12 21 acorn-walk "7.0.0" 13 - google-closure-compiler "20191111.0.0" 14 - magic-string "0.25.4" 15 - temp-write "4.0.0" 22 + google-closure-compiler "20200112.0.0" 23 + magic-string "0.25.6" 24 + uuid "3.4.0" 16 25 17 26 "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3": 18 27 version "7.8.3" ··· 391 400 "@types/yargs" "^15.0.0" 392 401 chalk "^3.0.0" 393 402 403 + "@jridgewell/resolve-uri@1.0.0": 404 + version "1.0.0" 405 + resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-1.0.0.tgz#3fdf5798f0b49e90155896f6291df186eac06c83" 406 + integrity sha512-9oLAnygRMi8Q5QkYEU4XWK04B+nuoXoxjRvRxgjuChkLZFBja0YPSgdZ7dZtwhncLBcQe/I/E+fLuk5qxcYVJA== 407 + 408 + "@kristoferbaxter/estree-walker@2.0.0": 409 + version "2.0.0" 410 + resolved "https://registry.yarnpkg.com/@kristoferbaxter/estree-walker/-/estree-walker-2.0.0.tgz#52ee40f9f8b59bbf00cac477a777aeb830ea5952" 411 + integrity sha512-UmzP5tx+Jlqrn+R1wucLy/1Qr9jd8/Xj4rHVTfA3GLmhI+DJgRPVkvHPm1Wa23TM+2hg9GTtzqhWGqPaLmwIfQ== 412 + 394 413 "@rollup/plugin-buble@^0.21.0": 395 414 version "0.21.1" 396 415 resolved "https://registry.yarnpkg.com/@rollup/plugin-buble/-/plugin-buble-0.21.1.tgz#186413c2f27770bea4cefa86ba1c0aafd9593339" ··· 573 592 "@types/istanbul-lib-coverage" "*" 574 593 "@types/istanbul-lib-report" "*" 575 594 576 - "@types/jest@^25.1.1": 577 - version "25.1.1" 578 - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-25.1.1.tgz#dcf65a8ee315b91ad39c0d358ae0ddc5602ab0e9" 579 - integrity sha512-bKSZJYZJLzwaoVYNN4W3A0RvKNYsrLm5tsuXaMlfYDxKf4gY2sFrMYneCugNQWGg1gjPW+FHBwNrwPzEi4sIsw== 595 + "@types/jest@^25.1.2": 596 + version "25.1.2" 597 + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-25.1.2.tgz#1c4c8770c27906c7d8def5d2033df9dbd39f60da" 598 + integrity sha512-EsPIgEsonlXmYV7GzUqcvORsSS9Gqxw/OvkGwHfAdpjduNRxMlhsav0O5Kb0zijc/eXSO/uW6SJt9nwull8AUQ== 580 599 dependencies: 581 600 jest-diff "^25.1.0" 582 601 pretty-format "^25.1.0" ··· 735 754 resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a" 736 755 integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg== 737 756 738 - acorn-dynamic-import@4.0.0, acorn-dynamic-import@^4.0.0: 757 + acorn-dynamic-import@^4.0.0: 739 758 version "4.0.0" 740 759 resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-4.0.0.tgz#482210140582a36b83c3e342e1cfebcaa9240948" 741 760 integrity sha512-d3OEjQV4ROpoflsnUA8HozoIR504TFxNivYEUi6uwz0IYhBkTDXGuWlNdMtybRt3nqVx/L6XqMt0FxkXuWKZhw== ··· 2173 2192 dependencies: 2174 2193 type-fest "^0.8.1" 2175 2194 2176 - google-closure-compiler-java@^20191111.0.0: 2177 - version "20191111.0.0" 2178 - resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20191111.0.0.tgz#3fb9c464f49a73b5de3fa8ac3c2ef9c2b747266d" 2179 - integrity sha512-JgsQtJVVgDuj50VPQV1OgHxMy78daTL3d607V6zF/qETl3rEEiazEGfXDGUX/1V1SUOW+Y03Ct9bcO3LMxNlxg== 2195 + google-closure-compiler-java@^20200112.0.0: 2196 + version "20200112.0.0" 2197 + resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200112.0.0.tgz#2b99f5e2869a573a1b35558ff3b6e6bc054a116f" 2198 + integrity sha512-h/ExDCXAw88nOniQSbbK6et31kOwmaDxl6t52dnETCIzituQtGToPzy21vUel1o8o+FvWUybLoap+dEYBam1pA== 2180 2199 2181 - google-closure-compiler-js@^20191111.0.0: 2182 - version "20191111.0.0" 2183 - resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20191111.0.0.tgz#94112796826d50d0b3717c80ab633a60d2617ff7" 2184 - integrity sha512-W3Oy5NF5CMgUv31CMbgLN7zhdCTVMTnNI//iEPYMotzXfX8viyOnTMipDDwJNeMnY7lfXbQrYOo+QkWP6WzZtg== 2200 + google-closure-compiler-js@^20200112.0.0: 2201 + version "20200112.0.0" 2202 + resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200112.0.0.tgz#cb9fc1636671f3ce927e668e29db69b65cae6f2d" 2203 + integrity sha512-xW47rSuiRaql6q1YN7+b3FXIW74b1nCcENVwm9cigw1H5gWoBMBJOmpZiXnjMfmYC+MALjPQ8giMzvSeP+2X5A== 2185 2204 2186 - google-closure-compiler-linux@^20191111.0.0: 2187 - version "20191111.0.0" 2188 - resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20191111.0.0.tgz#f66eb017b24c474565a903f966472e7a4c05efd9" 2189 - integrity sha512-pxxB83Ae7G9OHFSOEzOYlp844YyqQgU1RXBpCGBKeDAQrs3dykHqRhNGZdI7N1tsby/pT+hKL1US2l/CslPqag== 2205 + google-closure-compiler-linux@^20200112.0.0: 2206 + version "20200112.0.0" 2207 + resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200112.0.0.tgz#e6c7943cc0114046dbe9fc685e4d7d4eb536c1dc" 2208 + integrity sha512-imTfdYP7BVTzzp3y7MuZP+98nEkbX7LZsZtxalNpl56vd+Ysc9/vOHXS14CdSoThaXIVlzX/lfjOlBRqPow+ew== 2190 2209 2191 - google-closure-compiler-osx@^20191111.0.0: 2192 - version "20191111.0.0" 2193 - resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20191111.0.0.tgz#4b841fca5857dd05fbcf4ae312781e52e37c732e" 2194 - integrity sha512-sviL1DLN+dDfYBLzmU6+2Yk19P1uzUHQuKaXrHxEYZkU4jTJNq/TC4xi6t0ZgvLQEm2Vf7xhOrt80TYKnoQaVg== 2210 + google-closure-compiler-osx@^20200112.0.0: 2211 + version "20200112.0.0" 2212 + resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200112.0.0.tgz#df7a22c0dc32702b47c8ac4521f79bbe439effad" 2213 + integrity sha512-E3S1KqZw4+Zov0VXCkjomPrYhyuuV6jH9InBchQ7cZfipFJjhQmSRf39u4Mu0sINW7GXfODZbzBwOXhEIquFQw== 2195 2214 2196 - google-closure-compiler-windows@^20191111.0.0: 2197 - version "20191111.0.0" 2198 - resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20191111.0.0.tgz#da49d1814261fffbbe7bde1efc49c35eb533e89e" 2199 - integrity sha512-iKdz2bWrrM4zLv3USCRtWX4kLWzZhbj/afh/W6giLxg5XQzbNg+UpVF+2G6f/LEYK9UNBgS2TdyNTuw8mod+Mg== 2215 + google-closure-compiler-windows@^20200112.0.0: 2216 + version "20200112.0.0" 2217 + resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200112.0.0.tgz#8300d1e651f2c84ed565e729ccf40d6ed7e63771" 2218 + integrity sha512-+5+UJFKXH0LGnYEHSVJxWwhtvX/MI6uebkAQkhma0057QsKs8fOToWuHL8/UbJULB4WUPa3DlHy0+Izs5z6lCQ== 2200 2219 2201 - google-closure-compiler@20191111.0.0: 2202 - version "20191111.0.0" 2203 - resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20191111.0.0.tgz#c2584b87d855cc4e23d5805e8f7269eb9a9166f2" 2204 - integrity sha512-Ji+FaqYKXNbJ78N5Do6hu61mPrB9D+8xSnmRO59u2CrIbmNCtoFnqkCAAL4Ye8LR8foRqtkDdiKJSblpe+5ttg== 2220 + google-closure-compiler@20200112.0.0: 2221 + version "20200112.0.0" 2222 + resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200112.0.0.tgz#98d79ed2926b5c9a04c759c3f0853f2102c06ba2" 2223 + integrity sha512-8d43B3hU2pAFy6MD946oslArRe11jPJ/h/VaPPiiSMoSMFxnDpd8jjVJfM2solFSNOOZ9OacA6g/RVGMyp5lvg== 2205 2224 dependencies: 2206 2225 chalk "2.x" 2207 - google-closure-compiler-java "^20191111.0.0" 2208 - google-closure-compiler-js "^20191111.0.0" 2226 + google-closure-compiler-java "^20200112.0.0" 2227 + google-closure-compiler-js "^20200112.0.0" 2209 2228 minimist "1.x" 2210 2229 vinyl "2.x" 2211 2230 vinyl-sourcemaps-apply "^0.2.0" 2212 2231 optionalDependencies: 2213 - google-closure-compiler-linux "^20191111.0.0" 2214 - google-closure-compiler-osx "^20191111.0.0" 2215 - google-closure-compiler-windows "^20191111.0.0" 2232 + google-closure-compiler-linux "^20200112.0.0" 2233 + google-closure-compiler-osx "^20200112.0.0" 2234 + google-closure-compiler-windows "^20200112.0.0" 2216 2235 2217 2236 graceful-fs@^4.1.11, graceful-fs@^4.1.15, graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.2.0, graceful-fs@^4.2.3: 2218 2237 version "4.2.3" ··· 3432 3451 dependencies: 3433 3452 js-tokens "^3.0.0 || ^4.0.0" 3434 3453 3435 - magic-string@0.25.4: 3436 - version "0.25.4" 3437 - resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.4.tgz#325b8a0a79fc423db109b77fd5a19183b7ba5143" 3438 - integrity sha512-oycWO9nEVAP2RVPbIoDoA4Y7LFIJ3xRYov93gAyJhZkET1tNuB0u7uWkZS2LpBWTJUWnmau/To8ECWRC+jKNfw== 3439 - dependencies: 3440 - sourcemap-codec "^1.4.4" 3441 - 3442 - magic-string@^0.25.0, magic-string@^0.25.2, magic-string@^0.25.3, magic-string@^0.25.5: 3454 + magic-string@0.25.6, magic-string@^0.25.0, magic-string@^0.25.2, magic-string@^0.25.3, magic-string@^0.25.5: 3443 3455 version "0.25.6" 3444 3456 resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.6.tgz#5586387d1242f919c6d223579cc938bf1420795e" 3445 3457 integrity sha512-3a5LOMSGoCTH5rbqobC2HuDNRtE2glHZ8J7pK+QZYppyWA36yuNpsX994rIY2nCuyP7CZYy7lQq/X2jygiZ89g== ··· 4092 4104 resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" 4093 4105 integrity sha1-AerA/jta9xoqbAL+q7jB/vfgDqs= 4094 4106 4095 - preact@^10.1.1: 4096 - version "10.3.0" 4097 - resolved "https://registry.yarnpkg.com/preact/-/preact-10.3.0.tgz#aa761b25b6f5fb8d17f0685a9f3698a4502394c7" 4098 - integrity sha512-taUnMNcZVNesAp6qNsWL621jfJFA23pTlUmTpXhJ3KYxbF4ciSbXXKIG51AEsh+gP5/5LRm9B74fGbgT98EUCg== 4107 + preact@^10.3.1: 4108 + version "10.3.1" 4109 + resolved "https://registry.yarnpkg.com/preact/-/preact-10.3.1.tgz#70a2cc5484ca727c992216dfc528907d240e0a05" 4110 + integrity sha512-CaKtEY235GtuypRRvaMxM3PNy44OzQj8BO7plXbPwF+iJzNnUufgHtqRA6NbjeWnfy+cN1dP1MFTAGxJmCiPqQ== 4099 4111 4100 4112 prelude-ls@~1.1.2: 4101 4113 version "1.1.2" ··· 4826 4838 resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" 4827 4839 integrity sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ== 4828 4840 4829 - sourcemap-codec@^1.4.4: 4841 + sourcemap-codec@1.4.8, sourcemap-codec@^1.4.4: 4830 4842 version "1.4.8" 4831 4843 resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" 4832 4844 integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== ··· 5114 5126 slice-ansi "^2.1.0" 5115 5127 string-width "^3.0.0" 5116 5128 5117 - temp-dir@^1.0.0: 5118 - version "1.0.0" 5119 - resolved "https://registry.yarnpkg.com/temp-dir/-/temp-dir-1.0.0.tgz#0a7c0ea26d3a39afa7e0ebea9c1fc0bc4daa011d" 5120 - integrity sha1-CnwOom06Oa+n4OvqnB/AvE2qAR0= 5121 - 5122 - temp-write@4.0.0: 5123 - version "4.0.0" 5124 - resolved "https://registry.yarnpkg.com/temp-write/-/temp-write-4.0.0.tgz#cd2e0825fc826ae72d201dc26eef3bf7e6fc9320" 5125 - integrity sha512-HIeWmj77uOOHb0QX7siN3OtwV3CTntquin6TNVg6SHOqCP3hYKmox90eeFOGaY1MqJ9WYDDjkyZrW6qS5AWpbw== 5126 - dependencies: 5127 - graceful-fs "^4.1.15" 5128 - is-stream "^2.0.0" 5129 - make-dir "^3.0.0" 5130 - temp-dir "^1.0.0" 5131 - uuid "^3.3.2" 5132 - 5133 5129 terminal-link@^2.0.0: 5134 5130 version "2.1.1" 5135 5131 resolved "https://registry.yarnpkg.com/terminal-link/-/terminal-link-2.1.1.tgz#14a64a27ab3c0df933ea546fba55f2d078edc994" ··· 5416 5412 has-symbols "^1.0.1" 5417 5413 object.getownpropertydescriptors "^2.1.0" 5418 5414 5419 - uuid@^3.3.2: 5415 + uuid@3.4.0, uuid@^3.3.2: 5420 5416 version "3.4.0" 5421 5417 resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.4.0.tgz#b23e4358afa8a202fe7a100af1f5f883f02007ee" 5422 5418 integrity sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==