Skip to content

Commit 72d5a54

Browse files
authored
Refactor client (#1137)
* moving client code * adding proper entry point * reworkig client build process. client -> public * removing pug, cleaning up after file move * update the devclient domain for new client location * prune flags inherited from webpack's yargs config * update examples cmd, clean readmes * correct log output * stop minifying client scripts. no need for dev envs * remove jquery from project * refactor and clean 'live' client files * style.css -> live.css * rewriting the overlay * improving log style, using loglevel for prefix * refactor client/index * monkey patching webpack/hot/log to match formatting * removing branch restrictions on CI
1 parent bc8f3c5 commit 72d5a54

File tree

66 files changed

+833
-10180
lines changed

Some content is hidden

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

66 files changed

+833
-10180
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
web_modules

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
},
66
"rules": {
77
"comma-dangle": ["error", "never"],
8+
"curly": ["error"],
89
"consistent-return": "off",
910
"no-param-reassign": "off",
1011
"no-underscore-dangle": "off",

.gitignore

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
npm-debug.log
22
node_modules
3-
/client/live.bundle.js
4-
/client/index.bundle.js
5-
/client/sockjs.bundle.js
3+
/public
64
/coverage
75
*.pem
86
.idea/

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lib/client

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
sudo: false
2-
branches:
3-
only:
4-
- master
5-
- beta
6-
72
language:
83
node_js
94

client/.eslintrc

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

client/live.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

client/live.js

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

client/overlay.js

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

client/page.pug

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

0 commit comments

Comments
 (0)