Skip to content

Commit

Permalink
Merge branch 'main' into add-bun-studio-sever-side-adress-to-logs
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone authored Jan 23, 2025
2 parents abe0214 + 49d2930 commit 2977b01
Show file tree
Hide file tree
Showing 755 changed files with 252,944 additions and 17,835 deletions.
47 changes: 33 additions & 14 deletions .github/ISSUE_TEMPLATE/bug-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,55 @@ body:
- type: markdown
attributes:
value: |
## Quick Bug Form
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible.
Thank you for taking the time to file a bug report! Please provide as much information as possible.
- type: checkboxes
id: verified
attributes:
label: Report hasn't been filed before.
options:
- label: I have verified that the bug I'm about to report hasn't been filed before.
required: true

- type: input
attributes:
label: What version of `drizzle-orm` are you using?
description: You can check the version by opening the `package.json` file in your project.
placeholder: 0.0.0
validations:
required: true

- type: input
attributes:
label: What version of `drizzle-kit` are you using?
description: You can check the version by opening the `package.json` file in your project.
placeholder: 0.0.0
validations:
required: false
- type: textarea
attributes:
label: Describe the Bug
description: Steps to reproduce
validations:
required: true
- type: textarea

- type: input
attributes:
label: Expected behavior
description: What you expect to happen
label: Other packages
description: If this bug is related to one of the other first-party packages we maintain, please list them here alongside their version.
placeholder: drizzle-zod@0.0.0, drizzle-valibot@0.0.0
validations:
required: false

- type: textarea
attributes:
label: Environment & setup
description: In which environment does the problem occur?
label: Describe the Bug
description: |
To fill this field, please answer the following:
- What is the undesired behavior?
- What are the steps to reproduce it?
- What is the desired result?
If the issue is more specific, consider answering the following questions if you think they may be relevant:
- What database engine are you using? Are you using a specific cloud provider? Which one?
- Do you think this bug pertains to a specific database driver? Which one?
- Are you working in a monorepo?
- If this is a bug related to types: What Typescript version are you using? What's the content of your tsconfig.json file?
- If you're using a runtime that isn't Node.js: Which one? What version? Have you verified that this isn't an issue with the runtime itself?
validations:
required: false
required: true

20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/docs-template.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: "Documentation Enhancement"
description: Suggest documentation improvements
title: "[DOCS]:"
labels: ["docs"]

body:
- type: checkboxes
id: verified
attributes:
label: Enhancement hasn't been filed before.
options:
- label: I have verified this enhancement I'm about to request hasn't been suggested before.
required: true

- type: textarea
attributes:
label: Describe the enhancement you want to request
description: What do you want to change or add to the documentation?
validations:
required: true
14 changes: 11 additions & 3 deletions .github/ISSUE_TEMPLATE/feature-template.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
name: "Feature Request"
description: Suggest new feature for Drizzle
description: Suggest new feature
title: "[FEATURE]:"
labels: ["enhancement"]

body:
- type: checkboxes
id: verified
attributes:
label: Feature hasn't been suggested before.
options:
- label: I have verified this feature I'm about to request hasn't been suggested before.
required: true

- type: textarea
attributes:
label: Describe what you want
description: What is the problem? What do you want to change or add?
label: Describe the enhancement you want to request
description: What do you want to change or add? What are the benefits of implementing this?
validations:
required: true
9 changes: 3 additions & 6 deletions .github/workflows/release-feature-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
- drizzle-orm
- drizzle-kit
- drizzle-zod
- drizzle-seed
- drizzle-typebox
- drizzle-valibot
- eslint-plugin-drizzle
Expand Down Expand Up @@ -136,12 +137,6 @@ jobs:
cd drizzle-orm
pnpm prisma generate --schema src/prisma/schema.prisma
)
(
cd integration-tests
pnpm prisma generate --schema tests/prisma/pg/schema.prisma
pnpm prisma generate --schema tests/prisma/mysql/schema.prisma
pnpm prisma generate --schema tests/prisma/sqlite/schema.prisma
)
pnpm build
- name: Run tests
Expand All @@ -157,6 +152,8 @@ jobs:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ secrets.XATA_BRANCH }}
LIBSQL_URL: file:local.db
LIBSQL_REMOTE_URL: ${{ secrets.LIBSQL_REMOTE_URL }}
LIBSQL_REMOTE_TOKEN: ${{ secrets.LIBSQL_REMOTE_TOKEN }}
run: |
if [[ ${{ github.event_name }} != "push" && "${{ github.event.pull_request.head.repo.full_name }}" != "${{ github.repository }}" ]]; then
export SKIP_EXTERNAL_DB_TESTS=1
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/release-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
- drizzle-orm
- drizzle-kit
- drizzle-zod
- drizzle-seed
- drizzle-typebox
- drizzle-valibot
- eslint-plugin-drizzle
Expand Down Expand Up @@ -139,12 +140,6 @@ jobs:
cd drizzle-orm
pnpm prisma generate --schema src/prisma/schema.prisma
)
(
cd integration-tests
pnpm prisma generate --schema tests/prisma/pg/schema.prisma
pnpm prisma generate --schema tests/prisma/mysql/schema.prisma
pnpm prisma generate --schema tests/prisma/sqlite/schema.prisma
)
pnpm build
- name: Run tests
Expand All @@ -160,6 +155,8 @@ jobs:
XATA_API_KEY: ${{ secrets.XATA_API_KEY }}
XATA_BRANCH: ${{ secrets.XATA_BRANCH }}
LIBSQL_URL: file:local.db
LIBSQL_REMOTE_URL: ${{ secrets.LIBSQL_REMOTE_URL }}
LIBSQL_REMOTE_TOKEN: ${{ secrets.LIBSQL_REMOTE_TOKEN }}
run: |
if [[ "${{ matrix.package }}" == "drizzle-orm" ]]; then
pnpm test --filter ${{ matrix.package }} --filter integration-tests
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dist-dts
rollup.config-*.mjs
*.log
.DS_Store
drizzle-seed/src/dev
Loading

0 comments on commit 2977b01

Please sign in to comment.