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 5d25ab5
Show file tree
Hide file tree
Showing 9 changed files with 113 additions and 115 deletions.
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"
}
})
]
}
];
25 changes: 22 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# yarn lockfile v1


"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.8.3":
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3":
version "7.8.3"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e"
integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==
Expand Down Expand Up @@ -11208,6 +11208,14 @@ ripemd160@^2.0.0, ripemd160@^2.0.1:
hash-base "^3.0.0"
inherits "^2.0.1"

rollup-plugin-babel@^4.4.0:
version "4.4.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-babel/-/rollup-plugin-babel-4.4.0.tgz#d15bd259466a9d1accbdb2fe2fff17c52d030acb"
integrity sha512-Lek/TYp1+7g7I+uMfJnnSJ7YWoD58ajo6Oarhlex7lvUce+RCKRuGRSgztDO3/MF/PuGKmUL5iTHKf208UNszw==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
rollup-pluginutils "^2.8.1"

rollup-plugin-inject@^3.0.0:
version "3.0.2"
resolved "https://registry.yarnpkg.com/rollup-plugin-inject/-/rollup-plugin-inject-3.0.2.tgz#e4233855bfba6c0c12a312fd6649dff9a13ee9f4"
Expand All @@ -11229,6 +11237,17 @@ rollup-plugin-node-polyfills@^0.2.1:
dependencies:
rollup-plugin-inject "^3.0.0"

rollup-plugin-terser@^5.3.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-5.3.0.tgz#9c0dd33d5771df9630cd027d6a2559187f65885e"
integrity sha512-XGMJihTIO3eIBsVGq7jiNYOdDMb3pVxuzY0uhOE/FM4x/u9nQgr3+McsjzqBn3QfHIpNSZmFnpoKAwHBEcsT7g==
dependencies:
"@babel/code-frame" "^7.5.5"
jest-worker "^24.9.0"
rollup-pluginutils "^2.8.2"
serialize-javascript "^2.1.2"
terser "^4.6.2"

rollup-plugin-vue@^5.1.6:
version "5.1.6"
resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-5.1.6.tgz#c0b31de919ff1aad36f3277957ac90345e897c23"
Expand All @@ -11244,7 +11263,7 @@ rollup-plugin-vue@^5.1.6:
source-map "0.7.3"
vue-runtime-helpers "^1.1.1"

rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.8.1:
rollup-pluginutils@^2.4.1, rollup-pluginutils@^2.8.1, rollup-pluginutils@^2.8.2:
version "2.8.2"
resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e"
integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ==
Expand Down Expand Up @@ -12244,7 +12263,7 @@ terser-webpack-plugin@^2.3.4:
terser "^4.4.3"
webpack-sources "^1.4.3"

terser@^4.1.2, terser@^4.4.3:
terser@^4.1.2, terser@^4.4.3, terser@^4.6.2:
version "4.6.11"
resolved "https://registry.yarnpkg.com/terser/-/terser-4.6.11.tgz#12ff99fdd62a26de2a82f508515407eb6ccd8a9f"
integrity sha512-76Ynm7OXUG5xhOpblhytE7X58oeNSmC8xnNhjWVo8CksHit0U0kO4hfNbPrrYwowLWFgM2n9L176VNx2QaHmtA==
Expand Down

0 comments on commit 5d25ab5

Please sign in to comment.