styles-config 2.0.0-alpha.7 → 2.0.0-alpha.8
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 +25 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,19 @@
|
|
|
1
1
|
# styles-config
|
|
2
2
|
|
|
3
|
-
A
|
|
3
|
+
**A shared configuration schema and loader for styling tools (Jess, Less, Sass,
|
|
4
|
+
Tailwind, …).**
|
|
5
|
+
|
|
6
|
+
`styles-config` is part of the [Jess](https://github.com/jesscss/jess) project
|
|
7
|
+
(Less.js v5, a ground-up rewrite of the Less CSS preprocessor). It is published
|
|
8
|
+
**unscoped** — the package name is `styles-config`, not `@jesscss/config`.
|
|
4
9
|
|
|
5
10
|
## Overview
|
|
6
11
|
|
|
7
|
-
`styles-config` provides a unified configuration format and loading system that
|
|
12
|
+
`styles-config` provides a unified configuration format and loading system that
|
|
13
|
+
works across multiple CSS preprocessors and styling frameworks. It lets you define
|
|
14
|
+
configuration once and use it with different tools, or maintain separate
|
|
15
|
+
configurations for different frameworks. Jess itself reads its compile options
|
|
16
|
+
through this loader.
|
|
8
17
|
|
|
9
18
|
## Features
|
|
10
19
|
|
|
@@ -16,14 +25,12 @@ A general-purpose configuration system for styling frameworks including Jess, Le
|
|
|
16
25
|
|
|
17
26
|
## Installation
|
|
18
27
|
|
|
19
|
-
```
|
|
28
|
+
```sh
|
|
20
29
|
npm install styles-config
|
|
21
|
-
# or
|
|
22
|
-
pnpm add styles-config
|
|
23
|
-
# or
|
|
24
|
-
yarn add styles-config
|
|
25
30
|
```
|
|
26
31
|
|
|
32
|
+
Published to npm under both the `latest` and `alpha` dist-tags.
|
|
33
|
+
|
|
27
34
|
## Configuration File Format
|
|
28
35
|
|
|
29
36
|
Create a configuration file in your project root. Supported file names:
|
|
@@ -320,6 +327,16 @@ This package is designed to be extensible. To add support for a new framework:
|
|
|
320
327
|
2. Add the extension mapping in `src/options.ts` if needed
|
|
321
328
|
3. Update the documentation
|
|
322
329
|
|
|
330
|
+
## Status
|
|
331
|
+
|
|
332
|
+
Alpha. Part of the Jess monorepo, which is early software under active
|
|
333
|
+
development. Please [report issues](https://github.com/jesscss/jess/issues).
|
|
334
|
+
|
|
335
|
+
## Links
|
|
336
|
+
|
|
337
|
+
- Repository: <https://github.com/jesscss/jess>
|
|
338
|
+
- Documentation: <https://jesscss.github.io/> (currently pre-alpha content)
|
|
339
|
+
|
|
323
340
|
## License
|
|
324
341
|
|
|
325
|
-
MIT
|
|
342
|
+
[MIT](https://github.com/jesscss/jess/blob/dev/LICENSE)
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.0-alpha.
|
|
7
|
+
"version": "2.0.0-alpha.8",
|
|
8
8
|
"description": "General-purpose configuration for styling frameworks (Jess, Less, Sass, Tailwind, etc.)",
|
|
9
9
|
"main": "lib/index.cjs",
|
|
10
10
|
"types": "lib/index.d.ts",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"cosmiconfig": "^9.0.0",
|
|
23
23
|
"picomatch": "^4.0.2",
|
|
24
|
-
"@jesscss/core": "2.0.0-alpha.
|
|
24
|
+
"@jesscss/core": "2.0.0-alpha.8"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/node": "^22.10.2",
|