Skip to content

Add prepare script and commit dist for git installations - #16

Merged
chtitux merged 1 commit into
mainfrom
claude/add-prepare-script-dist-011CUqJHzc2TmvbZFEpGRuZ2
Nov 5, 2025
Merged

chtitux merged 1 commit into
mainfrom
claude/add-prepare-script-dist-011CUqJHzc2TmvbZFEpGRuZ2

Conversation

@chtitux

@chtitux chtitux commented Nov 5, 2025

Copy link
Copy Markdown
Contributor

Changes:

  • Add "prepare" script to package.json that runs build after npm install
  • Update .gitignore to allow dist/ folder to be committed
  • Commit built dist/ folder to git

This ensures that git installations work properly:

  • The prepare script builds the package after install from git
  • The committed dist/ folder serves as a fallback if prepare fails
  • Published npm packages continue to work as before

Changes:
- Add "prepare" script to package.json that runs build after npm install
- Update .gitignore to allow dist/ folder to be committed
- Commit built dist/ folder to git

This ensures that git installations work properly:
- The prepare script builds the package after install from git
- The committed dist/ folder serves as a fallback if prepare fails
- Published npm packages continue to work as before
@chtitux
chtitux merged commit b6a1908 into main Nov 5, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants