-
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.
Update Blitz boilerplate to 2.x (#1050)
Bumped to 2.x
- Loading branch information
Showing
38 changed files
with
17,100 additions
and
9,958 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
# https://EditorConfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
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,5 @@ | ||
# SQLite is ready to go out of the box, but you can switch to Postgres | ||
# by first changing the provider from "sqlite" to "postgres" in the Prisma | ||
# schema file and by second swapping the DATABASE_URL below. | ||
DATABASE_URL="file:./db_test.sqlite" | ||
# DATABASE_URL=postgresql://ethanarrowood@localhost:5432/blitz-v2_test |
This file was deleted.
Oops, something went wrong.
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,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx pretty-quick --staged |
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 +1,11 @@ | ||
save-exact=true | ||
legacy-peer-deps=true | ||
strict-peer-dependencies=false | ||
side-effects-cache=false | ||
|
||
public-hoist-pattern[]=@tanstack/react-query | ||
public-hoist-pattern[]=next | ||
public-hoist-pattern[]=secure-password | ||
public-hoist-pattern[]=*jest* | ||
public-hoist-pattern[]=@testing-library/* | ||
# Needed for Blitz to work properly. Don't remove the lines above. |
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,6 +1,10 @@ | ||
.gitkeep | ||
.env | ||
.env* | ||
*.ico | ||
*.lock | ||
db/migrations | ||
|
||
.next | ||
.blitz | ||
.yarn | ||
.pnp.* | ||
node_modules | ||
.blitz.config.compiled.js |
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
Empty file.
21 changes: 0 additions & 21 deletions
21
framework-boilerplates/blitzjs/app/components/ErrorBoundary.tsx
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
Empty file.
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,5 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/image-types/global" /> | ||
|
||
// NOTE: This file should not be edited | ||
// see https://nextjs.org/docs/basic-features/typescript for more information. |
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,9 @@ | ||
// @ts-check | ||
const { withBlitz } = require("@blitzjs/next") | ||
|
||
/** | ||
* @type {import('@blitzjs/next').BlitzConfig} | ||
**/ | ||
const config = {} | ||
|
||
module.exports = withBlitz(config) |
Oops, something went wrong.