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

Rebuild the Site #2039

Merged
merged 168 commits into from
Feb 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
dafbbb2
adding docs for new `output.devtoolNamespace` option and [namespace] …
MagicDuck Oct 17, 2017
f3c515c
adding extra lines as indicated
MagicDuck Oct 20, 2017
8ccb3da
docs(config): update `hashFunction` docs based on v4 (#1761)
EugeneHlushko Jan 16, 2018
a749eba
refactor: simplify build process to only utilize webpack
skipjack Jan 6, 2018
0957e3f
refactor(navigation): utilize `react-banner` remove hardcoded links
skipjack Jan 6, 2018
6865dbb
refactor: clean up template in prep for removal
skipjack Jan 6, 2018
41d8225
refactor: create content-specific `images` dir and remove favicon (wa…
skipjack Jan 6, 2018
9ad9f0b
refactor: move all styling imports into the corresponding modules
skipjack Jan 6, 2018
95dffba
refactor(link): refactor and simplify this component slightly
skipjack Jan 6, 2018
539cb09
refactor: tweak and move around some styling
skipjack Jan 6, 2018
b1b8dca
refactor(sidebar-mobile): use class properties, stateless methods, an…
skipjack Jan 6, 2018
2ecd01e
refactor(site): start reworking the base component
skipjack Jan 6, 2018
332d44c
chore: add entry module and prep for static rendering via the `Static…
skipjack Jan 6, 2018
4677502
chore: add `package-lock.json` for consistent builds
skipjack Jan 17, 2018
04c4c99
refactor: move more component styling to more sensible `import` locat…
skipjack Jan 17, 2018
14b8642
refactor(config): enhance `_content.json` items and hide "hidden modu…
skipjack Jan 17, 2018
b889bda
chore(reps): update react and react-dom
skipjack Jan 18, 2018
dbd851c
chore(config): add production configuration
skipjack Jan 18, 2018
ac2860b
chore(deps): update front-matter
skipjack Jan 18, 2018
1fef082
chore(config): add the ssg plugin and build process updates
skipjack Jan 18, 2018
68d2c71
chore: use underscore prefix to ignore external data
skipjack Jan 18, 2018
4f7a1df
docs(api): minor `title` and `sort` updates
skipjack Jan 18, 2018
af72149
refactor(sidebar-mobile): tweak window checks to please ssg plugin
skipjack Jan 18, 2018
96c830c
refactor(sidebar-item): remove unnecessary lodash dep
skipjack Jan 18, 2018
bff5dec
refactor(sidebar): disable sticky logic and add todo
skipjack Jan 18, 2018
d8ab90c
refactor: sort pages and update site structure
skipjack Jan 18, 2018
9dd427a
chore: add react-hot-loader hoc back in
skipjack Jan 19, 2018
5cb5824
refactor(markdown): migrate markdown styling to a component
skipjack Jan 20, 2018
a8e8bc2
refactor(page): rework `Page` and `PageLinks` in accordance with new …
skipjack Jan 20, 2018
34f6422
chore(site): start rendering content
skipjack Jan 20, 2018
2fec327
refactor: finish replacement of `template.ejs` with more modular code
skipjack Jan 20, 2018
8e81f3d
fix(site): fix issue with route matching
skipjack Jan 20, 2018
e293b41
chore: update package lock
skipjack Jan 20, 2018
56968fb
refactor(config): fix root index url and format `item.url` creation
skipjack Jan 20, 2018
56b3208
refactor(page): temp fix for `length` build error
skipjack Jan 20, 2018
16796f4
refactor(config): remove comment
skipjack Jan 20, 2018
e1e3028
refactor(site): fix root section sidebar links
skipjack Jan 20, 2018
1916abc
chore(site): add 404 text
skipjack Jan 20, 2018
f7be32c
docs: remove relative links to prevent erroneous pages from being cre…
skipjack Jan 20, 2018
593061b
refactor(site): fix documentation link using new version of react-banner
skipjack Jan 25, 2018
e8ab17a
chore: remove antwar dependencies
skipjack Jan 25, 2018
e4b0420
refactor(config): fix issues with unwanted `.babelrc` and `.npmignore…
skipjack Jan 25, 2018
c2e6d52
refactor(config): move `SSGPlugin` usage to prod and use `HTMLPlugin`…
skipjack Jan 25, 2018
d80cce7
fix(gitter): `clearTimeout` to prevent unmounted `setState` error
skipjack Jan 25, 2018
ade85e6
chore: re-integrate vote page
skipjack Jan 25, 2018
0f9078e
docs(splash): minor tweaks/fixes to splash headers
skipjack Jan 25, 2018
8f6dfa5
refactor(site): move and clarify `import()`
skipjack Jan 25, 2018
eaf5c8c
chore: add some notes for friday's discussion (1/26/2018)
skipjack Jan 25, 2018
b58e7d5
chore: Keep SSGPlugin work
pierreneter Jan 28, 2018
79e5f28
chore: make CommonsChunkPlugin work with SSGPlugin
pierreneter Jan 28, 2018
f697633
docs(discussion): update discussion based on conversation with @jerem…
skipjack Feb 7, 2018
8d35428
refactor(config): split server and spa builds via config parallelization
skipjack Feb 23, 2018
04b1486
chore: remove yarn.lock in favor of package-lock.json
skipjack Feb 27, 2018
2f62a49
chore: update package-lock file
skipjack Feb 27, 2018
713f78b
chore(markdown): add initial remark plugins
skipjack Feb 28, 2018
22ab19b
chore: fix development duplicate hmr log issue
skipjack Feb 28, 2018
5ab8773
refactor: handle lazy-loaded modules for spa-like behavior
skipjack Feb 28, 2018
39954a9
docs(discussion): update the discussion to reflect the latest state o…
skipjack Mar 22, 2018
c8a7ef3
docs(discussion): update todos
skipjack Mar 24, 2018
19d8e39
chore: add main `description` to site
skipjack Mar 24, 2018
6582d95
chore(splash): isolate splash dependencies to individual components
skipjack Mar 24, 2018
a1cbe7f
chore(mobile): re-integrate mobile sidebar
skipjack Mar 24, 2018
ce1754d
refactor(fetch): rework supporter fetching and comment out remainder
skipjack Mar 24, 2018
2efc06e
chore(splash): re-integrate the landing page
skipjack Mar 24, 2018
7b805b3
docs(discussion): mark landing page as done
skipjack Mar 25, 2018
9a021ed
refactor(page): fix `module` / `module.default` discrepancy
skipjack Apr 14, 2018
ad7f368
chore: remove discussion file in favor of pr/issue comments
skipjack Apr 14, 2018
9511f1a
refactor(splash): fix erroneous html generation due to certain suppor…
skipjack Apr 14, 2018
c86ee6d
fix(icons): fix out of sync `viewbox` attributes on svgs
skipjack Apr 14, 2018
b926de6
chore(navigation): migrate to `react-banner@next` and re-integrate ic…
skipjack Apr 14, 2018
cc95185
chore(navigation): re-incorporate docsearch and tweak menu position
skipjack Apr 14, 2018
902a9f1
chore(navigation): include protocol in external links
skipjack Apr 15, 2018
54e7e6b
chore(navigation): remove unused `import`
skipjack Apr 17, 2018
4e13706
chore(navigation): fix docsearch assumption of browser environment
skipjack Apr 17, 2018
f1e9f4d
chore(deps): update lock file
skipjack Apr 17, 2018
708c776
chore(rebuild): re-incorporate redirects (#2034)
EugeneHlushko Apr 17, 2018
f6d0c17
fix: linting, update dependencies and github api package name
jeremenichelli Apr 18, 2018
eee38eb
feat: add fetched files to build, lot of gardening
jeremenichelli Apr 21, 2018
88a7eaf
chore: move enhacer to its own util
jeremenichelli Apr 21, 2018
a9dd135
chore: add util file
jeremenichelli Apr 21, 2018
db9f084
fix: move all new helpers to utilities
jeremenichelli Apr 22, 2018
d43ac95
Merge pull request #2072 from webpack/rebuild-fetch-files
jeremenichelli Apr 23, 2018
d827379
fix: content population on server, hydrate on client
jeremenichelli Apr 24, 2018
7ba006c
chore(rebuild): preload entry page to avoid flash during retrieval
skipjack May 2, 2018
48ecee5
refactor: move sorting/filtering to top-level using new plugin options
skipjack May 5, 2018
f7bbce7
chore: remove obsolete todo
skipjack May 5, 2018
36f3c4a
refactor(site): finish content-utils thus simplifying the `Site` comp…
skipjack May 5, 2018
54d506d
refactor(splash): rename variable for clarity
skipjack May 5, 2018
1bb7852
chore(rebuild): address minor feedback
skipjack May 6, 2018
c22bfbd
chore(rebuild): populate page titles (#2040)
montogeek May 7, 2018
10a0421
chore(rebuild): re-incorporate google-analytics (#2045)
montogeek May 8, 2018
48552f8
Remove DISCUSSION.md file, again.
montogeek May 8, 2018
abd77ef
fix(site) Use correct export name from react-g-analytics module
montogeek May 9, 2018
ea0660d
chore(rebuild): start parsing anchors
skipjack May 11, 2018
611ce85
refactor(rebuild): remove unused deps and create proper `remark` plugin
skipjack May 11, 2018
395e5b8
chore(rebuild): remove unused `preact` deps
skipjack May 11, 2018
12ec66c
fix: avoid repeating browser checking
jeremenichelli May 11, 2018
b0db931
fix: empty headings fix on anchors
jeremenichelli May 11, 2018
c7babca
chore: remove logs
jeremenichelli May 11, 2018
633f94d
chore(rebuild): re-incorporate header links (#2043)
montogeek May 12, 2018
97dfa15
feat: introduce loading animation on page change (#2121)
jeremenichelli May 12, 2018
25d93b4
chore(rebuild): parse custom blockquotes (#2044)
montogeek May 12, 2018
0932499
chore(rebuild): re-incorporate prism theme (#2046)
montogeek May 12, 2018
8238289
chore(rebuild): use `sticky` positioning for `Sidebar`
montogeek Apr 1, 2018
230b5eb
chore(rebuild): remove `overflow` declaration on `.site` to fix stick…
skipjack May 15, 2018
2dad22a
chore(rebuild): simplify sidebar to a stateless component
skipjack May 15, 2018
cf679c5
chore(rebuild): use `sticky` positioning for `Gitter` component
skipjack May 15, 2018
42a9b6f
chore(rebuild): use `sticky` positioning for `Sponsors` component
skipjack May 15, 2018
7635dce
refactor(rebuild): move `import isClient ...` into utility import sec…
skipjack May 15, 2018
58b41cb
fix(fetch) done add two underscores for supporters.json (#2158)
EugeneHlushko May 16, 2018
652d693
chore(rebuild): fix gitter widget duplication (#2133)
EugeneHlushko May 20, 2018
e213b98
Merge branch 'master' into rebuild
montogeek Jun 7, 2018
0461158
infrastructure(site) Rebuild use packages (#2235)
montogeek Jun 8, 2018
f8cb167
fix: avoid SSG plugin crawl, shave time from plugins on prod and server
jeremenichelli May 27, 2018
e279ebe
chore: remove clean plugin, improve build speed
jeremenichelli May 27, 2018
1ef9f9a
feat: add serve command
jeremenichelli May 27, 2018
9abea82
fix: correciton on babale dev config, code style fixes
jeremenichelli May 27, 2018
a836828
feat: use dt plugin on development, prebuild on production
jeremenichelli Jun 2, 2018
56bec77
fix: by pass filter temporarely
jeremenichelli Jun 2, 2018
3fe5f76
chore: update lock file after rebase
jeremenichelli Jun 9, 2018
52392a2
refactor: filename and code gardening on utilities
jeremenichelli Jun 9, 2018
7461159
refactor: rename files
jeremenichelli Jun 9, 2018
63cfe74
fix: remark plugin module retargeting
jeremenichelli Jun 9, 2018
90a9980
Merge branch 'master' into rebuild
montogeek Jun 11, 2018
2e6805e
fix(linter) Rebuild fix lint issues (#2251)
montogeek Jun 11, 2018
169c413
infrastructure (site) Remove CNAME (#2257)
byzyk Jun 13, 2018
25e4350
Fix Notification bar wont close (#2268)
montogeek Jun 15, 2018
8e8059f
Rebuild sitemap and others (#2254)
montogeek Jun 22, 2018
05ba76f
Fix Sidebar order alphabetically (#2288)
montogeek Jun 27, 2018
24a3e39
Merge branch 'master' into rebuild
montogeek Jun 30, 2018
8bb23dd
fix(a11y) Make Dropdown more accessible (#2333)
tryzniak Jul 13, 2018
7e44039
fix(site) Fixed typo on build-content-tree script (#2381)
Jul 24, 2018
2f8fa0c
infra(site) Fix project runnability on Windows (#2394)
montogeek Jul 25, 2018
7cd0238
feature(tables) Implement responsive tables (#2334)
montogeek Jul 26, 2018
f2227af
fix(scripts) Fix console log typo (#2398)
Jul 26, 2018
21e40b2
Merge branch 'master' into rebuild
montogeek Jul 27, 2018
d9e8aaa
infra(site) Add cross-env to build script (#2401)
montogeek Jul 27, 2018
2db448e
fix(ux) Sub-Navigation disappears when Migrate is clicked (#2408)
Jul 30, 2018
7cf051b
feat(misc) Add OpenGraph and Twitter metadata (#2414)
EugeneHlushko Aug 1, 2018
78f52f1
feat(infra) Rebuild hyperlink (#2382)
Munter Aug 3, 2018
2094c8c
Try improving the conditional deployment to only deploy on actual pus…
Munter Aug 6, 2018
e406545
Re-enable actual deployment script. Seems to only deploy on master br…
Munter Aug 6, 2018
1379c55
Allow link check failures for https://img.shields.io since they seem …
Munter Aug 6, 2018
b5381aa
Remove unused 'github' dependency
Munter Aug 7, 2018
748db04
Fast exit in travis if any task fails
Munter Aug 7, 2018
d2cf474
Merge branch 'master' into rebuild
montogeek Aug 14, 2018
db0c9fc
fix(infra) Add return to actually replace readme links
montogeek Aug 17, 2018
440c2a0
fix(infra) Add return to actually replace readme links (#2451)
montogeek Aug 17, 2018
b00d92a
fix(ux) Set max width to sidebar to avoid overflow text (#2452)
montogeek Aug 17, 2018
fb50a9d
Mark known content-type-mismatch false negatives from hyperlink as TODO
Munter Aug 17, 2018
20371de
Change absolute docs links the root relative ones and also resolve so…
Munter Aug 17, 2018
edb1d93
Merge branch 'rebuild' into rebuild-fix-readme-badges
Munter Aug 17, 2018
b92a6f5
Remove url rewriting for evaluating reidirects of broken links in pro…
Munter Aug 20, 2018
7340aca
Merge pull request #2453 from webpack/rebuild-fix-readme-badges
Munter Aug 22, 2018
cef28e9
feat(infra) Attempt to finish CI runs faster (#2455)
Munter Aug 26, 2018
b0c3f0a
chore(infra) Update loaders and plugins
montogeek Sep 3, 2018
0ba4025
Merge branch 'rebuild' of github.com:webpack/webpack.js.org into rebuild
montogeek Sep 3, 2018
8b7ba92
Rebuild: Make mobile sidebar work again (#2429)
Munter Sep 12, 2018
0f7cb91
fix(ux): Convert github raw links to rendered page links (#2555)
budmc29 Sep 28, 2018
b048fa3
Merge branch 'master' into rebuild
montogeek Dec 15, 2018
aec6c40
Use latest release of dependency
montogeek Dec 15, 2018
88f4064
fix(fetch-packages): remove only titles from loaders and plugins docs…
montogeek Dec 16, 2018
8508b8c
Merge branch 'master' into rebuild
montogeek Jan 6, 2019
f33ab8b
Rebuild Support for custom Markdown on Configuration page (#2564)
montogeek Jan 13, 2019
d81aef4
Fix unencoded ✭ character in img src
papandreou Jan 14, 2019
5f8175a
Merge pull request #2762 from papandreou/fix/invalidLink
Munter Jan 15, 2019
74ec5bd
Accept temporary outages of codecov.io badges when checking links
Munter Jan 15, 2019
f036017
Merge branch 'master' into rebuild
EugeneHlushko Feb 12, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .alexignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
generated/plugins/*
src/content/plugins/_*.md
src/content/loaders/_*.md
12 changes: 10 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
{
"presets": [
"env",
["env", { "modules": false }],
"react"
],
"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
"transform-class-properties"
]
],
"env": {
"development": {
"plugins": [
"react-hot-loader/babel"
]
}
}
}
9 changes: 5 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ root = true
trim_trailing_whitespace = true
insert_final_newline = true

# Format All Source Files
[*.{md,js,jsx,json,scss,hbs,*rc}]
# Format Source Code
[*.{md,js,jsx,json,scss,hbs}]
charset = utf-8
indent_style = space
indent_size = 2
quote_type = single

# Format Any Missing Config Files
[.eslintignore]
# Format Configs
[.eslintignore,*rc]
indent_style = space
indent_size = 2
6 changes: 3 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
build/
generated/
antwar.config.js
dist/
src/content/loaders/_*.md
src/content/plugins/_*.md
7 changes: 0 additions & 7 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,32 +1,25 @@
{
"root": true,

"extends": "eslint:recommended",

"parser": "babel-eslint",

"env": {
"browser": true,
"es6": true,
"node": true
},

"plugins": [
"markdown"
],

"globals": {
"__DEV__": true
},

"rules": {
"no-undef": 2,
"no-unreachable": 2,
"no-unused-vars": 0,
"no-console": 0,
"semi": ["error", "always"]
},

"overrides": [
{
"files": ["src/content/**/*.md"],
Expand Down
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
node_modules
npm-debug.log
build
generated
support-*.json
starter-kits-data.json
.antwar
dist
src/**/_*.json
src/**/_*.md
.vscode
.idea
.DS_Store
npm-debug.log
yarn-error.log
package-lock.json
.cache
64 changes: 52 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,55 @@
branches:
only:
- master
- develop
sudo: false
language: node_js
node_js:
- "8"
sudo: required
install:
- yarn
- sudo pip install proselint
before_script:
- source ./src/scripts/env.sh
script:
- bash ./src/scripts/deploy.sh

matrix:
fast_finish: true

cache:
yarn: true
directories:
- node_modules
- dist
- .cache

stages:
- Build
- Post-build

jobs:
fast_finish: true
allow_failures:
- name: External Link Check

include:
- stage: Build
name: Lint and Build
before_install: npm install --global yarn
install: yarn
script:
- yarn lint:js || travis_terminate 1
- yarn lint:markdown || travis_terminate 1
- yarn lint:social || travis_terminate 1
- yarn build || travis_terminate 1
- yarn lint:links || travis_terminate 1

- stage: Build
name: Proselint
language: python
python: 3.6
cache:
pip: true
directories:
- $HOME/.cache
install: pip install -r requirements.txt
script: cp .proselintrc ~/ && proselint src/content

- stage: Post-build
name: Deploy
if: branch = master AND type = push
script: bash ./src/scripts/deploy.sh

- stage: Post-build
name: External Link Check
script: yarn linkcheck
22 changes: 0 additions & 22 deletions antwar.bootstrap.js

This file was deleted.

82 changes: 0 additions & 82 deletions antwar.config.js

This file was deleted.

31 changes: 0 additions & 31 deletions loaders/page-loader.js

This file was deleted.

Loading