@algorisys/tinyfly 0.70.1 → 0.74.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@algorisys/tinyfly",
3
- "version": "0.70.1",
3
+ "version": "0.74.0",
4
4
  "type": "module",
5
5
  "description": "Lightweight, API-driven animation engine and editor. The engine is framework-agnostic and runs in browsers, Web Workers, and Node.",
6
6
  "license": "MIT",
@@ -97,6 +97,14 @@
97
97
  "types": "./lib/types/frameworks/solid.d.ts",
98
98
  "import": "./lib/frameworks/solid.js"
99
99
  },
100
+ "./characters": {
101
+ "types": "./lib/types/characters/index.d.ts",
102
+ "import": "./lib/addons/characters.js"
103
+ },
104
+ "./headless": {
105
+ "types": "./lib/types/headless/index.d.ts",
106
+ "import": "./lib/headless/headless.js"
107
+ },
100
108
  "./package.json": "./package.json"
101
109
  },
102
110
  "files": [
@@ -107,6 +115,7 @@
107
115
  "lib/frameworks",
108
116
  "lib/embed",
109
117
  "lib/cli",
118
+ "lib/headless",
110
119
  "bin",
111
120
  "lib/types"
112
121
  ],
@@ -119,7 +128,7 @@
119
128
  "build:player": "vite build --config vite.config.player.ts",
120
129
  "build:engine": "vite build --config vite.config.engine.ts",
121
130
  "build:types": "tsc -p tsconfig.lib.json",
122
- "build:libs": "npm run build:engine && npm run build:player && npm run build:addons && npm run build:frameworks && npm run build:embed && npm run build:cli && npm run build:browser && npm run build:types",
131
+ "build:libs": "npm run build:engine && npm run build:player && npm run build:addons && npm run build:frameworks && npm run build:embed && npm run build:cli && npm run build:headless && npm run build:browser && npm run build:types",
123
132
  "preview": "vite preview",
124
133
  "test": "vitest",
125
134
  "test:run": "vitest run",
@@ -133,9 +142,11 @@
133
142
  "release:npm": "npm publish",
134
143
  "release:npm:dry-run": "npm publish --dry-run",
135
144
  "build:embed": "vite build --config vite.config.embed.ts",
136
- "build:cli": "vite build --config vite.config.cli.ts"
145
+ "build:cli": "vite build --config vite.config.cli.ts",
146
+ "build:headless": "vite build --config vite.config.headless.ts"
137
147
  },
138
148
  "devDependencies": {
149
+ "@napi-rs/canvas": "^1.0.9",
139
150
  "@solidjs/router": "^0.15.4",
140
151
  "@types/node": "^24.10.1",
141
152
  "@types/react": "^19.3.0",
@@ -154,7 +165,8 @@
154
165
  "peerDependencies": {
155
166
  "react": ">=18",
156
167
  "vue": ">=3.3",
157
- "solid-js": ">=1.8"
168
+ "solid-js": ">=1.8",
169
+ "@napi-rs/canvas": ">=0.1.60"
158
170
  },
159
171
  "peerDependenciesMeta": {
160
172
  "react": {
@@ -165,6 +177,9 @@
165
177
  },
166
178
  "solid-js": {
167
179
  "optional": true
180
+ },
181
+ "@napi-rs/canvas": {
182
+ "optional": true
168
183
  }
169
184
  }
170
185
  }