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

Instructions for Deno #2

Open
vintprox opened this issue Oct 22, 2024 · 0 comments
Open

Instructions for Deno #2

vintprox opened this issue Oct 22, 2024 · 0 comments

Comments

@vintprox
Copy link

Deno 2 is all hypey and mighty today, so I thought it would be only appropriate to suggest the instructions for Deno users. Since it's already an npm package and Deno 2 supports both Node.js and npm now, why not include an npx-like command for existing CLI?

$ deno run -A npm:community-health-files

-A flag should give all sufficient permissions (detected: env and write), Deno should be able to fetch your package and run standalone package. The only dependency here is Deno.

In fact, I've tested it today and it seems to be running normally:

$ deno run -A npm:community-health-files

==========================================
[❗] – Questions are mandatory
==========================================

❗ What is the repository owner's name?
➜ vintprox

··················································

❗ What is the project license? (e.g., MIT, Apache, GPL):
➜ ISC

··················································

❗ Whom would you like to assign the raised bugs to?
➜ vintprox

··················································

❗ Who should be assigned the enhancement requests?
➜ vintprox

··················································

❗ To whom would you like to assign the feature requests?
➜ vintprox

··················································

❗ Who will be responsible for addressing questions related to the project?
➜ vintprox

··················································

❗ What is your organization name?
➜ rickrollinc

··················································

❗ What is your social media URL to connect?
➜ doesntmatt.er

··················································

❗ Please provide the email address for developers and contributors to contact you:
[email protected]

··················································

Please provide the GitHub username(s) for funding (comma separated) or leave blank if none:


··················································

Enter the Patreon username for funding (leave blank if none):


··················································

Enter the Tidelift package name (e.g., npm/package-name) for funding (leave blank if none):


··················································

Enter any custom funding URLs (comma separated) or leave blank if none:


⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆


Community health files setup has been done successfully! ✅


If you appreciate my efforts, please consider supporting me by ⭐ my repository on GitHub: https://github.com/lassiecoder/community-health-files


⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆⋆⋅☆⋅⋆

Result: created docs and .github directories with files inside them.

So, why no PR from me? Because I'm not yet sure if it fits this project. There is a matter of npm being everywhere in generated documents, and adding deno to this pile might be an overkill, unless there was some conditional that would confirm which package manager is preferred (deno/npm). But again, I may be overthinking things.

Anyway, feel free to add the command above into README or disregard idea entirely.

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

No branches or pull requests

1 participant