Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: next-merge + trpc bump #494

Merged
merged 126 commits into from
Sep 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
f436382
fix: typo in T3 axiom #3
nexxeln Aug 16, 2022
9ad9bd7
chore: update ci stuff
juliusmarminge Aug 16, 2022
3a74fd9
Merge branch 'main' of https://github.com/t3-oss/create-t3-app
juliusmarminge Aug 16, 2022
86fd3d6
docs: write some docs (#323)
nexxeln Aug 17, 2022
fb5498c
feat: wrap createContext in helperfunc to make it independent of req/…
juliusmarminge Aug 17, 2022
6e656ea
fix: typo in auth-context.ts (#328)
Omer-Shahar Aug 18, 2022
45e405a
chore(release): version packages (#326)
github-actions[bot] Aug 18, 2022
a107f14
fix: build fails on trpc, trpc+prisma (#334)
c-ehrlich Aug 19, 2022
5745ad7
fix: invalid typeof window comparison to undefined (#335)
julianread Aug 19, 2022
db62b3e
chore(release): version packages (#336)
github-actions[bot] Aug 19, 2022
fabcb4d
feat: make links in docs a contrasting color (#339)
c-ehrlich Aug 20, 2022
5ba03fd
fix: use auth instead of question while merging the router (#330)
nexxeln Aug 21, 2022
9936bd8
chore(release): version packages (#341)
github-actions[bot] Aug 22, 2022
a8a2fd8
chore(docs): migrate docs to astro (#340)
nexxeln Aug 22, 2022
8ee2ea0
fix: tsconfig include + clean script (#345)
juliusmarminge Aug 23, 2022
de8cc44
chore(release): version packages (#347)
github-actions[bot] Aug 23, 2022
f1174f9
chore: add eol to eslint prettier (#351)
juliusmarminge Aug 25, 2022
0c336a9
chore: update ci
juliusmarminge Aug 25, 2022
b5ef550
docs: add new landing page (#350)
kroucher Aug 25, 2022
cdb6ad6
docs: write tailwind section in Why page (#349)
bdsqqq Aug 26, 2022
ccdcaf0
chore: update ci
juliusmarminge Aug 26, 2022
74b5982
feat: updated docker instructions (#333)
c-ehrlich Aug 26, 2022
c039ddb
docs: Begin migration to Tailwind (#359)
kroucher Aug 27, 2022
7a20de9
feat: add loggers during dev (#353)
Gejsi Aug 27, 2022
946f8cf
feat: more updated docker instructions (#354)
c-ehrlich Aug 27, 2022
63b10ab
chore(release): version packages (#360)
github-actions[bot] Aug 27, 2022
b032074
chore: Sort `package.json` when in `noInstallMode` (#357)
virtuoushub Aug 27, 2022
844eaf8
docs: Fix Mobile Menu, Light Mode Updated, Copy to Clipboard Fixed (#…
kroucher Aug 28, 2022
b3ce004
fix: revert prisma client teardown (#365)
juliusmarminge Aug 28, 2022
f5cb815
chore(release): version packages (#361)
github-actions[bot] Aug 28, 2022
1f43f83
feat: add wrapper for `unstable_getServerSession` (#366)
juliusmarminge Aug 29, 2022
e34e544
fix(www): build errors and CI improvements (#367)
juliusmarminge Aug 29, 2022
3986b45
fix: version and env + refactor file structure (#370)
juliusmarminge Aug 29, 2022
1fbcfe1
chore(release): version packages (#369)
github-actions[bot] Aug 29, 2022
3784ea2
fix: throw error on missing snowpack github token (#373)
c-ehrlich Aug 29, 2022
9fd0b53
fix: astro build (#372)
c-ehrlich Aug 29, 2022
296c79b
feat: add continue and overwrite option on existing dir (#375)
c-ehrlich Aug 30, 2022
08fe3e8
docs: update styling + add environment variables page (#376)
kroucher Aug 30, 2022
1cb7ced
chore: ci caching etc (#374)
juliusmarminge Aug 31, 2022
773b27e
feat: all technology cards in all templates (#381)
c-ehrlich Aug 31, 2022
7ed85d6
docs: improve docker instuctions (#384)
kyuuaria Aug 31, 2022
3ab73b7
feat: updated UI design of landing page (#385)
PiotrekPKP Aug 31, 2022
e05bc3d
feat: safeguards for git repos (#383)
juliusmarminge Sep 1, 2022
2bc89a9
docs: add tailwind, prisma, nextauth (#382)
kroucher Sep 2, 2022
86d053c
feat: styling on index.tsx without tailwind (#388)
c-ehrlich Sep 2, 2022
b2357c9
refactor: move stuff around (#391)
juliusmarminge Sep 2, 2022
852a427
chore(ci): matrix e2e test (#392)
juliusmarminge Sep 3, 2022
38e9af5
chore(ci): fix typo in index.ts (#393)
eltociear Sep 3, 2022
52e9db7
refactor: easier to understand client env warning (#394)
nadilas Sep 3, 2022
a293aee
chore(release): version packages (#377)
github-actions[bot] Sep 3, 2022
6306473
chore: git script
juliusmarminge Sep 4, 2022
30f3db6
feat: forward pass trpc headers during ssr (#396)
rhenriquez28 Sep 5, 2022
ec109fe
docs: update tRPC v10 docs link again (#403)
Samathingamajig Sep 6, 2022
962768a
refactor: move createProtectedRouter to auth-context.ts (#395)
Pearcekieser Sep 6, 2022
23458b8
fix: docker guide doesn't work with prisma (#399)
c-ehrlich Sep 6, 2022
e8561d3
chore(release): version packages (#400)
github-actions[bot] Sep 6, 2022
0f8f59c
feat: add basic i18n configuration in next.config (#387)
Vallerem Sep 8, 2022
01183fb
chore(release): version packages (#408)
github-actions[bot] Sep 8, 2022
ff64216
fix: gitignore
juliusmarminge Sep 8, 2022
2b14518
docs: add typescript, nextjs, remove old style tags (#411)
kroucher Sep 10, 2022
554de8f
fix: remove unnecessary singlequote in tailwind classname (#419)
sor4chi Sep 10, 2022
12d2225
docs: minor improvements (#420)
rhenriquez28 Sep 10, 2022
af3bdc2
chore(release): version packages (#421)
github-actions[bot] Sep 10, 2022
14b6d4a
fix(template): missing ctx when using ssr with trpc (#416)
xpressivecode Sep 11, 2022
36c3f2b
feat: error handler for trpc (#413)
ted-pulsen Sep 11, 2022
4416a09
docs: Flesh out learning resource section of FAQ (#425)
ajcwebdev Sep 12, 2022
306777a
feat: direct developer to add schema from .env to schema.mjs for zod …
benmarg Sep 12, 2022
6da0b1e
chore(release): version packages (#423)
github-actions[bot] Sep 13, 2022
ded8c7c
fix: contributor avatar layout (#433)
c-ehrlich Sep 13, 2022
4675cb6
feat: add prettier-plugin-astro to .prettierrc (#434)
c-ehrlich Sep 13, 2022
0ed4b88
fix(ui): copy btn + lighthouse ci (#437)
juliusmarminge Sep 13, 2022
507ad82
fix: regex matcher
juliusmarminge Sep 13, 2022
fbae7d7
fix: get preview url (#438)
juliusmarminge Sep 13, 2022
927efbb
fix: get url script
juliusmarminge Sep 13, 2022
aa56eab
chore: merge main
juliusmarminge Sep 13, 2022
73ab069
fix: invalid script
juliusmarminge Sep 13, 2022
ab5e0e1
fix: script
juliusmarminge Sep 13, 2022
f40142f
fix: script
juliusmarminge Sep 13, 2022
a5cd010
Update lighthouse.yml
juliusmarminge Sep 13, 2022
9f8c947
Update lighthouse.yml
juliusmarminge Sep 13, 2022
04b1a9c
chore(www): ui contrasts + disable lightmode (#439)
juliusmarminge Sep 13, 2022
c91d492
feat: cursor-pointer on theme toggle button (#435)
c-ehrlich Sep 14, 2022
75f6a77
don't make lighthouse comment if vercel_url not found
juliusmarminge Sep 14, 2022
6c4ba5a
docs: clear helper types description (#441)
c-ehrlich Sep 14, 2022
07a7fee
feat: added light mode back (#443)
gabrielelpidio Sep 15, 2022
6f63ec6
feat: better cli text when scaffolding in '.' (#446)
c-ehrlich Sep 15, 2022
bbd5f27
feat(docs): refined instructions for contributing (#452)
benmarg Sep 16, 2022
ee27f73
chore(release): version packages (#451)
github-actions[bot] Sep 16, 2022
1d8e059
refactor(docs): major refactor and configure theme (#447)
juliusmarminge Sep 16, 2022
4236220
fix: astro build (#458)
c-ehrlich Sep 16, 2022
b8a3c93
fix: some ui (#459)
juliusmarminge Sep 17, 2022
a64d6c3
fix: ui improvements (#460)
Coyenn Sep 17, 2022
c9cda8d
fix: add astro formatting to .lintstagedrc (#463) (#464)
HansGabriel Sep 18, 2022
d8854d2
docs: write Prisma section in Why page (#402)
bdsqqq Sep 18, 2022
afd6b4c
refactor(blog): rework blog ui and improve scrolling behavior (#465)
gabrielelpidio Sep 18, 2022
a17ed15
refactor: rename layout and use mdx (#466)
juliusmarminge Sep 18, 2022
90c44ac
fix: docs right sidebar overlaying content (#467)
c-ehrlich Sep 18, 2022
211b935
feat(docs): minor tweaks and improvements (#469)
nexxeln Sep 18, 2022
c94196f
fix: apply and use theme colors on landing page and algolia (#462)
Coyenn Sep 18, 2022
11d9f6f
fix(ci): graceful cancel?
juliusmarminge Sep 18, 2022
e20bcaa
fix(ci): graceful cancel 2?
juliusmarminge Sep 18, 2022
44331d6
fix(ci): graceful cancel 3?
juliusmarminge Sep 18, 2022
0fd0eb5
fix(ci): graceful cancel 4?
juliusmarminge Sep 18, 2022
7f2ee74
fix(ci): graceful cancel 5?
juliusmarminge Sep 18, 2022
850da3d
refactor: docs and landing page layouts (#475)
Coyenn Sep 18, 2022
f4ba53d
feat: add gitpod support (#471)
Coyenn Sep 18, 2022
10ebdda
create CODEOWNERS
juliusmarminge Sep 18, 2022
951db41
Update CODEOWNERS
juliusmarminge Sep 18, 2022
a46be8a
Update CODEOWNERS
juliusmarminge Sep 18, 2022
16b31c3
docs: added portfolio to OSS links (#478)
JoshHyde9 Sep 18, 2022
3fd2538
refactor: de-react-ify (#476)
juliusmarminge Sep 19, 2022
ecc7642
fix(template): bump next to 12.3.1 and fix AppType (#485)
nexxeln Sep 20, 2022
1355af5
chore: nuke commitlint (#479)
juliusmarminge Sep 20, 2022
8dd6337
chore(release): version packages (#486)
github-actions[bot] Sep 20, 2022
9f9f331
chore: update docs to trpc beta
juliusmarminge Sep 20, 2022
9cc2e24
chore: move it down
juliusmarminge Sep 20, 2022
5335794
refactor: various landing page components (#477)
Coyenn Sep 20, 2022
3a055f3
feat(docs): pull tweets (#488)
juliusmarminge Sep 20, 2022
88cc76d
chore(docs): add tweet
juliusmarminge Sep 20, 2022
d8c27cd
chore(docs): some improvements to landing (#489)
juliusmarminge Sep 21, 2022
dc10800
Merge branch 'main' into next-merge-2022-09-21
juliusmarminge Sep 21, 2022
2c0a7a4
fix lint
juliusmarminge Sep 21, 2022
d4f0c81
update to beta.2 and next 12.3.1
juliusmarminge Sep 21, 2022
00770ee
update lock
juliusmarminge Sep 21, 2022
27f6a98
remove unused from bad merge
juliusmarminge Sep 21, 2022
807c3e7
more unused
juliusmarminge Sep 21, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

12 changes: 0 additions & 12 deletions .lintstagedrc

This file was deleted.

2 changes: 1 addition & 1 deletion 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. 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. Now you're all setup and can start implementing your changes.

Here are some useful scripts for when you are developing:

Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,6 @@ yarn create t3-app
pnpm dlx create-t3-app@latest
```

If you prefer using the [experimental v10 version of tRPC](https://trpc.io/docs/v10/), use `create-t3-app@next`. Note that the alpha versions of tRPC that it uses may contain API changes. We will try our best to keep on top of these, please file an issue if we have missed something.

An ongoing development branch, `create-t3-app@beta`, can be downloaded for the most recent changes. Expect bugs when using the `beta` branch and please open issues with reproductions when they occur.

<h2 id="community">Community</h2>

For help, discussion about best practices, or any other conversation that would benefit create-t3-app:
Expand All @@ -106,13 +102,13 @@ The following CLI options and flags can configure the create command with custom
| `-y`, `--default` | Bypass the CLI and use all default options to bootstrap a new t3-app |
| `--noInstall` | Generate project without installing dependencies |

To use the beta version of `create-t3-app`:
To use the beta version of `create-t3-app` (published continuously after merged PRs):

```bash
npx create-t3-app@beta
```

To scaffold the project using tRPC v10 (experimental):
If you prefer using the [v10 beta version of tRPC](https://trpc.io/docs/v10/), use `create-t3-app@next`:

```bash
npx create-t3-app@next
Expand Down
6 changes: 6 additions & 0 deletions cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 5.13.0

### Minor Changes

- [#485](https://github.com/t3-oss/create-t3-app/pull/485) [`ecc7642`](https://github.com/t3-oss/create-t3-app/commit/ecc764264eff0cf5062fee4f7e4bd9f75975ef41) Thanks [@nexxeln](https://github.com/nexxeln)! - bump next to 12.3.1 and fix AppType

## 5.12.0

### Minor 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.12.0",
"version": "5.13.0",
"description": "Create web application with the t3 stack",
"license": "MIT",
"repository": {
Expand Down
12 changes: 6 additions & 6 deletions cli/src/installers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ export const dependencyVersionMap = {
postcss: "^8.4.14",

// tRPC
"@trpc/client": "10.0.0-proxy-beta.0",
"@trpc/server": "10.0.0-proxy-beta.0",
"@trpc/react": "10.0.0-proxy-beta.0",
"@trpc/next": "10.0.0-proxy-beta.0",
"@tanstack/react-query": "^4.2.3",
superjson: "^1.9.1",
"@trpc/client": "10.0.0-proxy-beta.2",
"@trpc/server": "10.0.0-proxy-beta.2",
"@trpc/react": "10.0.0-proxy-beta.2",
"@trpc/next": "10.0.0-proxy-beta.2",
"@tanstack/react-query": "^4.3.9",
superjson: "1.9.1",
} as const;
export type AvailableDependencies = keyof typeof dependencyVersionMap;

Expand Down
7 changes: 0 additions & 7 deletions cli/template/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ Also checkout these awesome tutorials on `create-t3-app`.
- [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`.

- [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)

## How do I deploy this?

### Vercel
Expand Down
4 changes: 2 additions & 2 deletions cli/template/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"lint": "next lint"
},
"dependencies": {
"next": "12.2.5",
"next": "12.3.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"zod": "^3.18.0"
Expand All @@ -21,7 +21,7 @@
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint": "8.22.0",
"eslint-config-next": "12.2.5",
"eslint-config-next": "12.3.1",
"typescript": "4.7.4"
}
}
10 changes: 7 additions & 3 deletions cli/template/page-studs/_app/with-auth-trpc.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
// src/pages/_app.tsx
import "../styles/globals.css";
import { SessionProvider } from "next-auth/react";
import type { AppType } from "next/dist/shared/lib/utils";
import type { Session } from "next-auth";
import type { AppType } from "next/app";
import { trpc } from "../utils/trpc";

const MyApp: AppType = ({ Component, pageProps }) => {
const MyApp: AppType<{ session: Session | null }> = ({
Component,
pageProps: { session, ...pageProps },
}) => {
return (
<SessionProvider session={pageProps.session}>
<SessionProvider session={session}>
<Component {...pageProps} />
</SessionProvider>
);
Expand Down
5 changes: 3 additions & 2 deletions cli/template/page-studs/_app/with-auth.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import "../styles/globals.css";
import type { AppType } from "next/dist/shared/lib/utils";
import type { AppType } from "next/app";
import type { Session } from "next-auth";
import { SessionProvider } from "next-auth/react";

const MyApp: AppType = ({
const MyApp: AppType<{ session: Session | null }> = ({
Component,
pageProps: { session, ...pageProps },
}) => {
Expand Down
2 changes: 1 addition & 1 deletion cli/template/page-studs/_app/with-trpc.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// src/pages/_app.tsx
import "../styles/globals.css";
import type { AppType } from "next/dist/shared/lib/utils";
import type { AppType } from "next/app";
import { trpc } from "../utils/trpc";

const MyApp: AppType = ({ Component, pageProps }) => {
Expand Down
21 changes: 0 additions & 21 deletions commitlint.config.cjs

This file was deleted.

5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"format": "prettier --write --plugin-search-dir=. \"**/*.{ts,tsx,md,mdx,json,js,mjs,cjs,astro}\" --ignore-path .gitignore",
"format:check": "prettier --check --plugin-search-dir=. \"**/*.{ts,tsx,md,mdx,json,js,mjs,cjs,astro}\" --ignore-path .gitignore",
"check": "pnpm lint && pnpm format:check && pnpm typecheck",
"prepare": "husky install",
"release": "changeset version",
"pub:beta": "cd cli && pnpm pub:beta",
"pub:next": "cd cli && pnpm pub:next",
Expand All @@ -48,8 +47,6 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.3",
"@commitlint/cli": "^17.0.3",
"@commitlint/config-conventional": "^17.0.3",
"@types/node": "^18.7.13",
"@typescript-eslint/eslint-plugin": "^5.35.1",
"@typescript-eslint/parser": "^5.35.1",
Expand All @@ -62,8 +59,6 @@
"eslint-plugin-react": "^7.31.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-unicorn": "40.1.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"prettier-plugin-astro": "^0.5.3",
"ts-node": "^10.9.1",
Expand Down
Loading