Skip to content

Commit a5566a1

Browse files
authored
chore(vote): port voting app, update deps, and simplify config (#1717)
Port the voting app to a it's own repository and expose that section of the site more prominently (in the header). This commit also... - Simplifies the webpack config slightly and allows external styles. - Updates issue template to highlight content from other repositories. - Updates some outdated dependencies.
1 parent 7078bd7 commit a5566a1

14 files changed

+40
-1211
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
- [ ] Check the current issues to ensure you aren't creating a duplicate.
22
- [ ] Consider making small typo fixes and such directly as pull requests.
3+
- [ ] For the voting application, go to https://github.com/webpack-contrib/voting-app.
4+
- [ ] For loader/plugin docs, consider opening an issue in the corresponding repository.
35
- [ ] No existing issue? Go ahead and open a new one.
46
- __Remove these instructions from your PR as they are for your eyes only.__

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,20 +45,20 @@
4545
"antwar-helpers": "^0.19.0",
4646
"antwar-interactive": "^0.19.0",
4747
"async": "^2.5.0",
48-
"autoprefixer": "^7.1.3",
48+
"autoprefixer": "^7.2.3",
4949
"babel-core": "^6.26.0",
5050
"babel-eslint": "^7.2.3",
5151
"babel-loader": "^7.1.2",
5252
"babel-plugin-transform-class-properties": "^6.24.1",
5353
"babel-plugin-transform-object-rest-spread": "^6.26.0",
5454
"babel-preset-env": "^1.6.0",
5555
"babel-preset-react": "^6.24.1",
56-
"copy-webpack-plugin": "^4.0.1",
56+
"copy-webpack-plugin": "^4.3.0",
5757
"css-loader": "^0.28.5",
5858
"duplexer": "^0.1.1",
5959
"eslint": "4.5.0",
6060
"eslint-loader": "^1.9.0",
61-
"eslint-plugin-markdown": "^1.0.0-beta.6",
61+
"eslint-plugin-markdown": "^1.0.0-beta.7",
6262
"extract-text-webpack-plugin": "^3.0.0",
6363
"file-loader": "^0.11.2",
6464
"fontgen-loader": "^0.2.1",
@@ -67,22 +67,22 @@
6767
"github": "^10.0.0",
6868
"html-webpack-plugin": "^2.30.1",
6969
"http-server": "^0.10.0",
70-
"hyperlink": "^3.0.0",
70+
"hyperlink": "^3.0.1",
7171
"loader-utils": "^1.1.0",
7272
"lodash": "^4.17.4",
7373
"markdown-loader": "^2.0.1",
7474
"markdownlint": "^0.6.0",
7575
"markdownlint-cli": "^0.3.1",
76-
"marked": "^0.3.6",
76+
"marked": "^0.3.7",
7777
"mkdirp": "^0.5.1",
7878
"modularscale-sass": "^3.0.3",
79-
"moment": "^2.18.1",
79+
"moment": "^2.20.1",
8080
"ncp": "^2.0.0",
8181
"node-sass": "^4.5.3",
8282
"npm-run-all": "^4.1.1",
8383
"postcss-loader": "^2.0.6",
8484
"prism-languages": "^0.3.3",
85-
"prismjs": "^1.6.0",
85+
"prismjs": "^1.9.0",
8686
"raw-loader": "^0.5.1",
8787
"request": "^2.81.0",
8888
"sass-loader": "^6.0.6",
@@ -92,21 +92,22 @@
9292
"tap-parser": "^6.0.1",
9393
"through2": "^2.0.3",
9494
"url-loader": "^0.5.9",
95-
"webpack": "^3.5.5",
96-
"webpack-dev-server": "^2.7.1",
95+
"webpack": "^3.10.0",
96+
"webpack-dev-server": "^2.9.7",
9797
"webpack-merge": "^4.1.0",
9898
"yaml-frontmatter-loader": "^0.1.0"
9999
},
100100
"dependencies": {
101-
"ajv": "^5.2.2",
102-
"preact": "^8.2.5",
101+
"ajv": "^5.5.2",
102+
"preact": "^8.2.7",
103103
"preact-compat": "3.17.0",
104104
"prop-types": "^15.5.10",
105105
"react": "^15.6.1",
106106
"react-dom": "^15.6.1",
107107
"react-router": "^4.2.0",
108108
"react-router-dom": "^4.2.2",
109109
"tool-list": "^0.11.0",
110+
"webpack.vote": "^0.1.0",
110111
"whatwg-fetch": "^2.0.3"
111112
}
112113
}

src/components/Navigation/Links.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,12 @@
1515
"title": "Contribute",
1616
"url": "contribute"
1717
},
18+
{
19+
"title": "Vote",
20+
"url": "vote"
21+
},
1822
{
1923
"title": "Blog",
2024
"url": "//medium.com/webpack"
2125
}
22-
]
26+
]

0 commit comments

Comments
 (0)