Skip to content

Commit

Permalink
docs: update Readme with disclaimer
Browse files Browse the repository at this point in the history
  • Loading branch information
alexcode committed Nov 9, 2020
1 parent 05931af commit bad3497
Show file tree
Hide file tree
Showing 10 changed files with 114 additions and 115 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# vue2vis

> This monorepo hosts Vue2 component wrapper for the [visjs](https://github.com/visjs) libraries.
> If you are looking for the old [vis@4.21](https://almende.github.io/vis/) please use the [branch 0.x](https://github.com/alexcode/vue2vis/tree/0.x)
<p align="center">
<a href="https://travis-ci.com/alexcode/vue2vis">
Expand Down
5 changes: 3 additions & 2 deletions packages/graph2d/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Alex Couturon <infocontact.alex@gmail.com>",
"homepage": "https://github.com/alexcode/vue2vis#readme",
"license": "MIT",
"main": "dist/graph2d.cjs.js",
"module": "dist/graph2d.esm.js",
"main": "dist/graph2d.umd.min.js",
"module": "dist/graph2d.esm.min.js",
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down Expand Up @@ -47,6 +47,7 @@
"propagating-hammerjs": "^1.4.0",
"rollup-plugin-node-externals": "^2.1.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^5.3.0",
"uuid": "^7.0.0"
}
}
47 changes: 19 additions & 28 deletions packages/graph2d/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,27 @@ import externals from "rollup-plugin-node-externals";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import nodePolyfills from "rollup-plugin-node-polyfills";
import { terser } from "rollup-plugin-terser";
import vue from "rollup-plugin-vue";

