Skip to content

Commit 16cde52

Browse files
committed
init
1 parent 0d80ae8 commit 16cde52

100 files changed

Lines changed: 6461 additions & 2 deletions

Some content is hidden

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

.changeset/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changesets
2+
3+
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
4+
with multi-package repos, or single-package repos to help you version and publish your code. You can
5+
find the full documentation for it [in our repository](https://github.com/changesets/changesets)
6+
7+
We have a quick list of common questions to get you started engaging with this project in
8+
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)

.changeset/config.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.1.1/schema.json",
3+
"changelog": ["@changesets/changelog-github", { "repo": "udecode/trunk" }],
4+
"commit": false,
5+
"fixed": [],
6+
"linked": [],
7+
"access": "restricted",
8+
"baseBranch": "main",
9+
"updateInternalDependencies": "patch",
10+
"ignore": []
11+
}

.github/workflows/ci.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: ReleaseOrVersionPR
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
release:
9+
# Basic security: the release job can only be executed from this repo and from the main branch (not a remote thing)
10+
if: ${{ github.repository == 'udecode/better-auth-convex' && contains('refs/heads/main',github.ref)}}
11+
name: Release and changelog
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v4
16+
with:
17+
# To run comparison we need more than the latest commit.
18+
# @link https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
19+
fetch-depth: 0
20+
21+
- uses: oven-sh/setup-bun@v2
22+
name: Install bun
23+
with:
24+
bun-version: latest
25+
26+
- name: Use Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
30+
31+
- uses: actions/cache@v4
32+
name: ♻️ Setup bun cache
33+
with:
34+
path: ~/.bun/install/cache
35+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
36+
restore-keys: |
37+
${{ runner.os }}-bun-
38+
39+
- name: 📥 Install
40+
run: bun install --frozen-lockfile
41+
42+
# @link https://github.com/changesets/action
43+
- name: 🦋 Create Release Pull Request or Publish to npm
44+
id: changesets
45+
uses: changesets/action@v1
46+
with:
47+
# publish: yarn g:release
48+
cwd: ${{ github.workspace }}
49+
title: '[Release] Version packages'
50+
publish: bun run release
51+
# Optional, might be used in conjunction with GITHUB_TOKEN to
52+
# allow running the workflows on a Version package action.
53+
# Be aware of security implications.
54+
# setupGitUser: true
55+
env:
56+
# See https://github.com/changesets/action/issues/147
57+
HOME: ${{ github.workspace }}
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/release.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: ReleaseOrVersionPR
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
release:
9+
# Basic security: the release job can only be executed from this repo and from the main branch (not a remote thing)
10+
if: ${{ github.repository == 'udecode/TEMPLATE' && contains('refs/heads/main',github.ref)}}
11+
name: Release and changelog
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout Repo
15+
uses: actions/checkout@v4
16+
with:
17+
# To run comparison we need more than the latest commit.
18+
# @link https://github.com/actions/checkout#fetch-all-history-for-all-tags-and-branches
19+
fetch-depth: 0
20+
21+
- uses: oven-sh/setup-bun@v2
22+
name: Install bun
23+
with:
24+
bun-version: latest
25+
26+
- name: Use Node.js
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 22
30+
31+
- uses: actions/cache@v4
32+
name: ♻️ Setup bun cache
33+
with:
34+
path: ~/.bun/install/cache
35+
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
36+
restore-keys: |
37+
${{ runner.os }}-bun-
38+
39+
- name: 📥 Install
40+
run: bun install --frozen-lockfile
41+
42+
# @link https://github.com/changesets/action
43+
- name: 🦋 Create Release Pull Request or Publish to npm
44+
id: changesets
45+
uses: changesets/action@v1
46+
with:
47+
# publish: yarn g:release
48+
cwd: ${{ github.workspace }}
49+
title: '[Release] Version packages'
50+
publish: bun run release
51+
# Optional, might be used in conjunction with GITHUB_TOKEN to
52+
# allow running the workflows on a Version package action.
53+
# Be aware of security implications.
54+
# setupGitUser: true
55+
env:
56+
# See https://github.com/changesets/action/issues/147
57+
HOME: ${{ github.workspace }}
58+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
60+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.gitignore

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# Allow claude to read these files
4+
apps/www/src/app/api/ai
5+
apps/www/public/rd
6+
**/tsconfig.tsbuildinfo
7+
templates/my-app
8+
.cursor/local
9+
10+
.yarn/*
11+
!.yarn/patches
12+
!.yarn/plugins
13+
!.yarn/releases
14+
!.yarn/sdks
15+
!.yarn/versions
16+
.repo_ignore
17+
18+
**/traceDir
19+
20+
.netrc
21+
22+
# Generated files
23+
.history
24+
node_modules/
25+
report.*
26+
27+
# Dependency directories
28+
jspm_packages/
29+
/packages/*/node_modules
30+
**/dist
31+
32+
# compiled output
33+
/dist
34+
/tmp
35+
/out-tsc
36+
**/build
37+
38+
# Runtime data
39+
pids
40+
*.pid
41+
*.seed
42+
*.pid.lock
43+
44+
# Directory for instrumented libs generated by jscoverage/JSCover
45+
lib-cov
46+
47+
# Coverage directory used by tools like istanbul
48+
coverage
49+
50+
# nyc test coverage
51+
.nyc_output
52+
53+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
54+
.grunt
55+
56+
# Bower dependency directory (https://bower.io/)
57+
bower_components
58+
59+
# node-waf configuration
60+
.lock-wscript
61+
62+
# IDEs and editors
63+
.idea
64+
.project
65+
.classpath
66+
.c9/
67+
*.launch
68+
.settings/
69+
*.sublime-workspace
70+
.vscode/*
71+
!.vscode/settings.json
72+
!.vscode/extensions.json
73+
74+
# Logs
75+
tracing.json
76+
logs
77+
*.log
78+
npm-debug.log*
79+
yarn-debug.log*
80+
yarn-error.log*
81+
*.cache
82+
83+
84+
85+
# Optional npm cache directory
86+
.npm
87+
88+
# Optional eslint cache
89+
.eslintcache
90+
91+
# Optional REPL history
92+
.node_repl_history
93+
94+
# Output of 'npm pack'
95+
*.tgz
96+
97+
# Yarn Integrity file
98+
.yarn-integrity
99+
100+
# dotenv environment variables file
101+
.env
102+
.env.local
103+
.env.development.local
104+
.env.test.local
105+
.env.production.local
106+
107+
# next.js build output
108+
.next
109+
110+
# System Files
111+
.DS_Store
112+
Thumbs.db
113+
114+
#sonar
115+
.scannerwork/
116+
117+
# misc
118+
.sass-cache
119+
connect.lock
120+
121+
#storybook
122+
storybook-static/
123+
124+
# Local
125+
packages/plate/docs/
126+
# Local Netlify folder
127+
.netlify
128+
/test-results/
129+
/playwright-report/
130+
/playwright/.cache/
131+
.turbo
132+
.vercel
133+
134+
CLAUDE.local.md
135+
.codex
136+
.mcp.json
137+
138+
# START Ruler Generated Files
139+
/.claude/skills
140+
/.codex/config.toml
141+
/.cursor/mcp.json
142+
/.cursor/rules
143+
/.mcp.json
144+
/.skillz
145+
/AGENTS.md
146+
/CLAUDE.md
147+
# END Ruler Generated Files

.vscode/extensions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"recommendations": [
3+
"unional.vscode-sort-package-json",
4+
"biomejs.biome",
5+
"dbaeumer.vscode-eslint",
6+
"Anthropic.claude-code",
7+
"oven.bun-vscode"
8+
]
9+
}

.vscode/settings.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"[javascript]": {
4+
"editor.defaultFormatter": "biomejs.biome"
5+
},
6+
"[typescript]": {
7+
"editor.defaultFormatter": "biomejs.biome"
8+
},
9+
"[javascriptreact]": {
10+
"editor.defaultFormatter": "biomejs.biome"
11+
},
12+
"[typescriptreact]": {
13+
"editor.defaultFormatter": "biomejs.biome"
14+
},
15+
"[json]": {
16+
"editor.defaultFormatter": "biomejs.biome"
17+
},
18+
"[jsonc]": {
19+
"editor.defaultFormatter": "biomejs.biome"
20+
},
21+
"[css]": {
22+
"editor.defaultFormatter": "biomejs.biome"
23+
},
24+
"[graphql]": {
25+
"editor.defaultFormatter": "biomejs.biome"
26+
},
27+
"typescript.tsdk": "node_modules/typescript/lib",
28+
"typescript.preferences.preferTypeOnlyAutoImports": true,
29+
"editor.formatOnSave": true,
30+
"emmet.showExpandedAbbreviation": "never",
31+
"editor.codeActionsOnSave": {
32+
"source.fixAll.biome": "explicit",
33+
"source.organizeImports.biome": "explicit",
34+
"source.sortPackageJson": "explicit"
35+
},
36+
"eslint.enable": true,
37+
"eslint.validate": [
38+
"javascript",
39+
"javascriptreact",
40+
"typescript",
41+
"typescriptreact"
42+
]
43+
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) Ziad Beyens, Joe Anderson
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
# trunk
2-
# trunk
1+
# trunk (draft)
2+
3+
Slate (Aug 28, 2023), but without rich-text features.

0 commit comments

Comments
 (0)