Skip to content

Commit

Permalink
fix: rexport style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed May 9, 2022
1 parent 2b93473 commit 08c723d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: yarn install
- run: yarn rebirth
- run: yarn restyle
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ npm install vue-touch-ripple --save
<script>
// import component & style
import { TouchRipple } from 'vue-touch-ripple'
import 'vue-touch-ripple/css'
import 'vue-touch-ripple/style.css'
export default {
components: {
Expand All @@ -70,7 +70,7 @@ npm install vue-touch-ripple --save
```javascript
import { createApp } from 'vue'
import VueTouchRipple from 'vue-touch-ripple'
import 'vue-touch-ripple/css'
import 'vue-touch-ripple/style.css'

const app = createApp()

Expand Down
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-touch-ripple",
"version": "4.0.0-rc.3",
"version": "4.0.0-rc.4",
"description": "Touch ripple component for Vue",
"keywords": [
"vue touch ripple",
Expand All @@ -18,7 +18,8 @@
},
"homepage": "https://github.surmon.me/vue-touch-ripple",
"files": [
"dist"
"dist",
"style.css"
],
"sideEffects": false,
"types": "./dist/vue-touch-ripple.esm.d.ts",
Expand All @@ -29,15 +30,18 @@
"import": "./dist/vue-touch-ripple.esm.js",
"require": "./dist/vue-touch-ripple.umd.js"
},
"./css": "./dist/vue-touch-ripple.esm.css",
"./types": "./dist/vue-touch-ripple.esm.d.ts"
"./style.css": "./style.css",
"./types": "./dist/vue-touch-ripple.esm.d.ts",
"./dist/vue-touch-ripple.esm.css": "./dist/vue-touch-ripple.esm.css",
"./package.json": "./package.json"
},
"scripts": {
"dev": "vite",
"build": "libundler",
"test": "vitest run --coverage",
"lint": "eslint --ext .js,.ts,.vue src test",
"rebirth": "npm run lint && npm run test && npm run build",
"restyle": "cp \"./dist/vue-touch-ripple.esm.css\" \"./style.css\"",
"release": ". ./scripts/release.sh"
},
"peerDependencies": {
Expand Down

0 comments on commit 08c723d

Please # to comment.