Skip to content

Commit

Permalink
Merge branch 'latest' into fix/graphql-nextjs-missing-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jharrell authored Dec 18, 2023
2 parents 17fecfd + 60d2386 commit 0255b09
Show file tree
Hide file tree
Showing 127 changed files with 1,484 additions and 1,290 deletions.
13 changes: 7 additions & 6 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base", ":disableRateLimiting", "docker:disable"],
"extends": ["config:recommended", ":disableRateLimiting", "docker:disable"],
"automerge": true,
"major": {
"automerge": false
},
"rangeStrategy": "pin",
"baseBranches": ["latest"],
"reviewers": ["ruheni", "jharrell"],
"configMigration": true,
"packageRules": [
{
"baseBranchList": ["latest"],
"packageNames": ["nexus-plugin-prisma"],
"matchBaseBranches": ["latest"],
"matchPackageNames": ["nexus-plugin-prisma"],
"enabled": true
},
{
"baseBranchList": ["latest"],
"packageNames": ["prisma", "@prisma/client"],
"matchBaseBranches": ["latest"],
"matchPackageNames": ["prisma", "@prisma/client"],
"enabled": true,
"updateTypes": ["major"]
"matchUpdateTypes": ["major"]
}
]
}
4 changes: 2 additions & 2 deletions .github/scripts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"main": "index.js",
"license": "MIT",
"devDependencies": {
"glob": "10.3.3"
"glob": "10.3.10"
},
"dependencies": {
"@actions/core": "1.10.0"
"@actions/core": "1.10.1"
}
}
2 changes: 1 addition & 1 deletion .github/slack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"author": "",
"license": "MIT",
"dependencies": {
"@slack/webhook": "6.1.0",
"@slack/webhook": "7.0.1",
"arg": "5.0.2"
}
}
102 changes: 77 additions & 25 deletions .github/slack/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,90 @@
# yarn lockfile v1


"@slack/types@^1.2.1":
version "1.10.0"
resolved "https://registry.yarnpkg.com/@slack/types/-/types-1.10.0.tgz#cbf7d83e1027f4cbfd13d6b429f120c7fb09127a"
integrity sha512-tA7GG7Tj479vojfV3AoxbckalA48aK6giGjNtgH6ihpLwTyHE3fIgRrvt8TWfLwW8X8dyu7vgmAsGLRG7hWWOg==

"@slack/webhook@6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@slack/webhook/-/webhook-6.1.0.tgz#ac9c8add919f0f5ab9440a24e76b2f83adcc0f2c"
integrity sha512-7AYNISyAjn/lA/VDwZ307K5ft5DojXgBd3DRrGoFN8XxIwIyRALdFhxBiMgAqeJH8eWoktvNwLK24R9hREEqpA==
"@slack/types@^2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@slack/types/-/types-2.9.0.tgz#c4c7bc704a4c0c62a30490e85679febac9314543"
integrity sha512-YfZGo0xVOmI7CHhiwCmEC33HzjQl1lakNmyo5GPGb4KHKEaUoY7zenAdKsYCJqYwdaM9OL+hqYt/tZ2zgvVc7g==

"@slack/webhook@7.0.1":
version "7.0.1"
resolved "https://registry.yarnpkg.com/@slack/webhook/-/webhook-7.0.1.tgz#91d939af249d50ea978a960a52b9f92bb7d2bdda"
integrity sha512-0Uj/GQ1H8nmeAVEx+7zcWb6/q/zsSOrlIaGi6zFnwgMSxjmV6xGsVwv8w6DaAdkUbtqa43v1cirWjySeZaCOIA==
dependencies:
"@slack/types" "^1.2.1"
"@types/node" ">=12.0.0"
axios "^0.21.4"
"@slack/types" "^2.9.0"
"@types/node" ">=18.0.0"
axios "^1.6.0"

"@types/node@>=12.0.0":
version "18.15.3"
resolved "https://registry.yarnpkg.com/@types/node/-/node-18.15.3.tgz#f0b991c32cfc6a4e7f3399d6cb4b8cf9a0315014"
integrity sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw==
"@types/node@>=18.0.0":
version "20.8.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.8.9.tgz#646390b4fab269abce59c308fc286dcd818a2b08"
integrity sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==
dependencies:
undici-types "~5.26.4"

[email protected]:
version "5.0.2"
resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c"
integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==

axios@^0.21.4:
version "0.21.4"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
asynckit@^0.4.0:
version "0.4.0"
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
integrity sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==

