ReviewOS

also looking at this

stacks/ts-css

Merge @stacksjs/ts-css into this repo as packages/toolkit

#27
Merged glennmichael123 wants to merge merge/ts-css-toolkit into main
128 files +9797 -201
docs/features/cli.mdmodified+6-6
Changes to docs/features/cli.md
@@ -10,11 +10,11 @@ Install ts-css globally or locally:
1010
1111# Global (use anywhere)
1212
13bun add --global ts-css
13bun add --global @ts-css/core
1414
1515# Local (project-specific)
1616
17bun add ts-css
17bun add @ts-css/core
1818```## Commands
1919
2020### `build`Build CSS from your content files.```bash
@@ -125,7 +125,7 @@ Next steps:
125125
126126```**Generated file:**```typescript
127127
128import type { TsCssOptions } from 'ts-css'
128import type { TsCssOptions } from '@ts-css/core'
129129
130130const config = {
131131 content: ['./src/**/*.{html,js,ts,jsx,tsx}'],
@@ -403,7 +403,7 @@ cssx build --config ./css.test.config.ts
403403```### Programmatic Usage
404404
405405While the CLI is convenient, you can also use ts-css programmatically:```typescript
406import { build, buildAndWrite } from 'ts-css'
406import { build, buildAndWrite } from '@ts-css/core'
407407
408408// Build only (get result)
409409const result = await build({
@@ -459,7 +459,7 @@ const config = {
459459### Command Not Found**Problem:**`command not found: cssx`**Solutions:**1. Install globally
460460
461461 ```bash
462 bun add --global ts-css
462 bun add --global @ts-css/core
463463 ```2. Or use with package runner:```bash
464464 bunx cssx build
465465
@@ -494,7 +494,7 @@ const config = {
494494 ls -la ./src/**/*.tsx
495495 ```3. Validate config:```typescript
496496 // Use type checking
497 import type { TsCssOptions } from 'ts-css'
497 import type { TsCssOptions } from '@ts-css/core'
498498
499499 const config = {
500500 content: ['./src/**/*.tsx'],