What to build
Prepare the package for publishing to npm so users can run npx opusify create. This includes updating package.json metadata, adding a .npmignore, and setting up a publish workflow.
Files to create/modify
package.json (add description, keywords, author, files field)
.npmignore (Create — exclude templates from npm package since they're fetched from GitHub)
.github/workflows/publish.yml (Create — publish on tag push)
Specs
- The npm package should be lightweight — templates are fetched from GitHub at runtime (production mode).
- Only include:
index.js, src/, package.json, README.md, LICENSE.
- Publish workflow triggers on
v* tags.
Acceptance criteria
Dependencies
- All template issues should be complete first.
What to build
Prepare the package for publishing to npm so users can run
npx opusify create. This includes updatingpackage.jsonmetadata, adding a.npmignore, and setting up a publish workflow.Files to create/modify
package.json(add description, keywords, author, files field).npmignore(Create — exclude templates from npm package since they're fetched from GitHub).github/workflows/publish.yml(Create — publish on tag push)Specs
index.js,src/,package.json,README.md,LICENSE.v*tags.Acceptance criteria
package.jsonhas proper metadata (description, keywords, author, license, repository)..npmignoreexcludestemplates/,node_modules/, test files,.github/.npm packproduces a tarball under 50KB.npx opusify createworks after publishing (fetches templates from GitHub).Dependencies