npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, πŸ‘‹, I’m Ryan HefnerΒ  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you πŸ™

Β© 2024 – Pkg Stats / Ryan Hefner

@wr-projects/commitlint-config

v0.0.2

Published

πŸ““ Lint commit messages

Downloads

3

Readme

Welcome to the @wr-projects/commitlint-config

Discord Maintainer ./LICENSE Contributor Covenant Codacy Badge https://lift.sonatype.com/

Table Of Contents

About the project

Shareable commitlint config enforcing the Angular commit convention. Use with @commitlint/cli

Setup

pnpm install --save-dev @commitlint/cli @wr-projects/commitlint-config

echo "module.exports = {extends: ['@wr-projcts/commitlint-config']};" > .commitlintrc.js

Examples

✨ feat(blog): add comment section

Format

<emoji> <type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>

Rules

Problems

The following rules are considered problems for and will yield a non-zero exit code when not met. Consult docs/rules for a list of available rules.

type-enum

  • Condition: is found in value type
  • Rule: always
  • Value
[
  "πŸŽ‰ init",
  "πŸ”– tag",
  "✨ feat",
  "πŸ› bug",
  "πŸ’₯ breaking",
  "πŸš‘ critical",
  "🩹 fix",
  "🚧 wip",
  "πŸ“ comment",
  "πŸ›‚ permissions",
  "πŸ›‚ roles",
  "πŸ”’ security",
  "πŸ” secrets",
  "πŸ’„ design",
  "🎨 animations",
  "🎨 transitions",
  "πŸ’Ž improve",
  "🐎 perf",
  "♻️ refactor",
  "β™Ώ accessibility",
  "πŸ’» desktop",
  "πŸ“± mobile",
  "πŸ“±πŸ’» responsive",
  "🏁 windows",
  "🍎 macOS",
  "🐧 linux",
  "πŸ§ͺ test",
  "βž• addingtest",
  "πŸ“¦ build",
  "πŸš€ deploy",
  "πŸ‘· ci",
  "πŸ“œ devscripts",
  "πŸ“š docs",
  "🌐 internationalize",
  "🌐 i18n",
  "🌐 localisation",
  "πŸ“Š metadata",
  "πŸ‘• lint",
  "πŸ—οΈ architectural",
  "⚑ generalupdate",
  "⬆️ upgrade",
  "⬇️ downgrade",
  "βž• add",
  "πŸ”₯ remove",
  "🚚 move",
  "🚚 rename",
  "βž• adddep",
  "βž–removedep",
  "πŸ‘₯ contributor",
  "🐳 docker",
  "πŸ”§ configfile",
  "πŸ‘½ api",
  "πŸ“„ licence",
  "🍱 assets",
  "✏️ gitfile",
  "πŸ“Έ snapshots",
  "βš—οΈ experiments",
  "πŸ”οΈ seo",
  "πŸ—ƒοΈ database",
  "πŸ”€ merge",
  "πŸ”„needforks",
  "⚰️ dead",
  "πŸ—‘οΈ bad"
]
echo "foo: some message" # fails
echo "🩹 fix: some message" # passes

type-case

  • Condition: is in case type value
  • Rule: always
  • Value
'lowercase'
echo "FIX: some message" # fails
echo "🩹 FIX: some message" # fails
echo "🩹 fix: some message" # passes

type-empty

  • Condition: is empty type
  • Rule: never
echo ": some message" # fails
echo "🩹: some message" # fails
echo "🩹 fix: some message" # passes

scope-case

  • Condition: is in case scope value
  • Rule: always
'lowercase'
echo ": some message" # fails
echo "🩹: some message" # fails
echo "🩹 fix: some message" # passes

subject-case

  • Condition: is in on of the cases subject ['sentence-case', 'start-case', 'pascale-case', 'upper-case']
  • Rule: never
echo "🩹 fix(SCOPE): Some message" # fails
echo "🩹 fix(SCOPE): Some Message" # fails
echo "🩹 fix(SCOPE): SomeMessage" # fails
echo "🩹 fix(SCOPE): SOMEMESSAGE" # fails
echo "🩹 fix(scope): some message" # passes
echo "🩹 fix(scope): some Message" # passes

subject-empty

  • Condition: is empty subject
  • Rule: never
echo "🩹 fix:" # fails
echo "🩹 fix: some message" # passes

subject-full-stop

  • Condition: ends with subject value
  • Rule: never
  • Value
'.'
echo "🩹 fix: some message." # fails
echo "🩹 fix: some message" # passes

subject-exclamation-mark

  • Condition: must not have a before the marker subject ! :
  • Rule: never

header-max-length

  • Condition: has or less characters header value
  • Rule: always
  • Value
72
echo "🩹 fix: some message that is way too long and breaks the line max-length by several characters" # fails
echo "🩹 fix: some message" # passes

body-leading-blank

  • Condition: Body should have a leading blank line
  • Rule: always
echo "🩹 fix: some message
body" # fails

echo "🩹 fix: some message

body" # passes

footer-leading-blank

  • Condition: Footer should have a leading blank line
  • Rule: always
echo "🩹 fix: some message
BREAKING CHANGE: It will be significant" # fails

echo "🩹 fix: some message

BREAKING CHANGE: It will be significant" # passes

Code Of Conduct

Please read the Code Of Conduct before interacting with the project.

How to contribute ?

In your case, to start contributing, please fork @wr-projects/utils and start working on your part. Later, feel free to contribute a Pull Request, we will be pleased to review it with you.

Contributors

Project Owner

| GrΓ©goire FAVREAU | | -------------------------------------------------- | | GrΓ©goire FAVREAU |

Follow us

License

MIT LICENSE

Copyright (c) WRProjects Community