Skip to content

Commit

Permalink
Upgrade to FoamTree 3.5.0, now available as an NPM package.
Browse files Browse the repository at this point in the history
(cherry picked from commit 7ae61c7)
  • Loading branch information
stanislawosinski committed Jan 19, 2021
1 parent ba2bf40 commit 7e9de98
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 262 deletions.
3 changes: 0 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ node_modules
lib
public

# Vendor code
client/vendor

# Test fixtures
test/bundles
test/stats
Expand Down
2 changes: 1 addition & 1 deletion client/components/Treemap.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import {Component} from 'preact';
import FoamTree from 'carrotsearch.foamtree';
import FoamTree from '@carrotsearch/foamtree';

export default class Treemap extends Component {

Expand Down
256 changes: 0 additions & 256 deletions client/vendor/carrotsearch.foamtree.js

This file was deleted.

6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"@babel/preset-react": "7.12.5",
"@babel/register": "7.12.1",
"@babel/runtime": "7.12.5",
"@carrotsearch/foamtree": "3.5.0",
"autoprefixer": "10.0.1",
"babel-eslint": "10.1.0",
"babel-loader": "8.1.0",
Expand Down
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ module.exports = opts => {

resolve: {
modules: [
`${__dirname}/client/vendor`,
'node_modules'
],
extensions: ['.js', '.jsx'],
Expand Down Expand Up @@ -60,7 +59,7 @@ module.exports = opts => {
rules: [
{
test: /\.jsx?$/u,
exclude: /(node_modules|client\/vendor)/u,
exclude: /(node_modules)/u,
loader: 'babel-loader',
options: {
babelrc: false,
Expand Down

0 comments on commit 7e9de98

Please sign in to comment.