Skip to content

Commit d531e2a

Browse files
shlior7deanshubvalsciondependabot[bot]kedarv
authored
npm publish and upstream fetch (#2)
* Fix tests timeout (webpack#435) * Fix tests timeout * wip * increasing timeout * Update test/plugin.js Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com> * increasing timeout Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com> * Fixes webpack#417 missing module chunks (webpack#433) * Fixes webpack#417 missing module chunks * triger build * test fix * test fix * Fix changelog username link texts * v4.4.1 * Bump url-parse from 1.4.7 to 1.5.1 (webpack#443) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.4.7 to 1.5.1. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.4.7...1.5.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump postcss from 8.1.6 to 8.2.10 (webpack#446) Bumps [postcss](https://github.com/postcss/postcss) from 8.1.6 to 8.2.10. - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.1.6...8.2.10) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * check this.compiler.outputFileSystem.constructor is not undefined (webpack#447) * check this.compiler.outputFileSystem.constructor is not undefined * Fix trailing spaces lint * Update changelog with bug fix Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com> * v4.4.2 * Update deps * Remove unused `exports-loader` * Bump hosted-git-info from 2.8.8 to 2.8.9 (webpack#445) Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. - [Release notes](https://github.com/npm/hosted-git-info/releases) - [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md) - [Commits](npm/hosted-git-info@v2.8.8...v2.8.9) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump browserslist from 4.14.6 to 4.16.6 in /test/webpack-versions/5.4.0 (webpack#450) Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.6 to 4.16.6. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.14.6...4.16.6) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump dns-packet from 1.3.1 to 1.3.4 (webpack#451) Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4. - [Release notes](https://github.com/mafintosh/dns-packet/releases) - [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md) - [Commits](mafintosh/dns-packet@v1.3.1...v1.3.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ws from 7.4.5 to 7.4.6 (webpack#452) Bumps [ws](https://github.com/websockets/ws) from 7.4.5 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@7.4.5...7.4.6) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump normalize-url from 4.5.0 to 4.5.1 (webpack#455) Bumps [normalize-url](https://github.com/sindresorhus/normalize-url) from 4.5.0 to 4.5.1. - [Release notes](https://github.com/sindresorhus/normalize-url/releases) - [Commits](https://github.com/sindresorhus/normalize-url/commits) --- updated-dependencies: - dependency-name: normalize-url dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump ssri from 6.0.1 to 6.0.2 in /test/webpack-versions/4.44.2 (webpack#441) Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. - [Release notes](https://github.com/npm/ssri/releases) - [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md) - [Commits](npm/ssri@v6.0.1...v6.0.2) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Bump elliptic from 6.5.3 to 6.5.4 in /test/webpack-versions/4.44.2 (webpack#421) Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.3 to 6.5.4. - [Release notes](https://github.com/indutny/elliptic/releases) - [Commits](indutny/elliptic@v6.5.3...v6.5.4) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * npm publish * npm publish * lint fix * npmpublic * name-change * test title change * yarnrc * fixed yarnrc Co-authored-by: Dean Shub <deanshub@gmail.com> Co-authored-by: Vesa Laakso <482561+valscion@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kedar <kedarv@users.noreply.github.com> Co-authored-by: th0r <grunin.ya@ya.ru>
1 parent 732e65f commit d531e2a

20 files changed

Lines changed: 11466 additions & 5936 deletions

File tree

.babelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
}]
88
],
99
"plugins": [
10-
["@babel/plugin-proposal-class-properties", {"loose": true}]
10+
["@babel/plugin-proposal-class-properties", {"loose": true}],
11+
["@babel/plugin-proposal-private-methods", {"loose": true}]
1112
]
1213
}

.github/workflows/npm_publish.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# This workflow will do a clean install of node dependencies, and publish the package to the npm registry
2+
3+
name: Publish Webpack-Bundle-Analyzer Package
4+
5+
on:
6+
push:
7+
branches:
8+
-master
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout the repository
16+
uses: actions/checkout@v2
17+
18+
- name: Setup .npmrc file to publish to npm
19+
uses: actions/setup-node@v2
20+
with:
21+
node-version: '14.x'
22+
registry-url: 'https://registry.npmjs.org'
23+
24+
- name: Install dependencies
25+
run: yarn install
26+
27+
- name: Build the application
28+
run: yarn build
29+
30+
- name: Publish to npm
31+
run: npm publish --access public
32+
33+
env:
34+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
35+

.npm-upgrade.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"reason": "Current version of Webpack Dev Server doesn't work with v4"
1414
}
1515
}
16-
}
16+
}

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

.yarnrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry "https://registry.npmjs.org/"

CHANGELOG.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,31 @@ _Note: Gaps between patch versions are faulty, broken or test releases._
1212

1313
## UNRELEASED
1414

15+
## 4.4.2
16+
17+
* **Bug Fix**
18+
* Fix failure with `compiler.outputFileSystem.constructor` being `undefined` ([#447](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/447) by [@kedarv](https://github.com/kedarv) and [@alexander-akait](https://github.com/alexander-akait))
19+
* **NOTE:** This fix doesn't have added test coverage so the fix might break in future versions unless test coverage is added later.
20+
21+
## 4.4.1
22+
23+
* **Bug Fix**
24+
* Fix missing module chunks ([#433](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/433) by [@deanshub](https://github.com/deanshub))
25+
26+
* **Internal**
27+
* Fix tests timing out in CI ([#435](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/435) by [@deanshub](https://github.com/deanshub))
28+
* Fix command in issue template ([#428](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/428) by [@cncolder](https://github.com/cncolder))
29+
1530
## 4.4.0
1631

1732
* **Improvement**
18-
* Keep treemap labels visible during zooming animations for better user experience ([#414](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/414) by [@
19-
stanislawosinski](https://github.com/stanislawosinski))
33+
* Keep treemap labels visible during zooming animations for better user experience ([#414](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/414) by [@stanislawosinski](https://github.com/stanislawosinski))
2034

2135
* **Bug Fix**
22-
* Don't show an empty tooltip when hovering over the FoamTree attribution group or between top-level groups ([#413](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/413) by [@
23-
stanislawosinski](https://github.com/stanislawosinski))
36+
* Don't show an empty tooltip when hovering over the FoamTree attribution group or between top-level groups ([#413](https://github.com/webpack-contrib/webpack-bundle-analyzer/pull/413) by [@stanislawosinski](https://github.com/stanislawosinski))
2437

2538
* **Internal**
26-
* 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 [@
27-
stanislawosinski](https://github.com/stanislawosinski))
39+
* 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))
2840

2941
## 4.3.0
3042

client/store.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export class Store {
168168
};
169169
}
170170

171-
module.weight = module[sizeProp];
171+
module.weight = Math.abs(module[sizeProp]);
172172
filteredModules.push(module);
173173
}
174174

0 commit comments

Comments
 (0)