-
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #773 from tszhong0411/dev
feat: update
- Loading branch information
Showing
231 changed files
with
8,611 additions
and
6,643 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tszhong0411/tsconfig": patch | ||
--- | ||
|
||
update config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tszhong0411/eslint-config": patch | ||
--- | ||
|
||
update config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tszhong0411/ui": patch | ||
--- | ||
|
||
import react style |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tszhong0411/utils": patch | ||
--- | ||
|
||
update utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@tszhong0411/ui': patch | ||
--- | ||
|
||
refactor classname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@tszhong0411/prettier-config": patch | ||
--- | ||
|
||
update config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/main/cspell.schema.json", | ||
"dictionaries": ["libraries", "project-words"], | ||
"dictionaryDefinitions": [ | ||
{ | ||
"name": "libraries", | ||
"path": "./.cspell/libraries.txt", | ||
"description": "A list of libraries" | ||
}, | ||
{ | ||
"name": "project-words", | ||
"path": "./.cspell/project-words.txt", | ||
"description": "A list of project specific words" | ||
} | ||
], | ||
"files": [ | ||
"**/*.{js,cjs,mjs,ts,jsx,tsx,md,mdx,html,json,css,toml,yaml,yml,css}" | ||
], | ||
"ignorePaths": [ | ||
"*lock.{yaml,json}", | ||
"CHANGELOG.md", | ||
"*.mp4", | ||
"volumes", | ||
"*.txt" | ||
], | ||
"import": [ | ||
"@cspell/dict-typescript/cspell-ext.json", | ||
"@cspell/dict-companies/cspell-ext.json", | ||
"@cspell/dict-fullstack/cspell-ext.json", | ||
"@cspell/dict-markdown/cspell-ext.json", | ||
"@cspell/dict-npm/cspell-ext.json", | ||
"@cspell/dict-node/cspell-ext.json" | ||
], | ||
"language": "en-US", | ||
"useGitignore": true, | ||
"version": "0.2" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
autosize | ||
cmdk | ||
cobe | ||
jiti | ||
knip | ||
lightningcss | ||
normy | ||
paralleldrive | ||
rehype | ||
shiki | ||
shikijs | ||
sonarjs | ||
sonner | ||
tinycolor2 | ||
tiptap | ||
tsup | ||
tszhong0411 | ||
vfile | ||
zustand |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
aceternity | ||
airpods | ||
anishde | ||
bentogrids | ||
calcom | ||
callees | ||
cleanmymac | ||
cleanshot | ||
corepack | ||
customizer | ||
delba | ||
frontmatter | ||
fuma | ||
fumadocs | ||
goodnotes | ||
googleusercontent | ||
gstatic | ||
honghong | ||
honghongme | ||
jahir | ||
joshwcomeau | ||
karabiner | ||
keka | ||
leerob | ||
lightroom | ||
linktree | ||
macbook | ||
maximeheckel | ||
motrix | ||
mounty | ||
nextdotjs | ||
nextra | ||
nikolovlazar | ||
nodedotjs | ||
nosniff | ||
orbstack | ||
photoshop | ||
pixelsnap | ||
planetscale | ||
preinstall | ||
prosemirror | ||
raycast | ||
rmiz | ||
sameorigin | ||
samuelkraft | ||
scrollspy | ||
shadcn | ||
simulately | ||
tableplus | ||
techstack | ||
theodorusclarence | ||
umami | ||
unzoom | ||
visualstudiocode | ||
vocs | ||
wakatime | ||
zenorocha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = { | ||
ignorePatterns: ['apps/**', 'packages/**'], | ||
extends: ['@tszhong0411/eslint-config', 'plugin:turbo/recommended'], | ||
parserOptions: { | ||
project: true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
"ignoreBinaries": ["only-allow"], | ||
"workspaces": { | ||
".": { | ||
"project": ["**/*.{js,ts,tsx}"] | ||
}, | ||
"apps/web": { | ||
"entry": ["./src/**/*.{js,ts,tsx}"], | ||
"ignoreDependencies": ["sharp"] | ||
}, | ||
"packages/eslint-config": { | ||
"eslint": { | ||
"config": "index.js" | ||
} | ||
}, | ||
"packages/prettier-config": { | ||
"prettier": { | ||
"config": "index.js" | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
# Misc | ||
.changeset/*.md | ||
**/db/migrations/**/* | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** @type {import("eslint").Linter.Config} */ | ||
module.exports = { | ||
root: true, | ||
extends: ['next/core-web-vitals', '@tszhong0411/eslint-config'], | ||
parserOptions: { | ||
project: './tsconfig.json', | ||
tsconfigRootDir: __dirname | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,12 @@ | ||
import * as dotenv from 'dotenv' | ||
import { type Config } from 'drizzle-kit' | ||
|
||
dotenv.config({ | ||
path: '../../.env.local' | ||
}) | ||
|
||
if (!process.env.DATABASE_URL) { | ||
throw new Error('DATABASE_URL is required') | ||
} | ||
import { env } from './src/env' | ||
|
||
export default { | ||
dialect: 'postgresql', | ||
schema: './src/db/schema.ts', | ||
dbCredentials: { | ||
url: process.env.DATABASE_URL | ||
url: env.DATABASE_URL | ||
}, | ||
out: './src/db/migration' | ||
out: './src/db/migrations' | ||
} satisfies Config |
Oops, something went wrong.