Skip to content

Commit ba397cf

Browse files
committed
workflow and readme
1 parent 46384b4 commit ba397cf

File tree

6 files changed

+6947
-1512
lines changed

6 files changed

+6947
-1512
lines changed

.github/workflows/release.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Release
2+
on:
3+
push:
4+
branches:
5+
- master
6+
- dev
7+
8+
jobs:
9+
release:
10+
name: Release
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout ✅
14+
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
17+
token: ${{ secrets.GH_TOKEN }}
18+
- name: Setup Node.js 🔧
19+
uses: actions/setup-node@v3
20+
with:
21+
node-version: "lts/*"
22+
- name: Install dependencies 🛠️
23+
run: npm ci
24+
- name: Build 📦
25+
run: npm run build
26+
- name: Release 🚀
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
29+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
30+
run: npx semantic-release

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ dist-ssr
2222
*.njsproj
2323
*.sln
2424
*.sw?
25+
*.tgz

.releaserc

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"branches": [
3+
"main",
4+
{ "name": "dev", "prerelease": "alpha"}
5+
],
6+
7+
"plugins": [
8+
9+
"@semantic-release/commit-analyzer",
10+
11+
12+
"@semantic-release/release-notes-generator",
13+
14+
"@semantic-release/npm",
15+
16+
17+
"@semantic-release/github"
18+
]
19+
}

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
1-
# Vue 3 + TypeScript + Vite
1+
# time-blocks-vue
22

3-
This template should help get you started developing with Vue 3 and TypeScript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4-
5-
## Recommended IDE Setup
6-
7-
- [VS Code](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
8-
9-
## Type Support For `.vue` Imports in TS
10-
11-
TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
12-
13-
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
14-
15-
1. Disable the built-in TypeScript Extension
16-
1. Run `Extensions: Show Built-in Extensions` from VSCode's command palette
17-
2. Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
18-
2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
3+
A event calendar component for Vue, focused on drag and resize interaction for manipulating events.

0 commit comments

Comments
 (0)