From fb8d61e0c8b0aa4bfcd48bc1f3369fd150694a1b Mon Sep 17 00:00:00 2001 From: Wenty Li <105278450+wenty22@users.noreply.github.com> Date: Wed, 15 Nov 2023 14:22:58 +0800 Subject: [PATCH] chore: Update issue_template (#23) * feat: Add test example * feat: Update examples * feat: Add disclaimer & download url * docs: Update example * docs: Update docs * docs: Update docs * docs: Update gitignore * docs: Update docs * feat: Add zIndices theme config * feat: Update examples * feat: Refactor switch network modal * refactor: Clean code * feat: Update examples * refactor: Update dependencies * feat: Update version * docs: Update docs * chore: Add changeset * test: Test changeset version * docs: Create LICENSE * docs: Update packages info * chore: Add husky & lint-staged * abc: test commit lint * chore: Update husky * chore: Update husky * test: test husky * chore: Add issue & pr template * fix: Update OpenSwitchNetworkOptions type * feat: Add options to control modal close * feat: Add default wallets to walletConnect * docs: Update useModal document * refactor: Add className to base components * chore: Add release github acton * chore: Add publish ci script * chore: Fix github action * chore: Update github action * test: Test github action * chore: Add .pnpm-store to gitignore * chore: Update github action * chore: Copy readme to walletkit package when publish * chore: Update issue_template --- .github/ISSUE_TEMPLATE/issue_template.yaml | 64 ++++++++++++++++++++++ .github/workflows/release.yaml | 2 +- package.json | 2 +- 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 .github/ISSUE_TEMPLATE/issue_template.yaml diff --git a/.github/ISSUE_TEMPLATE/issue_template.yaml b/.github/ISSUE_TEMPLATE/issue_template.yaml new file mode 100644 index 00000000..81c31f18 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/issue_template.yaml @@ -0,0 +1,64 @@ +name: Bug Report +description: File a bug/issue +title: '[bug] ' +body: + - type: markdown + attributes: + value: | + Thanks for taking the time to fill out this bug report! The more info you provide, the more we can help you. + + - type: input + attributes: + label: WalletKit Version + description: What version of WalletKit are you using? + placeholder: 1.0.0 + validations: + required: true + + - type: input + attributes: + label: wagmi Version + description: What version of wagmi are you using? + placeholder: 1.0.0 + validations: + required: true + + - type: textarea + attributes: + label: Describe the bug + description: A clear and concise description of what the bug is. + validations: + required: false + + - type: textarea + attributes: + label: Expected behavior + description: A concise description of what you expected to happen. + validations: + required: false + + - type: textarea + attributes: + label: Steps to reproduce + description: Steps or code snippets to reproduce the behavior. + validations: + required: false + + - type: input + attributes: + label: Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.) + description: | + This makes investigating issues and helping you out significantly easier! For most issues, you will likely get asked to provide one so why not add one now :) + placeholder: https://codesandbox.io + validations: + required: false + + - type: textarea + attributes: + label: Anything else? + description: | + Browser info? Screenshots? Anything that will give us more context about the issue you are encountering! + + Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. + validations: + required: false diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 070707f7..391aa96e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -3,7 +3,7 @@ on: push: branches: - main - - dev + - 0.x env: CI: true diff --git a/package.json b/package.json index 3a9baf2a..f6c8c972 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "prepare": "husky install", "dev": "pnpm --recursive --parallel --filter example-test --filter @totejs/walletkit dev", - "ci:version": "pnpm changeset version && pnpm install", + "ci:version": "pnpm changeset version && pnpm install && cp README.md packages/walletkit/README.md", "ci:publish": "pnpm publish -r" }, "devDependencies": {