Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Commit 3daadeb

Browse files
authored
Merge pull request #213 from tsparticles/dev
3.4.12
2 parents ec20f11 + 2772061 commit 3daadeb

9 files changed

Lines changed: 315 additions & 56 deletions

File tree

nx.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,16 @@
44
"nxCloudId": "6356722b6ecea758750bfdfd",
55
"release": {
66
"projectsRelationship": "fixed",
7-
"groups": {
8-
"all": {
9-
"projects": [
10-
"@tsparticles/browserslist-config",
11-
"@tsparticles/depcruise-config",
12-
"@tsparticles/prettier-config",
13-
"@tsparticles/webpack-plugin",
14-
"@tsparticles/eslint-config",
15-
"@tsparticles/tsconfig"
16-
]
17-
,
18-
"releaseTagPattern": "v{version}"
19-
}
20-
},
7+
"projects": [
8+
"*"
9+
],
2110
"version": {
2211
"conventionalCommits": true,
23-
"updateDependents": true,
12+
"updateDependents": "always",
2413
"git": {
2514
"commit": true,
2615
"commitMessage": "chore(release): published new version",
16+
"push": true,
2717
"tag": true,
2818
"stageChanges": true
2919
}
@@ -33,6 +23,7 @@
3323
"projectChangelogs": false,
3424
"git": {
3525
"commit": true,
26+
"push": true,
3627
"stageChanges": true
3728
}
3829
}

packages/browserslist-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/browserslist-config",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"description": "tsParticles default Browserslist configuration",
55
"main": "dist/index.js",
66
"license": "MIT",

packages/depcruise-config/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/depcruise-config",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"private": false,
55
"type": "module",
66
"publishConfig": {
@@ -41,8 +41,8 @@
4141
},
4242
"devDependencies": {
4343
"@stylistic/eslint-plugin": "^5.10.0",
44-
"@tsparticles/eslint-config": "workspace:^3.4.7",
45-
"@tsparticles/prettier-config": "workspace:^3.4.7",
44+
"@tsparticles/eslint-config": "workspace:^3.4.11",
45+
"@tsparticles/prettier-config": "workspace:^3.4.11",
4646
"@types/node": "^25.6.0",
4747
"eslint": "^10.2.1",
4848
"eslint-config-prettier": "^10.1.8",

packages/eslint-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/eslint-config",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"description": "tsParticles default ESLint Configuration (ESLint 10 + Flat Config)",
55
"type": "module",
66
"main": "dist/eslint.config.js",
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@eslint/js": "^10.0.1",
3030
"@stylistic/eslint-plugin": "^5.10.0",
31-
"@tsparticles/prettier-config": "workspace:^3.4.7",
31+
"@tsparticles/prettier-config": "workspace:^3.4.11",
3232
"eslint-config-prettier": "^10.1.8",
3333
"eslint-plugin-jsdoc": "^62.9.0",
3434
"eslint-plugin-prettier": "^5.5.5",

packages/prettier-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/prettier-config",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"description": "tsParticles default Prettier Configuration",
55
"main": "dist/prettier-config.json",
66
"license": "MIT",

packages/tsconfig/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/tsconfig",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"description": "tsParticles default TypeScript Compiler Configuration",
55
"license": "MIT",
66
"repository": {

packages/webpack-config/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tsparticles/webpack-plugin",
3-
"version": "3.4.11",
3+
"version": "3.4.12",
44
"type": "module",
55
"main": "dist/webpack-tsparticles.js",
66
"types": "dist/webpack-tsparticles.d.ts",
@@ -32,10 +32,10 @@
3232
"prettier": "@tsparticles/prettier-config",
3333
"dependencies": {
3434
"@stylistic/eslint-plugin": "^5.10.0",
35-
"@swc/core": "^1.15.30",
36-
"@tsparticles/eslint-config": "workspace:^3.4.7",
37-
"@tsparticles/prettier-config": "workspace:^3.4.7",
35+
"@tsparticles/eslint-config": "workspace:^3.4.11",
36+
"@tsparticles/prettier-config": "workspace:^3.4.11",
3837
"browserslist": "^4.28.2",
38+
"esbuild": "^0.28.0",
3939
"eslint": "^10.2.1",
4040
"eslint-config-prettier": "^10.1.8",
4141
"eslint-plugin-jsdoc": "^62.9.0",

packages/webpack-config/src/common/getConfig.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { BundleAnalyzerPlugin } from "webpack-bundle-analyzer";
22
import type { ExternalData } from "./ExternalData.js";
33
import TerserPlugin from "terser-webpack-plugin";
4+
import type { TransformOptions } from "esbuild";
45
import { getEntry } from "./getEntry.js";
56
import { getExternals } from "./getExternals.js";
67
import path from "node:path";
@@ -93,19 +94,17 @@ function getSingleConfig(params: ConfigParams, min: boolean, lazy: boolean): unk
9394
optimization: {
9495
minimize: min,
9596
minimizer: [
96-
new TerserPlugin({
97+
new TerserPlugin<TransformOptions>({
9798
include: /\.min\.js$/,
98-
minify: TerserPlugin.swcMinify,
99+
minify: TerserPlugin.esbuildMinify,
99100
parallel: true,
100101
terserOptions: {
101-
compress: {
102-
unused: true,
103-
dead_code: true,
104-
},
105-
mangle: true,
106-
format: {
107-
comments: false,
108-
},
102+
minify: true,
103+
minifyWhitespace: true,
104+
minifyIdentifiers: true,
105+
minifySyntax: true,
106+
legalComments: "none",
107+
target: "es2022",
109108
},
110109
}),
111110
],

0 commit comments

Comments
 (0)