@animus-ui/extract 0.1.0-next.38 → 0.1.0-next.39
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 +34 -0
- package/package.json +18 -6
package/README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# @animus-ui/extract
|
|
2
|
+
|
|
3
|
+
Rust/NAPI static CSS extraction pipeline for Animus. Analyzes TypeScript source files using OXC, resolves builder chains against serialized system config, and emits layered CSS.
|
|
4
|
+
|
|
5
|
+
This package is consumed by [`@animus-ui/vite-plugin`](../vite-plugin) and [`@animus-ui/next-plugin`](../next-plugin). You typically don't install it directly — the bundler plugins depend on it.
|
|
6
|
+
|
|
7
|
+
## Platforms
|
|
8
|
+
|
|
9
|
+
Pre-built binaries for:
|
|
10
|
+
- `darwin-arm64` (macOS Apple Silicon)
|
|
11
|
+
- `linux-x64-gnu` (Linux x64)
|
|
12
|
+
- `linux-arm64-gnu` (Linux ARM64)
|
|
13
|
+
|
|
14
|
+
## API
|
|
15
|
+
|
|
16
|
+
```tsx
|
|
17
|
+
import { analyzeProject } from '@animus-ui/extract';
|
|
18
|
+
|
|
19
|
+
const manifest = analyzeProject(
|
|
20
|
+
fileEntriesJson,
|
|
21
|
+
scalesJson,
|
|
22
|
+
variableMapJson,
|
|
23
|
+
contextualVarsJson,
|
|
24
|
+
propConfig,
|
|
25
|
+
groupRegistry,
|
|
26
|
+
packageResolutionJson,
|
|
27
|
+
devMode,
|
|
28
|
+
prefix
|
|
29
|
+
);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## License
|
|
33
|
+
|
|
34
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@animus-ui/extract",
|
|
3
|
-
"version": "0.1.0-next.
|
|
3
|
+
"version": "0.1.0-next.39",
|
|
4
4
|
"description": "Animus static CSS extraction pipeline (Rust/NAPI)",
|
|
5
5
|
"author": "codecaaron <airrobb@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,10 +27,22 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
+
"homepage": "https://github.com/codecaaron/animus/tree/main/packages/extract#readme",
|
|
30
31
|
"repository": {
|
|
31
32
|
"type": "git",
|
|
32
|
-
"url": "git+https://github.com/codecaaron/animus"
|
|
33
|
+
"url": "git+https://github.com/codecaaron/animus",
|
|
34
|
+
"directory": "packages/extract"
|
|
33
35
|
},
|
|
36
|
+
"keywords": [
|
|
37
|
+
"css",
|
|
38
|
+
"css-in-js",
|
|
39
|
+
"zero-runtime",
|
|
40
|
+
"compiler",
|
|
41
|
+
"static-css",
|
|
42
|
+
"rust",
|
|
43
|
+
"napi",
|
|
44
|
+
"animus"
|
|
45
|
+
],
|
|
34
46
|
"napi": {
|
|
35
47
|
"binaryName": "animus-extract",
|
|
36
48
|
"targets": [
|
|
@@ -46,12 +58,12 @@
|
|
|
46
58
|
"compile": "tsc -p tsconfig.build.json --noEmit"
|
|
47
59
|
},
|
|
48
60
|
"optionalDependencies": {
|
|
49
|
-
"@animus-ui/extract-darwin-arm64": "0.1.0-next.
|
|
50
|
-
"@animus-ui/extract-linux-x64-gnu": "0.1.0-next.
|
|
51
|
-
"@animus-ui/extract-linux-arm64-gnu": "0.1.0-next.
|
|
61
|
+
"@animus-ui/extract-darwin-arm64": "0.1.0-next.39",
|
|
62
|
+
"@animus-ui/extract-linux-x64-gnu": "0.1.0-next.39",
|
|
63
|
+
"@animus-ui/extract-linux-arm64-gnu": "0.1.0-next.39"
|
|
52
64
|
},
|
|
53
65
|
"dependencies": {
|
|
54
|
-
"@animus-ui/properties": "0.1.0-next.
|
|
66
|
+
"@animus-ui/properties": "0.1.0-next.39"
|
|
55
67
|
},
|
|
56
68
|
"devDependencies": {
|
|
57
69
|
"@animus-ui/system": "workspace:*",
|