Skip to content

Commit

Permalink
fix exports
Browse files Browse the repository at this point in the history
  • Loading branch information
amcdnl committed Jun 14, 2023
1 parent a14dc7a commit babaeff
Show file tree
Hide file tree
Showing 4 changed files with 1,117 additions and 1,454 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 4.8.3 - 6/14/23
- [chore] fix exports

# 4.8.2 - 5/15/23
- [fix] improve falsey check in node isSelected
- [fix] fix SphereWithIcon not getting opacity
Expand Down
61 changes: 32 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reagraph",
"version": "4.8.2",
"version": "4.8.3",
"description": "WebGL Node-based Graph for React",
"scripts": {
"build": "vite build --mode library",
Expand All @@ -16,16 +16,19 @@
"chromatic": "npx chromatic --project-token=a7098a56897c --auto-accept-changes"
},
"type": "module",
"source": "src/index.ts",
"types": "dist/index.d.ts",
"main": "./dist/reagraph.umd.cjs",
"module": "./dist/reagraph.js",
"main": "./dist/index.umd.cjs",
"module": "./dist/index.js",
"source": "src/index.ts",
"exports": {
".": {
"import": "./dist/reagraph.js",
"require": "./dist/reagraph.umd.cjs"
"import": "./dist/index.js",
"require": "./dist/index.umd.cjs",
"types": "./dist/index.d.ts"
}
},
"browser": "dist/index.js",
"typings": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/reaviz/reagraph.git"
Expand Down Expand Up @@ -67,7 +70,7 @@
"ngraph.pagerank": "^2.1.0",
"ngraph.path": "^1.4.0",
"react-use-gesture": "^9.1.3",
"reakeys": "^1.2.9",
"reakeys": "^1.3.0",
"three": "^0.143.0",
"three-stdlib": "^2.13.1",
"zustand": "4.0.0"
Expand All @@ -77,53 +80,53 @@
"react-dom": ">=16"
},
"devDependencies": {
"@storybook/addon-docs": "^7.0.9",
"@storybook/addon-essentials": "7.0.9",
"@storybook/addon-mdx-gfm": "7.0.9",
"@storybook/addon-storysource": "^7.0.9",
"@storybook/addons": "7.0.9",
"@storybook/react": "7.0.9",
"@storybook/react-vite": "^7.0.9",
"@storybook/theming": "7.0.9",
"@storybook/addon-docs": "^7.0.20",
"@storybook/addon-essentials": "7.0.20",
"@storybook/addon-mdx-gfm": "7.0.20",
"@storybook/addon-storysource": "^7.0.20",
"@storybook/addons": "7.0.20",
"@storybook/react": "7.0.20",
"@storybook/react-vite": "^7.0.20",
"@storybook/theming": "7.0.20",
"@types/classnames": "^2.3.1",
"@types/d3-array": "^3.0.3",
"@types/d3-hierarchy": "^3.1.0",
"@types/d3-scale": "^4.0.2",
"@types/react": "^18.0.17",
"@types/react-dom": "^18.0.6",
"@types/react": "^18.2.12",
"@types/react-dom": "^18.2.5",
"@types/three": "^0.143.1",
"@typescript-eslint/eslint-plugin": "^5.33.1",
"@typescript-eslint/parser": "^5.33.1",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"@vitejs/plugin-react": "^4.0.0",
"@vitest/coverage-c8": "^0.31.0",
"autoprefixer": "^9",
"chromatic": "^6.7.4",
"eslint": "^8.22.0",
"@vitest/coverage-c8": "^0.32.0",
"autoprefixer": "^10.4.14",
"chromatic": "^6.19.7",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-storybook": "^0.6.12",
"husky": "^8.0.3",
"jsdom": "^22.0.0",
"jsdom": "^22.1.0",
"lint-staged": "^13.2.2",
"lodash": "^4.17.21",
"ngraph.generators": "^20.1.0",
"postcss-nested": "^4",
"postcss-preset-env": "^6.7.0",
"postcss-nested": "^6.0.1",
"postcss-preset-env": "^8.5.0",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rollup-plugin-peer-deps-external": "2.2.4",
"stats.js": "^0.17.0",
"storybook": "7.0.9",
"storybook": "7.0.20",
"typescript": "^4.7.4",
"vite": "^4.1.0",
"vite": "^4.3.9",
"vite-plugin-checker": "^0.6.0",
"vite-plugin-css-injected-by-js": "^3.1.1",
"vite-plugin-dts": "^2.3.0",
"vite-plugin-svgr": "^3.2.0",
"vite-tsconfig-paths": "^4.0.5",
"vitest": "^0.31.0"
"vitest": "^0.32.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
Expand Down
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,11 @@ export default defineConfig(({ mode }) =>
build: {
minify: false,
sourcemap: true,
copyPublicDir: false,
lib: {
entry: resolve('src', 'index.ts'),
name: 'reagraph',
fileName: 'reagraph'
fileName: 'index'
},
rollupOptions: {
plugins: [
Expand Down
Loading

0 comments on commit babaeff

Please sign in to comment.