@fumadocs/tailwind 0.0.4 → 0.1.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/tailwind",
3
- "version": "0.0.4",
3
+ "version": "0.1.0",
4
4
  "description": "The Tailwind CSS utils for Fumadocs UI.",
5
5
  "keywords": [
6
6
  "Docs",
@@ -9,13 +9,16 @@
9
9
  "homepage": "https://fumadocs.dev",
10
10
  "license": "MIT",
11
11
  "author": "Fuma Nama",
12
- "repository": "github:fuma-nama/fumadocs",
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "github:fuma-nama/fumadocs"
15
+ },
13
16
  "files": [
14
- "dist/*"
17
+ "dist"
15
18
  ],
16
19
  "type": "module",
17
20
  "exports": {
18
- "./compile": "./dist/compile.mjs",
21
+ ".": "./dist/index.mjs",
19
22
  "./typography": "./dist/typography/index.mjs",
20
23
  "./package.json": "./package.json"
21
24
  },
@@ -24,29 +27,24 @@
24
27
  },
25
28
  "devDependencies": {
26
29
  "@fastify/deepmerge": "^3.2.1",
27
- "@tailwindcss/oxide": "^4.2.2",
28
- "@types/node": "^25.6.0",
29
- "postcss-selector-parser": "^7.1.1",
30
- "tailwindcss": "^4.2.2",
31
- "tsdown": "0.21.7",
30
+ "@types/node": "^26.1.0",
31
+ "postcss-selector-parser": "^7.1.4",
32
+ "tailwindcss": "^4.3.2",
33
+ "tsdown": "0.22.3",
32
34
  "tsconfig": "0.0.0"
33
35
  },
34
36
  "peerDependencies": {
35
- "@tailwindcss/oxide": "^4.0.0",
36
37
  "tailwindcss": "^4.0.0"
37
38
  },
38
39
  "peerDependenciesMeta": {
39
40
  "tailwindcss": {
40
41
  "optional": true
41
- },
42
- "@tailwindcss/oxide": {
43
- "optional": true
44
42
  }
45
43
  },
46
44
  "inlinedDependencies": {
47
45
  "@fastify/deepmerge": "3.2.1",
48
46
  "cssesc": "3.0.0",
49
- "postcss-selector-parser": "7.1.1",
47
+ "postcss-selector-parser": "7.1.4",
50
48
  "util-deprecate": "1.0.2"
51
49
  },
52
50
  "scripts": {
@@ -1,6 +0,0 @@
1
- import { SourceEntry } from "@tailwindcss/oxide";
2
-
3
- //#region src/compile.d.ts
4
- declare function compile(sources: SourceEntry[]): string;
5
- //#endregion
6
- export { compile };
package/dist/compile.mjs DELETED
@@ -1,11 +0,0 @@
1
- import { Scanner } from "@tailwindcss/oxide";
2
- //#region src/compile.ts
3
- function compile(sources) {
4
- const scanner = new Scanner({ sources });
5
- const lines = [];
6
- const names = scanner.scan();
7
- for (const name of names) lines.push(`@source inline(${JSON.stringify(name)});`);
8
- return lines.join("\n");
9
- }
10
- //#endregion
11
- export { compile };