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