-
-
Notifications
You must be signed in to change notification settings - Fork 798
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up fancy new monorepo for blitz toolkit with pnpm, turborepo, unb…
…uild, vitest (#3129)
- Loading branch information
Showing
81 changed files
with
11,721 additions
and
2 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,2 @@ | ||
**/package.json | ||
*.d.ts |
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 @@ | ||
* text=auto eol=lf |
Validating CODEOWNERS rules …
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 @@ | ||
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners | ||
|
||
* @flybayer @beerose | ||
|
||
packages/generator/templates**/* @flybayer |
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 @@ | ||
github: blitz-js | ||
custom: ["https://paypal.me/thebayers"] | ||
open_collective: blitzjs | ||
patreon: flybayer |
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,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:" |
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,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 |
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,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. |
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,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)) |
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,37 @@ | ||
# https://github.com/vercel/next.js/commits/canary/.github/workflows/build_test_deploy.yml | ||
|
||
name: CI | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: | ||
- ubuntu-latest | ||
- windows-latest | ||
node_version: | ||
- 16 | ||
name: Node ${{ matrix.node_version }} - ${{ matrix.os }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: pnpm/action-setup@646cdf48217256a3d0b80361c5a50727664284f2 | ||
with: | ||
version: 6.10.0 | ||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ matrix.node_version }} | ||
cache: "pnpm" | ||
- run: pnpm install --frozen-lockfile | ||
- run: pnpm lint | ||
- run: pnpm build | ||
- run: pnpm test |
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,70 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# testing | ||
coverage | ||
|
||
.next/ | ||
out/ | ||
build | ||
dist | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# turbo | ||
.turbo | ||
|
||
.log | ||
.DS_Store | ||
.idea | ||
.jest-* | ||
node_modules | ||
reports | ||
*.log | ||
.nyc_output | ||
**/coverage | ||
.yarn | ||
.yarnrc | ||
tsconfig.tsbuildinfo | ||
.blitz | ||
.next | ||
dist | ||
.now | ||
# local env files | ||
**/.env.local | ||
**/.env.*.local | ||
**/.envrc | ||
.blitz-* | ||
.blitz-cli-cache | ||
.vscode | ||
.tsbuildinfo | ||
.nvmrc | ||
**/.test* | ||
examples/auth2 | ||
.idea | ||
.ultra.cache.json | ||
db.sqlite-journal | ||
test/integration/**/db.json | ||
test/**/*/out | ||
test/**/blitz-env.d.ts | ||
examples/**/blitz-env.d.ts | ||
.blitz** | ||
|
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 @@ | ||
_ |
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 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
pnpm lint | ||
pnpx 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
16.13.2 |
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 @@ | ||
save-exact=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,20 @@ | ||
**/migrations/** | ||
.blitz | ||
.next | ||
.log | ||
.DS_Store | ||
.jest-* | ||
packages/cli/lib | ||
node_modules | ||
reports | ||
*.log | ||
**/.env* | ||
.nyc_output | ||
**/coverage | ||
.yarn | ||
.yarnrc | ||
tsconfig.tsbuildinfo | ||
dist | ||
bin | ||
.github/ISSUE_TEMPLATE/bug_report.md | ||
packages/generator/templates/** |
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 @@ | ||
# The Blitz Community Code of Conduct | ||
|
||
[Read the Code of Conduct at Blitzjs.com](https://blitzjs.com/docs/code-of-conduct) |
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 @@ | ||
# Contributing | ||
|
||
[Read the Contributing Guide at Blitzjs.com](https://blitzjs.com/docs/contributing) |
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 @@ | ||
# Contributor over time | ||
|
||
[![Contributor over time](https://contributor-graph-api.apiseven.com/contributors-svg?chart=contributorOverTime&repo=blitz-js/blitz)](https://www.apiseven.com/en/contributor-graph?chart=contributorOverTime&repo=blitz-js/blitz) |
Oops, something went wrong.