Skip to content

Commit

Permalink
feat(build)!: pretty much complete overhaul
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This is no longer a drop in replacement for the old
4.21 Vis.js.

This brings this project inline with our other packages (except for TS
support, there is none).

I also removed the notice about this being a drop in replacement for the
old Vis and broke backwards compatibility by simply reexporting up to
date packages. I don't have the time to manage backwards compatibility
here and I don't even think it's worth it at all.

All the issues that have accumulated over the past 7 months (since the
last release) are resolved here.
  • Loading branch information
Thomaash committed May 16, 2020
1 parent 9b3ed16 commit e8bb08c
Show file tree
Hide file tree
Showing 43 changed files with 7,909 additions and 84,099 deletions.
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

19 changes: 18 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,20 @@ jobs:
- persist_to_workspace:
root: .
paths:
- 'dist'
- declarations
- esnext
- peer
- standalone
- styles"

test:
executor: node

steps:
- attach_workspace:
at: .

- run: npm run generate-examples-index

release:
executor: node
Expand Down Expand Up @@ -79,6 +92,10 @@ workflows:
requires:
- prepare

- test:
requires:
- build

- release:
requires:
- prepare
Expand Down
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,11 @@ coverage/
report.*.json
vis-charts-*.tgz
/.rpt2_cache/
/declarations/
/esnext/
/examples/examples.css
/examples/generated/
/examples/index.html
/peer/
/standalone/
/styles/
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# vis-charts

**This is a "plug'n & play replacement" for [vis](https://github.com/almende/vis), wich is no longer maintained**

Vis.js is a dynamic, browser based visualization library.
The library is designed to be easy to use, handle large amounts
of dynamic data, and enable manipulation of the data.
Expand Down
4 changes: 4 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
exclude: require("vis-dev-utils").BABEL_IGNORE_RE,
presets: [["vis-dev-utils/babel-preset", { css: false }]]
};
2 changes: 2 additions & 0 deletions declarations/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export const advice =
"Please, don't use this with TypeScript. Use the individual packages, thanks.";
Binary file removed dist/img/network/acceptDeleteIcon.png
Binary file not shown.
Binary file removed dist/img/network/addNodeIcon.png
Binary file not shown.
Binary file removed dist/img/network/backIcon.png
Binary file not shown.
Binary file removed dist/img/network/connectIcon.png
Binary file not shown.
Binary file removed dist/img/network/cross.png
Binary file not shown.
Binary file removed dist/img/network/cross2.png
Binary file not shown.
Binary file removed dist/img/network/deleteIcon.png
Binary file not shown.
Binary file removed dist/img/network/downArrow.png
Binary file not shown.
Binary file removed dist/img/network/editIcon.png
Binary file not shown.
Binary file removed dist/img/network/leftArrow.png
Binary file not shown.
Binary file removed dist/img/network/minus.png
Binary file not shown.
Binary file removed dist/img/network/plus.png
Binary file not shown.
Binary file removed dist/img/network/rightArrow.png
Binary file not shown.
Binary file removed dist/img/network/upArrow.png
Binary file not shown.
Binary file removed dist/img/network/zoomExtends.png
Binary file not shown.
Loading

0 comments on commit e8bb08c

Please sign in to comment.