@jesscss/style-resolver 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.
Files changed (2) hide show
  1. package/README.md +43 -0
  2. package/package.json +1 -1
package/README.md ADDED
@@ -0,0 +1,43 @@
1
+ # @jesscss/style-resolver
2
+
3
+ **Stylesheet import resolution across CSS, Less, SCSS, and Jess — include paths,
4
+ load paths, and extension/index resolution.**
5
+
6
+ `@jesscss/style-resolver` is a building block for
7
+ [Jess](https://github.com/jesscss/jess) — Less.js v5, a ground-up rewrite of the
8
+ Less CSS preprocessor. Given a stylesheet's source and an import statement, it
9
+ figures out which file that import actually points to, applying each language's
10
+ lookup rules (Less and SCSS candidate expansion, partials, index files, search
11
+ paths).
12
+
13
+ It handles the mechanics of finding imports — extracting import statements from
14
+ source, expanding a bare import path into the ordered list of candidate files a
15
+ given language would try, and resolving that against a filesystem-like interface.
16
+
17
+ ## Where it fits
18
+
19
+ Import resolution is a shared concern the compiler and tooling both need. It is
20
+ also one of the building blocks toward the broader module/scoping story on the
21
+ Jess roadmap (whose headline is the post-`.jess` minimal browser build) — but this
22
+ package is just the resolver, not that feature.
23
+
24
+ ## Who uses it
25
+
26
+ This is an internal package. Most people should install
27
+ [`jess`](https://www.npmjs.com/package/jess) and use the `jess` / `lessc` CLIs.
28
+ The JavaScript/TypeScript API is **not yet stabilized** and is intentionally
29
+ undocumented for now.
30
+
31
+ ## Status
32
+
33
+ Alpha. Published to npm under both the `latest` and `alpha` dist-tags. Please
34
+ [report bugs](https://github.com/jesscss/jess/issues).
35
+
36
+ ## Links
37
+
38
+ - Repository: <https://github.com/jesscss/jess>
39
+ - Documentation: <https://jesscss.github.io/> (currently pre-alpha content)
40
+
41
+ ## License
42
+
43
+ [MIT](https://github.com/jesscss/jess/blob/dev/LICENSE)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jesscss/style-resolver",
3
- "version": "2.0.0-alpha.7",
3
+ "version": "2.0.0-alpha.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },