Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge sync f2b590a #592

Merged
merged 6,067 commits into from
Jan 3, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6067 commits
Select commit Hold shift + click to select a range
cdad720
docs: add chrome-extension-archive-webpack-plugin (#5531)
KeisukeYamashita Oct 6, 2021
092f784
docs(configuration): update `proxy` example configuration (#5540)
snitin315 Oct 6, 2021
f7a0e9e
build(deps-dev): bump mini-css-extract-plugin from 2.3.0 to 2.4.1 (#5…
dependabot[bot] Oct 7, 2021
ee23db7
docs(configuration): Remove deprecation warning for Module Context op…
bradfrosty Oct 7, 2021
e7b15a1
build(deps-dev): bump webpack from 5.57.1 to 5.58.0 (#5545)
dependabot[bot] Oct 7, 2021
85c804c
build(deps): bump react-spring from 9.2.5 to 9.2.6 (#5546)
dependabot[bot] Oct 7, 2021
9eb4c7d
build(deps-dev): bump @babel/preset-env from 7.15.6 to 7.15.8 (#5547)
dependabot[bot] Oct 7, 2021
9522578
build(deps-dev): bump webpack-cli from 4.8.0 to 4.9.0 (#5548)
dependabot[bot] Oct 7, 2021
d53ce85
build(deps-dev): bump @babel/eslint-parser from 7.15.7 to 7.15.8 (#5550)
dependabot[bot] Oct 7, 2021
736e94f
build(deps-dev): bump mini-css-extract-plugin from 2.4.1 to 2.4.2 (#5…
dependabot[bot] Oct 8, 2021
0249279
build(deps-dev): bump @babel/core from 7.15.5 to 7.15.8 (#5549)
dependabot[bot] Oct 8, 2021
f2546dc
docs(api): add `WEBPACK_DEV_SERVER_PACKAGE` variable (#5403)
snitin315 Oct 8, 2021
6af3d00
docs(Content): improve configuration-languages, configuration-types,…
Biki-das Oct 8, 2021
7e83b4b
docs(api): add `--additional-package` option for info command (#5552)
snitin315 Oct 8, 2021
eae8821
build(deps-dev): bump webpack from 5.58.0 to 5.58.1 (#5555)
dependabot[bot] Oct 8, 2021
394ce44
build(deps-dev): bump @octokit/rest from 18.11.4 to 18.12.0 (#5554)
dependabot[bot] Oct 8, 2021
fd371a8
build(deps-dev): bump jest from 27.2.4 to 27.2.5 (#5556)
dependabot[bot] Oct 8, 2021
1dea1cc
docs(configuration): remove webpack 4 warning for module.unsafeCache …
snitin315 Oct 8, 2021
2cfa860
docs(plugins): remove duplicated defaults & types (#5557)
choznerol Oct 9, 2021
c2769e6
build(deps): bump react-spring from 9.2.6 to 9.3.0 (#5561)
dependabot[bot] Oct 12, 2021
1f8df11
build(deps-dev): bump lint-staged from 11.2.0 to 11.2.3 (#5560)
dependabot[bot] Oct 12, 2021
17bd204
build(deps-dev): bump css-loader from 6.3.0 to 6.4.0 (#5559)
dependabot[bot] Oct 12, 2021
64445a8
docs(api): Document which compiler hooks are copied to children (#5558)
kgram Oct 12, 2021
854657a
build(deps-dev): bump cypress from 8.5.0 to 8.6.0 (#5564)
dependabot[bot] Oct 13, 2021
076a64c
build(deps-dev): bump webpack-bundle-analyzer from 4.4.2 to 4.5.0 (#5…
dependabot[bot] Oct 13, 2021
2d7927e
docs(configuration): update `devServer.static.watch` (#5567)
kuosandys Oct 13, 2021
6eb7a33
build(deps-dev): bump sass-loader from 12.1.0 to 12.2.0 (#5566)
dependabot[bot] Oct 13, 2021
882d0b9
build(deps-dev): bump postcss-loader from 6.1.1 to 6.2.0 (#5568)
dependabot[bot] Oct 14, 2021
253b1c6
build(deps-dev): bump tailwindcss from 2.2.16 to 2.2.17 (#5569)
dependabot[bot] Oct 14, 2021
3dc671c
build(deps-dev): bump webpack from 5.58.1 to 5.58.2 (#5570)
dependabot[bot] Oct 14, 2021
9ee1873
examples(module-federation): fix typos (#5571)
chenxsan Oct 14, 2021
db416eb
build(deps-dev): bump sass from 1.42.1 to 1.43.2 (#5574)
dependabot[bot] Oct 15, 2021
b88c0be
docs(configuration): add `stats.groupModulesByPath` (#5575)
snitin315 Oct 15, 2021
9addc92
docs(content): update configuration-languages.mdx (#5499)
daimalou Oct 15, 2021
43db93f
Merge branch 'kr' into merge-sync-9addc92
dkstyle Oct 15, 2021
03451dc
docs(configuration): add more `stats` options (#5576)
snitin315 Oct 15, 2021
4227c0c
docs(configuration): update `experiments.futureDefaults` (#5579)
snitin315 Oct 15, 2021
697ade7
docs: update required node version in `CONTRIBUTING.md` (#5581)
snitin315 Oct 16, 2021
680fecf
build(deps-dev): bump html-webpack-plugin from 5.3.2 to 5.4.0 (#5580)
dependabot[bot] Oct 16, 2021
e918895
docs(api): add `__webpack_get_script_filename__` (#5577)
snitin315 Oct 17, 2021
e290bf9
docs(configuration): experiment options, executeModule option removed…
anshumanv Oct 17, 2021
ea99b60
Merge conflict
dkstyle Oct 15, 2021
fa72975
Merge conflict
dkstyle Oct 18, 2021
1964598
docs(blog): add `resolve.moduleExtensions` as removed option (#5584)
snitin315 Oct 18, 2021
8c1e8c2
build(deps): bump @docsearch/react from 3.0.0-alpha.40 to 3.0.0-alpha…
dependabot[bot] Oct 19, 2021
e940f38
build(deps-dev): bump webpack-cli from 4.9.0 to 4.9.1 (#5587)
dependabot[bot] Oct 19, 2021
de7b6df
build(deps-dev): bump jest from 27.2.5 to 27.3.0 (#5588)
dependabot[bot] Oct 19, 2021
c47710d
Fix spacing
dkstyle Oct 19, 2021
8cc5697
Merge conflict
dkstyle Oct 19, 2021
2268b38
docs(configuration): sort optimization alphabetically (#5589)
chenxsan Oct 19, 2021
10c3952
docs(configuration): document allowedUris (#5592)
chenxsan Oct 19, 2021
fdb5c65
build(deps-dev): bump webpack from 5.58.2 to 5.59.0 (#5596)
dependabot[bot] Oct 20, 2021
e18003e
build(deps-dev): bump jest from 27.3.0 to 27.3.1 (#5594)
dependabot[bot] Oct 20, 2021
dcf403d
build(deps-dev): bump eslint (#5599)
chenxsan Oct 20, 2021
735ed82
docs(configuration): update `devServer.headers` (#5598)
snitin315 Oct 21, 2021
9483cc0
build(deps-dev): bump postcss from 8.3.9 to 8.3.10 (#5600)
dependabot[bot] Oct 21, 2021
464515d
build(deps-dev): bump http-server from 13.0.2 to 14.0.0 (#5601)
dependabot[bot] Oct 22, 2021
df93fbb
build(deps-dev): bump postcss from 8.3.10 to 8.3.11 (#5608)
dependabot[bot] Oct 22, 2021
a4b2577
build(deps-dev): bump style-loader from 3.3.0 to 3.3.1 (#5606)
dependabot[bot] Oct 22, 2021
9ce2afa
build(deps-dev): bump babel-loader from 8.2.2 to 8.2.3 (#5605)
dependabot[bot] Oct 22, 2021
02b37ef
build(deps-dev): bump mini-css-extract-plugin from 2.4.2 to 2.4.3 (#5…
dependabot[bot] Oct 22, 2021
63e61cc
docs: Update bundle-stats link; add RelativeCI link (#5597)
vio Oct 22, 2021
32c5a6b
docs(configuration): use `https.ca` instead of `https.cacert` (#5609)
snitin315 Oct 22, 2021
6065d5e
build(deps-dev): bump webpack from 5.59.0 to 5.59.1 (#5604)
dependabot[bot] Oct 22, 2021
d97b7b0
build(deps-dev): bump hyperlink from 4.7.0 to 5.0.0 (#5603)
dependabot[bot] Oct 22, 2021
1fb540f
build(deps-dev): bump sass from 1.43.2 to 1.43.3 (#5612)
dependabot[bot] Oct 23, 2021
0b31275
hide the contributor who is missing (#5611)
chenxsan Oct 23, 2021
43f813e
build(deps-dev): bump husky from 7.0.2 to 7.0.4 (#5607)
dependabot[bot] Oct 23, 2021
d661a9a
docs(api): remove outdated tip for webpack 4 (#5613)
snitin315 Oct 23, 2021
dcca2ab
docs(api): add API usage for webpack-dev-server (#5610)
snitin315 Oct 23, 2021
6abb0dc
build(deps-dev): bump remark-slug from 7.0.0 to 7.0.1 (#5619)
dependabot[bot] Oct 25, 2021
118d1cb
build(deps-dev): bump eslint from 8.0.1 to 8.1.0 (#5620)
dependabot[bot] Oct 26, 2021
a2c2ba5
build(deps-dev): bump lint-staged from 11.2.3 to 11.2.4 (#5621)
dependabot[bot] Oct 26, 2021
54b25e7
build(deps-dev): bump webpack from 5.59.1 to 5.60.0 (#5622)
dependabot[bot] Oct 26, 2021
176cbb9
build(deps-dev): bump html-webpack-plugin from 5.4.0 to 5.5.0 (#5623)
dependabot[bot] Oct 26, 2021
20a7ac7
docs: update HMR info (#5615)
snitin315 Oct 26, 2021
0616758
docs(configuration): add `static.staticOptions` type (#5625)
snitin315 Oct 26, 2021
5adc077
build(deps-dev): bump css-loader from 6.4.0 to 6.5.0 (#5627)
dependabot[bot] Oct 27, 2021
26f3116
build(deps-dev): bump lint-staged from 11.2.4 to 11.2.6 (#5629)
dependabot[bot] Oct 27, 2021
ba0d33b
fix: show `API` instead of `Api` in sub navigation (#5626)
snitin315 Oct 27, 2021
f057d4f
docs(api): update troubleshooting (#5624)
snitin315 Oct 27, 2021
cf5b5c1
build(deps-dev): bump cypress from 8.6.0 to 8.7.0 (#5628)
dependabot[bot] Oct 27, 2021
10ef26a
docs(configuration): remove outdated webpack 3 note (#5631)
snitin315 Oct 27, 2021
b84af38
build(deps-dev): bump remark-frontmatter from 3.0.0 to 4.0.1 (#5630)
dependabot[bot] Oct 27, 2021
7d650ca
docs(contribute): update to loader-utils@3.0.0 (#5633)
dev-itsheng Oct 27, 2021
9ec7af2
build(deps-dev): bump sass-loader from 12.2.0 to 12.3.0 (#5634)
dependabot[bot] Oct 28, 2021
57bbd9c
build(deps-dev): bump webpack-dev-server from 4.3.1 to 4.4.0 (#5635)
dependabot[bot] Oct 28, 2021
b7af6a2
docs(configuration): add `client.reconnect` (#5637)
snitin315 Oct 28, 2021
b8e06ab
build(deps-dev): bump sass from 1.43.3 to 1.43.4 (#5636)
dependabot[bot] Oct 28, 2021
e844238
docs(configuration): update lazyCompilationBackend (#5632)
chenxsan Oct 28, 2021
7930d67
build(deps-dev): bump autoprefixer from 10.3.7 to 10.4.0 (#5638)
dependabot[bot] Oct 29, 2021
aed46cc
docs(configuration): add type of `resolve.fallback` (#5639)
snitin315 Oct 29, 2021
0d7d5c5
build(deps-dev): bump webpack from 5.60.0 to 5.61.0 (#5640)
dependabot[bot] Oct 30, 2021
4f11d4b
build(deps-dev): bump tailwindcss from 2.2.17 to 2.2.19 (#5641)
dependabot[bot] Oct 30, 2021
7c70871
docs(configuration): update example configurations (#5642)
snitin315 Oct 30, 2021
8464279
docs(configuration): update `devServer.https` (#5643)
snitin315 Oct 30, 2021
0f0310d
Merge branch 'kr' into merge-sync-9addc92
dkstyle Oct 31, 2021
2c9602e
docs(configuration): add `devServer.server` (#5644)
snitin315 Oct 31, 2021
98bac06
Merge Conflict
dkstyle Oct 31, 2021
5d39693
Merge conflict
dkstyle Oct 31, 2021
27ea681
docs(api): Fix `resolveData` casing in `beforeResolve` hook docs. (#5…
henryqdineen Nov 2, 2021
e5e946e
build(deps-dev): bump @babel/core from 7.15.8 to 7.16.0 (#5647)
dependabot[bot] Nov 2, 2021
4319acc
build(deps-dev): bump directory-tree-webpack-plugin from 1.0.2 to 1.0…
dependabot[bot] Nov 2, 2021
183d5ba
build(deps-dev): bump @babel/preset-react from 7.14.5 to 7.16.0 (#5649)
dependabot[bot] Nov 2, 2021
878e52b
build(deps-dev): bump @babel/preset-env from 7.15.8 to 7.16.0 (#5651)
dependabot[bot] Nov 2, 2021
8c2047b
docs(configuration): update `devServer.server` type (#5653)
snitin315 Nov 3, 2021
e1bbe45
build(deps-dev): bump css-loader from 6.5.0 to 6.5.1 (#5657)
dependabot[bot] Nov 5, 2021
8e63f1f
build(deps-dev): bump remark-emoji from 3.0.1 to 3.0.2 (#5658)
dependabot[bot] Nov 5, 2021
23d9a33
build(deps-dev): bump mini-css-extract-plugin from 2.4.3 to 2.4.4 (#5…
dependabot[bot] Nov 5, 2021
9600e2f
build(deps): bump tmpl from 1.0.4 to 1.0.5 (#5661)
dependabot[bot] Nov 5, 2021
786f876
build(deps): bump axios from 0.21.1 to 0.21.4 (#5662)
dependabot[bot] Nov 5, 2021
62c19a6
build(deps-dev): bump webpack from 5.61.0 to 5.62.1 (#5666)
dependabot[bot] Nov 6, 2021
a3b1351
docs(guides): document client types for typescript (#5667)
chenxsan Nov 8, 2021
d8d5f4c
docs(configuration): document backCompat (#5668)
chenxsan Nov 8, 2021
6fa86b9
docs(plugins): document fallbackCacheGroup.chunks (#5669)
chenxsan Nov 8, 2021
72e8cae
build(deps-dev): bump node-fetch from 3.0.0 to 3.1.0 (#5671)
dependabot[bot] Nov 11, 2021
7f2ddc7
build(deps-dev): bump eslint-plugin-react from 7.26.1 to 7.27.0 (#5685)
dependabot[bot] Nov 11, 2021
5a13055
build(deps-dev): bump eslint from 8.1.0 to 8.2.0 (#5674)
dependabot[bot] Nov 11, 2021
971bd5c
docs(configuration): remove `futureEmitAssets` (#5678)
alan-agius4 Nov 11, 2021
6af2ccb
build(deps-dev): bump eslint-plugin-react-hooks from 4.2.0 to 4.3.0 (…
dependabot[bot] Nov 11, 2021
80beec5
build(deps-dev): bump webpack from 5.62.1 to 5.63.0 (#5681)
dependabot[bot] Nov 11, 2021
23ea9b0
build(deps-dev): bump css-minimizer-webpack-plugin from 3.1.1 to 3.1.…
dependabot[bot] Nov 11, 2021
3d0badd
docs(api): Replace loader-utils methods by loaderContext alternatives…
mems Nov 11, 2021
f6fdcd1
docs(configuration): add docs for asyncChunks (#5680)
anshumanv Nov 11, 2021
1e5d6a1
build(deps-dev): bump webpack from 5.63.0 to 5.64.0 (#5687)
dependabot[bot] Nov 12, 2021
23bd233
build(deps-dev): bump cypress from 8.7.0 to 9.0.0 (#5686)
dependabot[bot] Nov 12, 2021
298c93f
Feature/upgrade eslint parser (#5688)
chenxsan Nov 13, 2021
26f3264
build(deps-dev): bump copy-webpack-plugin from 9.0.1 to 9.1.0 (#5689)
dependabot[bot] Nov 13, 2021
eeadfde
docs: fix some typo (#5691)
Nov 13, 2021
4d4ce10
docs(plugins): add `splitChunks.minSizeReduction` (#5614)
snitin315 Nov 14, 2021
dcb36ce
build(deps-dev): bump webpack from 5.64.0 to 5.64.1 (#5693)
dependabot[bot] Nov 16, 2021
f834e2e
build(deps-dev): bump workbox-webpack-plugin from 6.3.0 to 6.4.1 (#5698)
dependabot[bot] Nov 17, 2021
a29ea6f
build(deps-dev): bump lint-staged from 11.2.6 to 12.0.2 (#5695)
dependabot[bot] Nov 17, 2021
69d5fb0
build(deps): bump workbox-window from 6.3.0 to 6.4.1 (#5699)
dependabot[bot] Nov 17, 2021
432e3ce
Merge conflict
dkstyle Nov 17, 2021
6d91cf7
Merge conflict
dkstyle Nov 17, 2021
1cfb8ba
Merge kr
dkstyle Nov 17, 2021
aef39ba
Update experiments.mdx
dkstyle Nov 17, 2021
9bb876e
Update split-chunks-plugin.mdx
dkstyle Nov 17, 2021
c48da5b
build(deps-dev): bump webpack-dev-server from 4.4.0 to 4.5.0 (#5694)
dependabot[bot] Nov 17, 2021
f7851de
docs(api): fix the plugin name (#5696)
JimmyLv Nov 17, 2021
a3a471f
build(deps-dev): bump copy-webpack-plugin from 9.1.0 to 10.0.0 (#5700)
dependabot[bot] Nov 18, 2021
df5f69c
build(deps-dev): bump @babel/preset-env from 7.16.0 to 7.16.4 (#5704)
dependabot[bot] Nov 18, 2021
5d1a4fa
build(deps-dev): bump mini-css-extract-plugin from 2.4.4 to 2.4.5 (#5…
dependabot[bot] Nov 18, 2021
74061d5
Update awesome-webpack.mdx (#5690)
n8tz Nov 18, 2021
8faa1b2
build(deps-dev): bump directory-tree from 3.0.0 to 3.0.1 (#5702)
dependabot[bot] Nov 18, 2021
702dfd5
build(deps-dev): bump css-minimizer-webpack-plugin from 3.1.3 to 3.1.…
dependabot[bot] Nov 18, 2021
160af0c
build(deps-dev): bump remark from 14.0.1 to 14.0.2 (#5705)
dependabot[bot] Nov 19, 2021
795eed8
build(deps): bump react-spring from 9.3.0 to 9.3.1 (#5706)
dependabot[bot] Nov 19, 2021
64be58c
build(deps-dev): bump lint-staged from 12.0.2 to 12.0.3 (#5707)
dependabot[bot] Nov 19, 2021
643c913
build(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#5708)
dependabot[bot] Nov 20, 2021
5643197
build(deps-dev): bump eslint-plugin-react from 7.27.0 to 7.27.1 (#5709)
dependabot[bot] Nov 20, 2021
7466a1a
docs(configuration): add warning for spdy server (#5710)
snitin315 Nov 22, 2021
74f8607
docs(configuration): remove old webpack v2 comment (#5712)
snitin315 Nov 22, 2021
2642c08
build(deps-dev): bump eslint from 8.2.0 to 8.3.0 (#5720)
dependabot[bot] Nov 22, 2021
a6a81a6
build(deps-dev): bump webpack from 5.64.1 to 5.64.2 (#5717)
dependabot[bot] Nov 23, 2021
4d9a376
build(deps-dev): bump markdownlint-cli from 0.29.0 to 0.30.0 (#5719)
dependabot[bot] Nov 23, 2021
64764e4
build(deps-dev): bump react-refresh from 0.10.0 to 0.11.0 (#5716)
dependabot[bot] Nov 23, 2021
16b81a7
build(deps-dev): bump hyperlink from 5.0.0 to 5.0.3 (#5718)
dependabot[bot] Nov 23, 2021
9795184
docs(configuration): add `watchOptions.stdin` (#5721)
snitin315 Nov 23, 2021
bf18fbd
build(deps-dev): bump lint-staged from 12.0.3 to 12.1.2 (#5715)
dependabot[bot] Nov 23, 2021
6fadc4b
build(deps-dev): bump cypress from 9.0.0 to 9.1.0 (#5722)
dependabot[bot] Nov 24, 2021
a1ad775
build(deps-dev): bump webpack from 5.64.2 to 5.64.3 (#5725)
dependabot[bot] Nov 25, 2021
9261a93
build(deps-dev): bump webpack from 5.64.3 to 5.64.4 (#5729)
dependabot[bot] Nov 25, 2021
4d97af4
build(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#5728)
dependabot[bot] Nov 25, 2021
6509210
chore: update `webpack-dev-server` (#5731)
snitin315 Nov 25, 2021
a343bec
build(deps-dev): bump postcss from 8.3.11 to 8.4.1 (#5727)
dependabot[bot] Nov 26, 2021
dc5bb5f
build(deps-dev): bump sass from 1.43.4 to 1.43.5 (#5730)
dependabot[bot] Nov 26, 2021
933045e
docs(configuration): add `module.parser.javascript` options (#5713)
snitin315 Nov 26, 2021
928bdb4
build(deps): bump react-spring from 9.3.1 to 9.3.2 (#5723)
dependabot[bot] Nov 26, 2021
09e51ca
build(deps-dev): bump css-minimizer-webpack-plugin from 3.1.4 to 3.2.…
dependabot[bot] Nov 26, 2021
7a20495
chore: use node v16 for CI jobs (#5732)
snitin315 Nov 26, 2021
54a831e
docs(configuration): add `chunkLoading: false` (#5711)
snitin315 Nov 26, 2021
dfc18b1
build(deps-dev): bump postcss from 8.4.1 to 8.4.2 (#5733)
dependabot[bot] Nov 26, 2021
a51cf92
build(deps-dev): bump postcss-loader from 6.2.0 to 6.2.1 (#5734)
dependabot[bot] Nov 27, 2021
e19e630
docs(configuration): add `resolve.useSyncFileSystemCalls` (#5736)
snitin315 Nov 29, 2021
6fa5918
docs(guides): remove the outdated tip regarding `package-lock.json` (…
snitin315 Nov 29, 2021
73b4564
chore: bump `postcss` version (#5738)
snitin315 Nov 29, 2021
6b02a2e
build(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#5742)
dependabot[bot] Nov 30, 2021
734055c
build(deps-dev): bump jest from 27.3.1 to 27.4.0 (#5741)
dependabot[bot] Nov 30, 2021
845fc97
build(deps-dev): bump jest from 27.4.0 to 27.4.2 (#5746)
dependabot[bot] Dec 1, 2021
1770b64
build(deps-dev): bump sass from 1.43.5 to 1.44.0 (#5745)
dependabot[bot] Dec 1, 2021
d6a26f1
build(deps-dev): bump jest from 27.4.2 to 27.4.3 (#5748)
dependabot[bot] Dec 2, 2021
9126c19
Merge conflict
dkstyle Dec 3, 2021
cec9422
Merge Conflict
dkstyle Dec 3, 2021
b72bb92
build(deps): bump react-helmet-async from 1.1.2 to 1.2.1 (#5750)
dependabot[bot] Dec 3, 2021
fb377cc
build(deps-dev): bump @svgr/webpack from 5.5.0 to 6.1.0 (#5749)
dependabot[bot] Dec 3, 2021
7bcd6db
docs: update the CLA link (#5747)
snitin315 Dec 3, 2021
9b66bd4
build(deps-dev): bump workbox-webpack-plugin from 6.4.1 to 6.4.2 (#5753)
dependabot[bot] Dec 4, 2021
0fcac56
build(deps): bump @docsearch/react from 3.0.0-alpha.41 to 3.0.0-alpha…
dependabot[bot] Dec 4, 2021
a1bc151
build(deps): bump workbox-window from 6.4.1 to 6.4.2 (#5751)
dependabot[bot] Dec 4, 2021
ae44515
docs(configuration): Added dependencies docs (#5744)
dangayle Dec 5, 2021
5eb6e4f
docs(api): add more examples for usage of the info command (#5754)
snitin315 Dec 5, 2021
4fba312
chore: update eslint and prettier (#5755)
snitin315 Dec 6, 2021
6103562
build(deps-dev): bump @svgr/webpack from 6.1.0 to 6.1.1 (#5763)
dependabot[bot] Dec 7, 2021
bee2b27
build(deps-dev): bump webpack from 5.64.4 to 5.65.0 (#5762)
dependabot[bot] Dec 7, 2021
055686e
build(deps): bump react-helmet-async from 1.2.1 to 1.2.2 (#5760)
dependabot[bot] Dec 7, 2021
b112fba
build(deps-dev): bump cypress from 9.1.0 to 9.1.1 (#5761)
dependabot[bot] Dec 7, 2021
2b89a91
docs(guides): update Via the Node.js API dev-server.js (#5757)
uikoo9 Dec 7, 2021
6714e62
build(deps-dev): bump eslint from 8.4.0 to 8.4.1 (#5765)
dependabot[bot] Dec 8, 2021
86c7acd
build(deps-dev): bump sass-loader from 12.3.0 to 12.4.0 (#5766)
dependabot[bot] Dec 8, 2021
c57a7bb
docs(configuration): fix mimeTypes example (#5769)
snitin315 Dec 9, 2021
8bd537e
docs(configuration): update watch.mdx (#5767)
orvisevans Dec 10, 2021
05c71cc
build(deps-dev): bump tailwindcss from 2.2.19 to 3.0.0 (#5771)
dependabot[bot] Dec 10, 2021
9b6be5e
docs(guides): add link to the docs of webpack-dev-server API (#5772)
snitin315 Dec 10, 2021
36ab1dc
build(deps-dev): bump jest from 27.4.3 to 27.4.4 (#5775)
dependabot[bot] Dec 11, 2021
e666e6c
docs(configuration): remove excess backslash escapes (#5770)
vabushkevich Dec 12, 2021
4bcce20
docs(configuration): add warning for `server.options.cacert` (#5777)
snitin315 Dec 12, 2021
8aacc78
build(deps-dev): bump @svgr/webpack from 6.1.1 to 6.1.2 (#5783)
dependabot[bot] Dec 14, 2021
267acda
build(deps-dev): bump copy-webpack-plugin from 10.0.0 to 10.1.0 (#5773)
dependabot[bot] Dec 14, 2021
af4c080
build(deps-dev): bump tailwindcss from 3.0.0 to 3.0.2 (#5779)
dependabot[bot] Dec 14, 2021
591d8be
Merge branch 'kr' into merge-sync-af4c080
dkstyle Dec 14, 2021
e9b6af6
Merge conflict
dkstyle Dec 14, 2021
6480c8a
build(deps-dev): bump sass from 1.44.0 to 1.45.0 (#5781)
dependabot[bot] Dec 14, 2021
d22e54c
build(deps-dev): bump postcss from 8.4.4 to 8.4.5 (#5780)
dependabot[bot] Dec 14, 2021
9867945
docs(configuration): add `optionalChaining` and `templateLiteral` op…
snitin315 Dec 14, 2021
2011e27
build(deps-dev): bump jest from 27.4.4 to 27.4.5 (#5787)
dependabot[bot] Dec 15, 2021
5072d16
build(deps-dev): bump @babel/preset-react from 7.16.0 to 7.16.5 (#5790)
dependabot[bot] Dec 15, 2021
3649ec2
docs(configuration): Update docs for entry-context (#5778)
spicylemonhaha Dec 15, 2021
e7064d7
build(deps-dev): bump @babel/eslint-parser from 7.16.3 to 7.16.5 (#5792)
dependabot[bot] Dec 15, 2021
8d58c44
build(deps-dev): bump @babel/core from 7.16.0 to 7.16.5 (#5791)
dependabot[bot] Dec 15, 2021
d5e76ca
docs(configuration): add tip for `output.hashDigestLength` default va…
snitin315 Dec 15, 2021
45e1e92
Addtional working for merging #d5e76ca
dkstyle Dec 15, 2021
0db81a3
Add AnalyticsRouter (#5776)
chenxsan Dec 15, 2021
936c031
build(deps-dev): bump tailwindcss from 3.0.2 to 3.0.5 (#5793)
dependabot[bot] Dec 16, 2021
cc8d311
build(deps-dev): bump @babel/preset-env from 7.16.4 to 7.16.5 (#5789)
dependabot[bot] Dec 16, 2021
6df1f51
build(deps-dev): bump copy-webpack-plugin from 10.1.0 to 10.2.0 (#5795)
dependabot[bot] Dec 17, 2021
ab7f8f7
build(deps-dev): bump css-minimizer-webpack-plugin from 3.2.0 to 3.3.…
dependabot[bot] Dec 17, 2021
a176464
build(deps-dev): bump tailwindcss from 3.0.5 to 3.0.7 (#5797)
dependabot[bot] Dec 19, 2021
7a6d0b6
build(deps-dev): bump lint-staged from 12.1.2 to 12.1.3 (#5801)
dependabot[bot] Dec 21, 2021
ba253ff
build(deps-dev): bump eslint from 8.4.1 to 8.5.0 (#5800)
dependabot[bot] Dec 21, 2021
af359d8
build(deps-dev): bump webpack-dev-server from 4.6.0 to 4.7.0 (#5805)
dependabot[bot] Dec 22, 2021
8078cfd
build(deps-dev): bump cypress from 9.1.1 to 9.2.0 (#5804)
dependabot[bot] Dec 22, 2021
32e91f7
build(deps-dev): bump sass from 1.45.0 to 1.45.1 (#5806)
dependabot[bot] Dec 22, 2021
9bef361
build(deps-dev): bump css-minimizer-webpack-plugin from 3.3.0 to 3.3.…
dependabot[bot] Dec 22, 2021
d52b85f
docs(configuration): add `devServer.setupMiddlewares` option (#5807)
snitin315 Dec 22, 2021
853a683
docs(configuration): add deprecation warning for devServer options (#…
snitin315 Dec 22, 2021
b193ed8
build(deps-dev): upgrade react-router-dom (#5764)
chenxsan Dec 22, 2021
558725c
build(deps-dev): bump @pmmmwh/react-refresh-webpack-plugin (#5811)
dependabot[bot] Dec 23, 2021
036e115
build(deps-dev): bump webpack-dev-server from 4.7.0 to 4.7.1 (#5809)
dependabot[bot] Dec 23, 2021
8a4c965
build(deps): bump react-spring from 9.3.2 to 9.3.3 (#5810)
dependabot[bot] Dec 23, 2021
e3d0d4c
build(deps-dev): bump remark-html from 15.0.0 to 15.0.1 (#5739)
dependabot[bot] Dec 23, 2021
878bbc4
chore: enable `no-duplicate-imports` eslint rule (#5812)
snitin315 Dec 23, 2021
e6e2e12
build(deps-dev): bump eslint-plugin-react from 7.27.1 to 7.28.0 (#5814)
dependabot[bot] Dec 24, 2021
1dbc550
build(deps): bump prop-types from 15.7.2 to 15.8.0 (#5813)
dependabot[bot] Dec 24, 2021
ac0f90f
docs(configuration): document experiments.css (#5815)
chenxsan Dec 25, 2021
a795f00
update deploy action (#5817)
chenxsan Dec 25, 2021
f2b590a
build(deps-dev): bump lint-staged from 12.1.3 to 12.1.4 (#5816)
dependabot[bot] Dec 25, 2021
2c2b684
Merge conflict
dkstyle Dec 27, 2021
866ff77
Merge conflict
dkstyle Dec 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ module.exports = {
'no-console': 'off',
semi: ['error', 'always'],
quotes: ['error', 'single'],
'no-duplicate-imports': 'error',
'react/jsx-uses-react': 'off', // no longer needed with new jsx transform
'react/react-in-jsx-scope': 'off', // ditto
'react-hooks/rules-of-hooks': 'error',
Expand Down Expand Up @@ -50,6 +51,7 @@ module.exports = {
'no-constant-condition': 'off',
'no-useless-escape': 'off',
'no-dupe-keys': 'off',
'no-duplicate-imports': 'off',
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- run: yarn lint:links

- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.5
uses: JamesIves/github-pages-deploy-action@4.1.8
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
Expand Down
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@babel/core": "^7.16.5",
"@babel/eslint-parser": "^7.16.5",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/preset-env": "^7.16.4",
"@babel/preset-env": "^7.16.5",
"@babel/preset-react": "^7.16.5",
"@mdx-js/loader": "^2.0.0-next.9",
"@octokit/auth-action": "^1.3.3",
Expand All @@ -82,26 +82,26 @@
"@svgr/webpack": "^6.1.2",
"autoprefixer": "^10.4.0",
"babel-loader": "^8.2.3",
"copy-webpack-plugin": "^10.1.0",
"copy-webpack-plugin": "^10.2.0",
"css-loader": "^6.5.1",
"css-minimizer-webpack-plugin": "^3.2.0",
"cypress": "^9.1.1",
"css-minimizer-webpack-plugin": "^3.3.1",
"cypress": "^9.2.0",
"directory-tree": "^3.0.1",
"directory-tree-webpack-plugin": "^1.0.3",
"duplexer": "^0.1.1",
"eslint": "^8.4.1",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-mdx": "^1.16.0",
"eslint-plugin-react": "^7.27.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"front-matter": "^4.0.2",
"html-webpack-plugin": "^5.5.0",
"http-server": "^14.0.0",
"husky": "^7.0.4",
"hyperlink": "^5.0.3",
"jest": "^27.4.5",
"lint-staged": "^12.1.2",
"lint-staged": "^12.1.4",
"lodash": "^4.17.21",
"markdownlint": "^0.24.0",
"markdownlint-cli": "^0.30.0",
Expand All @@ -121,37 +121,36 @@
"remark-extract-anchors": "1.1.1",
"remark-frontmatter": "^4.0.1",
"remark-gfm": "^1.0.0",
"remark-html": "^15.0.0",
"remark-html": "^15.0.1",
"remark-refractor": "montogeek/remark-refractor",
"remark-slug": "^7.0.1",
"rimraf": "^3.0.2",
"sass": "^1.45.0",
"sass": "^1.45.1",
"sass-loader": "^12.4.0",
"sirv-cli": "^1.0.14",
"sitemap-static": "^0.4.2",
"start-server-and-test": "^1.14.0",
"static-site-generator-webpack-plugin": "^3.4.1",
"style-loader": "^3.3.1",
"tailwindcss": "^3.0.2",
"tailwindcss": "^3.0.7",
"tap-spot": "^1.1.1",
"unist-util-visit": "^4.1.0",
"webpack": "^5.65.0",
"webpack-bundle-analyzer": "^4.5.0",
"webpack-cli": "^4.9.1",
"webpack-dev-server": "^4.6.0",
"webpack-dev-server": "^4.7.1",
"webpack-merge": "^5.8.0",
"workbox-webpack-plugin": "^6.4.2"
},
"dependencies": {
"@docsearch/react": "^3.0.0-alpha.42",
"path-browserify": "^1.0.1",
"prop-types": "^15.7.2",
"prop-types": "^15.8.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-g-analytics": "0.4.2",
"react-helmet-async": "^1.2.2",
"react-router-dom": "^5.3.0",
"react-spring": "^9.3.2",
"react-router-dom": "^6.2.1",
"react-spring": "^9.3.3",
"react-tiny-popover": "5",
"react-use": "^17.3.1",
"react-visibility-sensor": "^5.0.2",
Expand Down
105 changes: 105 additions & 0 deletions src/AnalyticsRouter.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/**
* based on https://github.com/seeden/react-g-analytics
* refactored against new version of react/react-router-dom
*/
import { BrowserRouter, useLocation } from 'react-router-dom';
import PropTypes from 'prop-types';
import { useEffect } from 'react';
AnalyticsRouter.propTypes = {
id: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
set: PropTypes.object,
};
export default function AnalyticsRouter(props) {
const { id, set, children } = props;

return (
<BrowserRouter>
<GoogleAnalytics id={id} set={set}>
{children}
</GoogleAnalytics>
</BrowserRouter>
);
}

function loadScript() {
const gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
gads.src = '//www.google-analytics.com/analytics.js';

const head = document.getElementsByTagName('head')[0];
head.appendChild(gads);
}

function initGoogleAnalytics(id, set) {
if (window.ga || !id) {
return;
}

window.ga =
window.ga ||
function () {
(ga.q = ga.q || []).push(arguments); // eslint-disable-line
};
ga.l = +new Date(); // eslint-disable-line

loadScript();

window.ga('create', id, 'auto');

if (set) {
Object.keys(set).forEach((key) => {
window.ga('set', key, set[key]);
});
}
}
GoogleAnalytics.propTypes = {
id: PropTypes.string.isRequired,
children: PropTypes.node.isRequired,
set: PropTypes.object,
};

function googleAnalyticsCommand(what, options, ...args) {
if (!window.ga) {
throw new Error('Google analytics is not initialized');
}

if (typeof options === 'string') {
return window.ga(what, options, ...args);
}

return window.ga(what, options);
}
function googleAnalyticsSet(...options) {
return googleAnalyticsCommand('set', ...options);
}
function googleAnalyticsSend(...options) {
return googleAnalyticsCommand('send', ...options);
}

function GoogleAnalytics(props) {
const { id, set, children } = props;

const location = useLocation();

useEffect(() => {
initGoogleAnalytics(id, set);
}, [id, set]);

useEffect(() => {
const path = location.pathname + location.search;

googleAnalyticsSet({
page: path,
title: document.title,
location: document.location,
});

googleAnalyticsSend({
hitType: 'pageview',
});
}, [location]);

return <>{children}</>;
}
10 changes: 1 addition & 9 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,4 @@
import { Route } from 'react-router-dom';
import Site from './components/Site/Site';
export default function App() {
return (
<Route
path="/"
render={(props) => (
<Site {...props} import={(path) => import(`./content/${path}`)} />
)}
/>
);
return <Site import={(path) => import(`./content/${path}`)} />;
}
53 changes: 30 additions & 23 deletions src/components/Navigation/Navigation.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import { DocSearch } from '@docsearch/react';
import { Link as ReactDOMLink } from 'react-router-dom';
import { Link as ReactDOMLink, NavLink, useLocation } from 'react-router-dom';

// Import Components
import Link from '../Link/Link';
Expand All @@ -16,22 +16,21 @@ import GithubIcon from '../../styles/icons/github.svg';
import TwitterIcon from '../../styles/icons/twitter.svg';
import StackOverflowIcon from '../../styles/icons/stack-overflow.svg';
import Hamburger from '../../styles/icons/hamburger.svg';
import { NavLink, useLocation } from 'react-router-dom';
import HelloDarkness from '../HelloDarkness';

NavigationItem.propTypes = {
children: PropTypes.node.isRequired,
url: PropTypes.string.isRequired,
isActive: PropTypes.func,
isactive: PropTypes.func,
};

function NavigationItem({ children, url, isActive }) {
function NavigationItem({ children, url, isactive }) {
let obj = {};
// decide if the link is active or not by providing a function
// otherwise we'll let react-dom makes the decision for us
if (isActive) {
if (isactive) {
obj = {
isActive,
isactive,
};
}
const classes =
Expand All @@ -51,9 +50,10 @@ function NavigationItem({ children, url, isActive }) {
return (
<NavLink
{...obj}
activeClassName="active-menu"
className={({ isActive }) =>
isActive ? `${classes} !text-blue-200` : classes
}
to={url}
className={classes}
>
{children}
</NavLink>
Expand Down Expand Up @@ -195,9 +195,9 @@ function Navigation({ links, pathname, hash = '', toggleSidebar }) {
return link.children;
})
.map((link) => {
if (link.isActive) {
if (link.isactive) {
// hide the children if the link is not active
if (!link.isActive({}, location)) {
if (!link.isactive({}, location)) {
return null;
}
}
Expand All @@ -210,19 +210,26 @@ function Navigation({ links, pathname, hash = '', toggleSidebar }) {
className="md:max-w-[1024px] md:mx-auto md:grid md:grid-flow-col md:justify-end md:gap-x-[20px] md:px-[24px]"
data-testid="sub-navigation"
>
{link.children.map((child) => (
<NavLink
key={child.url}
to={child.url}
title={child.title}
className="text-blue-400 py-5 text-sm capitalize hover:text-black dark:hover:text-white"
activeClassName="active-submenu"
>
{child.content === 'api'
? child.content.toUpperCase()
: child.content}
</NavLink>
))}
{link.children.map((child) => {
const classNames =
'text-blue-400 py-5 text-sm capitalize hover:text-black dark:hover:text-white';
return (
<NavLink
key={child.url}
to={child.url}
title={child.title}
className={({ isActive }) =>
isActive
? `!text-black dark:!text-white ${classNames}`
: classNames
}
>
{child.content === 'api'
? child.content.toUpperCase()
: child.content}
</NavLink>
);
})}
</div>
</div>
);
Expand Down
2 changes: 1 addition & 1 deletion src/components/SidebarItem/SidebarItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default class SidebarItem extends Component {
)}

<NavLink
exact
end
key={this.props.url}
className={`${block}__title`}
to={this.props.url}
Expand Down