create-bestax 3.1.2 → 3.1.4
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 +26 -3
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +6 -0
- package/package.json +2 -1
- package/templates/vite/package.json +1 -1
- package/templates/vite-ts/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
# create-bestax
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/create-bestax)
|
|
4
|
+
[](https://www.npmjs.com/package/create-bestax)
|
|
5
|
+
[](https://opensource.org/licenses/MIT)
|
|
6
|
+
|
|
7
|
+
The scaffolder for [`@allxsmith/bestax-bulma`](https://www.npmjs.com/package/@allxsmith/bestax-bulma) — spin up a Vite app pre-wired for the **Bulma v1** React component library in one command. Picks your framework (JS or TypeScript), CSS flavor, and icon library, and can drop in the bestax **AI skills** so an agent like Claude Code knows the library from the first prompt.
|
|
8
|
+
|
|
9
|
+
Part of the [bestax monorepo](https://github.com/allxsmith/bestax) — see also [`@allxsmith/bestax-bulma`](https://www.npmjs.com/package/@allxsmith/bestax-bulma) for the components themselves.
|
|
4
10
|
|
|
5
11
|
## Usage
|
|
6
12
|
|
|
@@ -31,6 +37,9 @@ You'll be asked to:
|
|
|
31
37
|
2. Select a framework (Vite or Vite + TypeScript)
|
|
32
38
|
3. Choose a Bulma CSS flavor (Complete or Minimal)
|
|
33
39
|
4. Select an icon library (Font Awesome, Material Icons, etc.)
|
|
40
|
+
5. Choose whether to install the bestax AI skills into `.claude/skills/`
|
|
41
|
+
|
|
42
|
+
Every prompt has a flag equivalent, so the whole flow is scriptable and CI-friendly — see the options below.
|
|
34
43
|
|
|
35
44
|
### Command Line Options
|
|
36
45
|
|
|
@@ -61,11 +70,15 @@ npm create bestax@latest [project-directory] [options]
|
|
|
61
70
|
- `material-icons` - Material Icons
|
|
62
71
|
- `material-symbols` - Material Symbols
|
|
63
72
|
**Default:** `none`
|
|
73
|
+
- `--skills` / `--no-skills` - Install (or skip) the bestax AI skills into
|
|
74
|
+
`.claude/skills/` (with a `CLAUDE.md`) so a Claude Code session picks them up
|
|
75
|
+
automatically. When omitted you're prompted; with `-y` the default is to install.
|
|
64
76
|
- `-y, --yes` - Skip prompts and use defaults or provided options.
|
|
65
77
|
When used, the following defaults are selected unless overridden by flags:
|
|
66
78
|
- Template: `vite`
|
|
67
79
|
- Bulma flavor: `complete`
|
|
68
80
|
- Icon library: `none`
|
|
81
|
+
- AI skills: installed (pass `--no-skills` to opt out)
|
|
69
82
|
|
|
70
83
|
**Example:**
|
|
71
84
|
|
|
@@ -86,12 +99,22 @@ Available templates:
|
|
|
86
99
|
|
|
87
100
|
Each template includes:
|
|
88
101
|
|
|
89
|
-
- Pre-configured bestax-bulma integration
|
|
90
|
-
- Bulma
|
|
102
|
+
- Pre-configured bestax-bulma integration (React 19)
|
|
103
|
+
- The latest `@allxsmith/bestax-bulma`, which ships Bulma v1 automatically
|
|
91
104
|
- Icon library support (Font Awesome, Material Design, etc.)
|
|
92
105
|
- Sample components demonstrating library usage
|
|
93
106
|
- Development and build scripts
|
|
94
107
|
|
|
108
|
+
## For AI Tools
|
|
109
|
+
|
|
110
|
+
Scaffolding for an AI agent? Pass `--skills` (or accept the prompt) to drop the bestax
|
|
111
|
+
Agent Skills and a `CLAUDE.md` into the new project so Claude Code, Cursor, or Copilot
|
|
112
|
+
build the bestax way from the start. The library also ships LLM-optimized docs:
|
|
113
|
+
|
|
114
|
+
- [LLMs guide](https://bestax.io/docs/guides/llms) — using bestax with Claude Code, Cursor, Copilot
|
|
115
|
+
- [Agent Skills](https://bestax.io/docs/skills/intro) — teach your agent the bestax conventions
|
|
116
|
+
- [llms.txt](https://bestax.io/llms.txt) (curated index) · [llms-full.txt](https://bestax.io/llms-full.txt) (full docs)
|
|
117
|
+
|
|
95
118
|
## Development
|
|
96
119
|
|
|
97
120
|
```bash
|
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,EAG/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,kBAAkB,QAAsB,CAAC;AAEtD,eAAO,MAAM,QAAQ;;;;;wCAMQ,MAAM;uCAEP,MAAM;sCACP,MAAM;4CAEA,MAAM;;;;;CAM7B,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;CAOV,CAAC;AAIX,eAAO,MAAM,SAAS,GAAI,aAAa,MAAM,KAAG,
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,EAG/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,kBAAkB,QAAsB,CAAC;AAEtD,eAAO,MAAM,QAAQ;;;;;wCAMQ,MAAM;uCAEP,MAAM;sCACP,MAAM;4CAEA,MAAM;;;;;CAM7B,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;;CAOV,CAAC;AAIX,eAAO,MAAM,SAAS,GAAI,aAAa,MAAM,KAAG,MAsB/C,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,cAAc,EAAE,WAAW,EAyCvC,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EA0CtC,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -45,6 +45,12 @@ automatically when the task matches:
|
|
|
45
45
|
- **bestax-layout-scaffold** — scaffold full pages (app shell, landing, centered, card grid).
|
|
46
46
|
|
|
47
47
|
Prefer the library's components and these skills over hand-written Bulma markup or custom CSS.
|
|
48
|
+
|
|
49
|
+
## Docs
|
|
50
|
+
|
|
51
|
+
- Docs site: https://bestax.io
|
|
52
|
+
- LLM-ready docs: https://bestax.io/llms.txt (curated index) and https://bestax.io/llms-full.txt
|
|
53
|
+
- Using bestax with AI tools: https://bestax.io/docs/guides/llms
|
|
48
54
|
`;
|
|
49
55
|
export const ICON_LIBRARIES = [
|
|
50
56
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bestax",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
4
4
|
"description": "Create a new bestax-bulma project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,6 +48,7 @@
|
|
|
48
48
|
"directory": "create-bestax"
|
|
49
49
|
},
|
|
50
50
|
"homepage": "https://bestax.io",
|
|
51
|
+
"llms": "https://bestax.io/llms.txt",
|
|
51
52
|
"bugs": {
|
|
52
53
|
"url": "https://github.com/allxsmith/bestax/issues"
|
|
53
54
|
},
|