@alltuner/vibetuner 10.11.0 → 10.12.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/README.md +3 -2
- package/bin/tailwindcss.js +11 -0
- package/core.css +6 -0
- package/htmx-preload.js +3 -0
- package/htmx.js +5 -0
- package/package.json +12 -3
package/README.md
CHANGED
|
@@ -114,8 +114,9 @@ Vibetuner consists of four packages that work together:
|
|
|
114
114
|
2. **@alltuner/vibetuner** (this package):
|
|
115
115
|
JavaScript/CSS build dependencies (tailwind, daisyui, htmx, etc.)
|
|
116
116
|
3. **[@alltuner/vibetuner-jinja](https://www.npmjs.com/package/@alltuner/vibetuner-jinja)**:
|
|
117
|
-
npm-shipped mirror of vibetuner's frontend jinja templates
|
|
118
|
-
|
|
117
|
+
npm-shipped mirror of vibetuner's frontend jinja templates, pulled in
|
|
118
|
+
transitively by this package so tailwind can scan them at frontend
|
|
119
|
+
build time without shelling out to Python (no direct install needed)
|
|
119
120
|
4. **Scaffolding template**: Copier template for project generation
|
|
120
121
|
|
|
121
122
|
All four are version-locked and tested together to ensure compatibility.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
#!/usr/bin/env bun
|
|
2
|
+
// ABOUTME: Re-exposes the `tailwindcss` CLI bin from @tailwindcss/cli so scaffolded
|
|
3
|
+
// ABOUTME: projects can `bun tailwindcss ...` without declaring it as a direct dep.
|
|
4
|
+
import { createRequire } from "node:module";
|
|
5
|
+
import { dirname, join } from "node:path";
|
|
6
|
+
|
|
7
|
+
const require = createRequire(import.meta.url);
|
|
8
|
+
const pkgPath = require.resolve("@tailwindcss/cli/package.json");
|
|
9
|
+
const { bin } = require("@tailwindcss/cli/package.json");
|
|
10
|
+
|
|
11
|
+
await import(join(dirname(pkgPath), bin.tailwindcss));
|
package/core.css
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/* ABOUTME: Tailwind + daisyui setup shipped with vibetuner-js, imported by scaffolded projects' config.css. */
|
|
2
|
+
/* ABOUTME: Lives inside this package so tailwindcss, daisyui, and vibetuner-jinja resolve from here. */
|
|
3
|
+
|
|
4
|
+
@import "tailwindcss" source(none);
|
|
5
|
+
@import "@alltuner/vibetuner-jinja/sources.css";
|
|
6
|
+
@plugin "daisyui";
|
package/htmx-preload.js
ADDED
package/htmx.js
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alltuner/vibetuner",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.12.0",
|
|
4
4
|
"description": "Blessed JavaScript/frontend build dependencies for production-ready Vibetuner projects",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"tailwindcss",
|
|
@@ -22,12 +22,21 @@
|
|
|
22
22
|
"bugs": {
|
|
23
23
|
"url": "https://github.com/alltuner/vibetuner/issues"
|
|
24
24
|
},
|
|
25
|
+
"exports": {
|
|
26
|
+
"./core.css": "./core.css",
|
|
27
|
+
"./htmx": "./htmx.js",
|
|
28
|
+
"./htmx/preload": "./htmx-preload.js"
|
|
29
|
+
},
|
|
30
|
+
"bin": {
|
|
31
|
+
"tailwindcss": "./bin/tailwindcss.js"
|
|
32
|
+
},
|
|
25
33
|
"dependencies": {
|
|
34
|
+
"@alltuner/vibetuner-jinja": "^10.11.0",
|
|
26
35
|
"concurrently": "^9.2.1",
|
|
27
36
|
"daisyui": "^5.5.19",
|
|
28
37
|
"htmx.org": "4.0.0-beta3",
|
|
29
|
-
"tailwindcss": "^4.
|
|
30
|
-
"@tailwindcss/cli": "^4.
|
|
38
|
+
"tailwindcss": "^4.3.0",
|
|
39
|
+
"@tailwindcss/cli": "^4.3.0",
|
|
31
40
|
"@tailwindcss/typography": "^0.5.19"
|
|
32
41
|
},
|
|
33
42
|
"publishConfig": {
|