srcdev-nuxt-components 9.2.8 → 9.2.9

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.
@@ -0,0 +1,34 @@
1
+ ---
2
+ description: Produce release notes as a fenced markdown block, scoped to commits since the last release
3
+ ---
4
+
5
+ Produce release notes for the commits since the last `chore(release):` commit. Always output them as a single fenced ` ```markdown ` code block so the content can be copied directly into a git tag, GitHub release, or changelog — never render it as plain markdown.
6
+
7
+ Steps:
8
+
9
+ 1. **Determine the range.** Run `git log --oneline -20` and find the most recent `chore(release): release vX.Y.Z` commit — that's the boundary. Also check `package.json` for the current version if you need to confirm what's already shipped vs pending.
10
+ 2. **Review each commit since that boundary.** Run `git show <commit> --stat` (and the message) for each one to understand what changed. Skip other `chore(release):` commits themselves, and skip purely internal/tooling commits (e.g. adding slash commands, promoting doc gotchas) unless they're user-facing.
11
+ 3. **Draft the notes** using the format below. Only include sections that have content — omit empty headings. Keep each bullet to one line where possible. Lead with the most user-facing changes (New, Fixed) before internal ones (Changed, Documentation). Fold minor follow-up commits (e.g. a test/docs completion commit for a feature shipped a commit earlier) into the same bullet as the feature rather than giving them their own line — unless the follow-up is substantial enough to warrant one.
12
+ 4. **Output** the result wrapped in a ` ```markdown ` fence. Do not commit, tag, or push anything — this command only produces text for review.
13
+
14
+ ## Format
15
+
16
+ ```markdown
17
+ ## vX.Y.Z
18
+
19
+ ### New
20
+
21
+ - **`ComponentOrComposableName`** — one-line description of what it does and why it exists
22
+
23
+ ### Fixed
24
+
25
+ - Short description of what was wrong and what was corrected
26
+
27
+ ### Changed
28
+
29
+ - Short description of intentional behaviour or API changes
30
+
31
+ ### Documentation
32
+
33
+ - **`skill-name` skill** — new/updated: what it covers
34
+ ```
@@ -96,7 +96,9 @@
96
96
  "Bash(git reset *)",
97
97
  "Read(//Users/simoncornforth/.claude/**)",
98
98
  "Bash(git push *)",
99
- "Bash(node -e \"JSON.parse\\(require\\('fs'\\).readFileSync\\('.vscode/srcdev-component-pricing-card.code-snippets','utf8'\\)\\); console.log\\('valid json'\\)\")"
99
+ "Bash(node -e \"JSON.parse\\(require\\('fs'\\).readFileSync\\('.vscode/srcdev-component-pricing-card.code-snippets','utf8'\\)\\); console.log\\('valid json'\\)\")",
100
+ "Bash(rm /Users/simoncornforth/websites/nuxt-components/.claude/skills/create-release-notes.md)",
101
+ "Bash(node -e \"console.log\\('sanity: file exists and readable'\\)\")"
100
102
  ],
101
103
  "additionalDirectories": [
102
104
  "/Users/simoncornforth/websites/instepreflexology",
@@ -48,7 +48,6 @@ Each skill is a single markdown file named `<area>-<task>.md`.
48
48
  ├── robots-env-aware.md — @nuxtjs/robots: allow crawling on prod domain only, block on preview/staging via env var
49
49
  ├── new-app-scaffold.md — scaffold a new Nuxt consumer app extending this layer (package.json, nuxt.config, app structure, CLAUDE.md)
50
50
  ├── qa-panel.md — collapsible panel for toggling component props live on a page (always on for /pages/ui/ demo pages; gate with isDev in consuming apps)
51
- ├── create-release-notes.md — produce release notes as a fenced markdown block from git log (named to avoid colliding with the built-in /release-notes command)
52
51
  ├── pull-request-description.md — produce a PR description as a fenced markdown block from git diff vs main
53
52
  ├── using-component-skills.md — discover and use component skills in consumer apps: where skills land, browsing patterns, workflow for deciding build vs. compose
54
53
  ├── composable-canonical-url.md — useCanonicalUrl: set <link rel="canonical"> from runtimeConfig.public.canonicalHost; layout setup, node types
@@ -141,6 +141,9 @@ watch(
141
141
  top: -0.6rem;
142
142
  left: 50%;
143
143
  transform: translateX(-50%);
144
+ /* Above .pricing-card__ribbon-clip (z-index: 1) — without this the badge has no stacking
145
+ context of its own and the ribbon, which does, paints over it regardless of DOM order. */
146
+ z-index: 2;
144
147
 
145
148
  display: inline-block;
146
149
  padding: 0.4rem 1rem;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "srcdev-nuxt-components",
3
3
  "type": "module",
4
- "version": "9.2.8",
4
+ "version": "9.2.9",
5
5
  "main": "nuxt.config.ts",
6
6
  "types": "types.d.ts",
7
7
  "license": "MIT",
@@ -1,48 +0,0 @@
1
- # Release Notes
2
-
3
- ## Overview
4
-
5
- When asked to create release notes, always produce a fenced markdown code block (` ```markdown `) so the content can be copied and pasted directly into a git tag, GitHub release, or changelog.
6
-
7
- ## Steps
8
-
9
- ### 1. Determine the version
10
-
11
- Run `git log --oneline -8` to find the most recent release commit and the commits since the previous release.
12
-
13
- ### 2. Review the diff
14
-
15
- Run `git show <commit> --stat` for each commit since the last release to understand what changed.
16
-
17
- ### 3. Produce a fenced markdown block
18
-
19
- Always wrap the output in a ` ```markdown ` code fence — never render it as plain markdown. This ensures the user can copy the raw text without formatting being stripped.
20
-
21
- ## Format
22
-
23
- ```markdown
24
- ## vX.Y.Z
25
-
26
- ### New
27
-
28
- - **`ComponentOrComposableName`** — one-line description of what it does and why it exists
29
-
30
- ### Fixed
31
-
32
- - Short description of what was wrong and what was corrected
33
-
34
- ### Changed
35
-
36
- - Short description of intentional behaviour or API changes
37
-
38
- ### Documentation
39
-
40
- - **`skill-name` skill** — new/updated: what it covers
41
- ```
42
-
43
- ## Notes
44
-
45
- - Only include sections that have content — omit empty headings
46
- - Keep each bullet to one line where possible
47
- - Lead with the most user-facing changes (New, Fixed) before internal ones (Documentation, Tests)
48
- - Test additions warrant their own section only when substantial; otherwise fold into the relevant New/Fixed bullet