Skip to content

Commit

Permalink
feat: hello GitHub 🎉🎉
Browse files Browse the repository at this point in the history
  • Loading branch information
favna committed Aug 24, 2021
0 parents commit 0b2d467
Show file tree
Hide file tree
Showing 45 changed files with 7,476 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .all-contributorsrc
@@ -0,0 +1,21 @@
{
"projectName": "favware",
"projectOwner": "npm-deprecate",
"repoType": "github",
"repoHost": "https://github.com",
"files": ["README.md"],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
"contributors": [
{
"login": "Favna",
"name": "Jeroen Claassens",
"avatar_url": "https://avatars3.githubusercontent.com/u/4019718?v=4",
"profile": "https://favware.tech/",
"contributions": ["code", "design", "ideas", "infra", "maintenance", "platform", "projectManagement"]
}
],
"contributorsPerLine": 7,
"skipCi": true
}
109 changes: 109 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,109 @@
{
"name": "Node-TS PowerUser Image",
"image": "favware/codespaces-containers:base",

// VSCode settings
"settings": {
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"diffEditor.renderSideBySide": true,
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": false,
"source.fixAll.tslint": true,
"source.organizeImports": true
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.foldingStrategy": "auto",
"editor.fontFamily": "Fira Code, MesloLGS NF",
"editor.renderWhitespace": "all",
"editor.fontLigatures": true,
"editor.fontSize": 16,
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"editor.lineHeight": 24,
"editor.minimap.enabled": false,
"editor.renderControlCharacters": true,
"editor.snippetSuggestions": "top",
"editor.suggestSelection": "first",
"eslint.lintTask.enable": true,
"eslint.packageManager": "yarn",
"extensions.ignoreRecommendations": false,
"files.associations": {
"*.pipeline": "groovy",
".all-contributorsrc": "json",
".yarnclean": "ignore",
".yarnrc": "shellscript",
"CODEOWNERS": "ignore"
},
"files.autoSave": "afterDelay",
"files.eol": "\n",
"git.autofetch": true,
"git.confirmSync": false,
"git.enableSmartCommit": true,
"gitlens.codeLens.enabled": false,
"gitlens.hovers.currentLine.over": "line",
"indentRainbow.colors": [
"rgba(16,16,16,0.1)",
"rgba(16,16,16,0.2)",
"rgba(16,16,16,0.3)",
"rgba(16,16,16,0.4)",
"rgba(16,16,16,0.5)",
"rgba(16,16,16,0.6)",
"rgba(16,16,16,0.7)",
"rgba(16,16,16,0.8)",
"rgba(16,16,16,0.9)",
"rgba(16,16,16,1.0)"
],
"indentRainbow.errorColor": "rgba(0,0,0,0.0)",
"javascript.updateImportsOnFileMove.enabled": "always",
"prettier.packageManager": "yarn",
"prettier.requireConfig": true,
"prettier.resolveGlobalModules": true,
"tabnine.experimentalAutoImports": false,
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.fontFamily": "MesloLGS NF",
"terminal.integrated.rendererType": "experimentalWebgl",
"typescript.tsserver.log": "off",
"typescript.tsserver.useSeparateSyntaxServer": true,
"typescript.tsserver.watchOptions": {
"fallbackPolling": "dynamicPriorityPolling",
"watchDirectory": "dynamicPriorityPolling",
"watchFile": "useFsEvents"
},
"typescript.updateImportsOnFileMove.enabled": "always",
"window.zoomLevel": 0,
"workbench.colorTheme": "Atom One Dark",
"workbench.editor.scrollToSwitchTabs": true,
"workbench.iconTheme": "pkief.material-icon-theme",
"terminal.integrated.shell.linux": "/usr/bin/zsh"
},

// VSCode Extension by their IDs
"extensions": [
"dbaeumer.vscode-eslint",
"coenraads.bracket-pair-colorizer",
"bierner.github-markdown-preview",
"eamodio.gitlens",
"ldez.ignore-files",
"oderwat.indent-rainbow",
"jtladeiras.vscode-inline-sql",
"equinusocio.vsc-material-theme-icons",
"eg2.vscode-npm-script",
"christian-kohler.npm-intellisense",
"christian-kohler.path-intellisense",
"esbenp.prettier-vscode",
"tabnine.tabnine-vscode",
"redhat.vscode-yaml",
"akamud.vscode-theme-onedark"
],

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [8080, 8081, 5432, 2333, 8284, 8285, 8287],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "yarn install"

// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
// "remoteUser": "node"
}
27 changes: 27 additions & 0 deletions .editorconfig
@@ -0,0 +1,27 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{js,ts,mjs}]
indent_size = 4
indent_style = tab
block_comment_start = /*
block_comment = *
block_comment_end = */

[*.{yml,yaml}]
indent_size = 2
indent_style = space

[*.{md,rmd,mkd,mkdn,mdwn,mdown,markdown,litcoffee}]
tab_width = 4
trim_trailing_whitespace = false

