Skip to content

Commit

Permalink
- remove useless bin/lib/view.js
Browse files Browse the repository at this point in the history
 - use `@plotdb/srcbuild` to replace `colors`
 - remove useless dependencies
 - bump version
  • Loading branch information
zbryikt committed Jan 15, 2022
1 parent c48159e commit 6876aae
Show file tree
Hide file tree
Showing 16 changed files with 346 additions and 676 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## v2.3.33

- remove useless `bin/lib/view.js`
- use `@plotdb/srcbuild` to replace `colors`
- remove useless dependencies


## v2.3.32

- bump @plotdb/srcbuild version for libLoader bug fixing
Expand Down
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ t1 = Date.now();
fs = require('fs');
path = require('path');
yargs = require('yargs');
colors = require('colors');
colors = require('@plotdb/colors');
srcbuild = require('@plotdb/srcbuild');
lib = path.dirname(fs.realpathSync(__filename));
server = require(lib + "/lib/server");
Expand Down
2 changes: 1 addition & 1 deletion bin/lib/logger.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/lib/server.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

118 changes: 0 additions & 118 deletions bin/lib/view.js

This file was deleted.

2 changes: 1 addition & 1 deletion lib/logger.ls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require! <[colors]>
require! <[@plotdb/colors]>

logger = {}
[<[debug blue]> <[info green]> <[warn yellow]> <[error red]>].map (n) ->
Expand Down
2 changes: 1 addition & 1 deletion lib/server.ls
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require! <[express path colors i18next-http-middleware open @plotdb/srcbuild/dist/view/pug ./i18n ./logger]>
require! <[express path @plotdb/colors i18next-http-middleware open @plotdb/srcbuild/dist/view/pug ./i18n ./logger]>

server = do
init: (opt = {}) ->
Expand Down
67 changes: 0 additions & 67 deletions lib/view.ls

This file was deleted.

Loading

0 comments on commit 6876aae

Please sign in to comment.