@kimesh/tailwindcss 0.2.2 → 0.2.3-nightly.20260122062306

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/dist/index.d.ts +29 -23
  2. package/package.json +8 -3
package/dist/index.d.ts CHANGED
@@ -1,8 +1,35 @@
1
- import * as _kimesh_kit0 from "@kimesh/kit";
2
1
  import { VitePlugin } from "@kimesh/kit";
3
2
 
4
- //#region src/types.d.ts
3
+ //#region src/module.d.ts
5
4
 
5
+ /**
6
+ * @kimesh/tailwindcss - Module Implementation (v2)
7
+ *
8
+ * Kimesh module for TailwindCSS integration.
9
+ * - Generates @source directives for all layer srcDirs
10
+ * - Creates physical CSS files for @tailwindcss/vite compatibility
11
+ * - Auto-injects @reference in Vue <style> blocks
12
+ */
13
+ /**
14
+ * @kimesh/tailwindcss module
15
+ *
16
+ * @example
17
+ * ```typescript
18
+ * // kimesh.config.ts
19
+ * import tailwindcss from '@kimesh/tailwindcss'
20
+ *
21
+ * export default defineKmConfig({
22
+ * modules: [
23
+ * tailwindcss,
24
+ * // or with options:
25
+ * [tailwindcss, { autoReference: false }]
26
+ * ]
27
+ * })
28
+ * ```
29
+ */
30
+ declare const _default: any;
31
+ //#endregion
32
+ //#region src/types.d.ts
6
33
  /**
7
34
  * @kimesh/tailwindcss - Types
8
35
  */
@@ -38,27 +65,6 @@ interface KimeshTailwindConfig {
38
65
  referenceAlias?: string;
39
66
  }
40
67
  //#endregion
41
- //#region src/module.d.ts
42
-
43
- /**
44
- * @kimesh/tailwindcss module
45
- *
46
- * @example
47
- * ```typescript
48
- * // kimesh.config.ts
49
- * import tailwindcss from '@kimesh/tailwindcss'
50
- *
51
- * export default defineKmConfig({
52
- * modules: [
53
- * tailwindcss,
54
- * // or with options:
55
- * [tailwindcss, { autoReference: false }]
56
- * ]
57
- * })
58
- * ```
59
- */
60
- declare const _default: _kimesh_kit0.KimeshModule<KimeshTailwindConfig>;
61
- //#endregion
62
68
  //#region src/transform.d.ts
63
69
  /**
64
70
  * Creates a Vite transform plugin that auto-injects @reference in Vue <style> blocks
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "@kimesh/tailwindcss",
3
- "version": "0.2.2",
3
+ "version": "0.2.3-nightly.20260122062306",
4
4
  "description": "TailwindCSS module for Kimesh framework",
5
5
  "type": "module",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/kimeshjs/kimesh.git"
9
+ },
6
10
  "main": "./dist/index.js",
7
11
  "types": "./dist/index.d.ts",
8
12
  "exports": {
@@ -19,6 +23,7 @@
19
23
  "scripts": {
20
24
  "build": "tsdown",
21
25
  "dev": "tsdown --watch",
26
+ "typecheck": "tsc --noEmit",
22
27
  "test": "vitest run",
23
28
  "test:watch": "vitest"
24
29
  },
@@ -26,12 +31,12 @@
26
31
  "magic-string": "^0.30.17"
27
32
  },
28
33
  "peerDependencies": {
29
- "@kimesh/kit": "0.2.2",
34
+ "@kimesh/kit": "workspace:*",
30
35
  "vite": "^8.0.0-beta.8",
31
36
  "tailwindcss": "^4.0.0"
32
37
  },
33
38
  "devDependencies": {
34
- "@kimesh/kit": "0.2.2",
39
+ "@kimesh/kit": "workspace:*",
35
40
  "tsdown": "^0.11.6",
36
41
  "typescript": "^5.8.3",
37
42
  "vite": "^8.0.0-beta.8"