next-style 2.1.1 → 2.1.2
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 +1 -24
- package/dist/postcss-plugin/index.js +296 -1
- package/package.json +18 -9
- package/dist/index.cjs +0 -31
- package/dist/index.d.cts +0 -263
- package/dist/postcss-plugin/index.cjs +0 -1
- package/dist/postcss-plugin/index.d.cts +0 -23
package/README.md
CHANGED
|
@@ -367,29 +367,6 @@ On the very first build, no `css()` calls have been evaluated yet so the cache f
|
|
|
367
367
|
|
|
368
368
|
Ensure next-style is listed **first** in the plugins object — it must run before any other transformations.
|
|
369
369
|
|
|
370
|
-
## Contributing
|
|
371
|
-
|
|
372
|
-
```bash
|
|
373
|
-
bun install # install dependencies
|
|
374
|
-
bun run export # production build (note: script is "export", not "build")
|
|
375
|
-
bun run dev # watch mode
|
|
376
|
-
bun test # run tests
|
|
377
|
-
bun run lint # lint with Biome
|
|
378
|
-
bun run format # format with Biome
|
|
379
|
-
bunx tsc --noEmit # type-check only
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
**Project structure**
|
|
383
|
-
|
|
384
|
-
```
|
|
385
|
-
src/
|
|
386
|
-
├── index.ts # public exports
|
|
387
|
-
├── runtime/ # css() · global() · CSSObject type
|
|
388
|
-
├── postcss-plugin/ # @import "next-style" → compiled CSS
|
|
389
|
-
├── compiler/ # StyleCollector · createTransformer · CompiledStyle
|
|
390
|
-
└── utils/ # camelToKebab · generateClassHash · BREAKPOINTS · normalizeMediaQuery
|
|
391
|
-
```
|
|
392
|
-
|
|
393
370
|
## License
|
|
394
371
|
|
|
395
|
-
MIT © [
|
|
372
|
+
MIT © [Tiwz](https://github.com/TiwPhiraphan)
|