@whykusanagi/corrupted-theme 0.1.2 → 0.1.3
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 +133 -0
- package/README.md +6 -0
- package/docs/CAPABILITIES.md +209 -0
- package/docs/CHARACTER_LEVEL_CORRUPTION.md +264 -0
- package/docs/CORRUPTION_PHRASES.md +529 -0
- package/docs/FUTURE_WORK.md +189 -0
- package/docs/IMPLEMENTATION_VALIDATION.md +401 -0
- package/docs/LLM_PROVIDERS.md +345 -0
- package/docs/PERSONALITY.md +128 -0
- package/docs/ROADMAP.md +266 -0
- package/docs/ROUTING.md +324 -0
- package/docs/STYLE_GUIDE.md +605 -0
- package/docs/brand/BRAND_OVERVIEW.md +413 -0
- package/docs/brand/COLOR_SYSTEM.md +583 -0
- package/docs/brand/DESIGN_TOKENS.md +1009 -0
- package/docs/brand/TRANSLATION_FAILURE_AESTHETIC.md +525 -0
- package/docs/brand/TYPOGRAPHY.md +624 -0
- package/docs/components/ANIMATION_GUIDELINES.md +901 -0
- package/docs/components/COMPONENT_LIBRARY.md +1061 -0
- package/docs/components/GLASSMORPHISM.md +602 -0
- package/docs/components/INTERACTIVE_STATES.md +766 -0
- package/docs/governance/CONTRIBUTION_GUIDELINES.md +593 -0
- package/docs/governance/DESIGN_SYSTEM_GOVERNANCE.md +451 -0
- package/docs/governance/VERSION_MANAGEMENT.md +447 -0
- package/docs/governance/VERSION_REFERENCES.md +229 -0
- package/docs/platforms/CLI_IMPLEMENTATION.md +1025 -0
- package/docs/platforms/COMPONENT_MAPPING.md +579 -0
- package/docs/platforms/NPM_PACKAGE.md +854 -0
- package/docs/platforms/WEB_IMPLEMENTATION.md +1221 -0
- package/docs/standards/ACCESSIBILITY.md +715 -0
- package/docs/standards/ANTI_PATTERNS.md +554 -0
- package/docs/standards/SPACING_SYSTEM.md +549 -0
- package/examples/button.html +1 -1
- package/examples/card.html +1 -1
- package/examples/form.html +1 -1
- package/examples/index.html +2 -2
- package/examples/layout.html +1 -1
- package/examples/nikke-team-builder.html +1 -1
- package/examples/showcase-complete.html +840 -15
- package/examples/showcase.html +1 -1
- package/package.json +4 -2
- package/src/css/components.css +676 -0
- package/src/lib/character-corruption.js +563 -0
- package/src/lib/components.js +283 -0
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
# Version Management
|
|
2
|
+
|
|
3
|
+
> **Celeste Brand System** | Governance Documentation
|
|
4
|
+
> **Document**: Semantic Versioning and Release Strategy
|
|
5
|
+
> **Version**: 1.0.0
|
|
6
|
+
> **Last Updated**: 2025-12-13
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Table of Contents
|
|
11
|
+
|
|
12
|
+
1. [Overview](#overview)
|
|
13
|
+
2. [Semantic Versioning](#semantic-versioning)
|
|
14
|
+
3. [Version Lifecycle](#version-lifecycle)
|
|
15
|
+
4. [Changelog Format](#changelog-format)
|
|
16
|
+
5. [Git Tagging Strategy](#git-tagging-strategy)
|
|
17
|
+
6. [Release Workflow](#release-workflow)
|
|
18
|
+
7. [Support Policy](#support-policy)
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Overview
|
|
23
|
+
|
|
24
|
+
Celeste follows [Semantic Versioning 2.0.0](https://semver.org/) for predictable versioning across all packages (CLI, npm, documentation).
|
|
25
|
+
|
|
26
|
+
### Versioning Goals
|
|
27
|
+
|
|
28
|
+
- **Predictable**: Users know what to expect from version numbers
|
|
29
|
+
- **Backward Compatible**: Minimize breaking changes
|
|
30
|
+
- **Transparent**: Clear changelog for every release
|
|
31
|
+
- **Coordinated**: CLI and npm versions stay in sync
|
|
32
|
+
- **Professional**: Enterprise-grade version management
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Semantic Versioning
|
|
37
|
+
|
|
38
|
+
### Version Format
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
MAJOR.MINOR.PATCH[-PRERELEASE][+BUILD]
|
|
42
|
+
|
|
43
|
+
Example: 1.2.3-beta.1+20250113
|
|
44
|
+
│ │ │ │ └─ Build metadata (optional)
|
|
45
|
+
│ │ │ └─────────── Prerelease identifier (optional)
|
|
46
|
+
│ │ └────────────── Patch version
|
|
47
|
+
│ └──────────────── Minor version
|
|
48
|
+
└────────────────── Major version
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### Version Increment Rules
|
|
52
|
+
|
|
53
|
+
#### MAJOR (x.0.0) - Breaking Changes
|
|
54
|
+
|
|
55
|
+
Increment when you make **incompatible API changes**:
|
|
56
|
+
|
|
57
|
+
- Renamed CSS classes (`.card` → `.glass-card`)
|
|
58
|
+
- Removed components
|
|
59
|
+
- Changed design token names (`--accent` → `--color-accent`)
|
|
60
|
+
- Modified component behavior
|
|
61
|
+
- Dropped browser/terminal support
|
|
62
|
+
- Changed CLI command structure
|
|
63
|
+
|
|
64
|
+
**Example**: `0.1.2` → `1.0.0`
|
|
65
|
+
|
|
66
|
+
#### MINOR (0.x.0) - New Features
|
|
67
|
+
|
|
68
|
+
Increment when you add **backward-compatible functionality**:
|
|
69
|
+
|
|
70
|
+
- New components (`.glass-panel`)
|
|
71
|
+
- New design tokens (`--spacing-3xl`)
|
|
72
|
+
- New utilities (`.text-center`)
|
|
73
|
+
- New CLI commands (`celeste export`)
|
|
74
|
+
- New examples
|
|
75
|
+
- Major documentation additions
|
|
76
|
+
|
|
77
|
+
**Example**: `1.2.3` → `1.3.0`
|
|
78
|
+
|
|
79
|
+
#### PATCH (0.0.x) - Bug Fixes
|
|
80
|
+
|
|
81
|
+
Increment when you make **backward-compatible bug fixes**:
|
|
82
|
+
|
|
83
|
+
- Fix incorrect styles
|
|
84
|
+
- Fix broken animations
|
|
85
|
+
- Fix accessibility issues
|
|
86
|
+
- Fix CLI bugs
|
|
87
|
+
- Documentation fixes
|
|
88
|
+
- Performance improvements (no API change)
|
|
89
|
+
|
|
90
|
+
**Example**: `1.3.4` → `1.3.5`
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## Version Lifecycle
|
|
95
|
+
|
|
96
|
+
### Pre-1.0.0 (Development)
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
0.1.0 → 0.2.0 → 0.3.0 → ... → 1.0.0
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
- **Status**: Development/Beta
|
|
103
|
+
- **Breaking changes**: Allowed in minor versions (0.x.0)
|
|
104
|
+
- **Public API**: Not stable yet
|
|
105
|
+
- **Use case**: Early adopters, experimentation
|
|
106
|
+
|
|
107
|
+
**Current Celeste version**: `0.1.2` (pre-1.0.0)
|
|
108
|
+
|
|
109
|
+
### Post-1.0.0 (Stable)
|
|
110
|
+
|
|
111
|
+
```
|
|
112
|
+
1.0.0 → 1.1.0 → 1.2.0 → 2.0.0
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
- **Status**: Production-ready
|
|
116
|
+
- **Breaking changes**: Only in major versions (x.0.0)
|
|
117
|
+
- **Public API**: Stable, backward compatible
|
|
118
|
+
- **Use case**: Production deployments
|
|
119
|
+
|
|
120
|
+
### Version States
|
|
121
|
+
|
|
122
|
+
| State | Example | Description |
|
|
123
|
+
|-------|---------|-------------|
|
|
124
|
+
| **Development** | `0.1.0-alpha.1` | Internal testing |
|
|
125
|
+
| **Beta** | `0.2.0-beta.1` | Community testing |
|
|
126
|
+
| **Release Candidate** | `1.0.0-rc.1` | Production validation |
|
|
127
|
+
| **Stable** | `1.0.0` | Production-ready |
|
|
128
|
+
| **LTS** | `1.0.0` (tagged) | Long-term support |
|
|
129
|
+
| **Deprecated** | `0.x.x` | No longer maintained |
|
|
130
|
+
| **End of Life** | `<0.1.0` | Unsupported |
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
## Changelog Format
|
|
135
|
+
|
|
136
|
+
### Structure
|
|
137
|
+
|
|
138
|
+
Celeste uses [Keep a Changelog](https://keepachangelog.com/) format:
|
|
139
|
+
|
|
140
|
+
```markdown
|
|
141
|
+
# Changelog
|
|
142
|
+
|
|
143
|
+
All notable changes to this project will be documented in this file.
|
|
144
|
+
|
|
145
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
146
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
147
|
+
|
|
148
|
+
## [Unreleased]
|
|
149
|
+
|
|
150
|
+
### Added
|
|
151
|
+
- New `.glass-panel` component for full-page layouts
|
|
152
|
+
|
|
153
|
+
### Changed
|
|
154
|
+
- Improved glass effect performance (30% faster)
|
|
155
|
+
|
|
156
|
+
### Deprecated
|
|
157
|
+
- `.card` component (use `.glass-card` instead)
|
|
158
|
+
|
|
159
|
+
### Removed
|
|
160
|
+
- Nothing
|
|
161
|
+
|
|
162
|
+
### Fixed
|
|
163
|
+
- Focus indicator now visible on all buttons
|
|
164
|
+
- Corruption animation no longer triggers on reduced-motion
|
|
165
|
+
|
|
166
|
+
### Security
|
|
167
|
+
- Nothing
|
|
168
|
+
|
|
169
|
+
## [0.2.0] - 2025-01-15
|
|
170
|
+
|
|
171
|
+
### Added
|
|
172
|
+
- Responsive spacing utilities
|
|
173
|
+
- CLI `--no-corruption` flag
|
|
174
|
+
- Dark mode support
|
|
175
|
+
|
|
176
|
+
### Changed
|
|
177
|
+
- Updated color contrast for WCAG AAA compliance
|
|
178
|
+
|
|
179
|
+
### Fixed
|
|
180
|
+
- Glass effect now works in Safari
|
|
181
|
+
- Japanese characters render correctly in Windows Terminal
|
|
182
|
+
|
|
183
|
+
## [0.1.2] - 2025-12-10
|
|
184
|
+
|
|
185
|
+
Initial stable release.
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
### Change Categories
|
|
189
|
+
|
|
190
|
+
| Category | Description | Example |
|
|
191
|
+
|----------|-------------|---------|
|
|
192
|
+
| **Added** | New features | New component, new token |
|
|
193
|
+
| **Changed** | Changes to existing features | Performance improvement, API update |
|
|
194
|
+
| **Deprecated** | Soon-to-be removed features | Old component marked deprecated |
|
|
195
|
+
| **Removed** | Removed features | Deleted deprecated component |
|
|
196
|
+
| **Fixed** | Bug fixes | Accessibility fix, visual bug |
|
|
197
|
+
| **Security** | Security fixes | XSS vulnerability patched |
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## Git Tagging Strategy
|
|
202
|
+
|
|
203
|
+
### Tag Format
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
# Stable releases
|
|
207
|
+
v1.0.0
|
|
208
|
+
v1.2.3
|
|
209
|
+
|
|
210
|
+
# Prerelease versions
|
|
211
|
+
v1.0.0-alpha.1
|
|
212
|
+
v1.0.0-beta.2
|
|
213
|
+
v1.0.0-rc.1
|
|
214
|
+
|
|
215
|
+
# Package-specific tags (if needed)
|
|
216
|
+
cli-v1.0.0 # Celeste CLI
|
|
217
|
+
theme-v1.0.0 # corrupted-theme npm package
|
|
218
|
+
docs-v1.0.0 # Documentation version
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
### Creating Tags
|
|
222
|
+
|
|
223
|
+
```bash
|
|
224
|
+
# Create annotated tag (preferred)
|
|
225
|
+
git tag -a v1.0.0 -m "Release v1.0.0: Stable production release
|
|
226
|
+
|
|
227
|
+
Added:
|
|
228
|
+
- New glass-panel component
|
|
229
|
+
- Responsive utilities
|
|
230
|
+
|
|
231
|
+
Changed:
|
|
232
|
+
- Improved performance
|
|
233
|
+
|
|
234
|
+
See CHANGELOG.md for full details"
|
|
235
|
+
|
|
236
|
+
# Push tag to remote
|
|
237
|
+
git push origin v1.0.0
|
|
238
|
+
|
|
239
|
+
# Create GitHub release from tag
|
|
240
|
+
gh release create v1.0.0 \
|
|
241
|
+
--title "Celeste v1.0.0" \
|
|
242
|
+
--notes-file RELEASE_NOTES.md
|
|
243
|
+
```
|
|
244
|
+
|
|
245
|
+
### Tag Conventions
|
|
246
|
+
|
|
247
|
+
- **Annotated tags only**: Include release notes
|
|
248
|
+
- **Immutable**: Never delete/rewrite published tags
|
|
249
|
+
- **GPG signed**: Sign tags for security (optional)
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
# GPG-signed tag
|
|
253
|
+
git tag -s v1.0.0 -m "Release v1.0.0"
|
|
254
|
+
|
|
255
|
+
# Verify signature
|
|
256
|
+
git tag -v v1.0.0
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Release Workflow
|
|
262
|
+
|
|
263
|
+
### 1. Prepare Release
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
# Update version in package.json
|
|
267
|
+
npm version minor # 0.1.2 → 0.2.0
|
|
268
|
+
|
|
269
|
+
# Update CHANGELOG.md
|
|
270
|
+
# Move [Unreleased] changes to [0.2.0] section
|
|
271
|
+
|
|
272
|
+
# Update version in documentation
|
|
273
|
+
# Search for "version: 0.1.2" and replace with "0.2.0"
|
|
274
|
+
|
|
275
|
+
# Commit version bump
|
|
276
|
+
git add .
|
|
277
|
+
git commit -m "chore: bump version to 0.2.0"
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### 2. Build & Test
|
|
281
|
+
|
|
282
|
+
```bash
|
|
283
|
+
# Build packages
|
|
284
|
+
npm run build
|
|
285
|
+
|
|
286
|
+
# Run tests
|
|
287
|
+
npm test
|
|
288
|
+
|
|
289
|
+
# Visual regression tests
|
|
290
|
+
npm run test:visual
|
|
291
|
+
|
|
292
|
+
# Accessibility audit
|
|
293
|
+
npm run test:a11y
|
|
294
|
+
|
|
295
|
+
# Bundle size check
|
|
296
|
+
npm run check:bundle
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
### 3. Create Release
|
|
300
|
+
|
|
301
|
+
```bash
|
|
302
|
+
# Create Git tag
|
|
303
|
+
git tag -a v0.2.0 -m "Release v0.2.0"
|
|
304
|
+
|
|
305
|
+
# Push to remote
|
|
306
|
+
git push origin main --tags
|
|
307
|
+
|
|
308
|
+
# Publish npm package
|
|
309
|
+
cd corrupted-theme
|
|
310
|
+
npm publish --access public
|
|
311
|
+
|
|
312
|
+
# Create GitHub release
|
|
313
|
+
gh release create v0.2.0 \
|
|
314
|
+
--title "Celeste v0.2.0" \
|
|
315
|
+
--notes "$(cat RELEASE_NOTES.md)"
|
|
316
|
+
```
|
|
317
|
+
|
|
318
|
+
### 4. Announce Release
|
|
319
|
+
|
|
320
|
+
- Update documentation site
|
|
321
|
+
- Post to GitHub Discussions
|
|
322
|
+
- Tweet release announcement (if applicable)
|
|
323
|
+
- Update README badges
|
|
324
|
+
|
|
325
|
+
---
|
|
326
|
+
|
|
327
|
+
## Support Policy
|
|
328
|
+
|
|
329
|
+
### Support Tiers
|
|
330
|
+
|
|
331
|
+
| Version | Status | Support Level | End Date |
|
|
332
|
+
|---------|--------|---------------|----------|
|
|
333
|
+
| **1.x.x** | Current | Full support | N/A |
|
|
334
|
+
| **0.3.x** | Previous | Security fixes | +6 months |
|
|
335
|
+
| **0.2.x** | Old | None | EOL |
|
|
336
|
+
| **0.1.x** | Legacy | None | EOL |
|
|
337
|
+
|
|
338
|
+
### Support Levels
|
|
339
|
+
|
|
340
|
+
#### Full Support
|
|
341
|
+
|
|
342
|
+
- Bug fixes
|
|
343
|
+
- Security patches
|
|
344
|
+
- Feature additions
|
|
345
|
+
- Documentation updates
|
|
346
|
+
- Community support
|
|
347
|
+
|
|
348
|
+
#### Security Fixes Only
|
|
349
|
+
|
|
350
|
+
- Critical security patches
|
|
351
|
+
- No new features
|
|
352
|
+
- No bug fixes (unless security-related)
|
|
353
|
+
- Limited community support
|
|
354
|
+
|
|
355
|
+
#### End of Life (EOL)
|
|
356
|
+
|
|
357
|
+
- No updates
|
|
358
|
+
- No support
|
|
359
|
+
- Upgrade recommended
|
|
360
|
+
|
|
361
|
+
### Upgrade Policy
|
|
362
|
+
|
|
363
|
+
**Recommendation**: Always use the latest stable version.
|
|
364
|
+
|
|
365
|
+
**Minimum supported version**: Current major version only.
|
|
366
|
+
|
|
367
|
+
**Example** (when on v2.0.0):
|
|
368
|
+
- ✅ **Supported**: v2.0.0 and later
|
|
369
|
+
- ⚠️ **Security only**: v1.x.x (6 months)
|
|
370
|
+
- ❌ **EOL**: v0.x.x
|
|
371
|
+
|
|
372
|
+
---
|
|
373
|
+
|
|
374
|
+
## Cross-Package Versioning
|
|
375
|
+
|
|
376
|
+
### CLI + npm Package Sync
|
|
377
|
+
|
|
378
|
+
Celeste CLI and corrupted-theme npm package use **synchronized versioning**:
|
|
379
|
+
|
|
380
|
+
```
|
|
381
|
+
celeste-cli@1.0.0 ✅ Compatible with corrupted-theme@1.0.0
|
|
382
|
+
celeste-cli@1.0.0 ⚠️ May work with corrupted-theme@0.9.0 (degraded)
|
|
383
|
+
celeste-cli@1.0.0 ❌ Incompatible with corrupted-theme@2.0.0
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
**Rule**: Major versions must match for full compatibility.
|
|
387
|
+
|
|
388
|
+
### Documentation Versioning
|
|
389
|
+
|
|
390
|
+
Documentation is versioned alongside packages:
|
|
391
|
+
|
|
392
|
+
```
|
|
393
|
+
docs/
|
|
394
|
+
├── v1/ # Docs for v1.x.x
|
|
395
|
+
│ ├── brand/
|
|
396
|
+
│ ├── components/
|
|
397
|
+
│ └── ...
|
|
398
|
+
└── v2/ # Docs for v2.x.x (future)
|
|
399
|
+
├── brand/
|
|
400
|
+
├── components/
|
|
401
|
+
└── ...
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
---
|
|
405
|
+
|
|
406
|
+
## Version Checking
|
|
407
|
+
|
|
408
|
+
### CLI Version Check
|
|
409
|
+
|
|
410
|
+
```bash
|
|
411
|
+
# Check current version
|
|
412
|
+
celeste version
|
|
413
|
+
# Output: v1.0.0
|
|
414
|
+
|
|
415
|
+
# Check for updates
|
|
416
|
+
celeste update --check
|
|
417
|
+
# Output: New version available: v1.1.0
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
### npm Package Version
|
|
421
|
+
|
|
422
|
+
```bash
|
|
423
|
+
# Check installed version
|
|
424
|
+
npm list @whykusanagi/corrupted-theme
|
|
425
|
+
# Output: @whykusanagi/corrupted-theme@1.0.0
|
|
426
|
+
|
|
427
|
+
# Check latest version
|
|
428
|
+
npm view @whykusanagi/corrupted-theme version
|
|
429
|
+
# Output: 1.1.0
|
|
430
|
+
```
|
|
431
|
+
|
|
432
|
+
---
|
|
433
|
+
|
|
434
|
+
## Related Documentation
|
|
435
|
+
|
|
436
|
+
- [DESIGN_SYSTEM_GOVERNANCE.md](./DESIGN_SYSTEM_GOVERNANCE.md) - Governance process
|
|
437
|
+
- [CONTRIBUTION_GUIDELINES.md](./CONTRIBUTION_GUIDELINES.md) - Contributing guide
|
|
438
|
+
- [NPM_PACKAGE.md](../platforms/NPM_PACKAGE.md) - Package management
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
**Last Updated**: 2025-12-13
|
|
443
|
+
**Version**: 1.0.0
|
|
444
|
+
**Current Celeste Version**: 0.1.2
|
|
445
|
+
**Versioning Spec**: Semantic Versioning 2.0.0
|
|
446
|
+
**Maintainer**: Celeste Brand System
|
|
447
|
+
**Status**: ✅ Active Policy
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# Version References - Update Checklist
|
|
2
|
+
|
|
3
|
+
**Purpose**: Complete list of all files containing version numbers that must be updated when releasing a new version.
|
|
4
|
+
|
|
5
|
+
**Current Version**: 0.1.3
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Critical Files (MUST UPDATE)
|
|
10
|
+
|
|
11
|
+
### 1. package.json
|
|
12
|
+
**Location**: `/package.json`
|
|
13
|
+
**Line**: 3
|
|
14
|
+
```json
|
|
15
|
+
"version": "0.1.3"
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
### 2. CHANGELOG.md
|
|
19
|
+
**Location**: `/CHANGELOG.md`
|
|
20
|
+
**Lines**: 24 (header), 116-117 (references)
|
|
21
|
+
- Add new version header: `## [0.1.X] - YYYY-MM-DD`
|
|
22
|
+
- Update component counts if applicable
|
|
23
|
+
- List all changes under new version
|
|
24
|
+
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
## Documentation Files (SHOULD UPDATE)
|
|
28
|
+
|
|
29
|
+
### 3. NPM_PACKAGE.md
|
|
30
|
+
**Location**: `/docs/platforms/NPM_PACKAGE.md`
|
|
31
|
+
**Lines to update**:
|
|
32
|
+
- Line 34: Example package.json version
|
|
33
|
+
- Line 83: CDN link with version (`@whykusanagi/corrupted-theme@0.1.X`)
|
|
34
|
+
- Line 667: Version example
|
|
35
|
+
- Line 677: Version history table (current stable release)
|
|
36
|
+
- Line 694: Install command example
|
|
37
|
+
- Line 852: Package version footer
|
|
38
|
+
|
|
39
|
+
### 4. VERSION_MANAGEMENT.md
|
|
40
|
+
**Location**: `/docs/governance/VERSION_MANAGEMENT.md`
|
|
41
|
+
**Lines to update**:
|
|
42
|
+
- Line 107: Current Celeste version
|
|
43
|
+
- Line 183: Example changelog header
|
|
44
|
+
- Line 444: Current Celeste version footer
|
|
45
|
+
|
|
46
|
+
### 5. DESIGN_SYSTEM_GOVERNANCE.md
|
|
47
|
+
**Location**: `/docs/governance/DESIGN_SYSTEM_GOVERNANCE.md`
|
|
48
|
+
**Lines**: 223-224, 305
|
|
49
|
+
- Version increment examples in tables
|
|
50
|
+
- Update "current" version reference
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## Example/Showcase Files (SHOULD UPDATE)
|
|
55
|
+
|
|
56
|
+
### 6. index.html (Main Landing)
|
|
57
|
+
**Location**: `/examples/index.html`
|
|
58
|
+
**Lines to update**:
|
|
59
|
+
- Line 476: Hero version badge `v0.1.X — Production Ready`
|
|
60
|
+
- Line 725: Footer version `Corrupted Theme v0.1.X`
|
|
61
|
+
|
|
62
|
+
### 7. showcase-complete.html
|
|
63
|
+
**Location**: `/examples/showcase-complete.html`
|
|
64
|
+
**Lines to update**:
|
|
65
|
+
- Line 1135: "NEW v0.1.3" badge (keep for current release, change to version number after)
|
|
66
|
+
- Line 1317: "NEW v0.1.3" badge (keep for current release, change to version number after)
|
|
67
|
+
- Line 1697: Footer version `v0.1.X`
|
|
68
|
+
- Line 1835: Comment `<!-- NEW v0.1.3: ... -->`
|
|
69
|
+
- Line 1922: Toast message `Welcome to Corrupted Theme v0.1.X!`
|
|
70
|
+
|
|
71
|
+
### 8. Other Example Pages
|
|
72
|
+
**Location**: `/examples/*.html`
|
|
73
|
+
**Files**: showcase.html, form.html, layout.html, card.html, button.html, nikke-team-builder.html
|
|
74
|
+
|
|
75
|
+
All have footer version references like:
|
|
76
|
+
```html
|
|
77
|
+
<p>... • Corrupted Theme v0.1.0</p>
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**Update these to current version** (currently showing v0.1.0, should be v0.1.3)
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## Version Bump Procedure
|
|
85
|
+
|
|
86
|
+
When releasing a new version (e.g., 0.1.3 → 0.1.4):
|
|
87
|
+
|
|
88
|
+
### Step 1: Core Files
|
|
89
|
+
```bash
|
|
90
|
+
# 1. Update package.json
|
|
91
|
+
npm version patch # or minor, or major
|
|
92
|
+
|
|
93
|
+
# 2. Update CHANGELOG.md
|
|
94
|
+
# - Add new version header
|
|
95
|
+
# - List all changes
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Step 2: Documentation
|
|
99
|
+
```bash
|
|
100
|
+
# 3. Update NPM_PACKAGE.md
|
|
101
|
+
# - Search and replace version numbers
|
|
102
|
+
# - Update version history table
|
|
103
|
+
|
|
104
|
+
# 4. Update VERSION_MANAGEMENT.md
|
|
105
|
+
# - Update "Current Celeste version"
|
|
106
|
+
|
|
107
|
+
# 5. Update DESIGN_SYSTEM_GOVERNANCE.md
|
|
108
|
+
# - Update version examples if needed
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
### Step 3: Examples
|
|
112
|
+
```bash
|
|
113
|
+
# 6. Update index.html
|
|
114
|
+
# - Hero badge
|
|
115
|
+
# - Footer
|
|
116
|
+
|
|
117
|
+
# 7. Update showcase-complete.html
|
|
118
|
+
# - Change "NEW v0.1.3" badges to just version number
|
|
119
|
+
# - Update footer
|
|
120
|
+
# - Update toast message
|
|
121
|
+
|
|
122
|
+
# 8. Update all other example pages
|
|
123
|
+
# - Bulk find/replace footer versions
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Step 4: Search & Verify
|
|
127
|
+
```bash
|
|
128
|
+
# Search for old version references
|
|
129
|
+
grep -rn "v0\.1\.[0-9]" . --include="*.html" --include="*.md" --include="*.json"
|
|
130
|
+
|
|
131
|
+
# Verify package.json
|
|
132
|
+
cat package.json | grep version
|
|
133
|
+
|
|
134
|
+
# Verify CHANGELOG.md has new entry
|
|
135
|
+
head -30 CHANGELOG.md
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Automated Version Bump Script (Future)
|
|
141
|
+
|
|
142
|
+
Create `/scripts/bump-version.sh`:
|
|
143
|
+
|
|
144
|
+
```bash
|
|
145
|
+
#!/bin/bash
|
|
146
|
+
# Usage: ./scripts/bump-version.sh 0.1.4
|
|
147
|
+
|
|
148
|
+
NEW_VERSION=$1
|
|
149
|
+
OLD_VERSION=$(node -p "require('./package.json').version")
|
|
150
|
+
|
|
151
|
+
echo "Bumping version: $OLD_VERSION → $NEW_VERSION"
|
|
152
|
+
|
|
153
|
+
# Update package.json
|
|
154
|
+
npm version $NEW_VERSION --no-git-tag-version
|
|
155
|
+
|
|
156
|
+
# Update all HTML files
|
|
157
|
+
find examples -name "*.html" -exec sed -i '' "s/v$OLD_VERSION/v$NEW_VERSION/g" {} +
|
|
158
|
+
|
|
159
|
+
# Update documentation
|
|
160
|
+
find docs -name "*.md" -exec sed -i '' "s/$OLD_VERSION/$NEW_VERSION/g" {} +
|
|
161
|
+
|
|
162
|
+
echo "✓ Version bumped to $NEW_VERSION"
|
|
163
|
+
echo "⚠ Don't forget to update CHANGELOG.md manually!"
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
---
|
|
167
|
+
|
|
168
|
+
## Version Number Patterns to Search For
|
|
169
|
+
|
|
170
|
+
When updating, search for these patterns:
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
# Version with v prefix
|
|
174
|
+
"v0.1.3"
|
|
175
|
+
"v0\.1\.3"
|
|
176
|
+
|
|
177
|
+
# Version without v prefix
|
|
178
|
+
"0.1.3"
|
|
179
|
+
"0\.1\.3"
|
|
180
|
+
|
|
181
|
+
# NPM package version
|
|
182
|
+
"@whykusanagi/corrupted-theme@0.1.3"
|
|
183
|
+
|
|
184
|
+
# NEW badge references
|
|
185
|
+
"NEW v0.1.3"
|
|
186
|
+
"NEW in v0.1.3"
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
## Current Version Discrepancies (As of 2025-12-15)
|
|
192
|
+
|
|
193
|
+
**Files showing OLD versions that need updating:**
|
|
194
|
+
|
|
195
|
+
1. `/examples/showcase.html` - Shows v0.1.0 (should be v0.1.3)
|
|
196
|
+
2. `/examples/form.html` - Shows v0.1.0 (should be v0.1.3)
|
|
197
|
+
3. `/examples/layout.html` - Shows v0.1.0 (should be v0.1.3)
|
|
198
|
+
4. `/examples/card.html` - Shows v0.1.0 (should be v0.1.3)
|
|
199
|
+
5. `/examples/button.html` - Shows v0.1.0 (should be v0.1.3)
|
|
200
|
+
6. `/examples/nikke-team-builder.html` - Shows v0.1.0 (should be v0.1.3)
|
|
201
|
+
7. `/examples/showcase-complete.html` footer - Shows v0.1.0 (should be v0.1.3)
|
|
202
|
+
8. `/examples/index.html` - Shows v0.1.2 (should be v0.1.3)
|
|
203
|
+
9. `/docs/platforms/NPM_PACKAGE.md` - Shows v0.1.2 (should be v0.1.3)
|
|
204
|
+
10. `/docs/governance/VERSION_MANAGEMENT.md` - Shows v0.1.2 (should be v0.1.3)
|
|
205
|
+
|
|
206
|
+
**Action Required**: Update all example footers and documentation to v0.1.3
|
|
207
|
+
|
|
208
|
+
---
|
|
209
|
+
|
|
210
|
+
## Next Version Release Checklist
|
|
211
|
+
|
|
212
|
+
When preparing v0.1.4 (or next version):
|
|
213
|
+
|
|
214
|
+
- [ ] Update `package.json` version
|
|
215
|
+
- [ ] Add CHANGELOG.md entry with release date
|
|
216
|
+
- [ ] Update NPM_PACKAGE.md (6 locations)
|
|
217
|
+
- [ ] Update VERSION_MANAGEMENT.md (3 locations)
|
|
218
|
+
- [ ] Update index.html hero and footer
|
|
219
|
+
- [ ] Update showcase-complete.html (5 locations)
|
|
220
|
+
- [ ] Update all example page footers (6 files)
|
|
221
|
+
- [ ] Run version search to verify no old references remain
|
|
222
|
+
- [ ] Build and test Docker container
|
|
223
|
+
- [ ] Git tag release: `git tag v0.1.4`
|
|
224
|
+
- [ ] Publish to npm: `npm publish`
|
|
225
|
+
|
|
226
|
+
---
|
|
227
|
+
|
|
228
|
+
**Last Updated**: 2025-12-15
|
|
229
|
+
**Maintained By**: whykusanagi team
|