Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: contributing template not included in npm #26

Merged
merged 1 commit into from
May 24, 2024

Conversation

friedrith
Copy link
Owner

Context

If I run the generator to get a contributing file, I get the error:

npx contributing-generator                                                                                                                                          

Need to install the following packages:
contributing-generator@1.14.2
Ok to proceed? (y) y
? What do you want to generate? contributing
node:internal/fs/promises:636
  return new FileHandle(await PromisePrototypeThen(
                        ^

Error: ENOENT: no such file or directory, open '/.../.npm/_npx/4b79217f5dc193eb/node_modules/contributing-generator/templates/CONTRIBUTING.md'
    at async open (node:internal/fs/promises:636:25)
    at async Object.readFile (node:internal/fs/promises:1246:14)
    at async Object.generateContributing [as contributing] (file:///.../.npm/_npx/4b79217f5dc193eb/node_modules/contributing-generator/dist/index.js:4806:29)
    at async generator (file:///.../.npm/_npx/4b79217f5dc193eb/node_modules/contributing-generator/dist/index.js:5233:9) {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/.../.npm/_npx/4b79217f5dc193eb/node_modules/contributing-generator/templates/CONTRIBUTING.md'
}

Node.js v20.13.1

Description

It seems the file CONTRIBUTING is not included in the npm:

image

Technical details (if applicable)

  • keep all the contributing files

@friedrith friedrith merged commit 26cef1b into master May 24, 2024
3 checks passed
@friedrith friedrith deleted the fix/license_template branch May 24, 2024 10:36
github-actions bot pushed a commit that referenced this pull request May 24, 2024
## [1.14.3](v1.14.2...v1.14.3) (2024-05-24)

### Bug Fixes

* contributing template not included in npm ([#26](#26)) ([26cef1b](26cef1b))
Copy link

🎉 This PR is included in version 1.14.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant