create-tsparticles 0.0.0 → 4.1.3

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,5 @@
1
+ # Changelog
2
+
3
+ ## 0.0.0
4
+
5
+ - Initial placeholder release
@@ -1,13 +1,11 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- console.log("");
4
- console.log(" ✨ create-tsparticles — coming soon!");
5
- console.log("");
6
- console.log(" tsParticles 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("tsparticles-create", ["app", ...forwardedArgs], {
7
+ stdio: "inherit",
8
+ shell: process.platform === "win32",
9
+ });
10
+
11
+ process.exit(result.status ?? 1);
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "create-tsparticles",
3
- "version": "0.0.0",
4
- "private": false,
3
+ "version": "4.1.3",
4
+ "description": "Scaffold a tsParticles project — npm create tsparticles",
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-tsparticles"
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.1.3"
64
+ },
27
65
  "devDependencies": {
28
66
  "@tsparticles/prettier-config": "^4.1.3"
29
67
  },
30
- "description": "Scaffold a tsParticles project — npm create tsparticles",
31
- "author": "Matteo Bruni <matteo.bruni@me.com>",
32
- "gitHead": "dc15d30d4021d630b90ec767df7dd8ec6af1781e"
68
+ "gitHead": "0551736c55ae8eec3855a693af8a99b1b4420350"
33
69
  }
package/project.json ADDED
@@ -0,0 +1,16 @@
1
+ {
2
+ "name": "create-tsparticles",
3
+ "$schema": "https://json.schemastore.org/nx-project.json",
4
+ "projectType": "library",
5
+ "sourceRoot": "cli/packages/create-tsparticles",
6
+ "targets": {
7
+ "build": {
8
+ "executor": "nx:run-commands",
9
+ "options": {
10
+ "commands": ["pnpm run build"],
11
+ "cwd": "cli/packages/create-tsparticles"
12
+ },
13
+ "dependsOn": ["^build"]
14
+ }
15
+ }
16
+ }