lekoala/bootstrap5-tags

Contribution infos

Gaetanbrl opened this issue · 5 comments

Hi!

Have you a section like "How to contribube ?" or "how to build" according to explain dev env install (e.g node version, npm commands to install, npm commands to build min files...) if some need to contrib ?

it's pretty much self explanatory, it's just a regular es6 class you can load directly without any tooling. Why are you asking do you need some information in order to contribute?

What is the process to build files ? (e.g tags or tags-standelone files).

Whats is the correct npm cmd ?

"build": "esbuild --mangle-props=^_ --bundle --minify --format=esm --sourcemap tags.js --outfile=tags.min.js",
"start": "npm run build -- --servedir=.",
"watch": "npm run build -- --watch",
"build-min": "npm run build && git add -A && git commit -m \"build min file\"",
"bump": "npm run build-min && npm version patch",
"update-deps": "npx npm-check-updates -u",
"jsdoc": "npx jsdoc-to-markdown tags.js"

With minimal info to contribute, I could have treated #84 alone / fastly with a PR.

:-) there is no build process you have to follow you can simply make a PR with your changes in tags.js, that's as simple as that
if you want to test your changes, run npm start
i'm going to add that to the readme

153cb55

if you think anything is unclear, you can also make a pr to the readme ;-)

if you think anything is unclear, you can also make a pr to the readme ;-)

Ya thanks.