Skip to content

Commit e15a0c7

Browse files
committed
Initial commit from Create Next App
0 parents  commit e15a0c7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+30292
-0
lines changed

.env.example

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# !STARTERCONF Duplicate this to .env.local
2+
3+
# DEVELOPMENT TOOLS
4+
# Ideally, don't add them to production deployment envs
5+
# !STARTERCONF Change to true if you want to log data
6+
NEXT_PUBLIC_SHOW_LOGGER="false"

.eslintrc.js

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true,
6+
},
7+
plugins: ['@typescript-eslint', 'simple-import-sort', 'unused-imports'],
8+
extends: [
9+
'eslint:recommended',
10+
'next',
11+
'next/core-web-vitals',
12+
'plugin:@typescript-eslint/recommended',
13+
'prettier',
14+
],
15+
rules: {
16+
'no-unused-vars': 'off',
17+
'no-console': 'warn',
18+
'@typescript-eslint/explicit-module-boundary-types': 'off',
19+
'react/no-unescaped-entities': 'off',
20+
21+
'react/display-name': 'off',
22+
'react/jsx-curly-brace-presence': [
23+
'warn',
24+
{ props: 'never', children: 'never' },
25+
],
26+
27+
//#region //*=========== Unused Import ===========
28+
'@typescript-eslint/no-unused-vars': 'off',
29+
'unused-imports/no-unused-imports': 'warn',
30+
'unused-imports/no-unused-vars': [
31+
'warn',
32+
{
33+
vars: 'all',
34+
varsIgnorePattern: '^_',
35+
args: 'after-used',
36+
argsIgnorePattern: '^_',
37+
},
38+
],
39+
//#endregion //*======== Unused Import ===========
40+
41+
//#region //*=========== Import Sort ===========
42+
'simple-import-sort/exports': 'warn',
43+
'simple-import-sort/imports': [
44+
'warn',
45+
{
46+
groups: [
47+
// ext library & side effect imports
48+
['^@?\\w', '^\\u0000'],
49+
// {s}css files
50+
['^.+\\.s?css$'],
51+
// Lib and hooks
52+
['^@/lib', '^@/hooks'],
53+
// static data
54+
['^@/data'],
55+
// components
56+
['^@/components', '^@/container'],
57+
// zustand store
58+
['^@/store'],
59+
// Other imports
60+
['^@/'],
61+
// relative paths up until 3 level
62+
[
63+
'^\\./?$',
64+
'^\\.(?!/?$)',
65+
'^\\.\\./?$',
66+
'^\\.\\.(?!/?$)',
67+
'^\\.\\./\\.\\./?$',
68+
'^\\.\\./\\.\\.(?!/?$)',
69+
'^\\.\\./\\.\\./\\.\\./?$',
70+
'^\\.\\./\\.\\./\\.\\.(?!/?$)',
71+
],
72+
['^@/types'],
73+
// other that didnt fit in
74+
['^'],
75+
],
76+
},
77+
],
78+
//#endregion //*======== Import Sort ===========
79+
},
80+
globals: {
81+
React: true,
82+
JSX: true,
83+
},
84+
};

.github/FUNDING.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# !STARTERCONF You can delete this file :) Your support is much appreciated!
2+
# These are supported funding model platforms
3+
4+
github: theodorusclarence
5+
patreon: # Replace with a single Patreon username
6+
open_collective: # Replace with a single Open Collective username
7+
ko_fi: # Replace with a single Ko-fi username
8+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
9+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
10+
liberapay: # Replace with a single Liberapay username
11+
issuehunt: # Replace with a single IssueHunt username
12+
otechie: # Replace with a single Otechie username
13+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
14+
custom: ['https://saweria.co/theodorusclarence']

.github/issue-branch.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# https://github.com/robvanderleek/create-issue-branch#option-2-configure-github-action
2+
3+
# ex: i4-lower_camel_upper
4+
branchName: 'i${issue.number}-${issue.title,}'
5+
branches:
6+
- label: epic
7+
skip: true
8+
- label: debt
9+
skip: true

.github/pull_request_template.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Description & Technical Solution
2+
3+
Describe problems, if any, clearly and concisely.
4+
Summarize the impact to the system.
5+
Please also include relevant motivation and context.
6+
Please include a summary of the technical solution and how it solves the problem.
7+
8+
# Checklist
9+
10+
- [ ] I have commented my code, particularly in hard-to-understand areas.
11+
- [ ] Already rebased against main branch.
12+
13+
# Screenshots
14+
15+
Provide screenshots or videos of the changes made if any.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Create Branch from Issue
2+
3+
on:
4+
issues:
5+
types: [assigned]
6+
7+
jobs:
8+
create_issue_branch_job:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create Issue Branch
12+
uses: robvanderleek/create-issue-branch@main
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: 'Issue Autolink'
2+
on:
3+
pull_request:
4+
types: [opened]
5+
6+
jobs:
7+
issue-links:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
pull-requests: write
11+
steps:
12+
- uses: tkt-actions/add-issue-links@v1.8.1
13+
with:
14+
repo-token: '${{ secrets.GITHUB_TOKEN }}'
15+
branch-prefix: 'i'
16+
resolve: 'true'

.github/workflows/lint.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Code Check
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request: {}
7+
8+
concurrency:
9+
group: ${{ github.job }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
12+
jobs:
13+
lint:
14+
name: ⬣ ESLint, ʦ TypeScript, 💅 Prettier, and 🃏 Test
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: ⬇️ Checkout repo
18+
uses: actions/checkout@v2
19+
20+
- name: ⎔ Setup node
21+
uses: actions/setup-node@v3
22+
with:
23+
node-version: 18
24+
25+
- name: 📥 Download deps
26+
uses: u0reo/npm-install@fix/restore-failure
27+
with:
28+
useRollingCache: true
29+
30+
- name: 🔬 Lint
31+
run: yarn lint:strict
32+
33+
- name: 🔎 Type check
34+
run: yarn typecheck
35+
36+
- name: 💅 Prettier check
37+
run: yarn format:check
38+
39+
- name: 🃏 Run jest
40+
run: yarn test
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: release-please
2+
on:
3+
# !STARTERCONF Choose your preferred event
4+
# !Option 1: Manual Trigger from GitHub
5+
workflow_dispatch:
6+
# !Option 2: Release on every push on main branch
7+
# push:
8+
# branches:
9+
# - main
10+
jobs:
11+
release-please:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: google-github-actions/release-please-action@v3
15+
with:
16+
release-type: node
17+
package-name: release-please-action

.gitignore

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
/.pnp
6+
.pnp.js
7+
8+
# testing
9+
/coverage
10+
11+
# next.js
12+
/.next/
13+
/out/
14+
15+
# production
16+
/build
17+
18+
# misc
19+
.DS_Store
20+
*.pem
21+
22+
# debug
23+
npm-debug.log*
24+
yarn-debug.log*
25+
yarn-error.log*
26+
.pnpm-debug.log*
27+
28+
# local env files
29+
.env
30+
.env*.local
31+
32+
# vercel
33+
.vercel
34+
35+
# typescript
36+
*.tsbuildinfo
37+
next-env.d.ts
38+
39+
# next-sitemap
40+
robots.txt
41+
sitemap.xml
42+
sitemap-*.xml

0 commit comments

Comments
 (0)