bundle-stats 4.6.2 → 4.7.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -239,3 +239,9 @@ Webpack plugin to generate bundle stats report.
239
239
  [![npm](https://img.shields.io/npm/v/next-plugin-bundle-stats)](https://www.npmjs.com/package/next-plugin-bundle-stats) [![npm](https://img.shields.io/npm/dm/next-plugin-bundle-stats)](https://www.npmjs.com/package/next-plugin-bundle-stats)
240
240
 
241
241
  [Next.js](https://nextjs.org) plugin for [bundle-stats](https://github.com/relative-ci/bundle-stats/tree/master/packages/webpack-plugin).
242
+
243
+ ### [`rollup-plugin-bundle-stats`](https://github.com/relative-ci/bundle-stats/tree/master/packages/rollup-plugin)
244
+
245
+ [![npm](https://img.shields.io/npm/v/rollup-plugin-bundle-stats)](https://www.npmjs.com/package/rollup-plugin-bundle-stats) [![npm](https://img.shields.io/npm/dm/rollup-plugin-bundle-stats)](https://www.npmjs.com/package/rollup-plugin-bundle-stats)
246
+
247
+ Rollup plugin to generate bundle stats report.
package/lib/cli.js CHANGED
@@ -23,8 +23,8 @@ async function cli(pkg) {
23
23
  json: true,
24
24
  outDir: DEFAULT_OUTPUT_DIR,
25
25
  artifactFilepaths: [
26
- path_1.default.resolve(__dirname, '../__fixtures__/webpack-stats-current.json'),
27
- path_1.default.resolve(__dirname, '../__fixtures__/webpack-stats-baseline.json'),
26
+ path_1.default.resolve(__dirname, '../__fixtures__/webpack-stats.current.json'),
27
+ path_1.default.resolve(__dirname, '../__fixtures__/webpack-stats.baseline.json'),
28
28
  ],
29
29
  });
30
30
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bundle-stats",
3
- "version": "4.6.2",
3
+ "version": "4.7.0-rc.0",
4
4
  "description": "In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)",
5
5
  "bin": {
6
6
  "bundle-stats": "bin/index.js"
@@ -14,8 +14,10 @@
14
14
  "node": ">= 14.0"
15
15
  },
16
16
  "scripts": {
17
- "build": "rm -fr ./lib && ../../node_modules/.bin/tsc --rootDir ./src --project tsconfig.lib.json --outDir ./lib",
18
- "lint": "../../node_modules/.bin/eslint . --ext .js",
17
+ "copy-fixtures": "./scripts/copy-fixtures.sh",
18
+ "build": "npm run clean && npm run copy-fixtures && tsc --rootDir ./src --project tsconfig.json --outDir ./lib",
19
+ "clean": "rimraf lib",
20
+ "lint": "eslint",
19
21
  "serve-demo": "./bin/index.js --demo && http-server dist",
20
22
  "test": "echo \"No tests\" && exit 0",
21
23
  "pretest:package": "cd test/package && npm install --force",
@@ -36,8 +38,8 @@
36
38
  ],
37
39
  "author": {
38
40
  "name": "Viorel Cojocaru",
39
- "email": "vio@beanon.com",
40
- "url": "https://beanon.com"
41
+ "email": "vio@relative-ci.com",
42
+ "url": "https://relative-ci.com"
41
43
  },
42
44
  "license": "MIT",
43
45
  "repository": {
@@ -49,10 +51,10 @@
49
51
  },
50
52
  "homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/cli#readme",
51
53
  "dependencies": {
52
- "@bundle-stats/cli-utils": "^4.6.2",
53
- "@bundle-stats/plugin-webpack-filter": "^4.6.2",
54
- "@bundle-stats/plugin-webpack-validate": "^4.6.2",
55
- "@bundle-stats/utils": "^4.6.2",
54
+ "@bundle-stats/cli-utils": "^4.7.0-rc.0",
55
+ "@bundle-stats/plugin-webpack-filter": "^4.7.0-rc.0",
56
+ "@bundle-stats/plugin-webpack-validate": "^4.7.0-rc.0",
57
+ "@bundle-stats/utils": "^4.7.0-rc.0",
56
58
  "boxen": "^5.0.0",
57
59
  "core-js": "^3.21.0",
58
60
  "fs-extra": "^11.0.0",
@@ -62,13 +64,14 @@
62
64
  "yargs": "^17.4.0"
63
65
  },
64
66
  "devDependencies": {
65
- "@playwright/test": "1.37.0",
67
+ "@playwright/test": "1.37.1",
66
68
  "@types/fs-extra": "^11.0.0",
67
69
  "@types/listr": "^0.14.4",
68
70
  "@types/yargs": "^17.0.20",
69
71
  "http-server": "14.1.1",
70
- "jest": "29.6.2",
72
+ "jest": "29.6.4",
73
+ "rimraf": "5.0.1",
71
74
  "typescript": "5.1.6"
72
75
  },
73
- "gitHead": "f02b8df3b54f2ef357f58283b941fed76dac9e06"
76
+ "gitHead": "1fa88268be4b993d9d9292aef953cdac0d46b916"
74
77
  }