animl-cli 0.1.0 → 0.1.1

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  The `anima` command-line tool for authoring, validating, rendering, discovering, and bundling Anima files.
4
4
 
5
5
  ```sh
6
- npm install -g animl-cli
6
+ npm install -g animl-cli # or npm install --save-dev animl-cli, then npx --no anima …
7
7
  anima --version
8
8
  anima search hover
9
9
  anima features ik
@@ -13,6 +13,10 @@ anima schema rect
13
13
  anima help --json
14
14
  ```
15
15
 
16
+ To run it once without installing: `npx -p animl-cli anima --help` or `npx animl-cli --help`.
17
+ Never `npx anima` without `-p animl-cli` or a local install: the npm package named `anima` is an
18
+ unrelated project, and npx would download and run it.
19
+
16
20
  The loop: write a scene (`anima new --sample bell` or `anima examples`), check it with
17
21
  `anima validate scene.animl`, step it with `anima sample scene.animl -e "snapshot"`, look at it with
18
22
  `anima render scene.animl -o out.png`, and ship it with `anima build scene.animl -o scene.ani` plus the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "animl-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The anima command-line tool for Anima and AniML.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,7 +28,8 @@
28
28
  "node": ">=24"
29
29
  },
30
30
  "bin": {
31
- "anima": "packages/cli/src/main.js"
31
+ "anima": "packages/cli/src/main.js",
32
+ "animl-cli": "packages/cli/src/main.js"
32
33
  },
33
34
  "exports": {
34
35
  ".": {
@@ -40,7 +41,7 @@
40
41
  "@resvg/resvg-js": "^2.6.2",
41
42
  "esbuild": "^0.28.2",
42
43
  "terser": "^5.51.2",
43
- "animl": "0.1.0",
44
+ "animl": "0.1.1",
44
45
  "playwright-core": "^1.64.1",
45
46
  "pngjs": "^7.0.0"
46
47
  },
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "0.1.0",
2
+ "version": "0.1.1",
3
3
  "type": "module"
4
4
  }