Skip to content

Commit 5fe1d88

Browse files
authored
Merge pull request #73 from kimuraz/dev
v2.1.0
2 parents 8f9a68d + 14aaeaa commit 5fe1d88

28 files changed

+1735
-3003
lines changed

.eslintrc.js

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,17 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18.x, 20.x]
15+
node-version: [20.x]
1616
steps:
1717
- uses: actions/checkout@v3
1818
- name: Use Node.js ${{ matrix.node-version }}
1919
uses: actions/setup-node@v3
2020
with:
2121
node-version: ${{ matrix.node-version }}
22+
- name: Setup pnpm
23+
uses: pnpm/action-setup@v4
24+
with:
25+
version: 9.9.0
2226
- run: pnpm install
2327
- run: pnpm run test:ci
2428
- run: pnpm run build

.github/workflows/release.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,13 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
with:
14-
node-version: 18
15-
- run: npm ci
16-
- run: npm run build
14+
node-version: 20
15+
- name: Setup pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 9.9.0
19+
- run: pnpm ci
20+
- run: pnpm run build
1721

1822
publish-npm:
1923
needs: build
@@ -22,9 +26,13 @@ jobs:
2226
- uses: actions/checkout@v3
2327
- uses: actions/setup-node@v3
2428
with:
25-
node-version: 18
29+
node-version: 20
2630
registry-url: https://registry.npmjs.org/
27-
- run: npm ci
28-
- run: npm publish
31+
- name: Setup pnpm
32+
uses: pnpm/action-setup@v4
33+
with:
34+
version: 9.9.0
35+
- run: pnpm ci
36+
- run: pnpm publish
2937
env:
3038
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,5 @@ yarn-error.log*
88
.temp/
99
.cache/
1010
coverage/
11+
dist/
12+
docs/.vuepress/dist/

.husky/commit-msg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm commitlint --edit $1

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pnpm test
2+
pnpm lint

README.md

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,16 @@
44
55
[![Netlify Status](https://api.netlify.com/api/v1/badges/0d134e46-98be-4533-a02f-fbf9e0358879/deploy-status)](https://app.netlify.com/sites/vue-interact/deploys)
66

7-
8-
:book: [Checkout the documentation](https://vue-interact.netlify.com/)
7+
:book: [Checkout the documentation](https://vue-interact.netlify.app/)
98

109
## Build Setup
1110

12-
``` bash
11+
```bash
1312
npm install vue-interact --save
1413
# or
1514
yarn add vue-interact
1615
```
1716

18-
19-
## Back-To-Work Plan
20-
21-
- [ ] Contribuition directives
22-
- [X] Separate properly InteractPanel
23-
- [ ] Directive
24-
- [ ] Documentation
25-
- [X] Change building process
26-
- [X] CI Process
27-
28-
> Any contribuition is welcome :arrow_up:
29-
3017
## ©️ License
3118

3219
[MIT](http://opensource.org/licenses/MIT)

commitlint.config.ts

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
[
8+
'build',
9+
'chore',
10+
'ci',
11+
'docs',
12+
'feat',
13+
'fix',
14+
'perf',
15+
'refactor',
16+
'revert',
17+
'style',
18+
'test',
19+
],
20+
],
21+
},
22+
};

dist/composables/useDraggable.d.ts

Lines changed: 0 additions & 13 deletions
This file was deleted.

dist/composables/useInteractContext.d.ts

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)