diff --git a/package.json b/package.json
index 2c6c9dc27..68aa74158 100644
--- a/package.json
+++ b/package.json
@@ -1,15 +1,5 @@
{
- "devDependencies": {
- "babel-jest": "^20.0.3",
- "coveralls": "^2.13.1",
- "jest": "^20.0.3",
- "lerna": "2.1.2",
- "react": "^15.5.4",
- "react-addons-test-utils": "^15.5.1",
- "react-dom": "^15.5.4",
- "regenerator-runtime": "^0.10.5"
- },
- "name": "@vx/vx",
+ "name": "@vx/dev",
"version": "0.0.1",
"description": "Low-level visualization components",
"main": "index.js",
@@ -41,5 +31,15 @@
"charts"
],
"author": "@hshoff",
- "license": "MIT"
+ "license": "MIT",
+ "devDependencies": {
+ "babel-jest": "^20.0.3",
+ "coveralls": "^2.13.1",
+ "jest": "^20.0.3",
+ "lerna": "2.1.2",
+ "react": "^15.5.4",
+ "react-addons-test-utils": "^15.5.1",
+ "react-dom": "^15.5.4",
+ "regenerator-runtime": "^0.10.5"
+ }
}
diff --git a/packages/vx-hierarchy/src/DefaultLink.js b/packages/vx-hierarchy/src/HierarchyDefaultLink.js
similarity index 80%
rename from packages/vx-hierarchy/src/DefaultLink.js
rename to packages/vx-hierarchy/src/HierarchyDefaultLink.js
index aa7cae506..37088f3b5 100644
--- a/packages/vx-hierarchy/src/DefaultLink.js
+++ b/packages/vx-hierarchy/src/HierarchyDefaultLink.js
@@ -1,6 +1,6 @@
import React from "react";
-export default function DefaultLink({ link }) {
+export default function HierarchyDefaultLink({ link }) {
return (
;
}
diff --git a/packages/vx-hierarchy/src/hierarchies/Cluster.js b/packages/vx-hierarchy/src/hierarchies/Cluster.js
index 4011627f6..0d4f51538 100644
--- a/packages/vx-hierarchy/src/hierarchies/Cluster.js
+++ b/packages/vx-hierarchy/src/hierarchies/Cluster.js
@@ -2,8 +2,8 @@ import React from "react";
import cx from "classnames";
import { Group } from "@vx/group";
import { cluster as d3cluster } from "d3-hierarchy";
-import DefaultLink from "../DefaultLink";
-import DefaultNode from "../DefaultNode";
+import DefaultLink from "../HierarchyDefaultLink";
+import DefaultNode from "../HierarchyDefaultNode";
export default function Cluster({
top,
diff --git a/packages/vx-hierarchy/src/hierarchies/Tree.js b/packages/vx-hierarchy/src/hierarchies/Tree.js
index 5e45821d4..700cfca2a 100644
--- a/packages/vx-hierarchy/src/hierarchies/Tree.js
+++ b/packages/vx-hierarchy/src/hierarchies/Tree.js
@@ -2,8 +2,8 @@ import React from "react";
import cx from "classnames";
import { Group } from "@vx/group";
import { tree as d3tree } from "d3-hierarchy";
-import DefaultLink from "../DefaultLink";
-import DefaultNode from "../DefaultNode";
+import DefaultLink from "../HierarchyDefaultLink";
+import DefaultNode from "../HierarchyDefaultNode";
export default function Tree({
top,
diff --git a/packages/vx-hierarchy/src/index.js b/packages/vx-hierarchy/src/index.js
index 927db6b9c..0378bc0e3 100644
--- a/packages/vx-hierarchy/src/index.js
+++ b/packages/vx-hierarchy/src/index.js
@@ -1,4 +1,4 @@
export { default as Tree } from "./hierarchies/Tree";
export { default as Cluster } from "./hierarchies/Cluster";
-export { default as DefaultLink } from "./DefaultLink";
-export { default as DefaultNode } from "./DefaultNode";
+export { default as HierarchyDefaultLink } from "./HierarchyDefaultLink";
+export { default as HierarchyDefaultNode } from "./HierarchyDefaultNode";
diff --git a/packages/vx-hierarchy/test/Defaults.test.js b/packages/vx-hierarchy/test/Defaults.test.js
index 826acf93b..de845a10a 100644
--- a/packages/vx-hierarchy/test/Defaults.test.js
+++ b/packages/vx-hierarchy/test/Defaults.test.js
@@ -1,13 +1,13 @@
-import { DefaultLink, DefaultNode } from "../src";
+import { HierarchyDefaultLink, HierarchyDefaultNode } from "../src";
describe("", () => {
test("it should be defined", () => {
- expect(DefaultLink).toBeDefined();
+ expect(HierarchyDefaultLink).toBeDefined();
});
});
describe("", () => {
test("it should be defined", () => {
- expect(DefaultNode).toBeDefined();
+ expect(HierarchyDefaultNode).toBeDefined();
});
});