create-confetti 0.0.0 → 4.2.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 ADDED
@@ -0,0 +1,18 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ # [4.2.0](https://github.com/tsparticles/tsparticles/compare/v4.1.3...v4.2.0) (2026-06-17)
7
+
8
+ ### Features
9
+
10
+ - after publish ([32eda42](https://github.com/tsparticles/tsparticles/commit/32eda425bf5f786c2b62efae8e92f95acf523260))
11
+ - completed adding templates plan ([bce1a7e](https://github.com/tsparticles/tsparticles/commit/bce1a7ee481e2146b04be234923571e6cf16c717))
12
+ - preparing create packages for the new templates structure ([dc15d30](https://github.com/tsparticles/tsparticles/commit/dc15d30d4021d630b90ec767df7dd8ec6af1781e))
13
+
14
+ # Changelog
15
+
16
+ ## 0.0.0
17
+
18
+ - Initial placeholder release
@@ -1,13 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- console.log("");
4
- console.log(" ✨ create-confetti — coming soon!");
5
- console.log("");
6
- console.log(" @tsparticles/confetti project scaffolding is on its way.");
7
- console.log(" Stay tuned for the first release.");
8
- console.log("");
9
- console.log(" In the meantime, visit:");
10
- console.log(" https://particles.js.org");
11
- console.log(" https://github.com/tsparticles/tsparticles");
12
- console.log("");
13
- process.exit(0);
3
+ import { spawnSync } from "node:child_process";
4
+
5
+ const forwardedArgs = process.argv.slice(2),
6
+ result = spawnSync(
7
+ "tsparticles-create",
8
+ ["app", ...forwardedArgs, "--template", "confetti", "--framework", "vanilla"],
9
+ {
10
+ stdio: "inherit",
11
+ shell: process.platform === "win32",
12
+ },
13
+ );
14
+
15
+ process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "create-confetti",
3
- "version": "0.0.0",
4
- "private": false,
3
+ "version": "4.2.0",
4
+ "description": "Scaffold a @tsparticles/confetti project — npm create confetti",
5
+ "homepage": "https://particles.js.org",
5
6
  "license": "MIT",
6
7
  "type": "module",
7
8
  "bin": {
@@ -16,6 +17,40 @@
16
17
  "url": "git+https://github.com/tsparticles/tsparticles.git",
17
18
  "directory": "cli/packages/create-confetti"
18
19
  },
20
+ "keywords": [
21
+ "tsparticles",
22
+ "particles.js",
23
+ "particles",
24
+ "confetti",
25
+ "ribbons",
26
+ "front-end",
27
+ "web",
28
+ "animation",
29
+ "canvas",
30
+ "html5",
31
+ "cli",
32
+ "scaffold",
33
+ "create",
34
+ "template"
35
+ ],
36
+ "author": "Matteo Bruni <matteo.bruni@me.com>",
37
+ "bugs": {
38
+ "url": "https://github.com/tsparticles/tsparticles/issues"
39
+ },
40
+ "funding": [
41
+ {
42
+ "type": "github",
43
+ "url": "https://github.com/sponsors/matteobruni"
44
+ },
45
+ {
46
+ "type": "github",
47
+ "url": "https://github.com/sponsors/tsparticles"
48
+ },
49
+ {
50
+ "type": "buymeacoffee",
51
+ "url": "https://www.buymeacoffee.com/matteobruni"
52
+ }
53
+ ],
19
54
  "prettier": "@tsparticles/prettier-config",
20
55
  "scripts": {
21
56
  "prettify:ci:readme": "prettier --check ./README.md",
@@ -24,10 +59,11 @@
24
59
  "build:ci": "pnpm run prettify:ci:readme",
25
60
  "prepack": "pnpm run build"
26
61
  },
62
+ "dependencies": {
63
+ "@tsparticles/cli-create": "4.2.0"
64
+ },
27
65
  "devDependencies": {
28
- "@tsparticles/prettier-config": "^4.1.3"
66
+ "@tsparticles/prettier-config": "4.2.0"
29
67
  },
30
- "description": "Scaffold a @tsparticles/confetti project — npm create confetti",
31
- "author": "Matteo Bruni <matteo.bruni@me.com>",
32
- "gitHead": "dc15d30d4021d630b90ec767df7dd8ec6af1781e"
68
+ "gitHead": "985a346686ce8d7fa09808849bef51140f1b4897"
33
69
  }
package/project.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "create-confetti",
3
+ "$schema": "https://json.schemastore.org/nx-project.json",
4
+ "projectType": "library",
5
+ "sourceRoot": "cli/packages/create-confetti",
6
+ "targets": {
7
+ "build": {
8
+ "executor": "nx:run-commands",
9
+ "options": {
10
+ "commands": ["pnpm run build"],
11
+ "cwd": "cli/packages/create-confetti"
12
+ },
13
+ "dependsOn": ["^build"]
14
+ }
15
+ }
16
+ }