🤖 Add release-drafter

This commit is contained in:
SebClem 2022-07-04 11:58:21 +02:00 committed by Sébastien Clément
parent 12f512e05b
commit db5bb9ba32
5 changed files with 234 additions and 7320 deletions

4
.github/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,4 @@
template: |
## Whats Changed
$CHANGES

26
.github/workflows/release-drafter.yml vendored Normal file
View File

@ -0,0 +1,26 @@
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,24 +1,22 @@
{ {
"name": "claptrap-ui", "name": "claptrap-ui",
"version": "0.0.0", "version": "0.0.0",
"packageManager": "yarn@3.2.1",
"scripts": { "scripts": {
"serve": "vite preview", "serve": "vite preview",
"build": "vite build", "build": "vite build",
"test:unit": "vitest --environment jsdom", "test:unit": "vitest --environment jsdom",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
"dev": "vite", "dev": "vite",
"preview": "vite preview --port 5050",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
"postinstall": "husky install", "postinstall": "husky install",
"postpublish": "pinst --enable",
"prepublishOnly": "pinst --disable", "prepublishOnly": "pinst --disable",
"postpublish": "pinst --enable" "preview": "vite preview --port 5050",
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false"
}, },
"dependencies": { "dependencies": {
"@mdi/font": "6.9.96", "@mdi/font": "6.9.96",
"@types/js-cookie": "3.0.2", "@types/js-cookie": "3.0.2",
"@types/uuid": "8.3.4", "@types/uuid": "8.3.4",
"@vue/cli": "5.0.6",
"axios": "0.27.2", "axios": "0.27.2",
"jose": "4.8.3", "jose": "4.8.3",
"js-cookie": "3.0.1", "js-cookie": "3.0.1",
@ -41,8 +39,7 @@
"@vue/eslint-config-typescript": "11.0.0", "@vue/eslint-config-typescript": "11.0.0",
"@vue/test-utils": "2.0.0", "@vue/test-utils": "2.0.0",
"@vue/tsconfig": "0.1.3", "@vue/tsconfig": "0.1.3",
"@vuetify/vite-plugin": "1.0.0-alpha.11", "eslint": "8.18.0",
"eslint": "8.19.0",
"eslint-plugin-vue": "9.1.1", "eslint-plugin-vue": "9.1.1",
"husky": "8.0.1", "husky": "8.0.1",
"jsdom": "20.0.0", "jsdom": "20.0.0",
@ -53,13 +50,15 @@
"sass-loader": "13.0.2", "sass-loader": "13.0.2",
"typescript": "4.7.4", "typescript": "4.7.4",
"vite": "2.9.13", "vite": "2.9.13",
"vitest": "0.17.0", "vite-plugin-vuetify": "^1.0.0-alpha.12",
"vitest": "0.16.0",
"vue-cli-plugin-vuetify": "2.5.1", "vue-cli-plugin-vuetify": "2.5.1",
"vue-tsc": "0.38.2", "vue-tsc": "0.38.2",
"vuetify-loader": "2.0.0-alpha.9" "webpack-plugin-vuetify": "2.0.0-alpha.11"
}, },
"lint-staged": { "lint-staged": {
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix", "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix",
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts,css,scss,md,yml,yaml,json}": "prettier --write" "*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts,css,scss,md,yml,yaml,json}": "prettier --write"
} },
"packageManager": "yarn@3.2.1"
} }

View File

@ -1,7 +1,7 @@
import { defineConfig } from "vite";
import vue from "@vitejs/plugin-vue"; import vue from "@vitejs/plugin-vue";
import vuetify from "@vuetify/vite-plugin";
import path from "path"; import path from "path";
import { defineConfig } from "vite";
import vuetify from "vite-plugin-vuetify";
// https://vitejs.dev/config/ // https://vitejs.dev/config/
export default defineConfig({ export default defineConfig({

7501
yarn.lock

File diff suppressed because it is too large Load Diff