axios@^1.6.0:
version "1.6.0"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.0.tgz#f1e5292f26b2fd5c2e66876adc5b06cdbd7d2102"
integrity sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==
dependencies:
follow-redirects "^1.14.0"
follow-redirects "^1.15.0"
form-data "^4.0.0"
proxy-from-env "^1.1.0"

combined-stream@^1.0.8:
version "1.0.8"
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f"
integrity sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==
dependencies:
delayed-stream "~1.0.0"

delayed-stream@~1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
integrity sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==

follow-redirects@^1.15.0:
version "1.15.3"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a"
integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==

form-data@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452"
integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.8"
mime-types "^2.1.12"

[email protected]:
version "1.52.0"
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70"
integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==

mime-types@^2.1.12:
version "2.1.35"
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a"
integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==
dependencies:
mime-db "1.52.0"

proxy-from-env@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2"
integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==

follow-redirects@^1.14.0:
version "1.15.2"
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
integrity sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==
undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==
2 changes: 1 addition & 1 deletion .github/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"devDependencies": {
"inline-markdown": "0.1.6",
"prettier": "3.0.0",
"prettier": "3.1.1",
"prettier-check": "2.0.0",
"watch": "1.0.2"
}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/keep-dev-branch-in-sync-with-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
if: github.repository_owner == 'prisma'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: sync dev
run: sh .github/scripts/sync.sh dev
Expand All @@ -23,7 +23,7 @@ jobs:
if: github.repository_owner == 'prisma'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: sync patch-dev
run: sh .github/scripts/sync.sh patch-dev
Expand All @@ -35,8 +35,8 @@ jobs:
runs-on: ubuntu-latest
needs: [sync-dev, sync-patch-dev]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/keep-prisma-dependencies-updated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ jobs:
branch: [dev, patch-dev]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: '${{ matrix.branch }}'

- name: use node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

Expand All @@ -38,8 +38,8 @@ jobs:
runs-on: ubuntu-latest
needs: [check-for-update]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-cockroachdb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
DATABASE_URL: postgresql://[email protected]:26257/prisma?sslmode=disable

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Start a single CockroachDB instance with Docker
env:
COCKROACHDB_DOCKER_TAG: 'cockroachdb/cockroach:latest-v21.2'
Expand All @@ -35,7 +35,7 @@ jobs:
docker run -d --name roach --hostname roach -p 26257:26257 -p 8080:8080 -v "${{ github.workspace }}:/app" $COCKROACHDB_DOCKER_TAG start-single-node --insecure
sudo apt update && sudo apt install wait-for-it -y
wait-for-it -h localhost -p 26257
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: npm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-mongodb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ jobs:
DATABASE_URL: mongodb://root:prisma@localhost:27017/prisma-mongo?authSource=admin&retryWrites=true&w=majority

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: npm install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-sql-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ jobs:
DATABASE_URL: sqlserver://localhost:1433;database=prisma-demo;user=SA;password=Pr1sm4_Pr1sm4;trustServerCertificate=true;encrypt=true

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'
- run: npm install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
outputs:
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: install deps
run: cd .github/scripts && yarn install
Expand Down Expand Up @@ -66,8 +66,8 @@ jobs:
- '5432:5432'

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '16'

Expand Down
28 changes: 19 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,16 @@ The projects in the [`deployment-platforms`](./deployment-platforms) directory s

## Real-world & production-ready example projects with Prisma

