Skip to content

Commit

Permalink
Refactor client (#1137)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
shellscape authored Oct 12, 2017
1 parent bc8f3c5 commit 72d5a54
Show file tree
Hide file tree
Showing 66 changed files with 833 additions and 10,180 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web_modules
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
},
"rules": {
"comma-dangle": ["error", "never"],
"curly": ["error"],
"consistent-return": "off",
"no-param-reassign": "off",
"no-underscore-dangle": "off",
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
npm-debug.log
node_modules
/client/live.bundle.js
/client/index.bundle.js
/client/sockjs.bundle.js
/public
/coverage
*.pem
.idea/
Expand Down
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lib/client
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
sudo: false
branches:
only:
- master
- beta

language:
node_js

Expand Down
11 changes: 0 additions & 11 deletions client/.eslintrc

This file was deleted.

1 change: 0 additions & 1 deletion client/live.html

This file was deleted.

124 changes: 0 additions & 124 deletions client/live.js

This file was deleted.

128 changes: 0 additions & 128 deletions client/overlay.js

This file was deleted.

7 changes: 0 additions & 7 deletions client/page.pug

This file was deleted.

2 changes: 0 additions & 2 deletions client/web_modules/jquery/index.js

This file was deleted.

Loading

0 comments on commit 72d5a54

Please sign in to comment.