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

Use rollup to build utilities #4644

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"packages": ["packages/*"],
"version": "4.14.1",
"version": "4.14.2-beta.0",
"$schema": "node_modules/lerna/schemas/lerna-schema.json"
}
113 changes: 84 additions & 29 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions packages/cli-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bundle-stats/cli-utils",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "BundleStats CLI utilities",
"main": "lib/index.js",
"module": "lib-esm/index.js",
Expand Down Expand Up @@ -37,9 +37,9 @@
},
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/cli-utils#readme",
"dependencies": {
"@bundle-stats/html-templates": "^4.14.1",
"@bundle-stats/plugin-webpack-filter": "^4.14.1",
"@bundle-stats/utils": "^4.14.1",
"@bundle-stats/html-templates": "^4.14.2-beta.0",
"@bundle-stats/plugin-webpack-filter": "^4.14.2-beta.0",
"@bundle-stats/utils": "^4.14.2-beta.0",
"find-cache-dir": "^3.1.0",
"lodash": "^4.17.21",
"stream-chain": "^2.2.5",
Expand Down
10 changes: 5 additions & 5 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bundle-stats",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "In-depth bundle analyzer for webpack(bundle size, assets, modules, packages)",
"bin": {
"bundle-stats": "bin/index.js"
Expand Down Expand Up @@ -51,10 +51,10 @@
},
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/cli#readme",
"dependencies": {
"@bundle-stats/cli-utils": "^4.14.1",
"@bundle-stats/plugin-webpack-filter": "^4.14.1",
"@bundle-stats/plugin-webpack-validate": "^4.14.1",
"@bundle-stats/utils": "^4.14.1",
"@bundle-stats/cli-utils": "^4.14.2-beta.0",
"@bundle-stats/plugin-webpack-filter": "^4.14.2-beta.0",
"@bundle-stats/plugin-webpack-validate": "^4.14.2-beta.0",
"@bundle-stats/utils": "^4.14.2-beta.0",
"boxen": "^5.0.0",
"core-js": "^3.21.0",
"fs-extra": "^11.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "gatsby-plugin-bundle-stats",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -38,6 +38,6 @@
},
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/gatsby-plugin#readme",
"dependencies": {
"bundle-stats-webpack-plugin": "^4.14.1"
"bundle-stats-webpack-plugin": "^4.14.2-beta.0"
}
}
6 changes: 3 additions & 3 deletions packages/html-templates/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@bundle-stats/html-templates",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "HTML templates for report generation.",
"main": "index.js",
"types": "types.d.ts",
Expand Down Expand Up @@ -30,8 +30,8 @@
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.3",
"@babel/preset-react": "7.24.7",
"@bundle-stats/ui": "^4.14.1",
"@bundle-stats/utils": "^4.14.1",
"@bundle-stats/ui": "^4.14.2-beta.0",
"@bundle-stats/utils": "^4.14.2-beta.0",
"@storybook/addon-essentials": "8.2.9",
"@storybook/addon-webpack5-compiler-babel": "3.0.3",
"@storybook/react": "8.2.9",
Expand Down
4 changes: 2 additions & 2 deletions packages/next-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-plugin-bundle-stats",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "In-depth bundle analyzer for webpack(bundle size, assets, modules)",
"main": "index.js",
"engines": {
Expand Down Expand Up @@ -38,6 +38,6 @@
},
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/next-plugin#readme",
"dependencies": {
"bundle-stats-webpack-plugin": "^4.14.1"
"bundle-stats-webpack-plugin": "^4.14.2-beta.0"
}
}
29 changes: 17 additions & 12 deletions packages/plugin-webpack-filter/package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,28 @@
{
"name": "@bundle-stats/plugin-webpack-filter",
"version": "4.14.1",
"version": "4.14.2-beta.0",
"description": "BundleStats webpack filter plugin",
"main": "lib/index.js",
"module": "lib-esm/index.js",
"types": "types/index.d.ts",
"main": "lib/index.cjs",
"module": "lib-esm/index.mjs",
"types": "lib-esm/index.d.ts",
"sideEffects": false,
"exports": {
".": {
"import": "./lib-esm/index.mjs",
"require": "./lib/index.cjs",
"types": "./lib-esm/index.d.ts"
}
},
"engines": {
"node": ">= 14.0"
},
"directories": {
"lib": "lib"
"lib": "lib",
"lib-esm": "lib-esm"
},
"scripts": {
"build": "npm run clean && npm run build-lib && npm run build-esm",
"build-lib": "npm run clean-lib && tsc --rootDir ./src --project tsconfig.lib.json --outDir ./lib",
"build-esm": "npm run clean-esm && tsc --rootDir ./src --project tsconfig.esm.json --outDir ./lib-esm",
"clean": "npm run clean-lib && npm run clean-esm",
"clean-lib": "rimraf lib",
"clean-esm": "rimraf lib-esm types",
"build": "npm run clean && rollup -c rollup.config.mjs",
"clean": "rimraf lib lib-esm",
"lint": "eslint",
"test": "TZ=UTC jest src --maxWorkers=4"
},
Expand All @@ -38,14 +42,15 @@
},
"homepage": "https://github.com/relative-ci/bundle-stats/blob/master/packages/plugin-webpack-filter#readme",
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"@types/jest": "29.5.12",
"@types/webpack": "5.28.5",
"core-js": "3.38.0",
"jest": "29.7.0",
"jest-cli": "29.7.0",
"jest-date-mock": "1.0.10",
"regenerator-runtime": "0.14.1",
"rimraf": "6.0.1",
"rollup": "4.20.0",
"ts-jest": "29.2.4",
"typescript": "5.5.4"
},
Expand Down
Loading
Loading