-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
176 additions
and
1 deletion.
There are no files selected for viewing
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 @@ | ||
github: SaltyAom |
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,49 @@ | ||
name: 🐛 Bug Report | ||
description: Report an issue that should be fixed | ||
labels: [bug] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for submitting a bug report. It helps make Elysia.JS better. | ||
If you need help or support using Elysia.JS, and are not reporting a bug, please | ||
head over to Q&A discussions [Discussions](https://github.com/elysiajs/elysia/discussions/categories/q-a), where you can ask questions in the Q&A forum. | ||
Make sure you are running the version of Elysia.JS and Bun.Sh | ||
The bug you are experiencing may already have been fixed. | ||
Please try to include as much information as possible. | ||
- type: input | ||
attributes: | ||
label: What version of Elysia is running? | ||
description: Copy the output of `Elysia --revision` | ||
- type: input | ||
attributes: | ||
label: What platform is your computer? | ||
description: | | ||
For MacOS and Linux: copy the output of `uname -mprs` | ||
For Windows: copy the output of `"$([Environment]::OSVersion | ForEach-Object VersionString) $(if ([Environment]::Is64BitOperatingSystem) { "x64" } else { "x86" })"` in the PowerShell console | ||
- type: textarea | ||
attributes: | ||
label: What steps can reproduce the bug? | ||
description: Explain the bug and provide a code snippet that can reproduce it. | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What is the expected behavior? | ||
description: If possible, please provide text instead of a screenshot. | ||
- type: textarea | ||
attributes: | ||
label: What do you see instead? | ||
description: If possible, please provide text instead of a screenshot. | ||
- type: textarea | ||
attributes: | ||
label: Additional information | ||
description: Is there anything else you think we should know? | ||
- type: input | ||
attributes: | ||
label: Have you try removing the `node_modules` and `bun.lockb` and try again yet? | ||
description: rm -rf node_modules && bun.lockb |
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,24 @@ | ||
name: 🚀 Feature Request | ||
description: Suggest an idea, feature, or enhancement | ||
labels: [enhancement] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thank you for submitting an idea. It helps make Elysia.JS better. | ||
If you want to discuss Elysia.JS, or learn how others are using Elysia.JS, please | ||
head to our [Discord](https://discord.com/invite/y7kH46ZE) server, where you can chat among the community. | ||
- type: textarea | ||
attributes: | ||
label: What is the problem this feature would solve? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What is the feature you are proposing to solve the problem? | ||
validations: | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: What alternatives have you considered? |
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: true | ||
contact_links: | ||
- name: 📗 Documentation Issue | ||
url: https://github.com/elysiajs/documentation/issues/new/choose | ||
about: Head over to our Documentation repository! | ||
- name: 💬 Ask a Question | ||
url: https://discord.gg/eaFJ2KDJck | ||
about: Head over to our Discord! |
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 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: 'npm' | ||
directory: './' | ||
schedule: | ||
interval: 'daily' | ||
|
||
- package-ecosystem: 'github-actions' | ||
directory: './' | ||
schedule: | ||
interval: 'daily' |
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,28 @@ | ||
name: Build and Test | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
build: | ||
name: Build and test code | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup bun | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Install packages | ||
run: bun install | ||
|
||
- name: Build code | ||
run: bun run build | ||
|
||
- name: Test | ||
run: bun run 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,50 @@ | ||
name: Publish | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
permissions: | ||
id-token: write | ||
|
||
env: | ||
# Enable debug logging for actions | ||
ACTIONS_RUNNER_DEBUG: true | ||
|
||
jobs: | ||
publish-npm: | ||
name: 'Publish: npm Registry' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 'Checkout' | ||
uses: actions/checkout@v4 | ||
|
||
- name: 'Setup Bun' | ||
uses: oven-sh/setup-bun@v1 | ||
with: | ||
bun-version: latest | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install packages | ||
run: bun install | ||
|
||
- name: Build code | ||
run: bun run build | ||
|
||
- name: Test | ||
run: bun run test | ||
|
||
- name: 'Publish' | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
run: | | ||
npm publish --provenance --access=public |
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
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