@rebuildjs/tailwindcss 0.9.27 → 0.9.29
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 +69 -68
- package/rebuild_tailwind_plugin/index.js +3 -2
package/package.json
CHANGED
|
@@ -1,70 +1,71 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
2
|
+
"name": "@rebuildjs/tailwindcss",
|
|
3
|
+
"version": "0.9.29",
|
|
4
|
+
"description": "Tailwindcss integration with rebuildjs",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"tailwindcss",
|
|
7
|
+
"reactive",
|
|
8
|
+
"multi page apps",
|
|
9
|
+
"web app",
|
|
10
|
+
"web server",
|
|
11
|
+
"esbuild",
|
|
12
|
+
"rmemo",
|
|
13
|
+
"ctx-core"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/rebuildjs/tailwindcss#readme",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/rebuildjs/tailwindcss/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/rebuildjs/tailwindcss.git"
|
|
22
|
+
},
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"author": {
|
|
25
|
+
"name": "Brian Takita",
|
|
26
|
+
"url": "https://briantakita.me",
|
|
27
|
+
"email": "info+rebuildjs-tailwindcss@briantakita.me"
|
|
28
|
+
},
|
|
29
|
+
"type": "module",
|
|
30
|
+
"files": [
|
|
31
|
+
"*.d.ts",
|
|
32
|
+
"*.js",
|
|
33
|
+
"*.json",
|
|
34
|
+
"rebuild_tailwind_plugin"
|
|
35
|
+
],
|
|
36
|
+
"types": "./index.d.ts",
|
|
37
|
+
"exports": {
|
|
38
|
+
".": "./index.js",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"scripts": {
|
|
42
|
+
"build": ":",
|
|
43
|
+
"clean": ":",
|
|
44
|
+
"exec": "$@",
|
|
45
|
+
"prepublishOnly": "pnpm clean && pnpm build && pnpm test",
|
|
46
|
+
"test": "pnpm run /^test:/",
|
|
47
|
+
"test:types": "check-dts",
|
|
48
|
+
"test:unit": "NODE_OPTIONS=--loader=esmock tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
|
|
49
|
+
"disable:test:unit:coverage": "c8 pnpm test:unit"
|
|
50
|
+
},
|
|
51
|
+
"dependencies": {
|
|
52
|
+
"ctx-core": "^7.1.5",
|
|
53
|
+
"esbuild": "^0.20.2",
|
|
54
|
+
"postcss": "^8.4.38",
|
|
55
|
+
"rebuildjs": "^0.69.7",
|
|
56
|
+
"tailwindcss": "^3.4.3"
|
|
57
|
+
},
|
|
58
|
+
"devDependencies": {
|
|
59
|
+
"c8": "^9.1.0",
|
|
60
|
+
"check-dts": "^0.7.2",
|
|
61
|
+
"esmock": "^2.6.4",
|
|
62
|
+
"relementjs": "^0.79.5",
|
|
63
|
+
"tsx": "^4.7.2",
|
|
64
|
+
"typescript": "next",
|
|
65
|
+
"uvu": "^0.5.6"
|
|
66
|
+
},
|
|
67
|
+
"publishConfig": {
|
|
68
|
+
"access": "public"
|
|
69
|
+
},
|
|
70
|
+
"sideEffects": false
|
|
70
71
|
}
|
|
@@ -154,7 +154,7 @@ export function rebuild_tailwind_plugin_(config) {
|
|
|
154
154
|
const esbuild_cssBundle_path = join(cwd_(app_ctx), esbuild_cssBundle)
|
|
155
155
|
await cmd(file_exists__waitfor(
|
|
156
156
|
esbuild_cssBundle_path,
|
|
157
|
-
|
|
157
|
+
60_000,
|
|
158
158
|
()=>cmd(sleep(0))))
|
|
159
159
|
const esbuild_cssBundle_map_path = esbuild_cssBundle_path + '.map'
|
|
160
160
|
const esbuild_cssBundle_map_exists = await cmd(file_exists_(esbuild_cssBundle_map_path))
|
|
@@ -185,7 +185,8 @@ export function rebuild_tailwind_plugin_(config) {
|
|
|
185
185
|
prev: await file_json__parse__wait(esbuild_cssBundle_map_path)
|
|
186
186
|
}
|
|
187
187
|
: false,
|
|
188
|
-
}))
|
|
188
|
+
})),
|
|
189
|
+
60_000)
|
|
189
190
|
metafile_updated = !cssBundle.includes('_' + output_hash)
|
|
190
191
|
const annotated_cssBundle =
|
|
191
192
|
metafile_updated
|