Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: project maintenance #99

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 0 additions & 52 deletions .adonisrc.json

This file was deleted.

79 changes: 19 additions & 60 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"repoType": "github",
"repoHost": "https://github.com",
"skipCi": true,
"files": [
"README.md"
],
"files": ["README.md"],
"contributorsPerLine": 7,
"imageSize": 100,
"commit": true,
Expand All @@ -19,165 +17,126 @@
"name": "nick",
"avatar_url": "https://avatars.githubusercontent.com/u/5242865?v=4",
"profile": "https://pogonip.pw/",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "k0staa",
"name": "Michał Kostewicz",
"avatar_url": "https://avatars.githubusercontent.com/u/6313392?v=4",
"profile": "http://code-addict.pl",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "cromefire",
"name": "Cromefire_",
"avatar_url": "https://avatars.githubusercontent.com/u/26320625?v=4",
"profile": "https://gitlab.com/cromefire_",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "Omkaragrawal",
"name": "OMKAR AGRAWAL",
"avatar_url": "https://avatars.githubusercontent.com/u/10913160?v=4",
"profile": "https://omkaragrawal.dev",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "nathanaelhoun",
"name": "Nathanaël Houn",
"avatar_url": "https://avatars.githubusercontent.com/u/45119518?v=4",
"profile": "http://www.nathanaelhoun.fr",
"contributions": [
"review"
]
"contributions": ["review"]
},
{
"login": "ericreeves",
"name": "Eric Reeves",
"avatar_url": "https://avatars.githubusercontent.com/u/1744930?v=4",
"profile": "https://github.com/ericreeves",
"contributions": [
"infra"
]
"contributions": ["infra"]
},
{
"login": "SpecialAro",
"name": "André Oliveira",
"avatar_url": "https://avatars.githubusercontent.com/u/37463445?v=4",
"profile": "https://github.com/SpecialAro",
"contributions": [
"infra",
"design"
]
"contributions": ["infra", "design"]
},
{
"login": "mydarkstar",
"name": "mydarkstar",
"avatar_url": "https://avatars.githubusercontent.com/u/17343993?v=4",
"profile": "https://mydarkstar.net",
"contributions": [
"review"
]
"contributions": ["review"]
},
{
"login": "santhosh-chinnasamy",
"name": "Santhosh C",
"avatar_url": "https://avatars.githubusercontent.com/u/20743451?v=4",
"profile": "https://santhosh.cyou",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "vraravam",
"name": "Vijay Aravamudhan",
"avatar_url": "https://avatars.githubusercontent.com/u/69629?v=4",
"profile": "https://github.com/vraravam",
"contributions": [
"review",
"code"
]
"contributions": ["review", "code"]
},
{
"login": "dqos",
"name": "Tamer",
"avatar_url": "https://avatars.githubusercontent.com/u/8611981?v=4",
"profile": "https://github.com/dqos",
"contributions": [
"design"
]
"contributions": ["design"]
},
{
"login": "Gibby",
"name": "Gibby",
"avatar_url": "https://avatars.githubusercontent.com/u/503761?v=4",
"profile": "https://github.com/Gibby",
"contributions": [
"infra",
"doc"
]
"contributions": ["infra", "doc"]
},
{
"login": "palepinkdot",
"name": "MG",
"avatar_url": "https://avatars.githubusercontent.com/u/55257671?v=4",
"profile": "https://github.com/palepinkdot",
"contributions": [
"review"
]
"contributions": ["review"]
},
{
"login": "xthursdayx",
"name": "thursday",
"avatar_url": "https://avatars.githubusercontent.com/u/18044308?v=4",
"profile": "https://github.com/xthursdayx",
"contributions": [
"infra"
]
"contributions": ["infra"]
},
{
"login": "vantezzen",
"name": "Bennett",
"avatar_url": "https://avatars.githubusercontent.com/u/10333196?v=4",
"profile": "https://vantezzen.io/",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "reggermont",
"name": "Romain Eggermont",
"avatar_url": "https://avatars.githubusercontent.com/u/14902909?v=4",
"profile": "https://gitlab.com/reggermont/",
"contributions": [
"infra"
]
"contributions": ["infra"]
},
{
"login": "lnhrdt",
"name": "Leonhardt Koepsell",
"avatar_url": "https://avatars.githubusercontent.com/u/4040241?v=4",
"profile": "http://lnhrdt.com",
"contributions": [
"infra"
]
"contributions": ["infra"]
},
{
"login": "fabolhak",
"name": "Fabian H.",
"avatar_url": "https://avatars.githubusercontent.com/u/20029691?v=4",
"profile": "https://github.com/fabolhak",
"contributions": [
"doc"
]
"contributions": ["doc"]
}
],
"commitType": "docs"
Expand Down
8 changes: 8 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ DATA_DIR=data
APP_KEY= # Need to set some value
HOST=127.0.0.1
PORT=3333
LOG_LEVEL=info

# These have defaults hard-coded, but are being overridden
CACHE_VIEWS=false
SESSION_DRIVER=cookie
SES_ACCESS_KEY=
SES_ACCESS_SECRET=
SES_REGION=
MAILGUN_API_KEY=
MAILGUN_DOMAIN=
SPARKPOST_API_KEY=
23 changes: 15 additions & 8 deletions .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 2018,
ecmaVersion: 'latest',
sourceType: 'module',
project: './tsconfig.json',
},
ignorePatterns: ['node_modules', 'build', 'recipes', '.eslintrc.js'],
extends: [
'plugin:adonis/typescriptApp',
'@adonisjs/eslint-config/app',
'plugin:unicorn/recommended',
'prettier',
],
plugins: [],
globals: {
use: true,
},
plugins: ['@adonisjs/eslint-plugin'],
env: {
es6: true,
node: true,
Expand All @@ -25,7 +22,7 @@ module.exports = {
{
files: ['**/*.ts'],
extends: [
'plugin:adonis/typescriptApp',
'@adonisjs/eslint-config/app',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/strict',
// TODO: Opt-in to a stricter ruleset in the future
Expand All @@ -47,6 +44,16 @@ module.exports = {
'@typescript-eslint/no-extraneous-class': 0,
'@typescript-eslint/ban-ts-comment': 0,
'@typescript-eslint/prefer-ts-expect-error': 0,
'@typescript-eslint/explicit-member-accessibility': 0,
'@typescript-eslint/no-shadow': 0,
'@typescript-eslint/prefer-nullish-coalescing': 0,

// @adonisjs/eslint-plugin
'@adonisjs/prefer-lazy-controller-import': 2,
'@adonisjs/prefer-lazy-listener-import': 2,

// eslint-plugin-unicorn
'unicorn/filename-case': 0,
},
},
],
Expand All @@ -64,7 +71,7 @@ module.exports = {
},
],
'no-param-reassign': 1,
'prefer-destructuring': 1,
'prefer-destructuring': 0,
// eslint-plugin-unicorn
'unicorn/filename-case': 0,
'unicorn/prefer-module': 0,
Expand Down
12 changes: 6 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: 2
updates:
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
- package-ecosystem: 'npm' # See documentation for possible values
directory: '/' # Location of package manifests
schedule:
interval: "daily"
interval: 'daily'
# Maintain dependencies for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
- package-ecosystem: 'github-actions'
directory: '/'
schedule:
interval: "daily"
interval: 'daily'
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Use Node.js specified in the '.nvmrc' file
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install node dependencies recursively
Expand Down
Loading