-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: turborepo with cli and www (#320)
* docs: add docs site built with Astro (#300) * docs: add docs site built with Astro * docs: prettier Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com> * refactor: make monorepo * chore(fix): tailwindcss/typography peer deps * refactor: docusaurus migration * docs: styling * fix: linting * fix: typecheck * fix: no typecheck www * fix: restore tsconfig * fix(ci): cache all node_modules * fix: more caching * fix: missing lint plugin * fix(ci): cwd * fix(ci): path * docs: start on collection * docs: headers Co-authored-by: Kroucher <99768034+kroucher@users.noreply.github.com> Co-authored-by: Shoubhit Dash <shoubhit2005@gmail.com> Co-authored-by: sir-mr-bean <kroucher.1019@gmail.com>
- Loading branch information
1 parent
a9e7621
commit 3bd4482
Showing
117 changed files
with
10,572 additions
and
2,606 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,37 @@ | ||
{ | ||
"$schema": "http://json.schemastore.org/eslintrc", | ||
"root": true, | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": ["@typescript-eslint", "import"], | ||
"parser": "@typescript-eslint/parser", // Specifies the ESLint parser | ||
"plugins": ["no-only-tests", "unicorn"], | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking", | ||
"plugin:@typescript-eslint/strict", | ||
"plugin:import/recommended", | ||
"plugin:import/typescript", | ||
"prettier" | ||
"plugin:@typescript-eslint/recommended", // Uses the recommended rules from the @typescript-eslint/eslint-plugin | ||
"plugin:react/recommended", | ||
"plugin:react-hooks/recommended", | ||
"plugin:prettier/recommended" | ||
], | ||
"env": { | ||
"node": true, | ||
"es6": true | ||
"parserOptions": { | ||
"ecmaVersion": 2018, // Allows for the parsing of modern ECMAScript features | ||
"sourceType": "module", // Allows for the use of import | ||
"project": "./tsconfig.eslint.json" // Allows for the use of rules which require parserServices to be generated | ||
}, | ||
"rules": { | ||
"no-shadow": 1, | ||
"import/no-named-as-default": 0, | ||
"import/no-named-as-default-member": 0, | ||
"import/order": [ | ||
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs | ||
"@typescript-eslint/explicit-function-return-type": "off", | ||
"@typescript-eslint/explicit-module-boundary-types": "off", | ||
"react/react-in-jsx-scope": "off", | ||
"react/prop-types": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-floating-promises": "error", | ||
"no-only-tests/no-only-tests": "error", | ||
"unicorn/filename-case": [ | ||
"error", | ||
{ | ||
"groups": [ | ||
"type", | ||
"builtin", | ||
"external", | ||
"internal", | ||
["parent", "sibling", "index"], | ||
"unknown" | ||
], | ||
"newlines-between": "never", | ||
"alphabetize": { | ||
"order": "asc", | ||
"caseInsensitive": true | ||
}, | ||
"warnOnUnassignedImports": true | ||
"case": "camelCase", | ||
"ignore": ["\\.d\\.ts$"] | ||
} | ||
] | ||
}, | ||
"settings": { | ||
"import/resolver": { | ||
"typescript": { | ||
"alwaysTryTypes": true, | ||
"project": "./tsconfig.json" | ||
} | ||
"react": { | ||
"version": "18.2.0" | ||
} | ||
}, | ||
"ignorePatterns": ["node_modules/", "build/", "dist/"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,8 +41,11 @@ yarn-error.log* | |
tmp/ | ||
temp/ | ||
.eslintcache | ||
.docusaurus | ||
|
||
# MAC | ||
._* | ||
.DS_Store | ||
Thumbs.db | ||
Thumbs.db | ||
|
||
.vscode |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Create T3 App CLI | ||
|
||
This is the actual CLI which bootstraps the T3 App. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"name": "create-t3-app", | ||
"version": "5.7.0", | ||
"description": "Create web application with the t3 stack", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/t3-oss/create-t3-app.git", | ||
"directory": "cli" | ||
}, | ||
"keywords": [ | ||
"create-t3-app", | ||
"init.tips", | ||
"next.js", | ||
"t3-stack", | ||
"tailwind", | ||
"tRPC", | ||
"typescript" | ||
], | ||
"type": "module", | ||
"exports": "./dist/index.js", | ||
"bin": { | ||
"create-t3-app": "./dist/index.js" | ||
}, | ||
"engines": { | ||
"node": ">=14.16" | ||
}, | ||
"scripts": { | ||
"typecheck": "tsc", | ||
"build": "tsup src/index.ts --format esm --clean --sourcemap --minify --metafile", | ||
"dev": "tsup src/index.ts --format esm --watch --clean --onSuccess \"node dist/index.js\"", | ||
"start": "node dist/index.js", | ||
"check": "pnpm lint && pnpm format:check && pnpm typecheck", | ||
"release": "changeset version", | ||
"pub:beta": "pnpm build && npm publish --tag beta", | ||
"pub:next": "pnpm build && npm publish --tag next", | ||
"pub:release": "pnpm build && npm publish" | ||
}, | ||
"dependencies": { | ||
"chalk": "5.0.1", | ||
"commander": "^9.3.0", | ||
"fs-extra": "^10.1.0", | ||
"gradient-string": "^2.0.1", | ||
"inquirer": "^9.0.0", | ||
"ora": "6.1.1" | ||
}, | ||
"devDependencies": { | ||
"@types/fs-extra": "^9.0.13", | ||
"@types/gradient-string": "^1.1.2", | ||
"@types/inquirer": "^8.2.1", | ||
"@types/node": "^18.0.0", | ||
"tsup": "^6.1.2", | ||
"type-fest": "^2.14.0", | ||
"typescript": "^4.7.4" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"baseUrl": "./", | ||
"paths": { | ||
"~/*": ["./src/*"] | ||
} | ||
}, | ||
"include": ["src"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
3bd4482
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
create-t3-app – ./
create-t3-app-git-main-t3-oss.vercel.app
create-t3-app-t3-oss.vercel.app
create-t3-app-nu.vercel.app