repos / neovimcraft

website that makes it easy to find neovim plugins
git clone https://github.com/neurosnap/neovimcraft.git

commit
780e2a6
parent
50223c7
author
Eric Bower
date
2021-08-03 13:58:35 +0000 UTC
fix for sveltejs/kit#669
3 files changed,  +134, -3
M package.json
+2, -1
 1@@ -4,7 +4,7 @@
 2   "scripts": {
 3     "dev": "svelte-kit dev --host 0.0.0.0",
 4     "build:clean": "rm -rf build",
 5-    "build": "svelte-kit build",
 6+    "build": "svelte-kit build && node scripts/postbuild.js",
 7     "preview": "svelte-kit preview --host 0.0.0.0",
 8     "check": "svelte-check --tsconfig ./tsconfig.json",
 9     "check:watch": "svelte-check --tsconfig ./tsconfig.json --watch",
10@@ -39,6 +39,7 @@
11     "prettier": "~2.2.1",
12     "prettier-plugin-svelte": "^2.2.0",
13     "query-string": "^7.0.1",
14+    "replace": "^1.2.1",
15     "svelte": "3.34.0",
16     "svelte-check": "2.0.0",
17     "svelte-preprocess": "^4.0.0",
A scripts/postbuild.js
+8, -0
1@@ -0,0 +1,8 @@
2+import replace from 'replace';
3+
4+replace({
5+  regex: 'query: new URLSearchParams(.+),',
6+  replacement: 'query: new URLSearchParams(location.search),',
7+  paths: ['build'],
8+  recursive: true,
9+});
M yarn.lock
+124, -2
  1@@ -393,7 +393,12 @@ callsites@^3.0.0:
  2   resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
  3   integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
  4 
  5-chalk@^2.0.0:
  6+camelcase@^5.0.0:
  7+  version "5.3.1"
  8+  resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
  9+  integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
 10+
 11+chalk@2.4.2, chalk@^2.0.0:
 12   version "2.4.2"
 13   resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
 14   integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==
 15@@ -450,6 +455,15 @@ cli-truncate@^2.1.0:
 16     slice-ansi "^3.0.0"
 17     string-width "^4.2.0"
 18 
 19+cliui@^6.0.0:
 20+  version "6.0.0"
 21+  resolved "https://registry.yarnpkg.com/cliui/-/cliui-6.0.0.tgz#511d702c0c4e41ca156d7d0e96021f23e13225b1"
 22+  integrity sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==
 23+  dependencies:
 24+    string-width "^4.2.0"
 25+    strip-ansi "^6.0.0"
 26+    wrap-ansi "^6.2.0"
 27+
 28 color-convert@^1.9.0:
 29   version "1.9.3"
 30   resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
 31@@ -528,6 +542,11 @@ debug@^4.0.1, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2:
 32   dependencies:
 33     ms "2.1.2"
 34 
 35+decamelize@^1.2.0:
 36+  version "1.2.0"
 37+  resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
 38+  integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=
 39+
 40 decode-uri-component@^0.2.0:
 41   version "0.2.0"
 42   resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
 43@@ -809,6 +828,14 @@ filter-obj@^1.1.0:
 44   resolved "https://registry.yarnpkg.com/filter-obj/-/filter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b"
 45   integrity sha1-mzERErxsYSehbgFsbF1/GeCAXFs=
 46 
 47+find-up@^4.1.0:
 48+  version "4.1.0"
 49+  resolved "https://registry.yarnpkg.com/find-up/-/find-up-4.1.0.tgz#97afe7d6cdc0bc5928584b7c8d7b16e8a9aa5d19"
 50+  integrity sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==
 51+  dependencies:
 52+    locate-path "^5.0.0"
 53+    path-exists "^4.0.0"
 54+
 55 flat-cache@^3.0.4:
 56   version "3.0.4"
 57   resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
 58@@ -851,6 +878,11 @@ functional-red-black-tree@^1.0.1:
 59   resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
 60   integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
 61 
 62+get-caller-file@^2.0.1:
 63+  version "2.0.5"
 64+  resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e"
 65+  integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==
 66+
 67 get-own-enumerable-property-symbols@^3.0.0:
 68   version "3.0.2"
 69   resolved "https://registry.yarnpkg.com/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz#b5fde77f22cbe35f390b4e089922c50bce6ef664"
 70@@ -1123,6 +1155,13 @@ listr2@^3.8.2:
 71     through "^2.3.8"
 72     wrap-ansi "^7.0.0"
 73 
 74+locate-path@^5.0.0:
 75+  version "5.0.0"
 76+  resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-5.0.0.tgz#1afba396afd676a6d42504d0a67a3a7eb9f62aa0"
 77+  integrity sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==
 78+  dependencies:
 79+    p-locate "^4.1.0"
 80+
 81 lodash.clonedeep@^4.5.0:
 82   version "4.5.0"
 83   resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef"
 84@@ -1220,7 +1259,7 @@ min-indent@^1.0.0:
 85   resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
 86   integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==
 87 
 88-minimatch@^3.0.4:
 89+minimatch@3.0.4, minimatch@^3.0.4:
 90   version "3.0.4"
 91   resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083"
 92   integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==
 93@@ -1295,6 +1334,20 @@ optionator@^0.9.1:
 94     type-check "^0.4.0"
 95     word-wrap "^1.2.3"
 96 
 97+p-limit@^2.2.0:
 98+  version "2.3.0"
 99+  resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1"
100+  integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==
101+  dependencies:
102+    p-try "^2.0.0"
103+
104+p-locate@^4.1.0:
105+  version "4.1.0"
106+  resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07"
107+  integrity sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==
108+  dependencies:
109+    p-limit "^2.2.0"
110+
111 p-map@^4.0.0:
112   version "4.0.0"
113   resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b"
114@@ -1302,6 +1355,11 @@ p-map@^4.0.0:
115   dependencies:
116     aggregate-error "^3.0.0"
117 
118+p-try@^2.0.0:
119+  version "2.2.0"
120+  resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
121+  integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
122+
123 parent-module@^1.0.0:
124   version "1.0.1"
125   resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2"
126@@ -1319,6 +1377,11 @@ parse-json@^5.0.0:
127     json-parse-even-better-errors "^2.3.0"
128     lines-and-columns "^1.1.6"
129 
130+path-exists@^4.0.0:
131+  version "4.0.0"
132+  resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-4.0.0.tgz#513bdbe2d3b95d7762e8c1137efa195c6c61b5b3"
133+  integrity sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==
134+
135 path-is-absolute@^1.0.0:
136   version "1.0.1"
137   resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f"
138@@ -1412,11 +1475,30 @@ regexpp@^3.1.0:
139   resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2"
140   integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==
141 
142+replace@^1.2.1:
143+  version "1.2.1"
144+  resolved "https://registry.yarnpkg.com/replace/-/replace-1.2.1.tgz#e6e28db8dc7dcfa2a6c0b99c8922360570f1aead"
145+  integrity sha512-KZCBe/tPanwBlbjSMQby4l+zjSiFi3CLEP/6VLClnRYgJ46DZ5u9tmA6ceWeFS8coaUnU4ZdGNb/puUGMHNSRg==
146+  dependencies:
147+    chalk "2.4.2"
148+    minimatch "3.0.4"
149+    yargs "^15.3.1"
150+
151+require-directory@^2.1.1:
152+  version "2.1.1"
153+  resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
154+  integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I=
155+
156 require-from-string@^2.0.2:
157   version "2.0.2"
158   resolved "https://registry.yarnpkg.com/require-from-string/-/require-from-string-2.0.2.tgz#89a7fdd938261267318eafe14f9c32e598c36909"
159   integrity sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==
160 
161+require-main-filename@^2.0.0:
162+  version "2.0.0"
163+  resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b"
164+  integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==
165+
166 require-relative@^0.8.7:
167   version "0.8.7"
168   resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de"
169@@ -1495,6 +1577,11 @@ semver@^7.2.1, semver@^7.3.5:
170   dependencies:
171     lru-cache "^6.0.0"
172 
173+set-blocking@^2.0.0:
174+  version "2.0.0"
175+  resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
176+  integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
177+
178 shebang-command@^2.0.0:
179   version "2.0.0"
180   resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-2.0.0.tgz#ccd0af4f8835fbdc265b82461aaf0c36663f34ea"
181@@ -1782,6 +1869,11 @@ vite@^2.4.3:
182   optionalDependencies:
183     fsevents "~2.3.2"
184 
185+which-module@^2.0.0:
186+  version "2.0.0"
187+  resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
188+  integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=
189+
190 which@^2.0.1:
191   version "2.0.2"
192   resolved "https://registry.yarnpkg.com/which/-/which-2.0.2.tgz#7c6a8dd0a636a0327e10b59c9286eee93f3f51b1"
193@@ -1817,6 +1909,11 @@ wrappy@1:
194   resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"
195   integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=
196 
197+y18n@^4.0.0:
198+  version "4.0.3"
199+  resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.3.tgz#b5f259c82cd6e336921efd7bfd8bf560de9eeedf"
200+  integrity sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==
201+
202 yallist@^4.0.0:
203   version "4.0.0"
204   resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72"
205@@ -1827,6 +1924,31 @@ yaml@^1.10.0:
206   resolved "https://registry.yarnpkg.com/yaml/-/yaml-1.10.2.tgz#2301c5ffbf12b467de8da2333a459e29e7920e4b"
207   integrity sha512-r3vXyErRCYJ7wg28yvBY5VSoAF8ZvlcW9/BwUzEtUsjvX/DKs24dIkuwjtuprwJJHsbyUbLApepYTR1BN4uHrg==
208 
209+yargs-parser@^18.1.2:
210+  version "18.1.3"
211+  resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0"
212+  integrity sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==
213+  dependencies:
214+    camelcase "^5.0.0"
215+    decamelize "^1.2.0"
216+
217+yargs@^15.3.1:
218+  version "15.4.1"
219+  resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8"
220+  integrity sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==
221+  dependencies:
222+    cliui "^6.0.0"
223+    decamelize "^1.2.0"
224+    find-up "^4.1.0"
225+    get-caller-file "^2.0.1"
226+    require-directory "^2.1.1"
227+    require-main-filename "^2.0.0"
228+    set-blocking "^2.0.0"
229+    string-width "^4.2.0"
230+    which-module "^2.0.0"
231+    y18n "^4.0.0"
232+    yargs-parser "^18.1.2"
233+
234 yn@3.1.1:
235   version "3.1.1"
236   resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50"