Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to FoamTree 3.5.0, now available as an NPM package. #412

Merged
merged 5 commits into from Jan 21, 2021
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 0 additions & 3 deletions .eslintignore
Expand Up @@ -5,9 +5,6 @@ node_modules
lib
public

# Vendor code
client/vendor

# Test fixtures
test/bundles
test/stats
Expand Down
6 changes: 4 additions & 2 deletions CHANGELOG.md
Expand Up @@ -12,8 +12,10 @@ _Note: Gaps between patch versions are faulty, broken or test releases._

## UNRELEASED

<!-- Add changelog entries for new changes under this section -->

* **Internal**
* Upgrade FoamTree to version 3.5.0, replace vendor dependency with an NPM package ([#412](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/412) by [@
stanislawosinski](https://github.com/stanislawosinski))

## 4.3.0

* **Improvement**
Expand Down
2 changes: 1 addition & 1 deletion client/components/Treemap.jsx
@@ -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
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
Expand Up @@ -23,7 +23,6 @@ module.exports = opts => {

resolve: {
modules: [
`${__dirname}/client/vendor`,
stanislawosinski marked this conversation as resolved.
Show resolved Hide resolved
'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,
stanislawosinski marked this conversation as resolved.
Show resolved Hide resolved
loader: 'babel-loader',
options: {
babelrc: false,
Expand Down