[*.{ps1}]
max_line_length = 115
indent_size = 4
indent_style = space
1 change: 1 addition & 0 deletions .eslintignore
@@ -0,0 +1 @@
dist/
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
@@ -0,0 +1 @@
/ @favna # Favna is the core developer and is codeowner of all the sourcecode
46 changes: 46 additions & 0 deletions .github/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 support@favware.tech. 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/
34 changes: 34 additions & 0 deletions .github/CONTRIBUTING.md
@@ -0,0 +1,34 @@
# Contributing

## Workflow

1. Fork and clone this repository.
2. Create a new branch in your fork based off the **main** branch.
3. Make your changes.
4. Commit your changes, and push them.
5. Submit a Pull Request [here]!

## Contributing to the code

**The issue tracker is only for issue reporting or proposals/suggestions. If you have a question, you can find us in our [Discord Server][discord server]**.

To contribute to this repository, feel free to create a new fork of the repository and
submit a pull request. We highly suggest [ESLint] to be installed
in your text editor or IDE of your choice to ensure builds from GitHub Actions do not fail.

**_Before committing and pushing your changes, please ensure that you do not have any linting errors by running `yarn lint`!_**

### NPM Deprecate Guidelines

There are a number of guidelines considered when reviewing Pull Requests to be merged. _This is by no means an exhaustive list, but here are some things to consider before/while submitting your ideas._

- Everything in NPM Deprecate should be generally useful for the majority of users. Don't let that stop you if you've got a good concept though, as your idea still might be a great addition.
- Everything should follow our ESLint rules as closely as possible, and should pass linting even if you must disable a rule for a single line.
- Scripts that are to be ran outside of the scope of the bot should be added to [scripts] directory and should be in the `.mjs` file format.

<!-- Link Dump -->

[discord server]: https://join.favware.tech
[here]: https://github.com/faware/npm-deprecate/pulls
[eslint]: https://eslint.org/
[scripts]: /scripts
11 changes: 11 additions & 0 deletions .github/FUNDING.yml
@@ -0,0 +1,11 @@
# These are supported funding model platforms
github: [favna]
patreon: favna
open_collective: # Replace with a single Open Collective username
ko_fi: favna
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://donate.favware.tech/paypal
31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
@@ -0,0 +1,31 @@
---
name: Bug report
about: Create a report to help us improve
title: 'bug: '
labels: 'Bug: Unverified'
assignees: 'favna'
---

**Describe the bug**

<!-- A clear and concise description of what the bug is. -->

**To Reproduce**

<!-- Steps to reproduce the behavior: -->

1. Write '...'
2. Click on '...'
3. See error

**Expected behavior**

<!-- A clear and concise description of what you expected to happen. -->

**Screenshots**

<!-- If applicable, add screenshots to help explain your problem. -->

**Additional context**

<!-- Add any other context about the problem here. -->
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
@@ -0,0 +1,23 @@
---
name: Feature request
about: Suggest an idea for this project
title: 'request: '
labels: 'Meta: Feature'
assignees: 'favna'
---

**Is your feature request related to a problem? Please describe.**

<!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

**Describe the solution you'd like**

<!-- A clear and concise description of what you want to happen. -->

**Describe alternatives you've considered**

<!-- A clear and concise description of any alternative solutions or features you've considered. -->

**Additional context**

<!-- Add any other context or screenshots about the feature request here. -->
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE/question---general-support-request.md
@@ -0,0 +1,15 @@
---
name: Question / General support request
about: Ask for help in Discord instead - https://join.favware.tech
title: 'Question: '
labels: 'Type: Question'
assignees: 'favna'
---

Seriously, we only use this issue tracker for bugs in the library itself and feature requests for it.
We don't typically answer questions or help with support issues here.
Instead, please ask in one of the support channels in our Discord server:

https://join.favware.tech

Any issues that don't directly involve a bug in the library or a feature request will likely be closed and redirected to the Discord server.
8 changes: 8 additions & 0 deletions .github/SECURITY.md
@@ -0,0 +1,8 @@
# Security Policy

## Reporting a Vulnerability

If you find a vulnerability in the npm-deprecate codebase please report it immediately. You can do so through one of the following methods:

- Use the GitHub issue tracker to report the issue
- Join the Discord server through https://join.favware.tech and use the "#support" channel.
11 changes: 11 additions & 0 deletions .github/dependabot.yml
@@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: 'weekly'
day: 'sunday'
time: '12:00'
labels:
- 'Meta: Dependencies'
- 'Meta: Github'
1 change: 1 addition & 0 deletions .github/husky/.gitignore
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .github/husky/commit-msg
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
4 changes: 4 additions & 0 deletions .github/husky/pre-commit
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pretty-quick --staged && yarn lint-staged
18 changes: 18 additions & 0 deletions .github/mergify.yml
@@ -0,0 +1,18 @@
pull_request_rules:
- name: Automatic Depfu merging
conditions:
- author=depfu[bot]
- base=main
- label~=^Meta:\ Dependencies
actions:
merge:
method: squash
- name: Automatic Dependabot merging
conditions:
- approved-reviews-by=Favna
- author=dependabot[bot]
- base=main
- label~=^Meta:\ Dependencies
actions:
merge:
method: squash

0 comments on commit 0b2d467

Please sign in to comment.