@codefast/cli 0.3.16-canary.0 → 0.3.16-canary.1
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.
|
@@ -74,7 +74,7 @@ const MAX_STRIP_VARIANT_PASSES = 12;
|
|
|
74
74
|
const EMPTY_CN_TV_BINDINGS = /* @__PURE__ */ new Set();
|
|
75
75
|
/**
|
|
76
76
|
* Bucket sort order — **render pipeline** (lower → earlier in `cn()` output).
|
|
77
|
-
*
|
|
77
|
+
*
|
|
78
78
|
* Matches README: Existence → Position → Layout → Sizing → Spacing → Shape → Background
|
|
79
79
|
* → Shadow → Typography → Composite → Motion → Starting → Behavior → State → Selector,
|
|
80
80
|
* then `other` and `arbitrary` as sort tails for unknown utilities and arbitrary properties.
|
|
@@ -129,7 +129,7 @@ const COMPATIBLE_BUCKET_SETS = [
|
|
|
129
129
|
];
|
|
130
130
|
/**
|
|
131
131
|
* Responsive / variant prefix — Tailwind v4 aware.
|
|
132
|
-
*
|
|
132
|
+
*
|
|
133
133
|
* v3: sm: md: … — v4: @sm:, @min-[600px]:, @[480px]:, named @md/sidebar:,
|
|
134
134
|
* viewport md/sidebar:, min-[100px]: / max-[100px]:, …
|
|
135
135
|
*
|
|
@@ -157,7 +157,7 @@ function inDataAttributeStem(token) {
|
|
|
157
157
|
* Uses the **full variant stack** (every `:` segment outside `[…]`), not only the
|
|
158
158
|
* outermost prefix, so `@md/foo:[&>*]:w-auto` and `@md/foo:has-[…]:mt-px` stay in
|
|
159
159
|
* separate groups while `hover:opacity` still keys as `hover` + `opacity`…
|
|
160
|
-
*
|
|
160
|
+
*
|
|
161
161
|
* `data-[…]` / `aria-[…]` normalize the first segment via {@link dataAttributeStem} /
|
|
162
162
|
* {@link ariaAttributeStem} (full token required for bracket capture).
|
|
163
163
|
*
|
|
@@ -5,6 +5,7 @@ import ts from "typescript";
|
|
|
5
5
|
* @since 0.3.16-canary.0
|
|
6
6
|
*/
|
|
7
7
|
var TagSinceWriter = class {
|
|
8
|
+
fs;
|
|
8
9
|
sinceDocumentationTag = "@since";
|
|
9
10
|
constructor(fs) {
|
|
10
11
|
this.fs = fs;
|
|
@@ -103,7 +104,7 @@ var TagSinceWriter = class {
|
|
|
103
104
|
const hasNonEmptyAfter = lines.slice(lineIndex + 1).some((value) => value.length > 0);
|
|
104
105
|
return hasNonEmptyBefore && hasNonEmptyAfter;
|
|
105
106
|
});
|
|
106
|
-
const replacement = `/**\n${normalizedBodyLines.length > 0 ? `${normalizedBodyLines.map((line) => `${baseIndent} * ${line}`).join("\n")}\n${baseIndent} *\n` : ""}${baseIndent} * ${this.sinceDocumentationTag} ${version}\n${baseIndent} */`;
|
|
107
|
+
const replacement = `/**\n${normalizedBodyLines.length > 0 ? `${normalizedBodyLines.map((line) => line.length > 0 ? `${baseIndent} * ${line}` : `${baseIndent} *`).join("\n")}\n${baseIndent} *\n` : ""}${baseIndent} * ${this.sinceDocumentationTag} ${version}\n${baseIndent} */`;
|
|
107
108
|
return {
|
|
108
109
|
start: existingComment.pos,
|
|
109
110
|
end: existingComment.end,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codefast/cli",
|
|
3
|
-
"version": "0.3.16-canary.
|
|
3
|
+
"version": "0.3.16-canary.1",
|
|
4
4
|
"description": "Developer CLI for the Codefast monorepo (arrange, mirror, tag)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -52,20 +52,21 @@
|
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"commander": "^14.0.3",
|
|
55
|
-
"jiti": "^2.
|
|
55
|
+
"jiti": "^2.7.0",
|
|
56
56
|
"picomatch": "^4.0.4",
|
|
57
57
|
"typescript": "^6.0.3",
|
|
58
58
|
"yaml": "^2.8.4",
|
|
59
59
|
"zod": "^4.4.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@types/node": "^25.6.
|
|
62
|
+
"@types/node": "^25.6.2",
|
|
63
63
|
"@types/picomatch": "^4.0.3",
|
|
64
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
64
|
+
"@typescript/native-preview": "7.0.0-dev.20260509.2",
|
|
65
65
|
"@vitest/coverage-v8": "^4.1.5",
|
|
66
|
-
"
|
|
66
|
+
"tsdown": "^0.22.0",
|
|
67
|
+
"vite": "^8.0.11",
|
|
67
68
|
"vitest": "^4.1.5",
|
|
68
|
-
"@codefast/typescript-config": "0.3.16-canary.
|
|
69
|
+
"@codefast/typescript-config": "0.3.16-canary.1"
|
|
69
70
|
},
|
|
70
71
|
"engines": {
|
|
71
72
|
"node": ">=22.0.0"
|
|
@@ -75,9 +76,11 @@
|
|
|
75
76
|
"check-types": "tsgo --noEmit",
|
|
76
77
|
"clean": "rm -rf dist",
|
|
77
78
|
"test": "vitest run",
|
|
79
|
+
"test:coverage": "vitest run --coverage",
|
|
80
|
+
"test:e2e": "vitest run tests/e2e",
|
|
78
81
|
"test:integration": "vitest run tests/integration",
|
|
82
|
+
"test:type": "vitest run tests/types",
|
|
79
83
|
"test:unit": "vitest run tests/unit",
|
|
80
|
-
"test:coverage": "vitest run --coverage",
|
|
81
84
|
"test:watch": "vitest"
|
|
82
85
|
}
|
|
83
86
|
}
|