Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
220 commits
Select commit Hold shift + click to select a range
3f840bf
Merge pull request #2 from get-convex/ian/npm-i
ianmacartney Nov 16, 2023
f0f4794
Split sequential dev command into predev.
ianmacartney Nov 16, 2023
3efdd4a
Merge pull request #3 from get-convex/ian/predev
ianmacartney Nov 16, 2023
33b3baf
Bump version
xixixao Nov 16, 2023
a8d5fe8
Add typecheck to lint scripts, fix shadcn calendar
xixixao Nov 23, 2023
9621a65
ease up on unused variables (#4)
ianmacartney Dec 1, 2023
7ebca56
Fix numbers truncation, fix lints and tsconfigs
xixixao Dec 2, 2023
ab6e764
Fix main content background
xixixao Dec 19, 2023
f8e8e06
Fix dark mode
xixixao Dec 22, 2023
ce929ad
Simplify nextjs routes
xixixao Dec 22, 2023
4cc092d
Simplify nextjs routes
xixixao Dec 22, 2023
53fbc28
Remove unused file
xixixao Jan 13, 2024
ad98a67
Fix the layouts instructions
xixixao Jan 15, 2024
ec0ebfb
Upgrade to latest convex version
xixixao Jan 29, 2024
5da45f9
Default to having schema
xixixao Feb 2, 2024
272b348
Fix pointer to app
xixixao Feb 18, 2024
1a7b226
Upgrade to 1.10
xixixao Feb 28, 2024
0aac004
Add verbose flag for debugging
xixixao Mar 8, 2024
e6ce87c
Upgrade Next.js to latest 14
xixixao Mar 23, 2024
c435bdf
readme update
ianmacartney Apr 26, 2024
6310f0a
Update README.md
ikhare Apr 28, 2024
62ce553
Dont ignore directories with just .git in them
xixixao May 10, 2024
6cee482
Bump version
xixixao May 10, 2024
a867f79
Update to convex 1.12 (#6)
sshader May 15, 2024
7ff1502
Create LICENSE
nipunn1313 May 21, 2024
2959c4e
Fix React template imports
xixixao May 30, 2024
a5e6be7
Change ConvexClientProvider to a named export
xixixao Jun 2, 2024
9e27061
Fix react template imports with Clerk
xixixao Jun 2, 2024
95fb3cc
Sort imports in ConvexClientProvider
xixixao Jun 2, 2024
69fefdd
Blank line after use client
xixixao Jun 2, 2024
cc78045
Support Convex Auth
xixixao Jul 3, 2024
a87afb0
Bump version
xixixao Jul 3, 2024
e64df3f
Enable Convex Auth template
xixixao Jul 8, 2024
face538
Bump version
xixixao Jul 8, 2024
ffd814e
update bundler (#8)
ianmacartney Jul 16, 2024
7881d3f
Add contributing doc
xixixao Jul 16, 2024
3978a59
Use new template for NextJS
xixixao Jul 16, 2024
1ba1a04
0.0.12
xixixao Jul 16, 2024
3b10d82
Fix contr
xixixao Jul 16, 2024
72d6c7c
New Vite template
xixixao Jul 16, 2024
6e3c39a
0.0.13
xixixao Jul 16, 2024
8927957
Remove old nextjs template
xixixao Aug 7, 2024
4b8ee1b
Upgrade to new Nextjs template via Git submodule
xixixao Aug 7, 2024
42d2ab8
Add justfile for working with submodules
xixixao Aug 7, 2024
53e7fae
Nextjs: Prevent double sending by immediately erasing the input text
xixixao Aug 7, 2024
252ec4e
Document and fix justfile
xixixao Aug 7, 2024
438d41f
Update contributing instructions
xixixao Aug 7, 2024
cf95922
Add publish just command
xixixao Aug 7, 2024
79cb6ff
Remove old react vite template
xixixao Aug 7, 2024
ca183a9
Add react-vite-shadcn submodule
xixixao Aug 7, 2024
29471d2
Add template-add command
xixixao Aug 7, 2024
5994a99
react-vite-shadcn: Check out the right branch
xixixao Aug 7, 2024
b58fb33
MessageList flex-col-reverse to avoid unnecessary scrolling
xixixao Aug 7, 2024
cd85230
Erase chat input immediately to prevent double submission
xixixao Aug 7, 2024
4d9277a
Add rebasing instructions
xixixao Aug 7, 2024
db3736b
Add react-vite-convexauth-shadcn submodule
xixixao Aug 8, 2024
15c3506
Add nextjs-convexauth-shadcn submodule
xixixao Aug 8, 2024
9ebc010
Nits
xixixao Aug 8, 2024
e25eea4
Add helper install command
xixixao Aug 8, 2024
61c9e05
Upgrade convex
xixixao Aug 8, 2024
c62fb1e
Note on simultenous changes
xixixao Aug 8, 2024
b2e839b
Improve install command
xixixao Aug 8, 2024
1c9a6f4
Added Convex Auth Next.js template implementation
xixixao Aug 16, 2024
e46217f
Better publish instructions
xixixao Aug 16, 2024
599729b
Add Next.js Convex Auth template to create-convex
xixixao Aug 16, 2024
2c7ae7a
0.0.14
xixixao Aug 16, 2024
863042d
Add diagram
xixixao Aug 20, 2024
613ad79
Reorder workflows
xixixao Aug 20, 2024
bccf9c6
More instructions
xixixao Aug 20, 2024
b84b908
Add diff command
xixixao Aug 20, 2024
43eae1e
Align branch names with folder names
xixixao Aug 20, 2024
82eab5d
Change branch names and update Convex Auth for Nextjs template
xixixao Aug 20, 2024
a7a22cf
Change branch names and update Convex Auth for React templates
xixixao Aug 20, 2024
0277576
Upgrade convex and Convex Auth
xixixao Aug 21, 2024
b6709c1
Add git config tips
xixixao Aug 21, 2024
0efc6c5
Update convex and convex auth in React templates
xixixao Aug 21, 2024
b7a154a
Add command for updating templates to their remote generate- state
xixixao Aug 21, 2024
56f5b8a
Add a command for publishing all templates
xixixao Aug 21, 2024
9799260
Use bun for the update script
xixixao Aug 22, 2024
f483c73
Update instructions and package lock
xixixao Aug 22, 2024
ee8aa27
Name the package
xixixao Aug 22, 2024
27e5a7e
Update lock
xixixao Aug 22, 2024
c0c27cb
Fix pulling all remote branches
xixixao Aug 22, 2024
f796ed4
Fix the fetch to force update
xixixao Aug 22, 2024
6e16757
Update Convex and Convex Auth for Nextjs
xixixao Aug 22, 2024
a6651de
Update Convex and Convex Auth for Vite
xixixao Aug 22, 2024
e3bc493
Add component template
thomasballinger Aug 28, 2024
efeea47
update component template
thomasballinger Aug 29, 2024
5327f43
codegen for component
thomasballinger Aug 29, 2024
d41d960
skipLibCheck for component template for now
thomasballinger Aug 29, 2024
f8070f6
update component template
thomasballinger Aug 29, 2024
6794ed3
create-convex to 0.15
thomasballinger Aug 29, 2024
3ef0ef9
Update Convex for Nextjs
thomasballinger Aug 30, 2024
6a753a6
Update Convex and for Vite
thomasballinger Aug 30, 2024
6995f85
Update component to have linting and an example.
thomasballinger Sep 3, 2024
e1e59c5
Different instructions for component
thomasballinger Sep 4, 2024
9422c1c
fix component template paths
thomasballinger Sep 5, 2024
0a7286e
Update to Convex 1.15.0
sshader Sep 5, 2024
788580e
Update Convex Auth to 0.0.64
sshader Sep 5, 2024
f668e05
fix build:cjs
ianmacartney Sep 5, 2024
6b2ea50
update example to sharded counter
ianmacartney Sep 6, 2024
c3fa827
update to have generic and UseApi
ianmacartney Sep 6, 2024
f11f27f
only public
ianmacartney Sep 6, 2024
d0b8299
add function client example, and get->count
ianmacartney Sep 6, 2024
94e96c1
rename component to counter
ianmacartney Sep 6, 2024
a17a6e3
Revert "rename component to counter"
ianmacartney Sep 9, 2024
68e7f77
Dev mode: importing from package still runs codegen (#11)
thomasballinger Sep 10, 2024
aad17c0
exercise -> example
ianmacartney Sep 11, 2024
bb9b5b4
Add a frontend app to the component template (#12)
thomasballinger Sep 11, 2024
3defc18
Unbreak component template after new convex npm package published
thomasballinger Sep 11, 2024
676d5ab
move app into example
ianmacartney Sep 17, 2024
a6947e5
warn on unused variables
ianmacartney Sep 17, 2024
8d7b97a
rename counter
ianmacartney Sep 17, 2024
5e7fe8f
move api to top w/o disclaimer
ianmacartney Sep 17, 2024
5135727
Update to Convex 1.16
sshader Sep 19, 2024
b9fd942
get rid of extra tsconfig
ianmacartney Sep 19, 2024
82c161b
snip .js, and install counter without name, with named import (#16)
ianmacartney Sep 20, 2024
39a371d
bump convex version
ianmacartney Sep 21, 2024
b5f0c06
just show class definition, with extra utility fn
ianmacartney Sep 25, 2024
b3d5f55
readme
ianmacartney Sep 25, 2024
73c7dd0
Update Convex Auth version
sshader Sep 27, 2024
ecad204
update component template for launch
ianmacartney Oct 16, 2024
a497d6a
snip what is convex
ianmacartney Oct 16, 2024
6a07b5d
Upgrade to convex 1.17.0
thomasballinger Oct 23, 2024
c800b51
Initial TanStack Start template
thomasballinger Oct 28, 2024
9fce586
standardize prettier
ianmacartney Oct 18, 2024
b3aaaf0
unify rename to counter
ianmacartney Oct 18, 2024
95576a4
more lax in example eslint
ianmacartney Oct 18, 2024
a6d94bd
rename public to lib
ianmacartney Oct 24, 2024
a77b376
add contributing
ianmacartney Oct 25, 2024
4f15712
readme
ianmacartney Oct 25, 2024
1c6bce6
add tests and run them in CI
ianmacartney Oct 29, 2024
adfd254
also install example (#22)
ianmacartney Oct 30, 2024
8917743
[component template] example of easy re-export (#23)
ldanilek Nov 5, 2024
e5415db
Dont print npm install warnings (#20)
xixixao Nov 5, 2024
2dce849
Remove LICENSE files from templates
thomasballinger Nov 5, 2024
abb1cf5
codegen
ianmacartney Nov 21, 2024
a2d0a31
update OpaqueIds
ianmacartney Nov 21, 2024
c92e636
lint
ianmacartney Nov 21, 2024
9fda528
update tanstack start template
thomasballinger Nov 23, 2024
23bc213
Ian/component fixes (#25)
ianmacartney Dec 3, 2024
df0b96b
readme: remove beta warning & mention LICENSE caveat to find & replace
ianmacartney Dec 5, 2024
dc05816
Update convex-auth to 0.0.77
thomasballinger Dec 20, 2024
98b5495
Update Clerk Next.js template to clerk/nextjs@6 (#26)
thomasballinger Dec 26, 2024
eb91d4a
Update @clerk/clerk-react to v5
thomasballinger Dec 26, 2024
4802462
update caniuse
thomasballinger Dec 26, 2024
d032ae6
Upgrade Clerk tempalte to Next.js 15 (#27)
thomasballinger Dec 28, 2024
e41dc1b
0.0.17
thomasballinger Dec 28, 2024
01f53b9
update templates
thomasballinger Dec 30, 2024
15430a1
Overwrite .git files as well
thomasballinger Jan 2, 2025
9564a54
Update TanStack template to be a little more automatic
thomasballinger Jan 2, 2025
e0d75e5
Add TanStack Start to create script (#28)
thomasballinger Jan 7, 2025
08d8f91
Don't hardcode provider domain
thomasballinger Jan 7, 2025
19d92f5
0.0.18
thomasballinger Jan 9, 2025
343f25d
Add seed command to TanStack Start template
thomasballinger Jan 16, 2025
b83b494
0.0.19
thomasballinger Jan 16, 2025
5ca60c0
add astro template (#29)
itsMapleLeaf Jan 17, 2025
5ca5db3
readme
ianmacartney Jan 21, 2025
d58ba48
[template] rename Counter -> ShardedCounter (#30)
ldanilek Jan 23, 2025
c05f647
Switch to simpler demos that do not use shadcn (#31)
sshader Feb 10, 2025
fb9e317
Bump create-convex version to 0.0.20
sshader Feb 10, 2025
14f530d
Update react-vite-convexauth setup script
sshader Feb 10, 2025
f2b50c9
Fix create-convex script for demos inside the templates repo (#32)
sshader Feb 14, 2025
45a8fa8
Add convex_rules.mdc to the .cursor/rules directory of the new projec…
sshader Feb 21, 2025
4897d43
Mikec/detecting package manager (#34)
mikecann Mar 11, 2025
80566eb
version 0.0.23
thomasballinger Mar 11, 2025
01bb56b
Fix typo (cursor → Cursor) (#35)
Nicolapps Mar 11, 2025
ce5e615
make the output on completion prettier (#36)
atrakh Mar 12, 2025
e565605
Revert "make the output on completion prettier (#36)"
Mar 13, 2025
cf02b22
npm install before publish (#37)
atrakh Mar 13, 2025
7b74f03
Make build commands clearer (#39)
atrakh Mar 13, 2025
eea758c
fix OpaqueIds in component template (#38)
ldanilek Mar 14, 2025
5fa1794
older boxen
thomasballinger Mar 17, 2025
ed26ac3
0.0.26
thomasballinger Mar 17, 2025
363772d
0.0.27
thomasballinger Mar 17, 2025
34a0f54
Update templates to newer base template, newer tailwind, and newer Co…
sshader Mar 20, 2025
cc4f429
naming (#41)
ianmacartney Mar 24, 2025
34b004b
Finish updating all templates to convex 1.21 (#40)
sshader Mar 25, 2025
958d469
Update templates to Convex 1.22, Convex Auth 0.0.81 + newer set up sc…
sshader Apr 1, 2025
3967d1d
Update templates to convex 1.23 (#43)
sshader Apr 4, 2025
e87673e
parent convex isn't necessary
ianmacartney Apr 8, 2025
2859683
fix npm scripts for windows users (#44)
erquhart Apr 17, 2025
710b507
fix extraneous import
thomasballinger Jun 5, 2025
ba0f566
Fix lint issues in template-tanstack-start-clerk (#48)
Nicolapps Jun 5, 2025
dd8d34e
Use Sonner instead of the deprecated shadcn/ui toast (#49)
Nicolapps Jun 6, 2025
a9d6395
Fix ESLint config to include the `convex` tsconfig (#50)
Nicolapps Jun 9, 2025
94d77c2
[tanstack-start-clerk] Fix build command (#45)
bill876 Jun 10, 2025
7265f4f
Add a CI GitHub action for templates (#47)
Nicolapps Jun 12, 2025
0160143
snip assert that fails in nextjs ssr
ianmacartney Jun 12, 2025
b3f3902
component template refresh
ianmacartney Jun 19, 2025
6a68077
npmi
ianmacartney Jun 19, 2025
e0cea5e
add a bootstrap
ianmacartney Jun 19, 2025
1cf4a9a
add convex to example packagejson so initial conevx dev works
ianmacartney Jun 20, 2025
b2e9f90
gitignore
ianmacartney Jun 20, 2025
9121fea
unused
ianmacartney Jun 20, 2025
6bdba17
improve bundling & testing
ianmacartney Jun 20, 2025
4bcd19b
lint/attw
ianmacartney Jun 22, 2025
7353b1c
separate npm i and npm run setup
ianmacartney Jun 23, 2025
721d7ec
readme
ianmacartney Jun 25, 2025
360ae51
fixesm
ianmacartney Jun 25, 2025
c16ebc5
fixexample
ianmacartney Jun 25, 2025
b1a4c23
drop support for commonjs (#51)
ianmacartney Jun 28, 2025
f7220e7
Fix package manager detection
thomasballinger Jun 29, 2025
d12a1df
0.0.30
thomasballinger Jun 29, 2025
04f6ce9
simplify setup more
ianmacartney Jun 29, 2025
634fb44
Mikec/fix for stale cursor rules issue (#55)
mikecann Jul 7, 2025
081b5ac
add timer stuff to test stubs
ianmacartney Jul 10, 2025
ae1c133
refactor Tanstack templates (#52)
ilkome Jul 15, 2025
5678007
Restore initial deploy (improves first time experience)
thomasballinger Jul 15, 2025
419d30b
improved the tanstack start default starting template
mikecann Jul 15, 2025
1197a9e
create-convex: Fetch Cursor rules from version.convex.dev (#58)
Nicolapps Jul 15, 2025
891d715
defaulting gcTime to 5 seconds instead of 5 minutes
mikecann Jul 16, 2025
f809afb
fixing an error with preload data state times
mikecann Jul 16, 2025
36f71fb
add astro to template list
ianmacartney Jul 12, 2025
b9167a6
create-convex v0.0.31
ianmacartney Jul 12, 2025
28e1f36
use tsc-alias and drop verbatim syntax to get around dataModel.d.ts i…
ianmacartney Jul 17, 2025
8dd591d
default to less permissive ctx types that are more compatible with Wo…
ianmacartney Jul 22, 2025
84a4639
Fix typo in error message (cursor → Cursor)
Nicolapps Jul 28, 2025
8759f65
0.0.32
ianmacartney Jul 29, 2025
b0b047c
Add Copilot instructions
berkay-digital Aug 9, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
139 changes: 139 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
name: CI

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: ${{ matrix.project }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
include:
- project: create-convex
- project: template-astro
use_bun: true
- project: template-bare
- project: template-component
- project: template-component/example
- project: template-nextjs
deploy_key: GENERATE_TEMPLATE_NEXTJS_DEPLOY_KEY
- project: template-nextjs-clerk
deploy_key: GENERATE_TEMPLATE_NEXTJS_DEPLOY_KEY
- project: template-nextjs-clerk-shadcn
- project: template-nextjs-convexauth
deploy_key: GENERATE_TEMPLATE_NEXTJS_DEPLOY_KEY
- project: template-nextjs-convexauth-shadcn
deploy_key: GENERATE_TEMPLATE_NEXTJS_DEPLOY_KEY
- project: template-nextjs-lucia-shadcn
- project: template-nextjs-shadcn
deploy_key: GENERATE_TEMPLATE_NEXTJS_DEPLOY_KEY
- project: template-react-vite
deploy_key: GENERATE_TEMPLATE_REACT_VITE_DEPLOY_KEY
- project: template-react-vite-clerk
deploy_key: GENERATE_TEMPLATE_REACT_VITE_DEPLOY_KEY
- project: template-react-vite-clerk-shadcn
- project: template-react-vite-convexauth
deploy_key: GENERATE_TEMPLATE_REACT_VITE_DEPLOY_KEY
- project: template-react-vite-convexauth-shadcn
deploy_key: GENERATE_TEMPLATE_REACT_VITE_DEPLOY_KEY
- project: template-react-vite-shadcn
deploy_key: GENERATE_TEMPLATE_REACT_VITE_DEPLOY_KEY
- project: template-tanstack-start
- project: template-tanstack-start-clerk

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
submodules: false

- name: Initialize submodule
if: matrix.deploy_key != ''
run: |
mkdir -p ~/.ssh
echo "${{ secrets[matrix.deploy_key] }}" > ~/.ssh/deploy_key
chmod 600 ~/.ssh/deploy_key
git config --global url."[email protected]:".insteadOf "https://github.com/"
GIT_SSH_COMMAND="ssh -i ~/.ssh/deploy_key -o StrictHostKeyChecking=no" git submodule update --init --recursive ${{ matrix.project }}
git config --global --unset url."[email protected]:".insteadOf

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
cache-dependency-path: "${{ matrix.project }}/package.json" # because package-lock.json is sometimes excluded

- name: Build parent project (for the component template)
if: matrix.project == 'template-component/example'
working-directory: template-component
run: |
npm install
npm run build

- name: Install NPM dependencies
if: matrix.use_bun != true
working-directory: ${{ matrix.project }}
run: npm install # using `install` instead of `ci` since package-lock.json is sometimes excluded

- name: Setup Bun
if: matrix.use_bun == true
uses: oven-sh/setup-bun@v1

- name: Install Bun dependencies
if: matrix.use_bun == true
working-directory: ${{ matrix.project }}
run: bun install

- name: Run build (if available)
working-directory: ${{ matrix.project }}
run: |
if jq -e '.scripts.build' package.json > /dev/null; then
npm run build
else
echo "No build script found, skipping"
fi
env:
CONVEX_URL: "https://placeholder.convex.cloud"
NEXT_PUBLIC_CONVEX_URL: "https://placeholder.convex.cloud"
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: "pk_test_JA=="

- name: Run typecheck (if available)
working-directory: ${{ matrix.project }}
run: |
if jq -e '.scripts.typecheck' package.json > /dev/null; then
npm run typecheck
else
echo "No typecheck script found, skipping"
fi

- name: Run lint (if available)
working-directory: ${{ matrix.project }}
run: |
if jq -e '.scripts.lint' package.json > /dev/null; then
npm run lint
else
echo "No lint script found, skipping"
fi

- name: Run tests (if available)
# I would like to run tests but it seems like there is an error in the template-component test running?
if: matrix.project != 'template-component'
working-directory: ${{ matrix.project }}
run: |
if jq -e '.scripts.test' package.json > /dev/null; then
npm run test
else
echo "No test script found, skipping"
fi
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.DS_Store
40 changes: 40 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
[submodule "template-nextjs-shadcn"]
path = template-nextjs-shadcn
url = https://github.com/get-convex/generate-template-nextjs.git
branch = template-nextjs-shadcn
[submodule "template-react-vite-shadcn"]
path = template-react-vite-shadcn
url = https://github.com/get-convex/generate-template-react-vite.git
branch = template-react-vite-shadcn
[submodule "template-react-vite-convexauth-shadcn"]
path = template-react-vite-convexauth-shadcn
url = https://github.com/get-convex/generate-template-react-vite.git
branch = template-react-vite-convexauth-shadcn
[submodule "template-nextjs-convexauth-shadcn"]
path = template-nextjs-convexauth-shadcn
url = https://github.com/get-convex/generate-template-nextjs.git
branch = template-nextjs-convexauth-shadcn
[submodule "template-react-vite"]
path = template-react-vite
url = https://github.com/get-convex/generate-template-react-vite.git
branch = template-react-vite
[submodule "template-react-vite-convexauth"]
path = template-react-vite-convexauth
url = https://github.com/get-convex/generate-template-react-vite.git
branch = template-react-vite-convexauth
[submodule "template-react-vite-clerk"]
path = template-react-vite-clerk
url = https://github.com/get-convex/generate-template-react-vite.git
branch = template-react-vite-clerk
[submodule "template-nextjs"]
path = template-nextjs
url = https://github.com/get-convex/generate-template-nextjs.git
branch = template-nextjs
[submodule "template-nextjs-convexauth"]
path = template-nextjs-convexauth
url = https://github.com/get-convex/generate-template-nextjs.git
branch = template-nextjs-convexauth
[submodule "template-nextjs-clerk"]
path = template-nextjs-clerk
url = https://github.com/get-convex/generate-template-nextjs.git
branch = template-nextjs-clerk
Loading