File tree Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Expand file tree Collapse file tree 3 files changed +13
-12
lines changed Original file line number Diff line number Diff line change 5
5
types : [created]
6
6
7
7
jobs :
8
- build :
8
+ ci :
9
9
runs-on : ubuntu-latest
10
10
steps :
11
11
- uses : actions/checkout@v3
19
19
- run : pnpm install
20
20
- run : pnpm lint
21
21
- run : pnpm test
22
- - run : pnpm run build
23
22
24
23
publish-npm :
25
- needs : build
24
+ needs : ci
26
25
runs-on : ubuntu-latest
27
26
steps :
28
27
- uses : actions/checkout@v3
35
34
with :
36
35
version : 9.9.0
37
36
- run : pnpm install
38
- - run : pnpm lint
39
- - run : pnpm test
40
- - run : pnpm publish
37
+ - run : pnpm build
38
+ - run : pnpm publish --no-git-checks
41
39
env :
42
40
NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-interact" ,
3
3
"description" : " Interact.js wrapper for VueJS" ,
4
- "version" : " 2.1.0 " ,
4
+ "version" : " 2.1.1 " ,
5
5
"author" :
" Kimura <[email protected] >" ,
6
6
"private" : false ,
7
- "main" : " dist/vue-interact.umd.cjs" ,
8
7
"type" : " module" ,
9
- "module" : " dist/vue-interact.js" ,
10
8
"exports" : {
11
9
"." : {
12
10
"import" : " ./dist/vue-interact.js" ,
13
11
"require" : " ./dist/vue-interact.umd.cjs"
14
12
}
15
13
},
16
14
"types" : " vue-interact.d.ts" ,
15
+ "files" : [
16
+ " dist"
17
+ ],
17
18
"license" : " MIT" ,
18
19
"scripts" : {
19
20
"build" : " vite build" ,
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ export default defineConfig({
9
9
name : 'VueInteract' ,
10
10
} ,
11
11
rollupOptions : {
12
+ external : [ 'vue' , 'interactjs' ] ,
12
13
output : {
13
- exports : " named" ,
14
+ exports : ' named' ,
14
15
globals : {
15
16
vue : 'Vue' ,
17
+ interactjs : 'interactjs' ,
16
18
} ,
19
+ format : 'es' ,
17
20
} ,
18
- external : [ 'vue' ] ,
19
- }
21
+ } ,
20
22
} ,
21
23
plugins : [
22
24
dts ( {
You can’t perform that action at this time.
0 commit comments