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

refactor: merge monorepo into next #322

Merged
merged 85 commits into from
Aug 16, 2022
Merged
Changes from 1 commit
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
e7c5059
chore(docs): updated readme to contain @next
juliusmarminge Jul 16, 2022
4d7a3d0
refactor: inject curried `runPkgManagerInstall` to package installers…
ochicf Jul 17, 2022
59f8ad4
feat: migrate env + next config to esm (#205)
danielroe Jul 17, 2022
5294902
chore: move lintstaged config into file (#217)
jln13x Jul 18, 2022
7111033
fix: move gitignore rename call (#215)
HaukeSchnau Jul 18, 2022
1fcec81
feat: add trpc inference helpers
juliusmarminge Jul 18, 2022
15ea5f1
fix(#218): lock react-query to v3
juliusmarminge Jul 18, 2022
8228475
chore(release): 5.1.0
juliusmarminge Jul 18, 2022
37b6283
fix: add missing trpc import
juliusmarminge Jul 18, 2022
cf7be5a
chore(release): 5.1.1
juliusmarminge Jul 18, 2022
5737beb
fix: handle pkg with version in noInstall mode (#220)
amyisdev Jul 19, 2022
9390400
fix: typo in readme
juliusmarminge Jul 19, 2022
0604d21
feat: add db.sqlite-journal to gitignore (#221)
c-ehrlich Jul 19, 2022
fc6519f
fix: typo - rename 'varibles' to 'variables' (#223)
c-ehrlich Jul 19, 2022
b6164d8
fix: missing DATABASE_URL (#222)
c-ehrlich Jul 19, 2022
4cd1402
chore(release): 5.2.0
juliusmarminge Jul 19, 2022
97c9e27
fix: update url in auth prisma schema
juliusmarminge Jul 19, 2022
08e30a0
chore(release): 5.2.1
juliusmarminge Jul 19, 2022
d4cf879
feat: add typesafe client side env variables (#209)
nramkissoon Jul 20, 2022
c881f00
fix: title being offset when using yarn/pnpm
juliusmarminge Jul 21, 2022
1cf9e95
chore(release): bump beta version
juliusmarminge Jul 21, 2022
f5368ac
chore: bump Next.js to 12.2.3
juliusmarminge Jul 22, 2022
efd8f7b
chore(release): bump beta version
juliusmarminge Jul 22, 2022
48c6720
feat: improved logo typography (#238)
c-ehrlich Jul 22, 2022
c904930
chore: bump beta version
nexxeln Jul 22, 2022
1be7713
fix: remove semicolon in _app.tsx with next-auth to avoid early return
nexxeln Jul 22, 2022
126aaae
chore: bump beta version
nexxeln Jul 22, 2022
4ad5c93
chore: add protected trpc router example (#194)
bhatvikrant Jul 22, 2022
53094bd
chore: add link to community (#229)
gcavanunez Jul 23, 2022
52c05b7
docs(readme): add usage for beta and next version (#243)
nexxeln Jul 23, 2022
abb0ee1
chore: add js files to format script (#244)
juliusmarminge Jul 23, 2022
b8a5b3b
chore: remove credentials provider (#246)
juliusmarminge Jul 23, 2022
5aa3865
refactor(cli): add module path aliasing (#247)
abui-am Jul 24, 2022
5b97367
feat: updating tailwind and postcss config's to use .cjs (#242)
JohnDaly Jul 24, 2022
2048783
fix: clarify some comments and rename some files in env (#245)
juliusmarminge Jul 24, 2022
451f7c2
chore(release): bump beta version
juliusmarminge Jul 24, 2022
9cb5ebb
fix: added JSDoc type to clientEnv in all env-schema (#240)
Duckapple Jul 25, 2022
cebef68
chore(release): 5.3.0
juliusmarminge Jul 25, 2022
8507982
refactor(utils): remove unnecessary block (#252)
fernandoxu Jul 25, 2022
8671e8d
chore: update favicon (#253)
nramkissoon Jul 25, 2022
ed42629
fix: missing next-auth types (#255)
zomars Jul 26, 2022
fe86915
fix: height on small screens (#256)
c-ehrlich Jul 26, 2022
f4f7bd8
docs: expand t3-app README (#248)
juliusmarminge Jul 27, 2022
79f3553
revert: extend regular next-auth module (#257)
juliusmarminge Jul 27, 2022
c7d4dce
feat: add deployment strategy to generated README (#258)
nexxeln Jul 29, 2022
37bb958
docs: add instructions on building docker image to readme (#265)
Krish120003 Jul 29, 2022
38a55fd
docs: small adjustments (#266)
juliusmarminge Jul 29, 2022
2179f2d
feat: set appName to directory on 'npx create-t3-app .' (#273)
c-ehrlich Aug 1, 2022
e9507c8
fix(prisma): make db changes for next-auth on mysql obvious (#275)
cyremur Aug 2, 2022
f6474c6
chore(release): 5.4.0
juliusmarminge Aug 2, 2022
6a81f03
feat: make session.user.id non-nullable (#282)
c-ehrlich Aug 5, 2022
9392374
chore(release): 5.5.0
juliusmarminge Aug 7, 2022
f060d59
docs: update tRPC v10 docs link (#291)
Samathingamajig Aug 8, 2022
7822c43
fix: change ! reversion to equality in env validation (#293)
khalil-omer Aug 11, 2022
0be4a97
feat: Include ct3a version as metadata in generated app (#305)
c-ehrlich Aug 11, 2022
b55f196
fix: parse path returned from process.cwd() before using it (#303)
BWsix Aug 11, 2022
0790af7
chore(release): 5.6.0
juliusmarminge Aug 11, 2022
47ab51d
chore: upload T3 logo to github (#311)
nexxeln Aug 12, 2022
bd1819d
chore: ignore package-lock (#315)
juliusmarminge Aug 15, 2022
ad53911
chore: Publish Workflow and other Github enhancements (#308)
juliusmarminge Aug 15, 2022
10561e0
chore(ci): dont use reserved word `package`
juliusmarminge Aug 15, 2022
a7dd1a8
chore(ci): require -> import
juliusmarminge Aug 15, 2022
9dce2f4
chore(ci): authenticate to npm
juliusmarminge Aug 15, 2022
cb61f26
chore: update pr-template
juliusmarminge Aug 15, 2022
e5e3fca
chore(ci): next-release
juliusmarminge Aug 15, 2022
5e0212f
chore(ci): release workflow
juliusmarminge Aug 15, 2022
060d0ad
chore(ci): update scrips
juliusmarminge Aug 15, 2022
75f97ff
chore(ci): update release versioning
juliusmarminge Aug 15, 2022
a04ac90
chore(ci): update versioning scripts
juliusmarminge Aug 15, 2022
143af66
chore(ci): fix no-bin error
juliusmarminge Aug 15, 2022
7a76c95
feat: add base tslint (#317)
juliusmarminge Aug 15, 2022
5d06f24
chore(ci): test changeset with npx
juliusmarminge Aug 15, 2022
a1a2720
chore(ci): test npm
juliusmarminge Aug 15, 2022
d9a1d78
chore(ci): give proper commit message and title
juliusmarminge Aug 15, 2022
775aa29
chore(release): remove standard-version msg from changelog
juliusmarminge Aug 15, 2022
d2d620d
chore(release): version packages (#319)
github-actions[bot] Aug 15, 2022
0f0fc56
chore(release): public access
juliusmarminge Aug 15, 2022
a9e7621
Merge branch 'main' of https://github.com/t3-oss/create-t3-app
juliusmarminge Aug 15, 2022
3bd4482
refactor: turborepo with cli and www (#320)
juliusmarminge Aug 16, 2022
8087812
chore: set type module
juliusmarminge Aug 16, 2022
2ad7770
fix: typo in pub-script
juliusmarminge Aug 16, 2022
489bca5
fix: create npmrc in cli pkg
juliusmarminge Aug 16, 2022
b7d0c28
fix: path in version script
juliusmarminge Aug 16, 2022
ea0b259
refactor: turborepo next
juliusmarminge Aug 16, 2022
98f3899
chore: merge conflicts
juliusmarminge Aug 16, 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
Prev Previous commit
Next Next commit
fix: parse path returned from process.cwd() before using it (#303)
Co-authored-by: Shoubhit Dash <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
  • Loading branch information
3 people authored Aug 11, 2022
commit b55f196d0146c5c3969de4c25e7732046aad6284
5 changes: 4 additions & 1 deletion src/utils/parseNameAndPath.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import pathModule from "path";

/**
* Parses the appName and its path from the user input.
* Returns an array of [appName, path] where appName is the name put in the package.json and
Expand All @@ -15,7 +17,8 @@ export const parseNameAndPath = (input: string) => {

// If the user ran `npx create-t3-app .` or similar, the appName should be the current directory
if (appName === ".") {
appName = process.cwd().split("/").pop();
const parsedCwd = pathModule.resolve(process.cwd());
appName = pathModule.basename(parsedCwd);
}

// If the first part is a @, it's a scoped package
Expand Down