diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 5c249784f..000000000 --- a/.babelrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "exclude": ["**/node_modules/**"], - "presets": ["vis-dev-utils/babel-preset"] -} diff --git a/.circleci/config.yml b/.circleci/config.yml index 567ab5c18..3a2cc50b4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,6 +50,10 @@ jobs: root: .. paths: - "repo/dist" + - "repo/esnext" + - "repo/peer" + - "repo/standalone" + - "repo/styles" lint: executor: node diff --git a/.gitignore b/.gitignore index 0176d9653..62c704f61 100644 --- a/.gitignore +++ b/.gitignore @@ -19,7 +19,11 @@ gen/ # generated files /coverage/ /dist/ +/esnext/ /examples/examples.css /examples/generated/ /examples/index.html /examples/thumbnails/ +/peer/ +/standalone/ +/vis-graph3d-0.0.0-no-version.tgz diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 000000000..fd51ab079 --- /dev/null +++ b/babel.config.js @@ -0,0 +1,4 @@ +module.exports = { + exclude: require("vis-dev-utils").BABEL_IGNORE_RE, + presets: [["vis-dev-utils/babel-preset", { ts: true }]] +}; diff --git a/declarations/entry-esnext.d.ts b/declarations/entry-esnext.d.ts new file mode 100644 index 000000000..5e92b7770 --- /dev/null +++ b/declarations/entry-esnext.d.ts @@ -0,0 +1,7 @@ +export const Graph3d: any; +export const Graph3dCamera: any; +export const Graph3dFilter: any; +export const Graph3dPoint2d: any; +export const Graph3dPoint3d: any; +export const Graph3dSlider: any; +export const Graph3dStepNumber: any; diff --git a/declarations/entry-peer.d.ts b/declarations/entry-peer.d.ts new file mode 100644 index 000000000..f8111af9e --- /dev/null +++ b/declarations/entry-peer.d.ts @@ -0,0 +1 @@ +export * from "./entry-esnext"; diff --git a/declarations/entry-standalone.d.ts b/declarations/entry-standalone.d.ts new file mode 100644 index 000000000..dff8503b3 --- /dev/null +++ b/declarations/entry-standalone.d.ts @@ -0,0 +1,2 @@ +export * from "./entry-esnext"; +export * from "vis-data/esnext"; diff --git a/examples/graph3d/01_basics.html b/examples/graph3d/01_basics.html index 10aff9cfe..54024c5d6 100644 --- a/examples/graph3d/01_basics.html +++ b/examples/graph3d/01_basics.html @@ -7,7 +7,7 @@ body {font: 10pt arial;} - + + + + + + + + + + + + + + + + + + diff --git a/examples/graph3d/rotateAxisLabels/rotateAxisLabels.html b/examples/graph3d/rotateAxisLabels/rotateAxisLabels.html index 76a68b103..489de939d 100644 --- a/examples/graph3d/rotateAxisLabels/rotateAxisLabels.html +++ b/examples/graph3d/rotateAxisLabels/rotateAxisLabels.html @@ -33,7 +33,7 @@ text-align: center; } - +