docs(wood-paneling): fix line reference and build commands
- Phase 5: Change line number to structural reference (before closing brace) - Fix all TypeScript build commands from 'npm run build' to 'npm run build:ts' - Ensures plan aligns with actual package.json scripts - Prevents execution failures during implementation
This commit is contained in:
@@ -55,7 +55,7 @@ The current "wood themes" were implemented as color themes with CSS gradients, b
|
|||||||
3. Verify commit succeeded before proceeding
|
3. Verify commit succeeded before proceeding
|
||||||
|
|
||||||
**Post-Edit Verification (MANDATORY):**
|
**Post-Edit Verification (MANDATORY):**
|
||||||
- After each file edit: Run `go build ./...` for Go files, `npm run build` for TypeScript
|
- After each file edit: Run `go build ./...` for Go files, `npm run build:ts` for TypeScript
|
||||||
- Review `git diff` to verify only intended changes
|
- Review `git diff` to verify only intended changes
|
||||||
- Never proceed to next file until current edit compiles successfully
|
- Never proceed to next file until current edit compiles successfully
|
||||||
|
|
||||||
@@ -208,7 +208,7 @@ safelist: [
|
|||||||
#### Verification Steps:
|
#### Verification Steps:
|
||||||
```bash
|
```bash
|
||||||
# Build TypeScript
|
# Build TypeScript
|
||||||
npm run build
|
npm run build:ts
|
||||||
|
|
||||||
# Verify: Build succeeds with no TypeScript errors
|
# Verify: Build succeeds with no TypeScript errors
|
||||||
# Verify: No references to wood themes remain in theme.ts
|
# Verify: No references to wood themes remain in theme.ts
|
||||||
@@ -413,7 +413,7 @@ const WOOD_STORAGE_KEY = 'wood-paneling';
|
|||||||
#### Verification Steps:
|
#### Verification Steps:
|
||||||
```bash
|
```bash
|
||||||
# Build TypeScript
|
# Build TypeScript
|
||||||
npm run build
|
npm run build:ts
|
||||||
|
|
||||||
# Verify: woodPaneling.js compiled successfully to web/static/
|
# Verify: woodPaneling.js compiled successfully to web/static/
|
||||||
# Verify: No TypeScript errors
|
# Verify: No TypeScript errors
|
||||||
@@ -505,7 +505,7 @@ if (typeof document !== 'undefined') {
|
|||||||
#### Verification Steps:
|
#### Verification Steps:
|
||||||
```bash
|
```bash
|
||||||
# Build TypeScript
|
# Build TypeScript
|
||||||
npm run build
|
npm run build:ts
|
||||||
|
|
||||||
# Verify: themeDropdown.js compiled successfully to web/static/
|
# Verify: themeDropdown.js compiled successfully to web/static/
|
||||||
# Verify: No TypeScript errors
|
# Verify: No TypeScript errors
|
||||||
@@ -558,7 +558,7 @@ npm run build:css
|
|||||||
# Verify: No errors in build output
|
# Verify: No errors in build output
|
||||||
|
|
||||||
# Full build
|
# Full build
|
||||||
npm run build
|
npm run build:ts
|
||||||
|
|
||||||
# Verify: Full build succeeds
|
# Verify: Full build succeeds
|
||||||
```
|
```
|
||||||
@@ -581,7 +581,7 @@ git commit -m "feat(tailwind): add wood texture background utilities
|
|||||||
|
|
||||||
#### File: `web/static/input.css`
|
#### File: `web/static/input.css`
|
||||||
|
|
||||||
**Add to `@layer components` (after line 225):**
|
**Add to `@layer components` section (before closing brace, after existing rules):**
|
||||||
|
|
||||||
```css
|
```css
|
||||||
/* Active/inactive states for theme and wood paneling buttons */
|
/* Active/inactive states for theme and wood paneling buttons */
|
||||||
@@ -607,7 +607,7 @@ npm run build:css
|
|||||||
# Verify: No errors
|
# Verify: No errors
|
||||||
|
|
||||||
# Full build
|
# Full build
|
||||||
npm run build
|
npm run build:ts
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Git Commit:
|
#### Git Commit:
|
||||||
@@ -949,7 +949,7 @@ git commit -m "docs(user): add themes and wood paneling guide
|
|||||||
#### Final Verification:
|
#### Final Verification:
|
||||||
```bash
|
```bash
|
||||||
# Build everything
|
# Build everything
|
||||||
npm run build
|
npm run build:ts
|
||||||
npm run build:css
|
npm run build:css
|
||||||
go build ./...
|
go build ./...
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user