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 55 types : [created]
66
77jobs :
8- build :
8+ ci :
99 runs-on : ubuntu-latest
1010 steps :
1111 - uses : actions/checkout@v3
1919 - run : pnpm install
2020 - run : pnpm lint
2121 - run : pnpm test
22- - run : pnpm run build
2322
2423 publish-npm :
25- needs : build
24+ needs : ci
2625 runs-on : ubuntu-latest
2726 steps :
2827 - uses : actions/checkout@v3
3534 with :
3635 version : 9.9.0
3736 - 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
4139 env :
4240 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 11{
22 "name" : " vue-interact" ,
33 "description" : " Interact.js wrapper for VueJS" ,
4- "version" : " 2.1.0 " ,
4+ "version" : " 2.1.1 " ,
55 "author" : " Kimura <joseduardo.kimura@gmail.com>" ,
66 "private" : false ,
7- "main" : " dist/vue-interact.umd.cjs" ,
87 "type" : " module" ,
9- "module" : " dist/vue-interact.js" ,
108 "exports" : {
119 "." : {
1210 "import" : " ./dist/vue-interact.js" ,
1311 "require" : " ./dist/vue-interact.umd.cjs"
1412 }
1513 },
1614 "types" : " vue-interact.d.ts" ,
15+ "files" : [
16+ " dist"
17+ ],
1718 "license" : " MIT" ,
1819 "scripts" : {
1920 "build" : " vite build" ,
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ export default defineConfig({
99 name : 'VueInteract' ,
1010 } ,
1111 rollupOptions : {
12+ external : [ 'vue' , 'interactjs' ] ,
1213 output : {
13- exports : " named" ,
14+ exports : ' named' ,
1415 globals : {
1516 vue : 'Vue' ,
17+ interactjs : 'interactjs' ,
1618 } ,
19+ format : 'es' ,
1720 } ,
18- external : [ 'vue' ] ,
19- }
21+ } ,
2022 } ,
2123 plugins : [
2224 dts ( {
You can’t perform that action at this time.
0 commit comments