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

Port to webpack 3 and Upgrade Antwar #980

Merged
merged 49 commits into from
Sep 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d8f0be3
chore - Port to webpack 2
bebraw Mar 5, 2017
c32f769
Simplify
bebraw May 27, 2017
e9babcb
chore: Port SideBody, navigation, footer
bebraw May 27, 2017
4a20af9
Port page layout to the new system
bebraw May 27, 2017
85eedd8
fix: Add a missing slash to urls
bebraw May 27, 2017
96ad67d
fix - Remove extra slashes from sidebar urls
bebraw May 28, 2017
3c27007
chore: Update dependencies
bebraw May 28, 2017
51045c2
fix: Fix sidebar
bebraw May 28, 2017
be5413b
chore: Push `combineContexts` to utilities
bebraw May 28, 2017
e4f7c31
chore: Drop prevnext plugin
bebraw May 28, 2017
38fa7f6
chore: Simplify configuration
bebraw May 28, 2017
55a1e10
fix: Fix propType warnings
bebraw May 28, 2017
fcc6450
chore: minor formatting and cleanup
skipjack May 28, 2017
5afbc35
refactor(routes): remove unused vote routes
skipjack May 28, 2017
6a5b8bf
refactor: simplify eslint-loader declarations
skipjack May 28, 2017
f91be25
refactor(config): minor formatting tweaks in webpack config
skipjack May 28, 2017
8f0b4f9
refactor(sidebar): fix introduction link
skipjack May 28, 2017
a7aa76b
refactor(sidebar): fix `_isOpen` test
skipjack May 28, 2017
fb2d284
refactor(config): utilize `diable` option in the extract plugin to si…
skipjack May 28, 2017
f46abd2
refactor(sidebar-mobile): minor formatting fixes
skipjack May 28, 2017
5f8edde
refactor(site): minor formatting tweaks
skipjack May 28, 2017
8cc8006
chore: Update to webpack 3
bebraw Jun 28, 2017
8dbd18a
chore: Fix titles
bebraw Jun 28, 2017
f7934a2
refactor: resolve various issues caused by rebase
skipjack Aug 30, 2017
431119f
fix: fix antwar interactive id
skipjack Aug 30, 2017
fbbbe08
fix: fix page data broken by rebase
skipjack Aug 30, 2017
91aa15e
fix: fix sorting and clean up formatting
skipjack Aug 30, 2017
5c70113
update package.json (version) and yarn.lock
pierreneter Aug 30, 2017
7d2fb52
Fix content of home
pierreneter Aug 30, 2017
2bf7ada
Update way to retrieve section data
pierreneter Aug 30, 2017
cc683ed
Update components/SidebarMobile.jsx
pierreneter Aug 30, 2017
a6c057f
Update antwar.config
pierreneter Aug 30, 2017
9b75625
Add anchors for index.md, #1085 (Display index pages correctly)
pierreneter Aug 30, 2017
a4a63da
Update correct way to select the active nav item.
pierreneter Aug 30, 2017
9cb026a
Edit css for content of home
pierreneter Aug 30, 2017
035e762
Update tap-parser package for test links
pierreneter Aug 30, 2017
c20a0b1
Fix nav
pierreneter Aug 30, 2017
eea5bc8
add missing plugins
pierreneter Aug 30, 2017
e017d16
Fix links
pierreneter Aug 30, 2017
acfeb17
Fix anchors again
pierreneter Aug 30, 2017
b930d69
refactor: clean up antwar config and resolve edit/repo link issues
skipjack Aug 30, 2017
b81d4eb
fix: simplify index page management
skipjack Aug 31, 2017
b8faf03
fix: fix typo in antwar configuration
skipjack Aug 31, 2017
6c6bba3
fix: account for "Home" section with no index page
skipjack Aug 31, 2017
5993497
fix: resolve broken hash link and improve index pages
skipjack Aug 31, 2017
9b2bdbe
Fix small eslint error
pierreneter Aug 31, 2017
4e1beb9
Update script for lint:social test
pierreneter Aug 31, 2017
6d3f768
Update .alexrc
pierreneter Aug 31, 2017
3656627
fix(tests): ignore npm-install-weback-plugin
skipjack Sep 2, 2017
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
1 change: 1 addition & 0 deletions .alexignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
generated/plugins/npm-install-webpack-plugin.md
9 changes: 7 additions & 2 deletions .alexrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,24 @@
{
"allow": [
"attacks",
"bigger",
"color",
"colors",
"crash",
"dead",
"dirty",
"disabled",
"dive",
"execute",
"executed",
"executes",
"execution",
"dirty",
"disabled",
"failed",
"failure",
"failures",
"fire",
"hook",
"hooks",
"host-hostess",
"hosts",
"jade",
Expand All @@ -23,6 +27,7 @@
"period",
"pros",
"reject",
"remain",
"remains",
"white"
]
Expand Down
14 changes: 6 additions & 8 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# Top-most EditorConfig file
root = true

# Set default charset
[*.{js}]
charset = utf-8

# AutoFormat All Files
[*]
trim_trailing_whitespace = true
insert_final_newline = true

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

# Format Config
[{package.json,.alexrc,babelrc,.eslintignore,.eslintrc,.markdownlint.json,.proselintrc}]
# Format Any Missing Config Files
[.eslintignore]
indent_style = space
indent_size = 2
5 changes: 5 additions & 0 deletions .postcssrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: [
require('autoprefixer')
]
}
4 changes: 2 additions & 2 deletions bootstrap.js → antwar.bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const antwar = require('antwar');

const environment = process.env.npm_lifecycle_event || 'build';
const environment = process.argv[2];

// Patch Babel env to make HMR switch work
process.env.BABEL_ENV = environment;
Expand All @@ -9,7 +9,7 @@ antwar[environment]({
environment,
antwar: require('./antwar.config'),
webpack: require('./webpack.config')
}).catch(function (err) {
}).catch((err) => {
console.error(err);

process.exit(1);
Expand Down
Loading