From fc133af6c6368bb60500f5ea782406cfb6f607a1 Mon Sep 17 00:00:00 2001 From: Nacho Vazquez Date: Thu, 16 Jul 2020 17:57:32 -0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20configure=20ngneat/lib?= =?UTF-8?q?=20tools?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .all-contributorsrc | 14 + CODE_OF_CONDUCT.md | 46 + CONTRIBUTING.md | 75 + ISSUE_TEMPLATE.md | 56 + LICENSE | 20 + PULL_REQUEST_TEMPLATE.md | 43 + README.md | 69 +- angular.json | 69 +- commitlint.config.js | 3 + hooks/pre-commit.js | 24 + logo.svg | 1 + package-lock.json | 6758 ++++---- package.json | 46 +- prettier.config.js | 6 + projects/ngworker/lumberjack/README.md | 24 + projects/ngworker/lumberjack/karma.conf.js | 32 + projects/ngworker/lumberjack/ng-package.json | 7 + projects/ngworker/lumberjack/package.json | 28 + .../src/lib/lumberjack.component.spec.ts | 14 + .../src/lib/lumberjack.component.ts | 16 + .../lumberjack/src/lib/lumberjack.module.ts | 9 + .../src/lib/lumberjack.service.spec.ts | 13 + .../lumberjack/src/lib/lumberjack.service.ts | 8 + .../ngworker/lumberjack/src/public-api.ts | 7 + projects/ngworker/lumberjack/src/test.ts | 24 + .../ngworker/lumberjack/tsconfig.lib.json | 18 + .../lumberjack/tsconfig.lib.prod.json | 7 + .../ngworker/lumberjack/tsconfig.spec.json | 10 + projects/ngworker/lumberjack/tslint.json | 7 + tsconfig.base.json | 9 +- tsconfig.json | 8 +- yarn.lock | 12836 ++++++++++++++++ 32 files changed, 17535 insertions(+), 2772 deletions(-) create mode 100644 .all-contributorsrc create mode 100644 CODE_OF_CONDUCT.md create mode 100644 CONTRIBUTING.md create mode 100644 ISSUE_TEMPLATE.md create mode 100644 LICENSE create mode 100644 PULL_REQUEST_TEMPLATE.md create mode 100644 commitlint.config.js create mode 100644 hooks/pre-commit.js create mode 100644 logo.svg create mode 100644 prettier.config.js create mode 100644 projects/ngworker/lumberjack/README.md create mode 100644 projects/ngworker/lumberjack/karma.conf.js create mode 100644 projects/ngworker/lumberjack/ng-package.json create mode 100644 projects/ngworker/lumberjack/package.json create mode 100644 projects/ngworker/lumberjack/src/lib/lumberjack.component.spec.ts create mode 100644 projects/ngworker/lumberjack/src/lib/lumberjack.component.ts create mode 100644 projects/ngworker/lumberjack/src/lib/lumberjack.module.ts create mode 100644 projects/ngworker/lumberjack/src/lib/lumberjack.service.spec.ts create mode 100644 projects/ngworker/lumberjack/src/lib/lumberjack.service.ts create mode 100644 projects/ngworker/lumberjack/src/public-api.ts create mode 100644 projects/ngworker/lumberjack/src/test.ts create mode 100644 projects/ngworker/lumberjack/tsconfig.lib.json create mode 100644 projects/ngworker/lumberjack/tsconfig.lib.prod.json create mode 100644 projects/ngworker/lumberjack/tsconfig.spec.json create mode 100644 projects/ngworker/lumberjack/tslint.json create mode 100644 yarn.lock diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 000000000..14249b473 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,14 @@ +{ + "projectName": "lumberjack", + "projectOwner": "@ngworker", + "repoType": "github", + "repoHost": "https://github.com", + "files": [ + "README.md" + ], + "imageSize": 100, + "commit": true, + "commitConvention": "angular", + "contributors": [], + "contributorsPerLine": 7 +} diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 000000000..2fcf68f01 --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,46 @@ +# Contributor Covenant Code of Conduct + +## Our Pledge + +In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation. + +## Our Standards + +Examples of behavior that contributes to creating a positive environment include: + +* Using welcoming and inclusive language +* Being respectful of differing viewpoints and experiences +* Gracefully accepting constructive criticism +* Focusing on what is best for the community +* Showing empathy towards other community members + +Examples of unacceptable behavior by participants include: + +* The use of sexualized language or imagery and unwelcome sexual attention or advances +* Trolling, insulting/derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or electronic address, without explicit permission +* Other conduct which could reasonably be considered inappropriate in a professional setting + +## Our Responsibilities + +Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior. + +Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful. + +## Scope + +This Code of Conduct applies both within project spaces and in public spaces when an individual is representing the project or its community. Examples of representing a project or community include using an official project e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at netanel7799@gmail.com. The project team will review and investigate all complaints, and will respond in a way that it deems appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately. + +Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project's leadership. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, available at [http://contributor-covenant.org/version/1/4][version] + +[homepage]: http://contributor-covenant.org +[version]: http://contributor-covenant.org/version/1/4/ diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 000000000..4eac96b75 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,75 @@ +# Contributing to Lumberjack + +🙏 We would ❤️ for you to contribute to Lumberjack and help make it even better than it is today! + +# Developing + +Start by installing all dependencies: + +```bash +npm i +``` + +Run the tests: + +```bash +npm test +npm run e2e +``` + +Run the playground app: + +```bash +npm start +``` + +## Building + +```bash +npm run build +``` + +## Coding Rules + +To ensure consistency throughout the source code, keep these rules in mind as you are working: + +- All features or bug fixes **must be tested** by one or more specs (unit-tests). +- All public API methods **must be documented**. + +## Commit Message Guidelines + +We have very precise rules over how our git commit messages can be formatted. This leads to **more +readable messages** that are easy to follow when looking through the **project history**. But also, +we use the git commit messages to **generate the Lumberjack changelog**. + +### Commit Message Format + +Each commit message consists of a **header**, a **body** and a **footer**. The header has a special +format that includes a **type**, a **scope** and a **subject**: + +``` +(): + + + +