Skip to content

Conversation

@sreya
Copy link
Contributor

@sreya sreya commented Nov 13, 2025

  • Update package.json with @coder/ghostty-web name and npm metadata
  • Add proper exports field for ES module, UMD, and TypeScript declarations
  • Configure vite-plugin-dts for automatic TypeScript declaration generation
  • Update vite.config.js to build ghostty-web.js/umd.cjs outputs
  • Create .npmignore to exclude dev files from npm package
  • Add INSTALL.md with complete installation and usage guide
  • Update README.md with npm installation instructions
  • Add build scripts for clean builds with WASM copying

Package is now ready for publishing to npm registry. Files included: dist/, ghostty-vt.wasm, README.md, INSTALL.md Build outputs: ghostty-web.js (ES), ghostty-web.umd.cjs (UMD), index.d.ts (types)

- Update package.json with @coder/ghostty-web name and npm metadata
- Add proper exports field for ES module, UMD, and TypeScript declarations
- Configure vite-plugin-dts for automatic TypeScript declaration generation
- Update vite.config.js to build ghostty-web.js/umd.cjs outputs
- Create .npmignore to exclude dev files from npm package
- Add INSTALL.md with complete installation and usage guide
- Update README.md with npm installation instructions
- Add build scripts for clean builds with WASM copying

Package is now ready for publishing to npm registry.
Files included: dist/, ghostty-vt.wasm, README.md, INSTALL.md
Build outputs: ghostty-web.js (ES), ghostty-web.umd.cjs (UMD), index.d.ts (types)
@sreya sreya merged commit 1c61ebb into main Nov 13, 2025
5 checks passed
@sreya sreya deleted the packaging branch November 13, 2025 11:21
sreya added a commit that referenced this pull request Nov 13, 2025
* Configure package for npm publishing as @coder/ghostty-web

- Update package.json with @coder/ghostty-web name and npm metadata
- Add proper exports field for ES module, UMD, and TypeScript declarations
- Configure vite-plugin-dts for automatic TypeScript declaration generation
- Update vite.config.js to build ghostty-web.js/umd.cjs outputs
- Create .npmignore to exclude dev files from npm package
- Add INSTALL.md with complete installation and usage guide
- Update README.md with npm installation instructions
- Add build scripts for clean builds with WASM copying

Package is now ready for publishing to npm registry.
Files included: dist/, ghostty-vt.wasm, README.md, INSTALL.md
Build outputs: ghostty-web.js (ES), ghostty-web.umd.cjs (UMD), index.d.ts (types)
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.

1 participant