Skip to content

Commit

Permalink
chore: initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
developomp committed Aug 7, 2023
0 parents commit 92cdd48
Show file tree
Hide file tree
Showing 12 changed files with 2,328 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Lint

on:
pull_request:
push:
workflow_dispatch:

jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.JS
uses: actions/setup-node@v3

- name: Install Dependencies
run: npm install --no-package-lock

- name: Run Lint
run: npm run lint
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/node_modules/
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run commitlint ${1}
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npm run lint
1 change: 1 addition & 0 deletions .prettierrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["yzhang.markdown-all-in-one", "esbenp.prettier-vscode"]
}
4 changes: 4 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"editor.formatOnSave": true,
"cSpell.words": ["Anytype", "commitlint", "developomp"]
}
26 changes: 26 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Contribution Guide

- follow conventional commit
- format everything using prettier

## Setting Up

1. Fork this repository
2. Install [vscode](https://code.visualstudio.com)
3. Open the cloned repository with vscode
- Install recommended extensions (a toast will show up in the bottom right corner of the window)
4. Install dependencies
```
npm install
```
5. Setup pre commit hooks
```
npm run prepare
```
6. Make changes, commit, and push!
7. Open a pull request

## Contacting Maintainer

- Join the [Anytype Discord Server](https://discord.gg/aJyV6mR6W2)
- DM `@developomp`
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Awesome AnyType

## Table Of Contents

- [Awesome AnyType](#awesome-anytype)
- [Table Of Contents](#table-of-contents)
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ["@commitlint/config-conventional"],
};
Loading

0 comments on commit 92cdd48

Please sign in to comment.