Skip to content

Commit 25380f9

Browse files
author
hoanguyen
committed
🎉 🚀 release: v2.1.12
1 parent 1b38db5 commit 25380f9

19 files changed

+716
-501
lines changed

demo/App.vue

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -103,22 +103,22 @@
103103
</div>
104104
</template>
105105
<script>
106-
import ExampleBasic from './ExampleBasic.vue'
107-
import ExampleResponsive from './ExampleResponsive.vue'
108-
import ExampleScrollPerPage from './ExampleScrollPerPage.vue'
106+
import ExampleBasic from "./ExampleBasic.vue";
107+
import ExampleResponsive from "./ExampleResponsive.vue";
108+
import ExampleScrollPerPage from "./ExampleScrollPerPage.vue";
109109
export default {
110-
name: 'App',
110+
name: "App",
111111
components: { ExampleBasic, ExampleResponsive, ExampleScrollPerPage },
112112
setup() {
113-
return { slideCount: 6 }
113+
return { slideCount: 6 };
114114
},
115-
}
115+
};
116116
</script>
117117

118118
<style lang="css">
119119
body {
120-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
121-
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
120+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
121+
Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
122122
font-size: 16px;
123123
-webkit-font-smoothing: antialiased;
124124
-moz-osx-font-smoothing: grayscale;
@@ -142,7 +142,7 @@ body {
142142
max-width: 1185px;
143143
}
144144
}
145-
pre[class*='language-'] {
145+
pre[class*="language-"] {
146146
background: #2d2d2d;
147147
padding: 1em;
148148
margin: 0.5em 0;
@@ -170,7 +170,7 @@ code {
170170
}
171171
code:before,
172172
code:after {
173-
content: ' ';
173+
content: " ";
174174
letter-spacing: -1px;
175175
}
176176
.token.block-comment,

demo/ExampleBasic.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636

3737
<script>
3838
export default {
39-
name: 'ExampleBasic',
40-
}
39+
name: "ExampleBasic",
40+
};
4141
</script>

demo/ExampleResponsive.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,6 @@
4545

4646
<script>
4747
export default {
48-
name: 'ExampleResponsive',
49-
}
48+
name: "ExampleResponsive",
49+
};
5050
</script>

demo/ExampleScrollPerPage.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@
4040

4141
<script>
4242
export default {
43-
name: 'ExampleScrollPerPage',
44-
}
43+
name: "ExampleScrollPerPage",
44+
};
4545
</script>

demo/main.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { createApp } from 'vue'
2-
import App from './App.vue'
3-
import '../src/scss/index.scss'
4-
import { Carousel, Slide } from '../src/index.js'
1+
import { createApp } from "vue";
2+
import App from "./App.vue";
3+
import "../src/scss/index.scss";
4+
import { Carousel, Slide } from "../src/index.js";
55

6-
const app = createApp(App)
7-
app.component(Carousel.name, Carousel)
8-
app.component(Slide.name, Slide)
6+
const app = createApp(App);
7+
app.component(Carousel.name, Carousel);
8+
app.component(Slide.name, Slide);
99

10-
app.mount('#app')
10+
app.mount("#app");

dist/assets/index.105fe6a6.js

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/assets/index.c63d2966.js

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<meta charset="UTF-8" />
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>Vue Concise Carousel is SSR and CSR friendly</title>
7-
<script type="module" crossorigin src="/assets/index.105fe6a6.js"></script>
7+
<script type="module" crossorigin src="/assets/index.c63d2966.js"></script>
88
<link rel="modulepreload" href="/assets/vendor.e49d05b8.js">
9-
<link rel="stylesheet" href="/assets/index.38e53d8b.css">
9+
<link rel="stylesheet" href="/assets/index.2874ab78.css">
1010
</head>
1111
<body>
1212
<div id="app"></div>

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jambonn/vue-concise-carousel",
3-
"version": "2.1.11",
3+
"version": "2.1.12",
44
"description": "Vue Concise Carousel is SSR and CSR friendly",
55
"keywords": [
66
"vue",
@@ -24,6 +24,7 @@
2424
},
2525
"scripts": {
2626
"dev": "vite",
27+
"release": "node release.js",
2728
"build:demo": "vite build --mode demo",
2829
"build:lib": "vite build --mode lib && yarn build:scss",
2930
"build:scss": "sass src/scss/index.scss > lib/vue-concise-carousel.css && cleancss -o lib/vue-concise-carousel.min.css lib/vue-concise-carousel.css",
@@ -43,14 +44,17 @@
4344
"@vitejs/plugin-vue": "^1.1.5",
4445
"@vue/compiler-sfc": "^3.0.5",
4546
"@vue/eslint-config-prettier": "^6.0.0",
47+
"chalk": "^4.1.1",
4648
"clean-css-cli": "^5.2.2",
4749
"eslint": "^7.23.0",
4850
"eslint-loader": "^4.0.2",
4951
"eslint-plugin-import": "^2.22.1",
5052
"eslint-plugin-prettier": "^3.3.1",
5153
"eslint-plugin-vue": "^7.8.0",
54+
"execa": "^5.1.1",
5255
"prettier": "^2.2.1",
5356
"sass": "^1.32.8",
57+
"semver": "^7.3.5",
5458
"vite": "^2.1.5",
5559
"vue": "^3.0.11"
5660
},

0 commit comments

Comments
 (0)