feat: 添加模板文件

This commit is contained in:
imsyy 2023-06-01 15:15:10 +08:00
parent 04452a5fad
commit 220b81b8cb
4 changed files with 33 additions and 3 deletions

23
.github/ISSUE_TEMPLATE/add.yml vendored Normal file
View File

@ -0,0 +1,23 @@
name: 添加接口
description: 请填写希望添加的接口信息
title: "[添加接口]"
labels: [add]
body:
- type: input
id: name
validations:
required: true
attributes:
label: "希望添加哪个接口?"
placeholder: "请填写接口名称"
- type: input
id: site-url
attributes:
label: "官方接口地址"
description: "如果有的话,请提供官方接口地址"
placeholder: "请填写接口地址"
- type: textarea
id: other
attributes:
label: "其他信息"
description: "还需要说些什么吗"

3
.github/ISSUE_TEMPLATE/other.yml vendored Normal file
View File

@ -0,0 +1,3 @@
name: 其他信息
description: 关于使用上的问题
labels: [other]

View File

@ -1,7 +1,7 @@
{
"name": "dailyhot_api",
"version": "0.0.1",
"description": "一个今日热榜 .",
"version": "0.0.2",
"description": "一个今日热榜",
"main": "index.js",
"scripts": {
"start": "node index.js",

View File

@ -1,4 +1,8 @@
lockfileVersion: '6.0'
lockfileVersion: '6.1'
settings:
autoInstallPeers: true
excludeLinksFromLockfile: false
dependencies:
axios: