@tsparticles/template-confetti 4.3.2 → 4.4.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/CHANGELOG.md CHANGED
@@ -3,33 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [4.3.2](https://github.com/tsparticles/tsparticles/compare/v4.3.1...v4.3.2) (2026-07-10)
7
-
8
- **Note:** Version bump only for package @tsparticles/template-confetti
9
-
10
-
6
+ # [4.4.0](https://github.com/tsparticles/tsparticles/compare/v4.3.3...v4.4.0) (2026-08-30)
11
7
 
8
+ ### Bug Fixes
12
9
 
10
+ * various fixes for 4.4.0 ([475d06d](https://github.com/tsparticles/tsparticles/commit/475d06da27e1497bb097c0822fcfcb72d7142456))
13
11
 
14
- ## [4.3.1](https://github.com/tsparticles/tsparticles/compare/v4.3.0...v4.3.1) (2026-07-01)
12
+ ## [4.3.3](https://github.com/tsparticles/tsparticles/compare/v4.3.2...v4.3.3) (2026-07-23)
15
13
 
16
14
  **Note:** Version bump only for package @tsparticles/template-confetti
17
15
 
16
+ ## [4.3.2](https://github.com/tsparticles/tsparticles/compare/v4.3.1...v4.3.2) (2026-07-10)
18
17
 
18
+ **Note:** Version bump only for package @tsparticles/template-confetti
19
19
 
20
+ ## [4.3.1](https://github.com/tsparticles/tsparticles/compare/v4.3.0...v4.3.1) (2026-07-01)
20
21
 
22
+ **Note:** Version bump only for package @tsparticles/template-confetti
21
23
 
22
24
  # [4.3.0](https://github.com/tsparticles/tsparticles/compare/v4.2.1...v4.3.0) (2026-06-27)
23
25
 
24
-
25
26
  ### Bug Fixes
26
27
 
27
28
  * fixed angular confetti ([6f25a4a](https://github.com/tsparticles/tsparticles/commit/6f25a4a1eaa69c47f2668316e7b396fe55195f84))
28
29
 
29
-
30
-
31
-
32
-
33
30
  ## [4.2.1](https://github.com/tsparticles/tsparticles/compare/v4.2.0...v4.2.1) (2026-06-18)
34
31
 
35
32
  ### Bug Fixes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsparticles/template-confetti",
3
- "version": "4.3.2",
3
+ "version": "4.4.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -14,7 +14,15 @@
14
14
  "prebuild": "node scripts/prebuild.js",
15
15
  "build": "pnpm run prebuild",
16
16
  "build:ci": "pnpm run prebuild",
17
- "version": "pnpm run build && git add template.json"
17
+ "version": "pnpm run build && git add template.json",
18
+ "prepack": "pnpm run build"
18
19
  },
19
- "gitHead": "527bc42f2324fbb9b93262efa3d90a5517532b8b"
20
+ "dependencies": {
21
+ "@tsparticles/confetti": "4.4.0",
22
+ "@tsparticles/engine": "4.4.0"
23
+ },
24
+ "devDependencies": {
25
+ "fs-extra": "^11.3.4"
26
+ },
27
+ "gitHead": "b7e605098d6ea937d5068c06542671d4891070e4"
20
28
  }
@@ -1,5 +1,6 @@
1
1
  const fs = require("fs-extra");
2
2
 
3
+ const mainPackage = require("../package.json");
3
4
  const libPackage = "./template.json";
4
5
 
5
6
  const workspaceVersions = {
@@ -8,14 +9,7 @@ const workspaceVersions = {
8
9
  };
9
10
 
10
11
  function resolveWorkspaceDependency(name) {
11
- const libObj = JSON.parse(fs.readFileSync(libPackage, "utf-8"));
12
-
13
- const allDeps = {
14
- ...libObj.package.dependencies,
15
- ...libObj.package.devDependencies,
16
- };
17
-
18
- const spec = allDeps[name];
12
+ const spec = mainPackage.dependencies[name];
19
13
 
20
14
  if (!spec?.startsWith("workspace:")) {
21
15
  return spec;
@@ -41,8 +35,7 @@ fs.readFile(libPackage, function (error, data) {
41
35
  throw error;
42
36
  }
43
37
 
44
- const text = data.toString();
45
- const libObj = JSON.parse(text);
38
+ const libObj = JSON.parse(data.toString());
46
39
 
47
40
  for (const dep of Object.keys(libObj.package.dependencies)) {
48
41
  const resolved = resolveWorkspaceDependency(dep);
package/template.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "package": {
3
3
  "dependencies": {
4
- "@tsparticles/engine": "^4.1.3",
5
- "@tsparticles/confetti": "^4.1.3"
4
+ "@tsparticles/engine": "^4.4.0",
5
+ "@tsparticles/confetti": "^4.4.0"
6
6
  },
7
7
  "devDependencies": {
8
8
  "typescript": "^6.0.3",