- [NextCRM](https://github.com/pdovhomilja/nextcrm-app): An open-source Customer Relationship Management system (CRM)
- [Papermark](https://github.com/mfts/papermark/): An open-source DocSend alternative with built-in analytics and custom domains
- [Hoppscotch](https://github.com/hoppscotch/hoppscotch): An open-source API development ecosystem
- [FeastQR](https://github.com/jakubczarnowski/FeastQR): An open-source SaaS online menu system for restaurants
- [Formbricks](https://github.com/formbricks/formbricks): An open-source survey and experience management tool
- [OpenformStack](https://github.com/naveennaidu/OpenformStack): An open-source form backend that allows you to collect form submissions without writing any backend code
- [Documenso](https://documenso.com/): An open-source alternative to Docusign
- [abby](https://github.com/tryabby/abby): An open-source feature flag, remote config and A/B testing platform for developers
- [ghostfolio](https://ghostfol.io/en/start): An open-source dashboard for your personal finances
- [revert](https://www.revert.dev/): An open-source unified API to build B2B product integrations
- [Scholarsome](https://scholarsome.com/): An interactive, studying system
- [Dittofeed](https://www.dittofeed.com): An open-source customer engagement; intuitive marketing tools that scale
- [Trigger.dev](https://trigger.dev/): Effortless automation built for developers (Zapier alternative)
Expand All @@ -122,20 +132,20 @@ The projects in the [`deployment-platforms`](./deployment-platforms) directory s
- [dub](https://dub.sh/): An open-source link shortener with built-in analytics and free custom domains
- [Umami](https://github.com/mikecao/umami): A simple, fast, privacy-focused alternative to Google Analytics
- [Rallly](https://github.com/lukevella/rallly): A self-hostable doodle poll alternative (based on Next.js, tRPC, and TailwindCSS)
- [snoopForms](https://github.com/snoopForms/snoopforms?ref=reactjsexample.com): An open-source alternative to Typeform (easy online surveys)
- [Typebot](https://github.com/baptisteArno/typebot.io): A conversational form builder that you can self-host
- [Cal.com](https://github.com/calcom/cal.com): An open-source alternative to Calendly (calender-based event scheduling service)
- [Beam](https://github.com/planetscale/beam): A simple tool that allows members to write posts to share across your organization (based on Next.js)
- [`ironfish-api`](https://github.com/iron-fish/ironfish-api): Public API for Iron Fish (A novel cryptocurrency focused on privacy and accessibility)
- [Dundring](https://github.com/sivertschou/dundring): An in-browser training application created to control and track you training with a smart bike trainer
- [Expense.fyi](https://github.com/gokulkrishh/expense.fyi): A tool for tracking and managing expenses
- [Letterpad](https://github.com/letterpad/letterpad): A publishing platform for creatives

<hr>

## Starter kits

- [T3 stack](https://create.t3.gg/): Starter kit based on Next.js, TypeScript, tRPC, Prisma, Tailwind CSS and NextAuth.js
- [Indie Stack](https://github.com/remix-run/indie-stack): Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, formatting
- [Blues Stack](https://github.com/remix-run/blues-stack): Remix Stack for deploying to Fly with PostgreSQL, authentication, testing, linting, formatting
- [Tottem](https://github.com/poulainv/tottem): Fullstack app for "social library management" (based on Next.js)
- [Dundring](https://github.com/sivertschou/dundring): An in-browser training application created to control and track you training with a smart bike trainer.
- [Expense.fyi](https://github.com/gokulkrishh/expense.fyi): A tool for tracking and managing expenses.
- [Letterpad](https://github.com/letterpad/letterpad): A publishing platform for creatives.
- [Snippy](https://github.com/kingstarfly/snippy): An open-source code-snippet sharing website.
- [Hitori](https://github.com/astridlol/Hitori): An open-source serverless Discord bot
<hr>

## About this repository

Expand Down
18 changes: 9 additions & 9 deletions data-modeling/delegated-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@
"test:watch": "jest --watch"
},
"devDependencies": {
"@types/jest": "29.5.3",
"@types/node": "18.17.1",
"@types/uuid": "9.0.2",
"jest": "29.6.2",
"prisma": "5.0.0",
"@types/jest": "29.5.11",
"@types/node": "20.10.5",
"@types/uuid": "9.0.7",
"jest": "29.7.0",
"prisma": "5.7.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"typescript": "5.1.6"
"ts-node": "10.9.2",
"typescript": "5.3.3"
},
"dependencies": {
"@prisma/client": "5.0.0",
"uuid": "9.0.0"
"@prisma/client": "5.7.0",
"uuid": "9.0.1"
},
"prisma": {
"seed": "ts-node prisma/seed.ts"
Expand Down
16 changes: 8 additions & 8 deletions databases/cockroachdb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@
"test:watch": "jest --watch"
},
"dependencies": {
"@prisma/client": "5.0.0",
"jest": "29.6.2"
"@prisma/client": "5.7.0",
"jest": "29.7.0"
},
"devDependencies": {
"@types/jest": "29.5.3",
"@types/node": "18.17.1",
"@types/prettyjson": "0.0.30",
"@types/jest": "29.5.11",
"@types/node": "20.10.5",
"@types/prettyjson": "0.0.33",
"prettyjson": "1.2.5",
"prisma": "5.0.0",
"prisma": "5.7.0",
"ts-jest": "29.1.1",
"ts-node": "10.9.1",
"ts-node": "10.9.2",
"ts-node-dev": "2.0.0",
"typescript": "5.1.6"
"typescript": "5.3.3"
}
}
Loading

0 comments on commit 0255b09

Please sign in to comment.