Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2434 commits
Select commit Hold shift + click to select a range
87eefaf
add a spinner during the blitz new version check (#2791)
g3offrey Oct 6, 2021
ea566b2
(meta) updated @g3offrey contributions
blitzjs-bot Oct 6, 2021
b6adb74
v0.41.0
beerose Oct 6, 2021
ac4f9f3
bump recipe/example versions (ignore)
beerose Oct 6, 2021
e458224
(meta) updated @Vandivier contributions
blitzjs-bot Oct 6, 2021
9e9c63d
(meta) added @namirsab as contributor
blitzjs-bot Oct 6, 2021
c4f6f78
(meta) added @scttcper as contributor
blitzjs-bot Oct 6, 2021
cf448a8
Add missing information to stitches recipe README (#2812)
Oct 7, 2021
5b4413d
Prevent duplicated ComponentPropsWithoutRef import when installing ch…
beerose Oct 7, 2021
bdc560a
Fix `blitz new` next steps message (#2818)
beerose Oct 7, 2021
baeefff
(meta) updated @beerose contributions
blitzjs-bot Oct 7, 2021
3473cec
Show an error if a reserved word is used for `blitz generate`'s model…
namirsab Oct 8, 2021
350a98d
(meta) updated @namirsab contributions
blitzjs-bot Oct 8, 2021
853254d
Fix typo in rfc-docs/01-architecture.md file (#2824)
Abduttayyeb Oct 8, 2021
9e405aa
(meta) added @Abduttayyeb as contributor
blitzjs-bot Oct 8, 2021
cfdfb69
add tsdoc comments for `withRouter` and `useRouter` functions (#2784)
maybebored Oct 11, 2021
f3f85b6
(meta) added @maybebored as contributor
blitzjs-bot Oct 11, 2021
48f762c
show an error if invalid model name is passed to `blitz generate` (#2…
martinsaxa Oct 11, 2021
f280035
PR template update (#2833)
JuanM04 Oct 11, 2021
c2e69b5
Make `blitz codegen` generate prisma client if prisma is installed (#…
piotrski Oct 11, 2021
fa7ac11
(meta) added @MuckHub as contributor
blitzjs-bot Oct 12, 2021
93c03ea
v0.41.1
beerose Oct 13, 2021
3db0f77
bump recipe/example versions (ignore)
beerose Oct 13, 2021
3d17eae
Add Cypress example (#2836)
beerose Oct 14, 2021
df2c1dd
Improve error message on a duplicate page name error (#2823)
p-siriphanthong Oct 15, 2021
6a539a3
(meta) added @p-siriphanthong as contributor
blitzjs-bot Oct 15, 2021
71be602
add a minimal app template (#2764)
beerose Oct 15, 2021
1457ec8
Add authenticated layout support with `Layout.authenticate` (#2825)
JuanM04 Oct 15, 2021
8a5596f
(meta) added @shawn-fetanat as contributor
blitzjs-bot Oct 16, 2021
c29735f
add missing React import to LabeledTextField in fauna example (#2854)
beerose Oct 18, 2021
3c62425
Allow user to select a recipe with `blitz install` command (#2828)
mochi-sann Oct 18, 2021
e2490b9
(meta) added @mochi-sann as contributor
blitzjs-bot Oct 18, 2021
dc05944
Update L1 maintainers list in readme (#2856)
beerose Oct 18, 2021
5fc4cbb
(meta) updated @mochi-sann contributions
blitzjs-bot Oct 19, 2021
4e6f829
Update new apps dependencies, format files, improve readmes (#2849)
JuanM04 Oct 19, 2021
6f37571
fix `blitz generate` --dry-run flag not being respected (#2858)
beerose Oct 19, 2021
291e8b9
v0.41.2-canary.0
flybayer Oct 19, 2021
8f653d9
v0.41.2-canary.1
flybayer Oct 19, 2021
f4f6fd9
bump recipe/example versions (ignore)
flybayer Oct 19, 2021
6ac6176
Move internal @blitzjs/core package into nextjs fork core (meta) (#2857)
flybayer Oct 19, 2021
13b7e6a
v0.41.2-canary.2
flybayer Oct 19, 2021
f1c000e
bump recipe/example versions (ignore)
flybayer Oct 19, 2021
eb4097b
Update material-ui recipe, migrate from v4 to v5 (#2853)
mochi-sann Oct 20, 2021
4d95e31
Update seedling sponsors list in Readme (#2867)
beerose Oct 20, 2021
60b9f44
pin react and react-dom versions in package.json (And I think fix the…
flybayer Oct 20, 2021
40a6c7d
(meta) added @camsloanftc as contributor
blitzjs-bot Oct 20, 2021
7c4e9c8
(meta) added @sitek94 as contributor
blitzjs-bot Oct 20, 2021
90d9655
Add bulma recipe (recipe) (#2850)
vivek7405 Oct 20, 2021
4d1c997
(meta) added @vivek7405 as contributor
blitzjs-bot Oct 20, 2021
8fc8800
Add support for async `experimental.initServer()` (#2798)
g3offrey Oct 20, 2021
a808d3c
fix broken route manifest in 0.41.2-canary.2 (#2870)
flybayer Oct 20, 2021
5fcd1d5
v0.41.2-canary.3
flybayer Oct 20, 2021
a5d3d02
bump recipe/example versions (ignore)
flybayer Oct 20, 2021
51d91c3
Remove internal @blitzjs/config package and move @blitzjs/repl into c…
flybayer Oct 20, 2021
feba2b6
v0.41.2-canary.4
flybayer Oct 20, 2021
2fc6c07
bump recipe/example versions (ignore)
flybayer Oct 20, 2021
f85ae04
Allow setting secureCookies in sessionMiddleware config (#2361)
cj Oct 21, 2021
52d569e
(meta) added @cj as contributor
blitzjs-bot Oct 21, 2021
797618e
Fix `blitz generate` in javascript projects (#2859)
beerose Oct 21, 2021
f8e9d75
(meta) added @RobertBroersma as contributor
blitzjs-bot Oct 21, 2021
fa78180
Update dehydrated state integration test for Map (#2649)
Skn0tt Oct 21, 2021
b388a50
add prompt to `blitz new` to choose javascript or typescript (#2739)
beerose Oct 22, 2021
aa00886
(meta) added @cbejensen as contributor
blitzjs-bot Oct 26, 2021
e183fb4
Export MutateFunction type from blitz/react-query (#2882)
Oct 28, 2021
afd6e3f
(meta) added @dvnrsn as contributor
blitzjs-bot Oct 28, 2021
2dd578a
Add next-rosetta example (#2872)
devtombiz Oct 29, 2021
046587d
(meta) added @devtombiz as contributor
blitzjs-bot Oct 29, 2021
e660b7b
update influxdb telemetry token
flybayer Nov 2, 2021
731bf54
Fix using HOCs in _app.js (#2897)
beerose Nov 2, 2021
9fc06a2
update monorepo browserslist version (#2900)
flybayer Nov 2, 2021
46b8103
fix so middleware errors (like CSRFMissmatchError) don't crash the se…
flybayer Nov 2, 2021
f4cf751
v0.41.2-canary.5
flybayer Nov 2, 2021
c089980
bump recipe/example versions (ignore)
flybayer Nov 2, 2021
6d93450
v0.42.0
beerose Nov 3, 2021
8fa479a
bump recipe/example versions (ignore)
beerose Nov 3, 2021
c91de51
move Blitz eslint config into nextjs fork (#2902)
flybayer Nov 3, 2021
d2f2e4b
Show the error message from `prisma generate` when `blitz codegen` fa…
lucasvazq Nov 4, 2021
919e9f6
(meta) added @lucasvazq as contributor
blitzjs-bot Nov 4, 2021
a1d8008
(meta) added @chrisj-back2work as contributor
blitzjs-bot Nov 5, 2021
4384ce0
(newapp) On login page, pass user to the onSuccess callback (#2919)
flybayer Nov 5, 2021
e109813
(meta) added @thisdotrob as contributor
blitzjs-bot Nov 6, 2021
6653f31
Fix build error: No QueryClient set (#2914)
flybayer Nov 6, 2021
3312b43
v0.42.1
flybayer Nov 6, 2021
937e406
bump recipe/example versions (ignore)
flybayer Nov 6, 2021
e3876b3
fix build TypeError: Cannot read property 'children' of undefined (#2…
flybayer Nov 6, 2021
c081599
v0.42.2
flybayer Nov 6, 2021
2f397f0
v0.42.3
flybayer Nov 6, 2021
a19c480
v0.42.4
flybayer Nov 6, 2021
457015a
bump recipe/example versions (ignore)
flybayer Nov 6, 2021
5870251
Add ability to set blitz logging type to `json` (#2888)
lovethebomb Nov 8, 2021
c512b7a
(meta) added @lovethebomb as contributor
blitzjs-bot Nov 8, 2021
20e7c16
(meta) updated @lovethebomb contributions
blitzjs-bot Nov 8, 2021
47c3c94
(meta) added @NorfeldtAbtion as contributor
blitzjs-bot Nov 9, 2021
32983cb
Add Passenger recipe (#2890)
netwarex Nov 10, 2021
862e54b
(meta) added @netwarex as contributor
blitzjs-bot Nov 10, 2021
f2b2e5a
(meta) added @5minpause as contributor
blitzjs-bot Nov 10, 2021
6b59d21
Fix installing dependencies of styled-components recipe (#2934)
beerose Nov 10, 2021
58d5669
(meta) added @basilk76 as contributor
blitzjs-bot Nov 10, 2021
23f85d6
(meta) added @danestves as contributor
blitzjs-bot Nov 11, 2021
da8925a
(meta) added @coryhouse as contributor
blitzjs-bot Nov 11, 2021
f85b0ef
add meetkai as seedling sponsor (#2938)
beerose Nov 11, 2021
18c6981
`@blitzjs/installer` improvements (#2887)
JuanM04 Nov 12, 2021
ee07fc3
Unify recipes Program types and fix `blitz install` (#2952)
JuanM04 Nov 14, 2021
9ddc85d
(meta) added @rockmanvnx6 as contributor
blitzjs-bot Nov 14, 2021
252c9b1
Add @damilolarandolph as L1 maintainer (#2953)
beerose Nov 14, 2021
fe7a3c3
Disable autoRun for jest extension by default (#2943)
beerose Nov 15, 2021
fafab00
Move superjson integration from babel plugin into core (#2939)
flybayer Nov 16, 2021
3479686
Add vanilla-extract recipe (#2946)
JuanM04 Nov 16, 2021
e767f51
Install recipes automatically (`blitz install --yes`) (#2954)
JuanM04 Nov 16, 2021
522da1a
Add `--file` flag to `blitz db seed` command (#2962)
s-r-x Nov 16, 2021
4f868ad
Fix routes manifest location when using pnpm (#2963)
beerose Nov 17, 2021
a279fb9
Update zod validators in new app template (#2971)
beerose Nov 17, 2021
c987884
v0.43.0
beerose Nov 17, 2021
12c1b73
bump recipe/example versions (ignore)
beerose Nov 17, 2021
92ab9c3
move blitz babel config into nextjs fork (#2903)
flybayer Nov 18, 2021
de874ca
Fix lint warnings (#2968)
JuanM04 Nov 18, 2021
11492dc
Upgrade typescript to 4.5 (#2973)
beerose Nov 18, 2021
12c081b
Add info about a required manual step to graphql-apollo-server recipe…
noxify Nov 18, 2021
b23c2cd
(meta) added @noxify as contributor
blitzjs-bot Nov 18, 2021
3a1ea75
fix missing `BlitzConfig` type (#2987)
flybayer Nov 19, 2021
8420f6d
Add "volta" settings to package.json and update node-version (#2994)
JuanM04 Nov 22, 2021
a9aaeec
Bump tar from 2.2.2 to 4.4.18 in /nextjs (#2996)
dependabot[bot] Nov 22, 2021
c4c9047
Upgrade react to 18-beta in new app templates (#2998)
beerose Nov 23, 2021
1c12da5
(meta) added @davidchristie as contributor
blitzjs-bot Nov 24, 2021
0fd6a4d
Support RouteUrlObject as redirect.destination in GetServerSideProps/…
s-r-x Nov 24, 2021
74efbad
(meta) added @ajanth97 as contributor
blitzjs-bot Nov 27, 2021
19ad917
(meta) added @divpreet as contributor
blitzjs-bot Dec 3, 2021
4aba0d3
Load env variables based on `APP_ENV` or `-e` flag (#2878)
beerose Dec 3, 2021
ad71e15
Make prefetching work with `usePaginatedQuery` and `useInfiniteQuery`…
beerose Dec 3, 2021
5460fbb
Move display package to nextjs fork (#2989)
beerose Dec 3, 2021
ac5121b
v0.44.0
beerose Dec 3, 2021
8f5cad9
bump recipe/example versions (ignore)
beerose Dec 3, 2021
4233caa
(meta) added @david-arteaga as contributor
blitzjs-bot Dec 5, 2021
adef11b
Update default app `blitz-env.d.ts`
JuanM04 Dec 5, 2021
24dcac6
Fix jest-preset syntax error (#3027)
beerose Dec 6, 2021
915f5fa
Fix next_stdlib__WEBPACK_IMPORTED_MODULE_1__.connectMiddleware is not…
MukulKolpe Dec 6, 2021
9255050
(meta) added @MukulKolpe as contributor
blitzjs-bot Dec 6, 2021
18d1a68
Fix windows incompatibility with nested dependency (#3030)
flybayer Dec 6, 2021
abeb0c5
Fix APP_ENV loading to not load all `.env` files (#3026)
JuanM04 Dec 6, 2021
e842c9f
v0.44.1
flybayer Dec 6, 2021
c3c9e89
bump recipe/example versions (ignore)
flybayer Dec 6, 2021
1c51ab4
fix so that blitz config `env` config values can be type `string | un…
flybayer Dec 6, 2021
5d9fcd2
fix env file loading to default to development instead of production …
flybayer Dec 6, 2021
831b0d4
v0.44.2
flybayer Dec 6, 2021
d361383
bump recipe/example versions (ignore)
flybayer Dec 6, 2021
8dcc5eb
fix `blitz build` not loading production env by default (#3037)
flybayer Dec 6, 2021
daea45e
relax some unnecessary type requirements for blitz.config.ts (#3036)
flybayer Dec 6, 2021
d92b7ef
v0.44.3
flybayer Dec 6, 2021
9019f1c
bump recipe/example versions (ignore)
flybayer Dec 6, 2021
c4df5d8
Remove nullish coalescing from post-install script (#3040)
beerose Dec 8, 2021
1d6021d
Upgrade `@mrleebo/prisma-ast` version and fix breaking `@db.Text` (#3…
beerose Dec 8, 2021
9cff223
Load nested mutations and queries in `blitz console` (#3031)
skotchpine Dec 8, 2021
0f99de9
(meta) added @skotchpine as contributor
blitzjs-bot Dec 8, 2021
00d1ddf
Set `blitz` version to `latest` in new apps templates (#3048)
JuanM04 Dec 9, 2021
0715bb7
Load env vars for `blitz new` command - ignore cached variables (#3043)
beerose Dec 9, 2021
d05f00c
Update tailwindcss recipe to v3 (#3050)
mochi-sann Dec 10, 2021
5f1c6a4
Move installer package to nextjs/packages (#3044)
beerose Dec 10, 2021
e347217
v0.44.4
flybayer Dec 11, 2021
8b607b9
bump recipe/example versions (ignore)
flybayer Dec 11, 2021
03fd49b
Use free tier by default in Render recipe (#3060)
Vandivier Dec 13, 2021
9a00412
Fix inconsistent formatting in `LoginForm` component and `Login` page…
francesco-sardo-shopify Dec 13, 2021
49c5a1e
(meta) updated @zenhob contributions
blitzjs-bot Dec 14, 2021
98f91e2
(meta) added @SofianeDjellouli as contributor
blitzjs-bot Dec 14, 2021
ec8632a
(meta) added @kreako as contributor
blitzjs-bot Dec 16, 2021
ecf5a29
Support custom templates folder with `blitz generate` (#3068)
beerose Dec 17, 2021
77ad2c0
Update material-ui recipe — remove `@mui/styles` (#3076)
JuanM04 Dec 20, 2021
3ce4f97
Update links to PostgreSQL guide (#3087)
sarahdayan Dec 20, 2021
c631f1e
(meta) added @sarahdayan as contributor
blitzjs-bot Dec 20, 2021
018e240
(meta) added @c-ciobanu as contributor
blitzjs-bot Dec 21, 2021
fbd387a
Update sponsors list (#3089)
beerose Dec 21, 2021
11eb420
(meta) added @arpitdalal as contributor
blitzjs-bot Dec 21, 2021
c9f4167
(meta) added @robertrisch as contributor
blitzjs-bot Dec 23, 2021
91172b8
v0.45.0-canary.0
flybayer Dec 24, 2021
bfd7522
bump recipe/example versions (ignore)
flybayer Dec 24, 2021
bfd3be4
Fix `RedirectError` not redirecting on the client (#3100)
dineshgadge Dec 29, 2021
a4bcfb4
(meta) added @dineshgadge as contributor
blitzjs-bot Dec 29, 2021
75ed86e
(meta) added @maltekiessling as contributor
blitzjs-bot Jan 1, 2022
4ce4bb9
Add `addRunCommandStep` to the recipe builder (#3090)
noxify Jan 3, 2022
34ed51a
Fix `blitz g mutation` creating a file with invalid name (#3104)
beerose Jan 3, 2022
ea1e75b
(meta) added @ospfranco as contributor
blitzjs-bot Jan 4, 2022
18842fd
v0.45.0
beerose Jan 6, 2022
eebeeee
bump recipe/example versions (ignore)
beerose Jan 6, 2022
f102f4c
Fix `useRedirectAuthenticatedSession is not a function` (#3117)
Nfinished Jan 10, 2022
ee74253
(meta) added @Nfinished as contributor
blitzjs-bot Jan 10, 2022
a344c1f
Update Seedling Sponsors list (#3130)
beerose Jan 17, 2022
1e3ae5d
fix passport adapter to work behind cloudfront (#3132)
flybayer Jan 18, 2022
871e709
v0.45.1
beerose Jan 18, 2022
621d87f
bump recipe/example versions (ignore)
beerose Jan 18, 2022
9f52f36
Fix passport adapter `secureProxy` to always work regardless of reque…
flybayer Jan 19, 2022
16dae9b
v0.45.2
beerose Jan 20, 2022
7add9ca
bump recipe/example versions (ignore)
beerose Jan 20, 2022
bac35e0
Add @shellord as L1 maintainer (#3140)
shellord Jan 21, 2022
c603195
(meta) added @shellord as contributor
blitzjs-bot Jan 21, 2022
7f35af5
(meta) added @husnuljahneer as contributor
blitzjs-bot Jan 23, 2022
ceeed72
Remove outdated tests (#3141)
beerose Jan 24, 2022
01dce6b
(meta) added @ReykCS as contributor
blitzjs-bot Jan 26, 2022
6e8a65f
Update sponsors list (#3153)
beerose Jan 28, 2022
75e6b9f
Add NextUI recipe (#3152)
mochi-sann Feb 7, 2022
0cc2a3a
Bump node-fetch from 2.6.1 to 2.6.7 in /nextjs (#3156)
dependabot[bot] Feb 8, 2022
d25aee1
Bump `@prisma/sdk` in `installer` and `cli` packages (#3158)
beerose Feb 8, 2022
6004670
fix blitz logging to respect FORCE_COLOR=0 (#3157)
flybayer Feb 9, 2022
0f8f15f
upgrade superjson (#3162)
flybayer Feb 9, 2022
d658af7
v0.45.3
beerose Feb 9, 2022
ef2c0cd
bump recipe/example versions (ignore)
beerose Feb 9, 2022
f99ebf5
Bump superjson from 1.7.5 to 1.8.1 in /nextjs (#3165)
dependabot[bot] Feb 11, 2022
f2d8148
(newapp) change preview-email to just in time import so it doesn't ne…
flybayer Feb 17, 2022
19ea640
(meta) added @Lokprakash-babu as contributor
blitzjs-bot Feb 23, 2022
49d1e91
don't suggest faker.js in code comments (#3178)
Vandivier Feb 23, 2022
e5c6071
(meta) added @eai04191 as contributor
blitzjs-bot Feb 25, 2022
dfbab39
Add `@husnuljahneer` as L1 Maintainer (#3142)
husnuljahneer Feb 28, 2022
d41385b
(meta) added @numanaral as contributor
blitzjs-bot Mar 6, 2022
b3ad310
Add JDLT to sponsors list (#3226)
beerose Mar 10, 2022
2675942
(meta) added @jscyo as contributor
blitzjs-bot Mar 28, 2022
85c10b9
(meta) added @davidbarker as contributor
blitzjs-bot Apr 4, 2022
35b9ded
Fix typo in recipe step name (#3265)
timfee Apr 4, 2022
09a8c94
(meta) added @timfee as contributor
blitzjs-bot Apr 4, 2022
7c698f0
(meta) added @Caslus as contributor
blitzjs-bot Apr 4, 2022
a7deaaf
(meta) updated @dillonraphael contributions
blitzjs-bot Apr 7, 2022
881d686
Upgrade`react` and `@types/react` in new app templates, update types …
beerose Apr 12, 2022
2c06dd6
v0.45.4
beerose Apr 12, 2022
e9a98ff
bump recipe/example versions (ignore)
beerose Apr 12, 2022
77858c5
(meta) updated @dillonraphael contributions
blitzjs-bot Apr 15, 2022
186532e
Update change password w/ try/catch
the-bayer Apr 27, 2022
45b38cc
Revert "Update change password w/ try/catch" (#3323)
the-bayer Apr 29, 2022
dc86c78
(meta) added @the-bayer as contributor
blitzjs-bot Apr 29, 2022
b84ed74
(meta) updated @ganeshmani contributions
blitzjs-bot May 8, 2022
919465c
Add try/catch in change password mutation (#3337)
the-bayer May 10, 2022
86da161
(meta) added @rmassie as contributor
blitzjs-bot Jun 7, 2022
28d2671
(meta) added @paulm17 as contributor
blitzjs-bot Jun 7, 2022
0301704
Fix typos in docs (#3395)
minho42 Jun 7, 2022
262b647
(meta) added @minho42 as contributor
blitzjs-bot Jun 7, 2022
9b8c403
(meta) added @webdeb as contributor
blitzjs-bot Jun 7, 2022
352d2af
(meta) added @iDavidB as contributor
blitzjs-bot Jun 8, 2022
0366729
(meta) updated @andreasasprou contributions
blitzjs-bot Jun 13, 2022
8102086
(meta) added @jakedee as contributor
blitzjs-bot Jun 19, 2022
1c2fdfe
(meta) added @datner as contributor
blitzjs-bot Jun 19, 2022
a98f972
(meta) added @remlse as contributor
blitzjs-bot Jun 20, 2022
525e436
(meta) added @sergous as contributor
blitzjs-bot Jun 20, 2022
e1fc695
(meta) updated @datner contributions
blitzjs-bot Jun 30, 2022
a9c6bcc
Update CODEOWNERS
flybayer Jul 5, 2022
f0bbdf5
(meta) added @Trancever as contributor
blitzjs-bot Jul 11, 2022
7fd287f
(meta) updated @Zeko369 contributions
blitzjs-bot Jul 12, 2022
f97c123
(meta) updated @the-bayer contributions
blitzjs-bot Jul 14, 2022
e15c62a
(meta) added @SerekKiri as contributor
blitzjs-bot Jul 20, 2022
f59dfda
(meta) added @iojcde as contributor
blitzjs-bot Jul 22, 2022
fa6e967
(meta) updated @iojcde contributions
blitzjs-bot Jul 25, 2022
2d0a24a
integrated playwright
jonasherr Aug 26, 2023
a726ca3
integrated playwright
jonasherr Aug 26, 2023
c35196a
integrated playwright
jonasherr Aug 26, 2023
f198142
integrated playwright
jonasherr Aug 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
3,852 changes: 3,852 additions & 0 deletions .all-contributorsrc

Large diffs are not rendered by default.

55 changes: 55 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
node_modules
reports
*.log
.nyc_output
**/coverage
tsconfig.tsbuildinfo
**/.blitz/**
**/.next/**
**/dist/**
**/.vercel/**
**/.test*
/examples/auth2

prettier.config.*
jest.config.*
jest.setup.*
babel.config.*
eslint.config.*

/__mocks__
/__fixturse
/assets
/patches
/rfc-docs
/scripts
/types
/recipes/*/templates
/packages/generator/templates
/packages/cli/lib
/packages/babel-preset/src/fix-node-file-trace/tests/**
/test/integration/**/out/**
/nextjs/packages/create-next-app


// COPIED FROM nextjs/.eslintignore
/nextjs/**/.next/**
/nextjs/**/_next/**
/nextjs/**/dist/**
/nextjs/examples/**
/nextjs/packages/next/bundles/webpack/packages/*.runtime.js
/nextjs/packages/next/compiled/**/*
/nextjs/packages/react-refresh-utils/**/*.js
/nextjs/packages/react-dev-overlay/lib/**
/nextjs/**/__tmp__/**
/nextjs/.github/actions/next-stats-action/.work
/nextjs/packages/next-codemod/transforms/__testfixtures__/**/*
/nextjs/packages/next-codemod/transforms/__tests__/**/*
/nextjs/packages/next-codemod/**/*.js
/nextjs/packages/next-codemod/**/*.d.ts
/nextjs/packages/next-env/**/*.d.ts
/nextjs/packages/next/build/swc/tests/fixture/**
/nextjs/test/integration/async-modules/**
/nextjs/test/integration/eslint/**
/nextjs/test/integration/babel/**
/nextjs/test-timings.json
119 changes: 119 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
module.exports = {
parser: "@babel/eslint-parser",
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
},
parserOptions: {
ecmaVersion: 6,
requireConfigFile: false,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
babelOptions: {
presets: ["@babel/preset-env", "@babel/preset-react"],
caller: {
// Eslint supports top level await when a parser for it is included. We enable the parser by default for Babel.
supportsTopLevelAwait: true,
},
},
},
plugins: ["import", "unicorn", "simple-import-sort"],
extends: ["react-app"],
rules: {
"react/react-in-jsx-scope": "off", // React is always in scope with Blitz
"jsx-a11y/anchor-is-valid": "off", //Doesn't play well with Blitz/Next <Link> usage
"import/first": "off",
"import/no-default-export": "error",
"require-await": "error",
"no-async-promise-executor": "error",
"unicorn/filename-case": [
"error",
{
case: "kebabCase",
},
],
"simple-import-sort/imports": [
"warn",
{
groups: [
[
// Side effect imports.
"^\\u0000",
// Packages.
// Things that start with a letter (or digit or underscore), or `@` followed by a letter.
"^@?\\w",
// Absolute imports and other imports such as Vue-style `@/foo`.
// Anything that does not start with a dot.
"^[^.]",
// Relative imports.
// Anything that starts with a dot.
"^\\.",
],
],
},
],
},
overrides: [
{
files: ["**/*.ts", "**/*.tsx"],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 6,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
project: `./tsconfig.eslint.json`,
},
plugins: ["@typescript-eslint"],
rules: {
"@typescript-eslint/no-floating-promises": "error",
// note you must disable the base rule as it can report incorrect errors
"no-use-before-define": "off",
// "@typescript-eslint/no-use-before-define": ["error"],
// note you must disable the base rule as it can report incorrect errors
"no-redeclare": "off",
"@typescript-eslint/no-redeclare": ["error"],
},
},
{
files: ["examples/**", "recipes/**"],
rules: {
"import/no-default-export": "off",
"unicorn/filename-case": "off",
"@typescript-eslint/no-floating-promises": "off",
},
},
{
files: ["examples/**"],
plugins: ["cypress"],
parserOptions: {
project: null,
},
env: {
"cypress/globals": true,
},
rules: {
"simple-import-sort/imports": "off",
},
},
{
files: ["packages/cli/src/commands/**/*"],
rules: {
"require-await": "off",
},
},
{
files: ["test/**", "**/__fixtures__/**"],
rules: {
"import/no-default-export": "off",
"require-await": "off",
"unicorn/filename-case": "off",
},
},
],
}
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
8 changes: 8 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners

* @beerose

# packages/cli/**/* @aem, @flybayer
# packages/generator/**/* @aem @flybayer
# packages/generator/templates**/* @flybayer
# packages/installer/**/* @aem @flybayer
4 changes: 4 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github: blitz-js
custom: ["https://paypal.me/thebayers"]
open_collective: blitzjs
patreon: flybayer
48 changes: 48 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Bug Report
description: Something is not working right. Or error messages are unclear.
labels: "kind/bug, status/triage"
body:
- type: markdown
attributes:
value: Thanks for taking the time to file a bug report! Please fill out this form as completely as possible.
- type: textarea
attributes:
label: What is the problem?
validations:
required: true
- type: textarea
attributes:
label: "Paste all your error logs here:"
value: |
```
PASTE_HERE (leave the ``` marks)
```
validations:
required: true
- type: textarea
attributes:
label: "Paste all relevant code snippets here:"
value: |
```
PASTE_HERE (leave the ``` marks)
```
validations:
required: true
- type: textarea
attributes:
label: What are detailed steps to reproduce this?
value: "1."
validations:
required: true
- type: textarea
attributes:
label: "Run `blitz -v` and paste the output here:"
value: |
```
PASTE_HERE (leave the ``` marks)
```
validations:
required: true
- type: textarea
attributes:
label: "Please include below any other applicable logs and screenshots that show your problem:"
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Prisma issue?
url: https://github.com/prisma/prisma/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc
about: All Prisma issues should be opened in the Prisma Github
- name: Question, Discussion, Idea?
url: https://github.com/blitz-js/blitz/discussions/new
about: Ask questions and discuss with other community members
19 changes: 19 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Feature/change request
about: Something new or better!
title: ""
labels: "status/triage"
assignees: ""
---

### What do you want and why?

The more information the better!

### Possible implementation(s)

How might we do this?

### Additional context

Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible please:
- Link issue via "Closes #[issue_number]
- Choose & follow the right checklist for the change that you're making:
-->

Closes: ?

### What are the changes and their implications?

## Bug Checklist

- [ ] Integration test added (see [test docs](https://blitzjs.com/docs/contributing#running-tests) if needed)

## Feature Checklist

- [ ] Integration test added (see [test docs](https://blitzjs.com/docs/contributing#running-tests) if needed)
- [ ] Documentation added/updated (submit PR to [blitzjs.com repo `canary` branch](https://github.com/blitz-js/blitzjs.com/tree/canary))
18 changes: 18 additions & 0 deletions .github/checkInstallTime.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/usr/bin/env node

const fs = require("fs")
const yarnOut = fs.readFileSync(0, {encoding: "utf8"})

const [installTimeString] = /(?<=^Done in )\d+\.\d+(?=s\.$)/m.exec(yarnOut)
const installTime = Number(installTimeString)

console.log(`Install time: ${installTime}s`)

if (installTime < 30) {
console.log("We're below 30 secs. That's awesome!")
} else if (installTime < 50) {
console.log("We're below 50 secs. That's fine!")
} else {
console.log("We're above 50 secs. That's not great!")
process.exit(1)
}
26 changes: 26 additions & 0 deletions .github/workflows/compressed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Size Check

on:
pull_request:
branches: [master, canary]

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
build:
name: Compressed Size
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Count size
uses: preactjs/compressed-size-action@v2
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
exclude: "{./nextjs/**}"
Loading