Skip to content

Commit 4a24a1e

Browse files
Merge pull request #2039 from webpack/rebuild
Rebuild the Site
2 parents 6f78590 + f036017 commit 4a24a1e

File tree

131 files changed

+7545
-4691
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

131 files changed

+7545
-4691
lines changed

.alexignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
generated/plugins/*
1+
src/content/plugins/_*.md
2+
src/content/loaders/_*.md

.babelrc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"presets": [
3-
"env",
3+
["env", { "modules": false }],
44
"react"
55
],
66
"plugins": [
7+
"syntax-dynamic-import",
78
"transform-object-rest-spread",
89
"transform-class-properties"
9-
]
10+
],
11+
"env": {
12+
"development": {
13+
"plugins": [
14+
"react-hot-loader/babel"
15+
]
16+
}
17+
}
1018
}

.editorconfig

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ root = true
66
trim_trailing_whitespace = true
77
insert_final_newline = true
88

9-
# Format All Source Files
10-
[*.{md,js,jsx,json,scss,hbs,*rc}]
9+
# Format Source Code
10+
[*.{md,js,jsx,json,scss,hbs}]
1111
charset = utf-8
1212
indent_style = space
1313
indent_size = 2
14+
quote_type = single
1415

15-
# Format Any Missing Config Files
16-
[.eslintignore]
16+
# Format Configs
17+
[.eslintignore,*rc]
1718
indent_style = space
1819
indent_size = 2

.eslintignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
build/
2-
generated/
3-
antwar.config.js
1+
dist/
2+
src/content/loaders/_*.md
3+
src/content/plugins/_*.md

.eslintrc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,25 @@
11
{
22
"root": true,
3-
43
"extends": "eslint:recommended",
5-
64
"parser": "babel-eslint",
7-
85
"env": {
96
"browser": true,
107
"es6": true,
118
"node": true
129
},
13-
1410
"plugins": [
1511
"markdown"
1612
],
17-
1813
"globals": {
1914
"__DEV__": true
2015
},
21-
2216
"rules": {
2317
"no-undef": 2,
2418
"no-unreachable": 2,
2519
"no-unused-vars": 0,
2620
"no-console": 0,
2721
"semi": ["error", "always"]
2822
},
29-
3023
"overrides": [
3124
{
3225
"files": ["src/content/**/*.md"],

.gitignore

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
node_modules
2-
npm-debug.log
3-
build
4-
generated
5-
support-*.json
6-
starter-kits-data.json
7-
.antwar
2+
dist
3+
src/**/_*.json
4+
src/**/_*.md
85
.vscode
96
.idea
107
.DS_Store
8+
npm-debug.log
119
yarn-error.log
1210
package-lock.json
11+
.cache

.travis.yml

Lines changed: 52 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,55 @@
1-
branches:
2-
only:
3-
- master
4-
- develop
1+
sudo: false
52
language: node_js
63
node_js:
74
- "8"
8-
sudo: required
9-
install:
10-
- yarn
11-
- sudo pip install proselint
12-
before_script:
13-
- source ./src/scripts/env.sh
14-
script:
15-
- bash ./src/scripts/deploy.sh
5+
6+
matrix:
7+
fast_finish: true
8+
9+
cache:
10+
yarn: true
11+
directories:
12+
- node_modules
13+
- dist
14+
- .cache
15+
16+
stages:
17+
- Build
18+
- Post-build
19+
20+
jobs:
21+
fast_finish: true
22+
allow_failures:
23+
- name: External Link Check
24+
25+
include:
26+
- stage: Build
27+
name: Lint and Build
28+
before_install: npm install --global yarn
29+
install: yarn
30+
script:
31+
- yarn lint:js || travis_terminate 1
32+
- yarn lint:markdown || travis_terminate 1
33+
- yarn lint:social || travis_terminate 1
34+
- yarn build || travis_terminate 1
35+
- yarn lint:links || travis_terminate 1
36+
37+
- stage: Build
38+
name: Proselint
39+
language: python
40+
python: 3.6
41+
cache:
42+
pip: true
43+
directories:
44+
- $HOME/.cache
45+
install: pip install -r requirements.txt
46+
script: cp .proselintrc ~/ && proselint src/content
47+
48+
- stage: Post-build
49+
name: Deploy
50+
if: branch = master AND type = push
51+
script: bash ./src/scripts/deploy.sh
52+
53+
- stage: Post-build
54+
name: External Link Check
55+
script: yarn linkcheck

antwar.bootstrap.js

Lines changed: 0 additions & 22 deletions
This file was deleted.

antwar.config.js

Lines changed: 0 additions & 82 deletions
This file was deleted.

loaders/page-loader.js

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)