create-patties 0.0.11 → 0.0.12
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/CHANGELOG.md +30 -0
- package/package.json +4 -2
- package/src/index.ts +345 -167
- package/src/prompts.ts +62 -17
- package/src/readme.ts +12 -5
- package/src/ui.ts +93 -0
- package/templates/_backend/app/routes/api/todos.ts +30 -0
- package/templates/_claude/.claude/commands/patties-init.md +33 -0
- package/templates/_claude/.claude/skills/patties/SKILL.md +104 -0
- package/templates/_codex/.codex/rules/patties-patterns.md +105 -0
- package/templates/_codex/AGENTS.md +1 -0
- package/templates/_container/.dockerignore +7 -0
- package/templates/_container/Dockerfile +27 -0
- package/templates/_monorepo/packages/README.md +18 -0
- package/templates/_shared/patties-patterns.md +105 -0
- package/templates/default/README-template.md +85 -71
- package/templates/default/app/routes/api/health.ts +8 -0
- package/templates/ui-starter/_internal/cn.ts +6 -0
- package/templates/ui-starter/_internal/slot.ts +50 -0
- package/templates/ui-starter/_internal/variants.ts +1 -0
- package/templates/ui-starter/button.tsx +60 -0
- package/templates/ui-starter/card.tsx +92 -0
- package/templates/ui-starter/demo/TodoApp.tsx +86 -0
- package/templates/ui-starter/demo/index.tsx +41 -0
- package/templates/ui-starter/input.tsx +20 -0
- package/templates/ui-starter/label.tsx +18 -0
- package/templates/ui-starter/themes/neutral/tokens.css +46 -0
- package/templates/ui-starter/themes/slate/tokens.css +46 -0
- package/templates/ui-starter/themes/stone/tokens.css +46 -0
- package/templates/ui-starter/themes/zinc/tokens.css +46 -0
- package/templates/ui-starter/tokens.css +46 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,35 @@
|
|
|
1
1
|
# create-patties
|
|
2
2
|
|
|
3
|
+
## 0.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- a99d1bf: Redesign the scaffolder prompt flow (cli specs 18 + 19): coding agent moves
|
|
8
|
+
earlier; a new **project type** (frontend / backend / fullstack) drives gated
|
|
9
|
+
sub-prompts for **Patties UI** and **monorepo** and the deploy-target option
|
|
10
|
+
set. Adds `--type`, `--ui`/`--no-ui`, `--monorepo`/`--no-monorepo`, `--theme`,
|
|
11
|
+
and a `container` target (emits a `Dockerfile`). When Patties UI is chosen, a
|
|
12
|
+
vendored starter set (button/card/input/label + tokens) is stamped so the demo
|
|
13
|
+
renders with real components. Claude / Codex projects now ship the `/patties`
|
|
14
|
+
skill + `/patties-init` command (Codex: a `patties-patterns` rule), generated
|
|
15
|
+
from one source so they can't drift, and the next-steps output hands off to
|
|
16
|
+
`claude --permission-mode plan "/patties-init"`. Stays zero-dependency.
|
|
17
|
+
|
|
18
|
+
## 0.0.12-next.0
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- a99d1bf: Redesign the scaffolder prompt flow (cli specs 18 + 19): coding agent moves
|
|
23
|
+
earlier; a new **project type** (frontend / backend / fullstack) drives gated
|
|
24
|
+
sub-prompts for **Patties UI** and **monorepo** and the deploy-target option
|
|
25
|
+
set. Adds `--type`, `--ui`/`--no-ui`, `--monorepo`/`--no-monorepo`, `--theme`,
|
|
26
|
+
and a `container` target (emits a `Dockerfile`). When Patties UI is chosen, a
|
|
27
|
+
vendored starter set (button/card/input/label + tokens) is stamped so the demo
|
|
28
|
+
renders with real components. Claude / Codex projects now ship the `/patties`
|
|
29
|
+
skill + `/patties-init` command (Codex: a `patties-patterns` rule), generated
|
|
30
|
+
from one source so they can't drift, and the next-steps output hands off to
|
|
31
|
+
`claude --permission-mode plan "/patties-init"`. Stays zero-dependency.
|
|
32
|
+
|
|
3
33
|
## 0.0.8
|
|
4
34
|
|
|
5
35
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-patties",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Scaffolder for new Patties projects.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -20,7 +20,9 @@
|
|
|
20
20
|
"scripts": {
|
|
21
21
|
"test": "bun test",
|
|
22
22
|
"typecheck": "tsc --noEmit",
|
|
23
|
-
"lint": "biome check ."
|
|
23
|
+
"lint": "biome check .",
|
|
24
|
+
"generate:patties-skill": "bun run scripts/gen-patties-skill.ts",
|
|
25
|
+
"check:patties-skill": "bun run scripts/gen-patties-skill.ts --check"
|
|
24
26
|
},
|
|
25
27
|
"engines": {
|
|
26
28
|
"bun": ">=1.3.0"
|