Skip to content

Commit

Permalink
chore: next merge 2022 09 19 (#482)
Browse files Browse the repository at this point in the history
* fix: typo in T3 axiom #3

* chore: update ci stuff

* docs: write some docs (#323)

* docs: change description and add nexxel's website in package.json

* docs: add faq page

* docs: add tutorials to generated readme

* docs: rename getting started to t3 axioms and add advanced usage

* docs: add me3 in t3 collection

* docs: make p capital

* docs: update contributing guide

* docs: update link to t3 axiom in faq

* docs: fix link to docs in navbar

* docs: update contributing guide, can't add dev script for cli

* docs: dark theme by default

* chore: add some scripts

* docs: add scripts to contributing guide

Co-authored-by: Julius Marminge <[email protected]>

* feat: wrap createContext in helperfunc to make it independent of req/res (#324)

* feat: make createContext independent of req/res

* chore: add changeset

* fix: typo

* fix: missing async

* fix: typo in auth-context.ts (#328)

* chore(release): version packages (#326)

* fix: build fails on trpc, trpc+prisma (#334)

* fix: build fails on trpc, trpc+next

* chore: add changeset

* fix: invalid typeof window comparison to undefined (#335)

* chore(release): version packages (#336)

* feat: make links in docs a contrasting color (#339)

* fix: use auth instead of question while merging the router (#330)

* chore(release): version packages (#341)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore(docs): migrate docs to astro (#340)

* fix: tsconfig include + clean script (#345)

* chore(release): version packages (#347)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* chore: add eol to eslint prettier (#351)

* chore: update ci

* docs: add new landing page (#350)

* docs: write tailwind section in Why page (#349)

* docs: write why tailwind

Based on their landing page, theo's stream & this tweet from the creator
https://twitter.com/adamwathan/status/1560749403131895808

* docs: break tw Why in paragraphs, add zen-mode

* docs: typos

* docs: add "and unique" to the building blocks section of tailwind's why

Just a bit of a banter for all who thinks it compares to finished design systems

Co-authored-by: Julius Marminge <[email protected]>

Co-authored-by: Shoubhit Dash <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

* chore: update ci

* feat: updated docker instructions (#333)

* docs: Begin migration to Tailwind (#359)

* feat: add loggers during dev (#353)

* feat: more updated docker instructions (#354)

* feat: add links to next.config.mjs

* fix: whitespace

* feat: relative path links in readme

* fix: link in readme

Co-authored-by: Julius Marminge <[email protected]>

* chore(release): version packages (#360)

* chore: Sort `package.json` when in `noInstallMode` (#357)

* docs: Fix Mobile Menu, Light Mode Updated, Copy to Clipboard Fixed (#363)

* fix: revert prisma client teardown (#365)

* chore(release): version packages (#361)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* feat: add wrapper for `unstable_getServerSession` (#366)

* fix(www): build errors and CI improvements (#367)

* fix(www): build errors and CI improvements

* chore: add  dep

* chore: add  dep

* fix: deps

* chore: deps

* chore: deps & ts

* fix: interface props and rip preact

* chore: revamp

* chore: more icons

* chore: rip preact

* chore: lock

* chore: esm?

* fix: typedefs for env

* chore: fixes?

* fix: silence ts-errors for now

* fix: version and env + refactor file structure (#370)

* chore(release): version packages (#369)

* fix: throw error on missing snowpack github token (#373)

* fix: throw error on missing snowpack github token

* feat: don't use default value for snowpack github token

* fix: astro build (#372)

* fix: astro build

* chore: rename components (part 1)

* chore: rename components (part 2)

* chore: update component import filenames

* feat: allow pascalCase in .eslintrc

Co-authored-by: Julius Marminge <[email protected]>

* feat: add continue and overwrite option on existing dir (#375)

* feat: add abort/clear/overwrite options on existing dir

* chore: add changeset

* feat: add 'recommended' to 'Abort installation'

* feat: add confirmation before overwriting existing dir

* docs: update styling + add environment variables page (#376)

* docs: fix styling on footer, contributions, features, update nextauth image, add env var page

* fix: format

* fix: styling on markdown to be flex

* fix: right sidebar alignment

Co-authored-by: Julius Marminge <[email protected]>

* chore: ci caching etc (#374)

* feat: all technology cards in all templates (#381)

* feat: include all cards on all index.tsx files

* chore: add changeset

Co-authored-by: Julius Marminge <[email protected]>

* docs: improve docker instuctions (#384)

* feat: updated UI design of landing page (#385)

* feat: landing page design update

- Added workspaces to package.json & updated design of the landing page

* fix: fixed UI updates

- removed workspaces from package.json
- updated Astro version to 1.1.2
- fixed margins on stack blocks

* fix: fixed pnpm lock

* feat: safeguards for git repos (#383)

* chore: fix scripts

* feat: add safeguards for git repos

* fix: logging name

* fix: spinner

* chore: changeset

* docs: add tailwind, prisma, nextauth (#382)

* feat: styling on index.tsx without tailwind (#388)

* feat: non-tw index.tsx with styling

* chore: add changeset

* feat: remove index.module.css in tailwind installer

* fix: remove unused import

* refactor: move stuff around (#391)

* chore(ci): matrix e2e test (#392)

* chore(ci): fix typo in index.ts (#393)

seperated -> separated

* refactor: easier to understand client env warning (#394)

* chore(release): version packages (#377)

* chore: git script

* feat: forward pass trpc headers during ssr (#396)

* docs: update tRPC v10 docs link again (#403)

# Update tRPC v10 docs link again

- [x] I reviewed linter warnings + errors, resolved formatting, types and other issues related to my work
- [x] The PR title follows the convention we established [conventional-commit](https://www.conventionalcommits.org/en/v1.0.0/)
- [ ] I performed a functional test on my final commit

---

The `alpha.` site now redirects to the main site, which by default is the 9.x docs (try in incognito/private window), this change makes it go to the v10 docs

---

💯

* refactor: move createProtectedRouter to auth-context.ts (#395)

* fix: docker guide doesn't work with prisma (#399)

* chore(release): version packages (#400)

* feat: add basic i18n configuration in next.config (#387)

* chore(release): version packages (#408)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: gitignore

* docs: add typescript, nextjs, remove old style tags (#411)

* docs: remove all remaining style tags

* docs: fix more menu, add nextjs

* docs: add typescript

* docs: style algolia search, add powered by vercel

* docs: custom scrollbar, text selection

* docs: update typescript

* docs: fix algolia styling on landing page

* fix: typo, move quote up

* docs: move quote above what is typescript

* fix: quote light mode styling

* fix: remove unnecessary singlequote in tailwind classname (#419)

* fix: Remove unnecessary singlequote

* Create strong-spoons-obey.md

Co-authored-by: Shoubhit Dash <[email protected]>

* docs: minor improvements (#420)

* docs: added spacing to headers in left sidebar

* fix: "On this page" text style in light mode

* docs: fixed inconsistency with "More" text styling

* fix: removed scroll behavior when theme was toggled

* docs: added sticky sidebars

Co-authored-by: Shoubhit Dash <[email protected]>

* chore(release): version packages (#421)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix(template): missing ctx when using ssr with trpc (#416)

* feat: error handler for trpc (#413)

* docs: Flesh out learning resource section of FAQ (#425)

* feat: direct developer to add schema from .env to schema.mjs for zod validation (#430)

* chore(release): version packages (#423)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* fix: contributor avatar layout (#433)

* feat: add prettier-plugin-astro to .prettierrc (#434)

Co-authored-by: Julius Marminge <[email protected]>

* fix(ui): copy btn + lighthouse ci (#437)

* fix(ui): copy btn

* chore(ci): adds lighthouse to ci

* fix: script

* fix: ci

* fix: script

* fix: hardcode url?

* fix: script

* fix: script

* chore: update installation.md

* fix: regex matcher

* fix: get preview url (#438)

* fix: get preview url

* chore: v3

* fix: get url script

* fix: invalid script

* fix: script

* fix: script

* Update lighthouse.yml

* Update lighthouse.yml

* chore(www): ui contrasts + disable lightmode (#439)

* chore(www): ui contrasts

* chore: seo

* chore: seo

* chore: disable lightmode

* chore: rip theme

* feat: cursor-pointer on theme toggle button (#435)

* feat: cursor-pointer on theme toggle button

* feat: use clsx for button classes

Co-authored-by: Shoubhit Dash <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>

* don't make lighthouse comment if vercel_url not found

* docs: clear helper types description (#441)

* feat: added light mode back (#443)

* feat: better cli text when scaffolding in '.' (#446)

* feat: better cli text when scaffolding in '.'

* chore: add changeset

* feat(docs): refined instructions for contributing (#452)

* chore(release): version packages (#451)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* refactor(docs): major refactor and configure theme (#447)

* refactor: themetogglebutton

* chore: prepare design system color scheme

* refactor: default theme and dont shadow

* chore: add some colors atleast

* fix: linter

* chore: swap base

* chore: delete index.css

* refactor: simplify

* chore: remove unused

* chore: more unused removed

* fix: use correct button text color on website banner (#450)

* chore: remove comment

* chore: that's no longer needed

* refactor: using path instead of passing prop

* fix: bug

* chore: version bumps

* chore: apply #449

* fix: css fixes and brought back the SidebarToggle functionality (#453)

* fix: remove unnecessary underlines in components on landing page (#455)

* chore: styling changes on docs (#448)

* fix: round t3 logo on website and docs (#456)

* fix: fix theme flashing

* chore: force light

* chore: might as well inline that

Co-authored-by: Tim <[email protected]>
Co-authored-by: Gabriel De Andrade <[email protected]>

* fix: astro build (#458)

* fix: some ui (#459)

* fix: ui improvements (#460)

* fix: add astro formatting to .lintstagedrc (#463) (#464)

* docs: write Prisma section in Why page (#402)

* refactor(blog): rework blog ui and improve scrolling behavior (#465)

* refactor: rename layout and use mdx (#466)

* refactor: rename layout and use mdx

* refactor: revert mdx, why no work astro???

* refactor(format): astro config

* fix: docs right sidebar overlaying content (#467)

* feat(docs): minor tweaks and improvements (#469)

* feat(docs): add heading in env variables

* feat(docs): add usage with prisma section (unfinished)

* feat(docs): add nextjs discord link

* feat(docs): add tailwind usage sections and discord link

* feat(docs): fix video layout and add link to handbook

* feat(footer): remove t3 logo and navigations links from footer

* feat(docs): add next auth content in why page

* feat(docs): add command to install next version

* fix: trpc v10 docs link

* fix(t3-collection): add s after julius'

* feat(docs): make docker guide consistent with the rest of the docs

* feat(docs): add missing fullstop in vercel guide

* feat(sidebar): vercel first, docker second

* feat(footer): add vercel logo, remove ct3a logo

* fix: apply and use theme colors on landing page and algolia (#462)

* fix: apply and use theme colors on landing page and algolia

* fix: use correct color in algolia search box

* fix: faq link in footer

* feat: switch primary font to Inter

* feat: improve theme test page

* feat: improve docs sidebar

* feat: make algolia search respect theme preferences

* fix: visually improve quote from Theo

* fix: change color-base to color-default to prevent overlap with tailwind

* feat: make footer background transparent on landing page

* fix: contrast of left nav links in light mode

* feat: add documentation button animation

* fix: make footer always transparent

* fix: sidebar

* fix: left sidebar z-index

Co-authored-by: Julius Marminge <[email protected]>

* fix(ci): graceful cancel?

* fix(ci): graceful cancel 2?

* fix(ci): graceful cancel 3?

* fix(ci): graceful cancel 4?

* fix(ci): graceful cancel 5?

* refactor: docs and landing page layouts (#475)

* refactor: docs and landing page layouts

* fix: docs page heading links

* refactor: docs table of contents

* feat: add gitpod support (#471)

* feat: add gitpod.yml

* refactor: remove gitpod prebuilds for now

Co-authored-by: Shoubhit Dash <[email protected]>

* create CODEOWNERS

* Update CODEOWNERS

* Update CODEOWNERS

* docs: added portfolio to OSS links (#478)

* chore: bump to v10 beta

* fix: bad merge 1

* fix: bad merge 2

* chore: check build

Co-authored-by: Shoubhit Dash <[email protected]>
Co-authored-by: Omer Shahar <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Christopher Ehrlich <[email protected]>
Co-authored-by: Julian Read <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kroucher <[email protected]>
Co-authored-by: Igor Bedesqui <[email protected]>
Co-authored-by: Gejsi <[email protected]>
Co-authored-by: Peter Colapietro <[email protected]>
Co-authored-by: Kyuu <[email protected]>
Co-authored-by: Piotr <[email protected]>
Co-authored-by: Ikko Ashimine <[email protected]>
Co-authored-by: nadilas <[email protected]>
Co-authored-by: Roy Henriquez <[email protected]>
Co-authored-by: Samuel Gunter <[email protected]>
Co-authored-by: Pearcekieser <[email protected]>
Co-authored-by: Manuel Amaro Valle <[email protected]>
Co-authored-by: Sor4chi <[email protected]>
Co-authored-by: Mike Fitzgerald <[email protected]>
Co-authored-by: ted-pulsen <[email protected]>
Co-authored-by: Anthony Campolo <[email protected]>
Co-authored-by: Benjamin Margolius <[email protected]>
Co-authored-by: Gabriel De Andrade <[email protected]>
Co-authored-by: Tim <[email protected]>
Co-authored-by: Hans Gabriel B. Daduya <[email protected]>
Co-authored-by: Josh Hyde <[email protected]>
  • Loading branch information
1 parent 4e87565 commit 512b7a7
Show file tree
Hide file tree
Showing 66 changed files with 2,728 additions and 985 deletions.
4 changes: 4 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners


* @juliusmarminge @nexxeln @TheoBr
92 changes: 92 additions & 0 deletions .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
name: Vercel Preview URL Lighthouse Audit

on:
issue_comment:
types: [created, edited]

jobs:
generate_lighthouse_audit:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Get Vercel preview URL
id: get_preview_url
uses: actions/github-script@v3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const comment = context.payload.comment;
const regex = /https:\/\/[a-z0-9-]+\.vercel\.app/g;
const matches = comment.body.match(regex);
let previewUrl = "";
if (matches && matches.length) {
previewUrl = matches[0];
console.log('Preview url found:', previewUrl);
}
console.log("No preview url found.");
core.setOutput('vercel_preview_url', previewUrl);
- name: Add comment to PR
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
id: loading_comment_to_pr
uses: marocchino/sticky-pull-request-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}
header: lighthouse
message: |
Running Lighthouse audit...
- name: Checkout repository
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
uses: actions/checkout@v3

- name: Audit preview URL with Lighthouse
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
id: lighthouse_audit
uses: treosh/lighthouse-ci-action@v3
with:
urls: |
${{ steps.get_preview_url.outputs.vercel_preview_url }}
uploadArtifacts: true
temporaryPublicStorage: true
- name: Format lighthouse score
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
id: format_lighthouse_score
uses: actions/github-script@v3
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const result = ${{ steps.lighthouse_audit.outputs.manifest }}[0].summary
const links = ${{ steps.lighthouse_audit.outputs.links }}
const formatResult = (res) => Math.round((res * 100))
Object.keys(result).forEach(key => result[key] = formatResult(result[key]))
const score = res => res >= 90 ? '🟢' : res >= 50 ? '🟠' : '🔴'
const comment = [
`⚡️ [Lighthouse report](${Object.values(links)[0]}) for the changes in this PR:`,
'| Category | Score |',
'| --- | --- |',
`| ${score(result.performance)} Performance | ${result.performance} |`,
`| ${score(result.accessibility)} Accessibility | ${result.accessibility} |`,
`| ${score(result['best-practices'])} Best practices | ${result['best-practices']} |`,
`| ${score(result.seo)} SEO | ${result.seo} |`,
`| ${score(result.pwa)} PWA | ${result.pwa} |`,
' ',
`*Lighthouse ran on [${Object.keys(links)[0]}](${Object.keys(links)[0]})*`
].join('\n')
core.setOutput("comment", comment);
- name: Add comment to PR
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
id: comment_to_pr
uses: marocchino/sticky-pull-request-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
number: ${{ github.event.issue.number }}
header: lighthouse
message: |
${{ steps.format_lighthouse_score.outputs.comment }}
6 changes: 6 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
tasks:
- init: pnpm install
vscode:
extensions:
- astro-build.astro-vscode
- bradlc.vscode-tailwindcss
3 changes: 3 additions & 0 deletions .lintstagedrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@
],
"*.{json,md,mdx}": [
"prettier --write"
],
"www/**/*.astro": [
"prettier --write"
]
}
7 changes: 5 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,8 @@
"jsxSingleQuote": false,
"semi": true,
"trailingComma": "all",
"tabWidth": 2
}
"tabWidth": 2,
"plugins": [
"prettier-plugin-astro"
]
}
8 changes: 6 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ pnpm install

### Implement your changes

This project is a [Turborepo](https://turborepo.org/) monorepo. The code for the CLI is in the `cli` directory, and the docs is in the `www` directory. Now you're all setup and can start implementing your changes.
This project is a [Turborepo](https://turborepo.org/) monorepo. The code for the CLI is in the `cli` directory, and the docs is in the `www` directory. This project is a [Turborepo](https://turborepo.org/) monorepo. The code for the CLI is in the `cli` directory, and the docs is in the `www` directory. Now you're all setup and can start implementing your changes.

Here are some useful scripts for when you are developing:

Expand All @@ -57,7 +57,11 @@ Here are some useful scripts for when you are developing:
| `pnpm lint:fix` | Lints the code and fixes any errors |
| `pnpm check` | Checks your code for typeerrors, formatting and linting |

When making commits, make sure to follow the [convential commit](https://www.conventionalcommits.org/en/v1.0.0/) guidelines, i.e. prepending the message with `feat:`, `fix:`, `chore:`, `docs:`, etc...
When making commits, make sure to follow the [convential commit](https://www.conventionalcommits.org/en/v1.0.0/) guidelines, i.e. prepending the message with `feat:`, `fix:`, `chore:`, `docs:`, etc... You can use `git status` to double check which files have not yet been staged for commit:

```bash
git add <file> && git commit -m "feat/fix/chore/docs: commit message"
```

### When you're done

Expand Down
22 changes: 22 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# Changelog

## 5.12.0

### Minor Changes

- [#446](https://github.com/t3-oss/create-t3-app/pull/446) [`6f63ec6`](https://github.com/t3-oss/create-t3-app/commit/6f63ec65201a077e534ec89c4ef18bfa07a30331) Thanks [@c-ehrlich](https://github.com/c-ehrlich)! - feat: better cli text when scaffolding in '.'

## 5.11.0

### Minor Changes

- [#430](https://github.com/t3-oss/create-t3-app/pull/430) [`306777a`](https://github.com/t3-oss/create-t3-app/commit/306777a5513c365dfb3525c1484459236734a289) Thanks [@benmarg](https://github.com/benmarg)! - feat: direct developer to add schema from .env to schema.mjs for zod validation

### Patch Changes

- [#416](https://github.com/t3-oss/create-t3-app/pull/416) [`14b6d4a`](https://github.com/t3-oss/create-t3-app/commit/14b6d4a0764f57ece45749724c5b12a85544733e) Thanks [@xpressivecode](https://github.com/xpressivecode)! - fix(template): missing ctx when using ssr with trpc

## 5.10.3

### Patch Changes

- [#419](https://github.com/t3-oss/create-t3-app/pull/419) [`554de8f`](https://github.com/t3-oss/create-t3-app/commit/554de8f2838a8d539d81bcb520f121a7e14e3c84) Thanks [@sor4chi](https://github.com/sor4chi)! - Remove unnecessary singlequote in tailwind classname

## 5.10.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-t3-app",
"version": "5.10.2",
"version": "5.12.0",
"description": "Create web application with the t3 stack",
"license": "MIT",
"repository": {
Expand Down
12 changes: 8 additions & 4 deletions cli/src/installers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,14 @@ export const dependencyVersionMap = {
postcss: "^8.4.14",

// tRPC
"@trpc/client": "10.0.0-proxy-alpha.70",
"@trpc/server": "10.0.0-proxy-alpha.70",
"@trpc/react": "10.0.0-proxy-alpha.70",
"@trpc/next": "10.0.0-proxy-alpha.70",
"@trpc/client": "10.0.0-proxy-alpha.81",
"@trpc/server": "10.0.0-proxy-alpha.81",
"@trpc/react": "10.0.0-proxy-alpha.81",
"@trpc/next": "10.0.0-proxy-alpha.81",
// "@trpc/client": "10.0.0-beta.1",
// "@trpc/server": "10.0.0-beta.1",
// "@trpc/react": "10.0.0-beta.1",
// "@trpc/next": "10.0.0-beta.1",
"@tanstack/react-query": "^4.2.3",
superjson: "^1.9.1",
} as const;
Expand Down
1 change: 1 addition & 0 deletions cli/template/addons/env/auth-schema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { z } from "zod";
* This way you can ensure the app isn't built with invalid env vars.
*/
export const serverSchema = z.object({
NODE_ENV: z.enum(["development", "test", "production"]),
NEXTAUTH_SECRET: z.string(),
NEXTAUTH_URL: z.string().url(),
DISCORD_CLIENT_ID: z.string(),
Expand Down
1 change: 1 addition & 0 deletions cli/template/base/.env-example
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Note that not all variables here might be in use for your selected configuration
# When adding additional env variables, the schema in /env/schema.mjs should be updated accordingly

# Prisma
DATABASE_URL=file:./db.sqlite
Expand Down
9 changes: 8 additions & 1 deletion cli/template/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,14 @@ If you are not familiar with the different technologies used in this project, pl
- [Next-Auth.js](https://next-auth.js.org)
- [Prisma](https://prisma.io)
- [TailwindCSS](https://tailwindcss.com)
- [tRPC](https://trpc.io) (using @next version? [see v10 docs here](https://alpha.trpc.io))
- [tRPC](https://trpc.io) (using @next version? [see v10 docs here](https://trpc.io/docs/v10/))

Also checkout these awesome tutorials on `create-t3-app`.

- [Build a Blog With the T3 Stack - tRPC, TypeScript, Next.js, Prisma & Zod](https://www.youtube.com/watch?v=syEWlxVFUrY)
- [Build a Live Chat Application with the T3 Stack - TypeScript, Tailwind, tRPC](https://www.youtube.com/watch?v=dXRRY37MPuk)
- [Build a full stack app with create-t3-app](https://www.nexxel.dev/blog/ct3a-guestbook)
- [A first look at create-t3-app](https://dev.to/ajcwebdev/a-first-look-at-create-t3-app-1i8f)

Also checkout these awesome tutorials on `create-t3-app`.

Expand Down
2 changes: 1 addition & 1 deletion cli/template/base/src/env/schema.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { z } from "zod";
* This way you can ensure the app isn't built with invalid env vars.
*/
export const serverSchema = z.object({
// SERVERVAR: z.string(),
NODE_ENV: z.enum(["development", "test", "production"]),
});

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"eslint": "^8.22.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-turbo": "^0.0.3",
"eslint-plugin-astro": "^0.17.1",
"eslint-plugin-astro": "^0.19.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.0",
Expand Down
Loading

0 comments on commit 512b7a7

Please sign in to comment.