This repository has been archived by the owner on Feb 10, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: lilnasy <[email protected]>
- Loading branch information
1 parent
bdca036
commit 57f0748
Showing
8 changed files
with
220 additions
and
2 deletions.
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,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
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 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": ["@changesets/changelog-github", { "repo": "withastro/astro-adapters" }], | ||
"commit": false, | ||
"access": "public", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { | ||
"onlyUpdatePeerDependentsWhenOutOfRange": 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,52 @@ | ||
name: "\U0001F41B Bug Report" | ||
description: Report an issue or possible bug | ||
labels: [] | ||
assignees: [] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Quick Checklist | ||
Thank you for taking the time to file a bug report! Please fill out this form as completely as possible. | ||
✅ I am using a version of Node that Astro supports (`>=18.14.1`) | ||
✅ I am using the **latest version of the adapter**. | ||
✅ I am using the **latest version of Astro** and all integrations. | ||
- type: textarea | ||
id: astro-info | ||
attributes: | ||
label: Astro Info | ||
description: Run the command `astro info` in your terminal and paste the output here. Please review the data before submitting in case there is any sensitive information you don't want to share. | ||
render: block | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug-description | ||
attributes: | ||
label: Describe the Bug | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: bug-expectation | ||
attributes: | ||
label: What's the expected result? | ||
description: Describe what you expect to happen. | ||
validations: | ||
required: true | ||
- type: input | ||
id: bug-reproduction | ||
attributes: | ||
label: Link to Minimal Reproducible Example | ||
description: 'Use [astro.new](https://astro.new) to create a minimal reproduction of the problem. **A minimal reproduction is required** so that others can help debug your issue. If a report is vague (e.g. just a generic error message) and has no reproduction, it may be auto-closed. Not sure how to create a minimal example? [Read our guide](https://docs.astro.build/en/guides/troubleshooting/#creating-minimal-reproductions)' | ||
placeholder: 'https://stackblitz.com/abcd1234' | ||
validations: | ||
required: true | ||
- type: checkboxes | ||
id: will-pr | ||
attributes: | ||
label: Participation | ||
options: | ||
- label: I am willing to submit a pull request for this issue. | ||
required: false |
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,14 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: 📘 Documentation | ||
url: https://github.com/withastro/docs | ||
about: File an issue or make an improvement to the docs website. | ||
- name: 💡 Ideas for New Features, Improvements and RFCs | ||
url: https://github.com/withastro/adapters/discussions | ||
about: Propose and discuss future improvements to Astro | ||
- name: 👾 Chat | ||
url: https://astro.build/chat | ||
about: Our Discord server is active, come join us! | ||
- name: 💁 Support | ||
url: https://astro.build/chat | ||
about: 'This issue tracker is not for support questions. Join us on Discord for assistance!' |
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 @@ | ||
## Changes | ||
|
||
- What does this change? | ||
- Be short and concise. Bullet points can help! | ||
- Before/after screenshots can help as well. | ||
- Don't forget a changeset! `pnpm exec changeset` | ||
|
||
## Testing | ||
|
||
<!-- How was this change tested? --> | ||
<!-- DON'T DELETE THIS SECTION! If no tests added, explain why. --> | ||
|
||
## Docs | ||
|
||
<!-- Could this affect a user’s behavior? We probably need to update README.md! --> | ||
<!-- DON'T DELETE THIS SECTION! If no docs added, explain why.--> |
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,46 @@ | ||
name: Format | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
format: | ||
name: Format | ||
if: github.repository_owner == 'withastro' | ||
runs-on: ubuntu-latest | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
# Needs access to push to main | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Format code | ||
run: pnpm run format:ci | ||
|
||
- name: Commit changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "[ci] format" | ||
branch: ${{ github.head_ref }} | ||
commit_user_name: astrobot-houston | ||
commit_user_email: [email protected] |
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,71 @@ | ||
name: Release | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
|
||
env: | ||
# TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | ||
# TURBO_TEAM: ${{ secrets.TURBO_TEAM }} | ||
FORCE_COLOR: true | ||
|
||
jobs: | ||
changelog: | ||
name: Changelog PR or Release | ||
if: ${{ github.repository_owner == 'withastro' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
id-token: write | ||
pull-requests: write | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Setup PNPM | ||
uses: pnpm/action-setup@v2 | ||
|
||
- name: Setup Node | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
cache: "pnpm" | ||
|
||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build Packages | ||
run: pnpm run build | ||
|
||
- name: Create Release Pull Request or Publish | ||
id: changesets | ||
uses: changesets/action@v1 | ||
with: | ||
# Note: pnpm install after versioning is necessary to refresh lockfile | ||
version: pnpm run version | ||
publish: pnpm exec changeset publish | ||
commit: "[ci] release" | ||
title: "[ci] release" | ||
env: | ||
# Needs access to push to main | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# Needs access to publish to npm | ||
# NPM_TOKEN: ${{ secrets.CHANGESETS_RELEASE_PR_WORKFLOW_NPM_TOKEN }} | ||
|
||
# - name: Generate Notification | ||
# id: notification | ||
# if: steps.changesets.outputs.published == 'true' | ||
# run: message=$(node scripts/notify/index.js '${{ steps.changesets.outputs.publishedPackages }}') && echo ::set-output name=message::${message//$'\n'/'%0A'} | ||
|
||
# - name: Discord Notification | ||
# if: steps.changesets.outputs.published == 'true' | ||
# id: discord-notification | ||
# env: | ||
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} | ||
# uses: Ilshidur/[email protected] | ||
# with: | ||
# args: ${{ steps.notification.outputs.message }} |
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