Skip to content

Commit cf2356f

Browse files
authored
Merge pull request #1 from codingcodax/develop
2 parents 207a700 + 13a46c0 commit cf2356f

File tree

370 files changed

+11061
-6288
lines changed

Some content is hidden

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

370 files changed

+11061
-6288
lines changed

.env.example

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Since .env is gitignored, you can use .env.example to build a new `.env` file when you clone the repo.
2+
# Keep this file up-to-date when you add new variables to \`.env\`.
3+
4+
# This file will be committed to version control, so make sure not to have any secrets in it.
5+
# If you are cloning this repo, create a copy of this file named `.env` and populate it with your secrets.
6+
7+
# The database URL is used to connect to your Supabase database.
8+
POSTGRES_URL="postgres://postgres.[USERNAME]:[PASSWORD]@aws-0-eu-central-1.pooler.supabase.com:6543/postgres?workaround=supabase-pooler.vercel"
9+
10+
11+
# You can generate the secret via 'openssl rand -base64 32' on Unix
12+
# @see https://next-auth.js.org/configuration/options#secret
13+
AUTH_SECRET='supersecret'
14+
15+
# Preconfigured Discord OAuth provider, works out-of-the-box
16+
# @see https://next-auth.js.org/providers/discord
17+
AUTH_DISCORD_ID=''
18+
AUTH_DISCORD_SECRET=''
19+
20+
# In case you're using the Auth Proxy (apps/auth-proxy)
21+
# AUTH_REDIRECT_PROXY_URL='https://auth.your-server.com/r'

.eslintignore

Lines changed: 0 additions & 8 deletions
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 62 deletions
This file was deleted.

.github/DISCUSSION_TEMPLATE/ideas.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
body:
2+
- type: markdown
3+
attributes:
4+
value: |
5+
Thank you for taking the time to file a feature request. Please fill out this form as completely as possible.
6+
- type: textarea
7+
attributes:
8+
label: Describe the feature you'd like to request
9+
description: Please describe the feature as clear and concise as possible. Remember to add context as to why you believe this feature is needed.
10+
validations:
11+
required: true
12+
- type: textarea
13+
attributes:
14+
label: Describe the solution you'd like to see
15+
description: Please describe the solution you would like to see. Adding example usage is a good way to provide context.
16+
validations:
17+
required: true
18+
- type: textarea
19+
attributes:
20+
label: Additional information
21+
description: Add any other information related to the feature here. If your feature request is related to any issues or discussions, link them here.

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: codingcododax

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: 🐞 Bug Report
2+
description: Create a bug report to help us improve
3+
title: "bug: "
4+
labels: ["🐞❔ unconfirmed bug"]
5+
body:
6+
- type: textarea
7+
attributes:
8+
label: Provide environment information
9+
description: |
10+
Run this command in your project root and paste the results in a code block:
11+
```bash
12+
npx envinfo --system --binaries
13+
```
14+
validations:
15+
required: true
16+
- type: textarea
17+
attributes:
18+
label: Describe the bug
19+
description: A clear and concise description of the bug, as well as what you expected to happen when encountering it.
20+
validations:
21+
required: true
22+
- type: input
23+
attributes:
24+
label: Link to reproduction
25+
description: Please provide a link to a reproduction of the bug. Issues without a reproduction repo may be ignored.
26+
validations:
27+
required: true
28+
- type: textarea
29+
attributes:
30+
label: To reproduce
31+
description: Describe how to reproduce your bug. Steps, code snippets, reproduction repos etc.
32+
validations:
33+
required: true
34+
- type: textarea
35+
attributes:
36+
label: Additional information
37+
description: Add any other information related to the bug here, screenshots if applicable.

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
contact_links:
2+
- name: Ask a question
3+
url: https://github.com/t3-oss/create-t3-turbo/discussions
4+
about: Ask questions and discuss with other community members
5+
- name: Feature request
6+
url: https://github.com/t3-oss/create-t3-turbo/discussions/new?category=ideas
7+
about: Feature requests should be opened as discussions

.github/renovate.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": ["config:base"],
4+
"packageRules": [
5+
{
6+
"matchPackagePatterns": ["^@acme/"],
7+
"enabled": false
8+
}
9+
],
10+
"updateInternalDeps": true,
11+
"rangeStrategy": "bump",
12+
"automerge": true,
13+
"npm": {
14+
"fileMatch": ["(^|/)package\\.json$", "(^|/)package\\.json\\.hbs$"]
15+
}
16+
}

.github/workflows/ci.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
branches: ['*']
6+
push:
7+
branches: ['main']
8+
merge_group:
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
13+
14+
# You can leverage Vercel Remote Caching with Turbo to speed up your builds
15+
# @link https://turborepo.org/docs/core-concepts/remote-caching#remote-caching-on-vercel-builds
16+
env:
17+
FORCE_COLOR: 3
18+
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
19+
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
20+
21+
jobs:
22+
lint:
23+
runs-on: ubuntu-latest
24+
steps:
25+
- uses: actions/checkout@v4
26+
27+
- name: Setup
28+
uses: ./tooling/github/setup
29+
30+
- name: Copy env
31+
shell: bash
32+
run: cp .env.example .env
33+
34+
- name: Lint
35+
run: pnpm lint && pnpm lint:ws
36+
37+
format:
38+
runs-on: ubuntu-latest
39+
steps:
40+
- uses: actions/checkout@v4
41+
42+
- name: Setup
43+
uses: ./tooling/github/setup
44+
45+
- name: Format
46+
run: pnpm format
47+
48+
typecheck:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- uses: actions/checkout@v4
52+
53+
- name: Setup
54+
uses: ./tooling/github/setup
55+
56+
- name: Typecheck
57+
run: pnpm typecheck
58+
59+
build:
60+
runs-on: ubuntu-latest
61+
steps:
62+
- uses: actions/checkout@v4
63+
64+
- name: Setup
65+
uses: ./tooling/github/setup
66+
67+
- name: Build
68+
run: pnpm build

.gitignore

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,30 @@
11
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
22

33
# dependencies
4-
/node_modules
5-
/.pnp
4+
node_modules
5+
.pnp
66
.pnp.js
77

88
# testing
9-
/coverage
9+
coverage
1010

1111
# next.js
12-
/.next/
13-
/out/
12+
.next/
13+
out/
14+
15+
# nitro
16+
.nitro/
17+
.output/
18+
19+
# expo
20+
.expo/
21+
expo-env.d.ts
22+
apps/expo/.gitignore
23+
apps/expo/ios
24+
apps/expo/android
1425

1526
# production
16-
/build
27+
build
1728

1829
# misc
1930
.DS_Store
@@ -23,19 +34,18 @@
2334
npm-debug.log*
2435
yarn-debug.log*
2536
yarn-error.log*
37+
.pnpm-debug.log*
2638

2739
# local env files
28-
.env.local
29-
.env.development.local
30-
.env.test.local
31-
.env.production.local
40+
.env
41+
.env*.local
3242

3343
# vercel
3444
.vercel
3545

36-
# others
37-
package-lock.json
38-
pnpm-lock.yaml
39-
tsconfig.tsbuildinfo
40-
bin
41-
/public/rss/
46+
# typescript
47+
*.tsbuildinfo
48+
dist/
49+
50+
# turbo
51+
.turbo

0 commit comments

Comments
 (0)