Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Hallock d717f44fcc fix(docker): skip canvas native build (optional jsdom dep)
canvas is an optional dependency of jsdom used for testing. It fails to
compile on Alpine/musl due to missing <cstdint> includes in canvas 3.x.
Since canvas is not required for production or even for tests, configure
pnpm to skip its native build.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 12:28:01 -06:00
Thomas Hallock bd0092e69a fix: revert to default pnpm mode for Docker compatibility
Hoisted mode is incompatible with Docker's overlay filesystem.
Remove .npmrc and regenerate lockfile with default isolated mode.

This maintains semantic-release functionality while allowing
Docker builds to succeed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 10:33:26 -05:00
Thomas Hallock d3b2e0b2e1 fix: use node-linker=hoisted for full dependency hoisting
- Change from shamefully-hoist to node-linker=hoisted
- This creates a flat node_modules structure like npm
- Should fix semantic-release module resolution in CI

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 09:27:51 -05:00
Thomas Hallock 6168c292d5 fix: enable shamefully-hoist for semantic-release dependencies
- Switch .npmrc to shamefully-hoist=true for better compatibility
- This ensures all dependencies are hoisted to root node_modules
- Fixes module resolution issues in CI for semantic-release plugins

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 09:23:25 -05:00
Thomas Hallock 5c65ac5caa fix: add npmrc for hoisting and fix template paths
- Add .npmrc with public-hoist-pattern for semantic-release deps
- Fix project_root path in generate.py for monorepo structure
- Templates are at packages/templates/ not packages/core/templates/
- Fonts are at monorepo root fonts/ directory

Fixes:
- semantic-release conventional-changelog-conventionalcommits not found
- FileNotFoundError for single-card.typ and flashcards.typ

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 09:19:45 -05:00