@kirana-style/rolldown 0.3.2 → 0.3.4
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/CHANGELOG.md +65 -0
- package/package.json +3 -3
- package/src/index.d.ts +1 -3
- package/src/index.js +1 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.3.4](https://github.com/kirana-style/kirana/compare/v0.3.3...v0.3.4) (2026-10-27)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* conditions.ownAttributes, attributes exclusiveAcross never takes for a library's ([#147](https://github.com/kirana-style/kirana/pull/147)) ([9785e20](https://github.com/kirana-style/kirana/commit/9785e20ab47efe9f38926dfa6b90ed26c207e2bf))
|
|
9
|
+
* npx @kirana-style/registry starts a project from nothing, and init leaves one that runs ui ([#139](https://github.com/kirana-style/kirana/pull/139)) ([1bc3ee1](https://github.com/kirana-style/kirana/commit/1bc3ee13b8a202a22dc21b7274f75def34f1caa1))
|
|
10
|
+
* relation(name, { optional: true }) for a reader installed without its anchor ([#146](https://github.com/kirana-style/kirana/pull/146)) ([248abd7](https://github.com/kirana-style/kirana/commit/248abd75e9747005037ecd5d3c30e218f4745132))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug fixes
|
|
14
|
+
|
|
15
|
+
* ark ui's orientation keys name horizontal and vertical ([#145](https://github.com/kirana-style/kirana/pull/145)) ([81fcbd2](https://github.com/kirana-style/kirana/commit/81fcbd27210688393ff4c8f10af2df2824bd8063))
|
|
16
|
+
* kirana/diagnostics reads a vue script block under oxlint as its block module ([#136](https://github.com/kirana-style/kirana/pull/136)) ([ad833a2](https://github.com/kirana-style/kirana/commit/ad833a2f7f87db174d519ff83a369289202fd926))
|
|
17
|
+
* style helpers fold optional values, in, token comparisons and default parameters ([#144](https://github.com/kirana-style/kirana/pull/144)) ([bc8041c](https://github.com/kirana-style/kirana/commit/bc8041cd455a549b399bc23cf94981e3895dd24f))
|
|
18
|
+
* type-only imports close no import cycle, and a value cycle is reported ([#143](https://github.com/kirana-style/kirana/pull/143)) ([f7387b4](https://github.com/kirana-style/kirana/commit/f7387b4676000f293d856281e71f51df5308b618))
|
|
19
|
+
* unreachable-entry stays quiet for pairs exclusiveAcross declares ([#137](https://github.com/kirana-style/kirana/pull/137)) ([098ed99](https://github.com/kirana-style/kirana/commit/098ed995cce33e30a0de694365affd4a6dd0a99e))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Documentation
|
|
23
|
+
|
|
24
|
+
* take the benchmarks of kirana 0.3.3 from kirana-lab ([#135](https://github.com/kirana-style/kirana/pull/135)) ([cb2f626](https://github.com/kirana-style/kirana/commit/cb2f626fe46cef83c32a49cc6f30008986c0636f))
|
|
25
|
+
* take the benchmarks of kirana 0.3.3 from kirana-lab ([#140](https://github.com/kirana-style/kirana/pull/140)) ([f501a26](https://github.com/kirana-style/kirana/commit/f501a264201a86b3ec79b05a6c8d101892df7623))
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Dependencies
|
|
29
|
+
|
|
30
|
+
* angular build 22.2.4, with its option schemas ([#138](https://github.com/kirana-style/kirana/pull/138)) ([2432806](https://github.com/kirana-style/kirana/commit/2432806c8b594e00413c99dea8da0809a450a82a))
|
|
31
|
+
* bump vscode-languageclient from 10.1.2 to 11.0.0 ([#133](https://github.com/kirana-style/kirana/pull/133)) ([32a0374](https://github.com/kirana-style/kirana/commit/32a0374579159b5dc1c05974a98feecf036dd041))
|
|
32
|
+
|
|
33
|
+
## [0.3.3](https://github.com/kirana-style/kirana/compare/v0.3.2...v0.3.3) (2026-10-25)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* a registry base names the items only it needs ([#128](https://github.com/kirana-style/kirana/pull/128)) ([dd557c1](https://github.com/kirana-style/kirana/commit/dd557c158d876a2f1d1ff8f6365a89e3bd42c553))
|
|
39
|
+
* add @kirana-style/registry with the registry format, schemas, and lockfile ([#118](https://github.com/kirana-style/kirana/pull/118)) ([abcf8bc](https://github.com/kirana-style/kirana/commit/abcf8bc81770850ea0eac4503468528cef747e9c))
|
|
40
|
+
* definitions say how each entry was written, with every token it reads ([#117](https://github.com/kirana-style/kirana/pull/117)) ([bcaaf2d](https://github.com/kirana-style/kirana/commit/bcaaf2d66afb4a4c29cb85d342444c28baaa7fc3))
|
|
41
|
+
* flattened builds at install, and kirana-style ui preset ([#130](https://github.com/kirana-style/kirana/pull/130)) ([06baff0](https://github.com/kirana-style/kirana/commit/06baff0f0a2164a50aa3d3fb1ace552ae2bb63d1))
|
|
42
|
+
* kirana-style ui init, add, outdated, diff, update and remove ([#129](https://github.com/kirana-style/kirana/pull/129)) ([2c870d3](https://github.com/kirana-style/kirana/commit/2c870d3af3af26b2065ee48781b1cd42b8fe2a3f))
|
|
43
|
+
* kirana-style ui reads registries: namespaces, urls and headers ([#119](https://github.com/kirana-style/kirana/pull/119)) ([28bd423](https://github.com/kirana-style/kirana/commit/28bd42345622a9a8d7d20b55a59c02eb75c0c88d))
|
|
44
|
+
* kirana-style ui view and search ([#126](https://github.com/kirana-style/kirana/pull/126)) ([8069462](https://github.com/kirana-style/kirana/commit/8069462910fcf853e1eb86e58f68c83f0921640b))
|
|
45
|
+
* parent() ranks with pseudo-classes, and entries no element can match are left out ([#115](https://github.com/kirana-style/kirana/pull/115)) ([1f7b39d](https://github.com/kirana-style/kirana/commit/1f7b39d24b5c62b69de4080e659d728cd6a49fd1))
|
|
46
|
+
* states for bits ui command and scroll area, ark ui field and fieldset ([#114](https://github.com/kirana-style/kirana/pull/114)) ([d3ac169](https://github.com/kirana-style/kirana/commit/d3ac169fcede53e72ff6899c1174c67770b40eca))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
### Bug fixes
|
|
50
|
+
|
|
51
|
+
* kirana.config.ts loads as written in a commonjs package ([#127](https://github.com/kirana-style/kirana/pull/127)) ([e74902b](https://github.com/kirana-style/kirana/commit/e74902ba33509ea62b6d9b628642c8f91205b05f))
|
|
52
|
+
* relation-unused follows a relation's exported readers, and trace reads one line's sites ([#112](https://github.com/kirana-style/kirana/pull/112)) ([62f02f1](https://github.com/kirana-style/kirana/commit/62f02f17b24de94bd43cdfd6c42ec5c7cb2776b4))
|
|
53
|
+
* the wasi engine loads again, on emnapi 2.0.0-beta.2 ([#120](https://github.com/kirana-style/kirana/pull/120)) ([ab2936a](https://github.com/kirana-style/kirana/commit/ab2936a091b6c6cd7520a7aba21afff06c8a03cf))
|
|
54
|
+
* vue parts lint and type-check with usesx, and astro 7 prerenders compiled ([#113](https://github.com/kirana-style/kirana/pull/113)) ([2f193e2](https://github.com/kirana-style/kirana/commit/2f193e2b0baca4098a76c948d3d85db9a031a100))
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
### Documentation
|
|
58
|
+
|
|
59
|
+
* take the benchmarks of kirana 0.3.2 from kirana-lab ([#110](https://github.com/kirana-style/kirana/pull/110)) ([641a8d9](https://github.com/kirana-style/kirana/commit/641a8d9be61fe344e8d6463629ccd7a0f75e7c97))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
### Dependencies
|
|
63
|
+
|
|
64
|
+
* bump string_wizard from 1.2.14 to 1.2.15 in /packages/kirana in the minor-and-patch group ([#124](https://github.com/kirana-style/kirana/pull/124)) ([5493e39](https://github.com/kirana-style/kirana/commit/5493e39806b475c4152a35c570bcfbdd21b704eb))
|
|
65
|
+
* oxc 0.155 with lone surrogates kept, and the week's updates ([#131](https://github.com/kirana-style/kirana/pull/131)) ([1d50743](https://github.com/kirana-style/kirana/commit/1d507438bfe9d1c1d9ba397619fc81e94792a627))
|
|
66
|
+
* update phpunit/phpunit requirement from ~13.3.0 to ~13.3.0 || ~13.4.0 in /packages/kirana/helpers/php ([#122](https://github.com/kirana-style/kirana/pull/122)) ([0b61a05](https://github.com/kirana-style/kirana/commit/0b61a05a10c745c9423f7672ccd19bbb4338fbf0))
|
|
67
|
+
|
|
3
68
|
## [0.3.2](https://github.com/kirana-style/kirana/compare/v0.3.1...v0.3.2) (2026-10-24)
|
|
4
69
|
|
|
5
70
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kirana-style/rolldown",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4",
|
|
4
4
|
"description": "Kirana for Rolldown: compiles modules and emits the stylesheet.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "The Kirana authors",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@kirana-style/compiler": "0.3.
|
|
29
|
-
"@kirana-style/core": "0.3.
|
|
28
|
+
"@kirana-style/compiler": "0.3.4",
|
|
29
|
+
"@kirana-style/core": "0.3.4"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"rolldown": "^1.2.12"
|
package/src/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Driver, DriverOptions } from "@kirana-style/compiler";
|
|
2
2
|
import { KiranaConfig } from "@kirana-style/core/config";
|
|
3
3
|
import { OutputBundle, Plugin } from "rolldown";
|
|
4
|
-
//#region src/index.d.ts
|
|
5
4
|
export type KiranaRolldownOptions = {
|
|
6
5
|
/** The project root: where `kirana.config.*` and `@kirana-style/core` are found. Default: the working directory. */
|
|
7
6
|
root?: string;
|
|
@@ -109,5 +108,4 @@ export declare function createKirana(options?: KiranaRolldownOptions, host?: Hos
|
|
|
109
108
|
source: string;
|
|
110
109
|
}) => unknown) => Promise<void>;
|
|
111
110
|
};
|
|
112
|
-
export default function kirana(options?: KiranaRolldownOptions): Plugin;
|
|
113
|
-
//#endregion
|
|
111
|
+
export default function kirana(options?: KiranaRolldownOptions): Plugin;
|
package/src/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { COMPONENT, Driver } from "@kirana-style/compiler";
|
|
|
2
2
|
import { ASSET_QUERY, PLACEHOLDER, SCRIPT, STYLE_BEARING, VIRTUAL, cleanId, createReporter, definitionNames, fillStylesheet, renameAsset, stylesheetPath } from "@kirana-style/compiler/host";
|
|
3
3
|
import { readFile } from "node:fs/promises";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
|
|
5
|
+
// src/index.ts
|
|
6
6
|
/**
|
|
7
7
|
* The Rolldown host adapter (KRN-INT-001, KRN-INT-002). It selects modules, forwards transform
|
|
8
8
|
* results, emits the stylesheet entry and forwards file changes to the Driver; it never interprets
|
|
@@ -208,5 +208,4 @@ function createKirana(options = {}, host = {}) {
|
|
|
208
208
|
function kirana(options = {}) {
|
|
209
209
|
return createKirana(options).plugin;
|
|
210
210
|
}
|
|
211
|
-
//#endregion
|
|
212
211
|
export { createKirana, kirana as default };
|