Skip to content

Commit

Permalink
chore: sTL version publish (#471)
Browse files Browse the repository at this point in the history
* chore: sTL version publish

* chore: trigger github action

* docs: github template and README
  • Loading branch information
JOU-amjs authored Jul 22, 2024
1 parent 1c9d917 commit bee4de9
Show file tree
Hide file tree
Showing 20 changed files with 401 additions and 590 deletions.
2 changes: 1 addition & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "next",
"baseBranch": "main",
"updateInternalDependencies": "minor",
"ignore": ["@alova/client", "@alova/server", "react-demo", "vue-demo", "svelte-demo", "server-demo"]
}
8 changes: 2 additions & 6 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"mode": "pre",
"mode": "exit",
"tag": "beta",
"initialVersions": {
"@alova/adapter-axios": "2.0.0",
Expand All @@ -13,11 +13,7 @@
"@alova/server": "2.0.0",
"@alova/shared": "1.0.0",
"@alova/vue-options": "2.0.0",
"@alova/scripts": "1.0.0",
"react-demo": "0.0.0",
"svelte-demo": "0.0.0",
"vue-demo": "0.0.0",
"server-demo": "1.0.0"
"@alova/scripts": "1.0.0"
},
"changesets": [
"afraid-jars-buy",
Expand Down
14 changes: 14 additions & 0 deletions .changeset/strong-rockets-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
'@alova/adapter-axios': patch
'@alova/mock': patch
'@alova/adapter-taro': patch
'@alova/adapter-uniapp': patch
'@alova/adapter-xhr': patch
'alova': patch
'@alova/psc': patch
'@alova/shared': patch
'@alova/vue-options': patch
'@alova/scripts': patch
---

STL version publish
39 changes: 39 additions & 0 deletions .github/DISCUSSION_TEMPLATE/feature-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
title: "\U0001F680 Feature Request:"
labels: ['feature-request']
body:
- type: markdown
attributes:
value: |
:wave: Hi, thank you so much for supporting alova, it's really important for us!
**We aim to build alova into a common project for everyone, and encourage every developer to become a contributor to the alova community with an open and inclusive attitude. If you're interested, you can try to contribute by submitting a PR, it will let developers all over the world to use your code, please [see CONTRIBUTING](https://github.com/alovajs/alova/blob/main/CONTRIBUTING.md) for more details!**
:warning: Please read the following before submitting a new feature request/proposal:
- Confirm that it cannot be implemented through the existing APIs. Usually, we only add new features when the problem cannot be easily solved by the existing APIs, not just an alternative way of doing what can already be done
- Confirm that it is in line with alova's goal, please [see the goal of alova](https://github.com/alovajs/alova/blob/main/CONTRIBUTING.md#goal-of-alova)
- Make sure no duplicates are found in [Issues](https://github.com/alovajs/alova/issues) or [Discussion](https://github.com/alovajs/alova/discussions).
- type: textarea
id: description
attributes:
label: What problem does the new feature need to solve?
description: Before committing, please make sure to read [alova's development direction](../../CONTRIBUTING.md#goal-of-alova).
validations:
required: true

- type: textarea
id: expectation
attributes:
label: How should the new features you expect looks like?
description: You can provide a code design snippet of a new feature to express how the new feature you expect looks like in the new version.

- type: dropdown
id: importance
attributes:
label: How important is it to you?
options:
- Better to have
- Can make it easier to develop
- I'll give up alova without it
validations:
required: true
115 changes: 115 additions & 0 deletions .github/ISSUE_TEMPLATE/01.bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: "\U0001F41E Bug Report"
description: Create a report to help us improve alova
title: '[Bug]: '
labels:
- 'bug:need-confirm'
- 'lang:english'
assignees:
- MeetinaXD
body:
- type: markdown
attributes:
value: |
:wave: Hi, thank you very much for your support for alova, it is really important!
**We hope to build alova into a project shared by everyone, and encourage every developer to become a contributor to the alova community with an open and inclusive attitude. If you are willing, you can try to participate in the contribution by submitting PR, so that your code can provide value for developers all over the world. For specific contributions, please [refer to the contribution guide](https://github.com/alovajs/alova/blob/main/CONTRIBUTING.md)!**
:warning: Before submitting a bug report, please read the following:
- Before submitting a bug, you can first look for a solution through the [official documentation](https://alova.js.org);
- Confirm that you have searched the [historical issues](https://github.com/alovajs/alova/issues) and have not found the same problem.
- If it is a question or doubt, you can post it on [Discussions](https://github.com/alovajs/alova/discussions), which will help the author manage the alova community better.
- Join the [Discord](https://discord.gg/S47QGJgkVb) or [WeChat group](https://alova.js.org/img/wechat_qrcode.jpg) for online discussions.
- type: checkboxes
id: is-this-a-bug
attributes:
label: Is this a Bug?
description: ':warning: If you want to report a proposal or have difficulties in use, please return to the New Issue page and check other options.'
options:
- label: I have confirmed that I want to report a Bug
required: true

- type: checkboxes
id: have-been-report-before
attributes:
label: Has this issue been reported before?
description: ':warning: Please search the Issue to confirm that the issue you are about to submit has not been reported before'
options:
- label: I have confirmed that this Issue has not been reported before
required: true

- type: input
id: version
attributes:
label: Alova Version
description: Please fill in the version number in node_modules/alova/package.json
placeholder: e.g. 3.0.0
validations:
required: true

- type: dropdown
id: framework
attributes:
label: Framework
description: Please choose the framework of the impact of this issue.
multiple: false
options:
- 'React'
- 'Vue'
- 'Svelte'
- 'Nodejs'
- 'Deno'
- 'Bun'
- 'Other Framework'
validations:
required: true

- type: textarea
id: description
attributes:
label: Problem Description
description: Describe in detail the circumstances under which the problem occurred. You can use Markdown syntax to provide key code snippets.
validations:
required: true

- type: textarea
id: expect
attributes:
label: Expected Behavior
description: Clearly and briefly describe the desired effect

- type: input
id: reproduce
attributes:
label: Reproduction Link
description: |
Providing a reproducible project will help the resolver solve the problem faster. You can choose one from the [official example collection](https://alova.js.org/category/examples/) as a template.
You can also reproduce it on your own on [codesandbox](https://codesandbox.io), [stackBlitz](https://stackblitz.com).
You can also provide a GitHub repository link.
Please do not fill in invalid links, otherwise the issue will be closed.
- type: textarea
id: reproduce-steps
attributes:
label: Reproduction Steps
description: How do we need to do to reproduce the problem you encountered? Please provide the simplest operation steps to help us quickly reproduce the problem
placeholder: |
For example:
1. Click the button
2. The request is not sent
validations:
required: true

- type: textarea
id: browsers
attributes:
label: System Information
description: 'Paste the output of the following command: `npx envinfo --system --npmPackages alova,vue,react,svelte --binaries --browsers`'
render: shell
placeholder: System, Binaries, Browsers

- type: textarea
id: remark
attributes:
label: Additional Information
description: If there is any background information about the problem and other useful context information. Such as the solutions you have tried
115 changes: 115 additions & 0 deletions .github/ISSUE_TEMPLATE/02.bug_report_zh-CN.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
name: "\U0001F41E 问题反馈"
description: 使用中文报告问题,帮助 alova 变得更好
title: '[Bug]: '
labels:
- 'bug:need-confirm'
- 'lang:chinese'
assignees:
- MeetinaXD
body:
- type: markdown
attributes:
value: |
:wave: Hi,你好,非常感谢你对 alova 的支持,它真的很重要!
**我们期望将 alova 打造成大家共同的项目,以开放包容的态度鼓励每位开发者成为 alova 社区的贡献者,如果你愿意,可尝试通过提交 PR 参与贡献,让你的代码为全世界的开发者提供价值,具体贡献请 [参阅贡献指南](https://github.com/alovajs/alova/blob/main/CONTRIBUTING.zh-CN.md)!**
:warning: 在报告 Bug 前,请阅读以下内容:
- 报告前先通过 [官方文档](https://alova.js.org) 寻找解决办法。
- 确认已搜索过 [历史 issue](https://github.com/alovajs/alova/issues),并且没有发现同样的问题。
- 如果使用上有困惑,可移步到 [Discussions](https://github.com/alovajs/alova/discussions) 发帖讨论,这有助于作者更好地打理alova社区。
- 可加入 [Discord](https://discord.gg/S47QGJgkVb) 或 [微信群](https://alova.js.org/img/wechat_qrcode.jpg)在线交流。
- type: checkboxes
id: is-this-a-bug
attributes:
label: 这是否是一个 Bug?
description: ':warning: 如果你要报告一个提案,或有使用上的困惑,请返回 Issue 新建页面查看其他选项。'
options:
- label: 我已经确认我要报告的是一个 Bug
required: true

- type: checkboxes
id: have-been-report-before
attributes:
label: 这个问题是否已经存在?
description: ':warning: 提交前请在 Issue 中搜索你要提交的问题是否已经存在'
options:
- label: 我已经确认这个 Issue 没有被报告过
required: true

- type: input
id: version
attributes:
label: Alova 版本
description: 请填写 node_modules/alova/package.json 里的版本号
placeholder: 比如 2.9.0
validations:
required: true

- type: dropdown
id: framework
attributes:
label: 前端框架
description: 请选择与这个问题相关的前端框架
multiple: false
options:
- 'React'
- 'Vue'
- 'Svelte'
- 'Nodejs'
- 'Deno'
- 'Bun'
- '其他框架'
validations:
required: true

- type: textarea
id: description
attributes:
label: 问题描述
description: 详细地描述在什么情况下,遇到了什么问题。可使用 Markdown 语法提供关键代码片段。
validations:
required: true

- type: textarea
id: expect
attributes:
label: 期望的表现
description: 清晰简要地描述期望达成的效果

- type: input
id: reproduce
attributes:
label: 复现链接
description: |
提供一个可复现的项目有助于解决者更快地解决问题,你可以在 [官方示例集](https://alova.js.org/category/examples/) 中选择一个作为模板。
也可以自行在 [codesandbox](https://codesandbox.io)、[stackBlitz](https://stackblitz.com) 中复现。
你也可以提供 GitHub 仓库链接。
请不要填写无效的链接,否则 issue 会被关闭。
- type: textarea
id: reproduce-steps
attributes:
label: 复现步骤
description: 我们需要怎么做才能复现你遇到的问题?请提供一个最简单的操作步骤,方便我们快速复现问题
placeholder: |
例如:
1. 点击按钮
2. 请求未发出
validations:
required: true

- type: textarea
id: browsers
attributes:
label: 系统信息
description: 粘贴以下命令的输出:`npx envinfo --system --npmPackages "alova,vue,react,svelte" --binaries --browsers`
render: shell
placeholder: System, Binaries, Browsers

- type: textarea
id: remark
attributes:
label: 补充说明
description: 如出现问题的背景和其他有用上下文信息。如尝试过的解决方法
69 changes: 0 additions & 69 deletions .github/ISSUE_TEMPLATE/BUG_REPORT_REACT_en.yml

This file was deleted.

Loading

0 comments on commit bee4de9

Please sign in to comment.