export default [
{
input: "./lib/index.js",
output: {
format: "esm",
file: "dist/graph2d.esm.js"
},
output: [
{
format: "esm",
sourcemap: true,
file: "dist/graph2d.esm.min.js"
},
{
name: "vis",
extend: true,
exports: "named",
sourcemap: true,
format: "umd",
file: "dist/graph2d.umd.min.js"
}
],
plugins: [
externals({
exclude: [
Expand All @@ -28,30 +40,9 @@ export default [
uuid: ["v4"]
}
}),
vue()
]
},
{
input: "./lib/index.js",
output: {
format: "cjs",
file: "dist/graph2d.cjs.js"
},
plugins: [
externals({
exclude: [
"component-emitter",
"propagating-hammerjs",
"@egjs/hammerjs",
"keycharm",
"uuid"
]
}),
nodePolyfills(),
resolve({ browser: true }),
commonjs({
namedExports: {
uuid: ["v4"]
terser({
output: {
comments: "some"
}
}),
vue()
Expand Down
5 changes: 3 additions & 2 deletions packages/network/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Alex Couturon <infocontact.alex@gmail.com>",
"homepage": "https://github.com/alexcode/vue2vis#readme",
"license": "MIT",
"main": "dist/network.cjs.js",
"module": "dist/network.esm.js",
"main": "dist/network.umd.min.js",
"module": "dist/network.esm.min.js",
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down Expand Up @@ -46,6 +46,7 @@
"keycharm": "^0.3.0",
"rollup-plugin-node-externals": "^2.1.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^5.3.0",
"timsort": "^0.3.0",
"uuid": "^7.0.0"
}
Expand Down
47 changes: 19 additions & 28 deletions packages/network/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,27 @@ import externals from "rollup-plugin-node-externals";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import nodePolyfills from "rollup-plugin-node-polyfills";
import { terser } from "rollup-plugin-terser";
import vue from "rollup-plugin-vue";

export default [
{
input: "./lib/index.js",
output: {
format: "esm",
file: "dist/network.esm.js"
},
output: [
{
format: "esm",
sourcemap: true,
file: "dist/network.esm.min.js"
},
{
name: "vis",
extend: true,
exports: "named",
sourcemap: true,
format: "umd",
file: "dist/network.umd.min.js"
}
],
plugins: [
externals({
exclude: [
Expand All @@ -28,30 +40,9 @@ export default [
timsort: ["sort"]
}
}),
vue()
]
},
{
input: "./lib/index.js",
output: {
format: "cjs",
file: "dist/network.cjs.js"
},
plugins: [
externals({
exclude: [
"component-emitter",
"timsort",
"@egjs/hammerjs",
"keycharm",
"uuid"
]
}),
nodePolyfills(),
resolve({ browser: true }),
commonjs({
namedExports: {
timsort: ["sort"]
terser({
output: {
comments: "some"
}
}),
vue()
Expand Down
5 changes: 3 additions & 2 deletions packages/timeline/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Alex Couturon <infocontact.alex@gmail.com>",
"homepage": "https://github.com/alexcode/vue2vis#readme",
"license": "MIT",
"main": "dist/timeline.cjs.js",
"module": "dist/timeline.esm.js",
"main": "dist/timeline.umd.min.js",
"module": "dist/timeline.esm.min.js",
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down Expand Up @@ -54,6 +54,7 @@
"propagating-hammerjs": "^1.4.0",
"rollup-plugin-node-externals": "^2.1.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^5.3.0",
"uuid": "^7.0.0"
}
}
47 changes: 19 additions & 28 deletions packages/timeline/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,27 @@ import externals from "rollup-plugin-node-externals";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import nodePolyfills from "rollup-plugin-node-polyfills";
import { terser } from "rollup-plugin-terser";
import vue from "rollup-plugin-vue";

export default [
{
input: "./lib/index.js",
output: {
format: "esm",
file: "dist/timeline.esm.js"
},
output: [
{
format: "esm",
sourcemap: true,
file: "dist/timeline.esm.min.js"
},
{
name: "vis",
extend: true,
exports: "named",
sourcemap: true,
format: "umd",
file: "dist/timeline.umd.min.js"
}
],
plugins: [
externals({
exclude: [
Expand All @@ -28,30 +40,9 @@ export default [
uuid: ["v4"]
}
}),
vue()
]
},
{
input: "./lib/index.js",
output: {
format: "cjs",
file: "dist/timeline.cjs.js"
},
plugins: [
externals({
exclude: [
"component-emitter",
"propagating-hammerjs",
"@egjs/hammerjs",
"keycharm",
"uuid"
]
}),
nodePolyfills(),
resolve({ browser: true }),
commonjs({
namedExports: {
uuid: ["v4"]
terser({
output: {
comments: "some"
}
}),
vue()
Expand Down
5 changes: 3 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"author": "Alex Couturon <infocontact.alex@gmail.com>",
"homepage": "https://github.com/alexcode/vue2vis#readme",
"license": "MIT",
"main": "dist/utils.cjs.js",
"module": "dist/utils.esm.js",
"main": "dist/utils.umd.min.js",
"module": "dist/utils.esm.min.js",
"directories": {
"lib": "lib",
"test": "__tests__"
Expand Down Expand Up @@ -39,6 +39,7 @@
"@rollup/plugin-node-resolve": "^7.1.1",
"rollup-plugin-node-externals": "^2.1.5",
"rollup-plugin-node-polyfills": "^0.2.1",
"rollup-plugin-terser": "^5.3.0",
"uuid": "^7.0.0"
}
}
42 changes: 22 additions & 20 deletions packages/utils/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,38 @@ import externals from "rollup-plugin-node-externals";
import resolve from "@rollup/plugin-node-resolve";
import commonjs from "@rollup/plugin-commonjs";
import nodePolyfills from "rollup-plugin-node-polyfills";
import { terser } from "rollup-plugin-terser";

export default [
{
input: "./lib/index.js",
output: {
format: "esm",
file: "dist/utils.esm.js"
},
output: [
{
format: "esm",
sourcemap: true,
file: "dist/utils.esm.min.js"
},
{
name: "vis",
extend: true,
exports: "named",
sourcemap: true,
format: "umd",
file: "dist/utils.umd.min.js"
}
],
plugins: [
externals({
exclude: ["uuid"]
}),
nodePolyfills(),
resolve({ browser: true }),
commonjs()
]
},
{
input: "./lib/index.js",
output: {
format: "cjs",
file: "dist/utils.cjs.js"
},
plugins: [
externals({
exclude: ["uuid"]
}),
nodePolyfills(),
resolve({ browser: true }),
commonjs()
commonjs(),
terser({
output: {
comments: "some"
}
})
]
}
];
Loading

0 comments on commit bad3497

Please sign in to comment.