teacss 0.4.1 → 0.4.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/README.md +14 -18
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -20,20 +20,22 @@ The base installation contains the runtime class helpers, engine core, and
|
|
|
20
20
|
official presets. Build integrations are separate packages, so install and
|
|
21
21
|
import the one owned by the selected build boundary directly:
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Install the package names below as development dependencies with npm, pnpm,
|
|
24
|
+
Yarn, or Bun. Bun Build itself requires the Bun runtime.
|
|
25
|
+
|
|
26
|
+
| Build boundary | Development packages | Import |
|
|
24
27
|
| --- | --- | --- |
|
|
25
|
-
| Vite |
|
|
26
|
-
| Astro |
|
|
27
|
-
| Rsbuild |
|
|
28
|
-
| PostCSS |
|
|
29
|
-
| Bun Build |
|
|
28
|
+
| Vite | `@teacss/vite vite` | `@teacss/vite` |
|
|
29
|
+
| Astro | `@teacss/astro astro vite` | `@teacss/astro` |
|
|
30
|
+
| Rsbuild | `@teacss/rsbuild @rsbuild/core` | `@teacss/rsbuild` |
|
|
31
|
+
| PostCSS | `@teacss/postcss postcss` | `@teacss/postcss` |
|
|
32
|
+
| Bun Build | `@teacss/bun` | `@teacss/bun` |
|
|
30
33
|
|
|
31
34
|
The standalone CLI is intentionally separate because `teacss` has no CLI
|
|
32
35
|
subpath or executable:
|
|
33
36
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
```
|
|
37
|
+
Install `@teacss/cli` as a development dependency with the project's package
|
|
38
|
+
manager.
|
|
37
39
|
|
|
38
40
|
TeaCSS is an atomic CSS toolkit designed around a simple idea: utility classes should read like CSS declarations. Its primary audience is large language models, so every language and design tradeoff is judged first by whether a model can reliably predict the output. Instead of compressing meaning into short aliases, TeaCSS uses an explicit `property:value` syntax that remains easy for developers to read and easy for AI agents to generate, validate, and reason about. Predictability takes precedence over brevity.
|
|
39
41
|
|
|
@@ -57,12 +59,8 @@ skills update teacss
|
|
|
57
59
|
Restart Codex after installing the skill.
|
|
58
60
|
|
|
59
61
|
Install the application package and the integration used by the project. For
|
|
60
|
-
Vite
|
|
61
|
-
|
|
62
|
-
```sh
|
|
63
|
-
bun add teacss
|
|
64
|
-
bun add -d @teacss/vite vite
|
|
65
|
-
```
|
|
62
|
+
Vite, install `teacss` as an application dependency and `@teacss/vite` plus
|
|
63
|
+
`vite` as development dependencies with npm, pnpm, Yarn, or Bun.
|
|
66
64
|
|
|
67
65
|
Use the Vite integration:
|
|
68
66
|
|
|
@@ -349,9 +347,7 @@ defaults come from the standard preset's automatic preflight.
|
|
|
349
347
|
|
|
350
348
|
Generic class merging is a separate package for custom conflict metadata:
|
|
351
349
|
|
|
352
|
-
|
|
353
|
-
bun add @teacss/classes
|
|
354
|
-
```
|
|
350
|
+
Install `@teacss/classes` with the project's package manager.
|
|
355
351
|
|
|
356
352
|
```ts
|
|
357
353
|
import { createMerger } from "@teacss/classes";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "teacss",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "The TeaCSS application entry with the official `cn`, `recipe`, engine, and preset subpaths.",
|
|
5
5
|
"homepage": "https://css.teasim.com",
|
|
6
6
|
"funding": "https://github.com/sponsors/billgo",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"dev": "tsdown --watch"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@teacss/classes": "0.4.
|
|
30
|
-
"@teacss/core": "0.4.
|
|
31
|
-
"@teacss/preset-articles": "0.4.
|
|
32
|
-
"@teacss/preset-icons": "0.4.
|
|
33
|
-
"@teacss/preset-standard": "0.4.
|
|
29
|
+
"@teacss/classes": "0.4.3",
|
|
30
|
+
"@teacss/core": "0.4.3",
|
|
31
|
+
"@teacss/preset-articles": "0.4.3",
|
|
32
|
+
"@teacss/preset-icons": "0.4.3",
|
|
33
|
+
"@teacss/preset-standard": "0.4.3"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
36
|
"node": ">=22.12.0"
|