From 3b88e048b3f4000fa9f8be6bb7ac45298c9e6873 Mon Sep 17 00:00:00 2001 From: Matteo Bruni <176620+matteobruni@users.noreply.github.com> Date: Sun, 26 Apr 2026 21:16:08 +0200 Subject: [PATCH 1/2] build: restored swc, disabled concated modules because of issues --- packages/depcruise-config/package.json | 4 ++-- packages/eslint-config/package.json | 2 +- packages/webpack-config/package.json | 5 +++-- packages/webpack-config/src/common/getConfig.ts | 2 ++ pnpm-lock.yaml | 13 ++++++++----- 5 files changed, 16 insertions(+), 10 deletions(-) diff --git a/packages/depcruise-config/package.json b/packages/depcruise-config/package.json index d7f7b77..d69f088 100644 --- a/packages/depcruise-config/package.json +++ b/packages/depcruise-config/package.json @@ -41,8 +41,8 @@ }, "devDependencies": { "@stylistic/eslint-plugin": "^5.10.0", - "@tsparticles/eslint-config": "workspace:^3.4.11", - "@tsparticles/prettier-config": "workspace:^3.4.11", + "@tsparticles/eslint-config": "workspace:^3.4.13", + "@tsparticles/prettier-config": "workspace:^3.4.13", "@types/node": "^25.6.0", "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 21537ec..21e02cd 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -28,7 +28,7 @@ "dependencies": { "@eslint/js": "^10.0.1", "@stylistic/eslint-plugin": "^5.10.0", - "@tsparticles/prettier-config": "workspace:^3.4.11", + "@tsparticles/prettier-config": "workspace:^3.4.13", "eslint-config-prettier": "^10.1.8", "eslint-plugin-jsdoc": "^62.9.0", "eslint-plugin-prettier": "^5.5.5", diff --git a/packages/webpack-config/package.json b/packages/webpack-config/package.json index ca048b5..1fd6605 100644 --- a/packages/webpack-config/package.json +++ b/packages/webpack-config/package.json @@ -32,8 +32,9 @@ "prettier": "@tsparticles/prettier-config", "dependencies": { "@stylistic/eslint-plugin": "^5.10.0", - "@tsparticles/eslint-config": "workspace:^3.4.11", - "@tsparticles/prettier-config": "workspace:^3.4.11", + "@swc/core": "^1.15.30", + "@tsparticles/eslint-config": "workspace:^3.4.13", + "@tsparticles/prettier-config": "workspace:^3.4.13", "browserslist": "^4.28.2", "eslint": "^10.2.1", "eslint-config-prettier": "^10.1.8", diff --git a/packages/webpack-config/src/common/getConfig.ts b/packages/webpack-config/src/common/getConfig.ts index e3b3746..9fc6826 100644 --- a/packages/webpack-config/src/common/getConfig.ts +++ b/packages/webpack-config/src/common/getConfig.ts @@ -92,9 +92,11 @@ function getSingleConfig(params: ConfigParams, min: boolean, lazy: boolean): unk ].filter(Boolean), optimization: { minimize: min, + concatenateModules: false, minimizer: [ new TerserPlugin({ include: /\.min\.js$/, + minify: TerserPlugin.swcMinify, parallel: true, terserOptions: { compress: { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2c8cd21..d1ef98e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,10 +48,10 @@ importers: specifier: ^5.10.0 version: 5.10.0(eslint@10.2.1(jiti@2.6.1)) '@tsparticles/eslint-config': - specifier: workspace:^3.4.11 + specifier: workspace:^3.4.13 version: link:../eslint-config '@tsparticles/prettier-config': - specifier: workspace:^3.4.11 + specifier: workspace:^3.4.13 version: link:../prettier-config '@types/node': specifier: ^25.6.0 @@ -93,7 +93,7 @@ importers: specifier: ^5.10.0 version: 5.10.0(eslint@10.2.1(jiti@2.6.1)) '@tsparticles/prettier-config': - specifier: workspace:^3.4.11 + specifier: workspace:^3.4.13 version: link:../prettier-config eslint-config-prettier: specifier: ^10.1.8 @@ -157,11 +157,14 @@ importers: '@stylistic/eslint-plugin': specifier: ^5.10.0 version: 5.10.0(eslint@10.2.1(jiti@2.6.1)) + '@swc/core': + specifier: ^1.15.30 + version: 1.15.30 '@tsparticles/eslint-config': - specifier: workspace:^3.4.11 + specifier: workspace:^3.4.13 version: link:../eslint-config '@tsparticles/prettier-config': - specifier: workspace:^3.4.11 + specifier: workspace:^3.4.13 version: link:../prettier-config browserslist: specifier: ^4.28.2 From 17a0a5af6e4e36f3419d96d07d61d2298e7b451c Mon Sep 17 00:00:00 2001 From: Matteo Bruni <176620+matteobruni@users.noreply.github.com> Date: Sun, 26 Apr 2026 21:16:49 +0200 Subject: [PATCH 2/2] chore(release): published new version --- packages/browserslist-config/package.json | 2 +- packages/depcruise-config/package.json | 2 +- packages/eslint-config/package.json | 2 +- packages/prettier-config/package.json | 2 +- packages/tsconfig/package.json | 2 +- packages/webpack-config/package.json | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/browserslist-config/package.json b/packages/browserslist-config/package.json index 5a6f5eb..1463f73 100644 --- a/packages/browserslist-config/package.json +++ b/packages/browserslist-config/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/browserslist-config", - "version": "3.4.13", + "version": "3.4.14", "description": "tsParticles default Browserslist configuration", "main": "dist/index.js", "license": "MIT", diff --git a/packages/depcruise-config/package.json b/packages/depcruise-config/package.json index d69f088..9843c69 100644 --- a/packages/depcruise-config/package.json +++ b/packages/depcruise-config/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/depcruise-config", - "version": "3.4.13", + "version": "3.4.14", "private": false, "type": "module", "publishConfig": { diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index 21e02cd..9b35b5b 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/eslint-config", - "version": "3.4.13", + "version": "3.4.14", "description": "tsParticles default ESLint Configuration (ESLint 10 + Flat Config)", "type": "module", "main": "dist/eslint.config.js", diff --git a/packages/prettier-config/package.json b/packages/prettier-config/package.json index 21e9a56..985a7b8 100644 --- a/packages/prettier-config/package.json +++ b/packages/prettier-config/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/prettier-config", - "version": "3.4.13", + "version": "3.4.14", "description": "tsParticles default Prettier Configuration", "main": "dist/prettier-config.json", "license": "MIT", diff --git a/packages/tsconfig/package.json b/packages/tsconfig/package.json index c17ce2f..d90c8f3 100644 --- a/packages/tsconfig/package.json +++ b/packages/tsconfig/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/tsconfig", - "version": "3.4.13", + "version": "3.4.14", "description": "tsParticles default TypeScript Compiler Configuration", "license": "MIT", "repository": { diff --git a/packages/webpack-config/package.json b/packages/webpack-config/package.json index 1fd6605..573a236 100644 --- a/packages/webpack-config/package.json +++ b/packages/webpack-config/package.json @@ -1,6 +1,6 @@ { "name": "@tsparticles/webpack-plugin", - "version": "3.4.13", + "version": "3.4.14", "type": "module", "main": "dist/webpack-tsparticles.js", "types": "dist/webpack-tsparticles.d.ts",