Skip to content

Commit

Permalink
Merge branch 'vue3'
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigGoesCoding committed Sep 24, 2020
2 parents 855ba6d + 011ce89 commit a71dd80
Show file tree
Hide file tree
Showing 30 changed files with 21,275 additions and 785 deletions.
15 changes: 14 additions & 1 deletion .babelrc
@@ -1,3 +1,16 @@
{
"presets": ["es2015"]
"presets": [
[
"@babel/preset-env"
]
],
"plugins": [
[
"@babel/plugin-transform-runtime",
{
"regenerator": true,
"corejs": 3
}
]
]
}
18 changes: 13 additions & 5 deletions .eslintrc
@@ -1,7 +1,15 @@
{
"extends": "vue",
"rules": {
"space-before-function-paren": [2, "never"],
"indent": ["error",4]
}
"extends": [
"plugin:vue/vue3-recommended"
],
"rules": {
"space-before-function-paren": [
2,
"never"
],
"indent": [
"error",
4
]
}
}
21 changes: 5 additions & 16 deletions .travis.yml
@@ -1,17 +1,6 @@
sudo: required
dist: trusty
dist: trusty
language: node_js
node_js:
- "8"
- "6"
- "6.1"
- "5.11"

before_install:
- export CHROME_BIN=/usr/bin/google-chrome
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get update
- sudo apt-get install -y libappindicator1 fonts-liberation
- wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome*.deb
node_js:
- 14
- 12
- 10
24 changes: 0 additions & 24 deletions build/webpack.dev.js

This file was deleted.

45 changes: 0 additions & 45 deletions build/webpack.dist.js

This file was deleted.

15 changes: 15 additions & 0 deletions changelog.md
@@ -1,7 +1,22 @@
# Change Log


- Changes before version 1.2.1 not documented (see commit history)
- Project follows [Semantic Versioning](http://semver.org/)

## Version 2.0.0 - Vue 3!!

- Code updated to Vue 3
- Examples updated to Vue 3
- `rating-selected` event renamed to `update:rating` for use witn `v-model`
- `current-rating` event renamed to `hover:rating` (note: kebab-case is usually preferred, but this format has been chosen for consistency with the update:rating event so rule ignored for star-rating.vue)
- `vue-cli-service` now being used for builds and dev
- Deprecated babel-preset-es2015 replaced with "@babel/preset-env" for tests
- Tests rewritten using vue-test-utils with jest (vue-jest)
- Eslint now executed via vue cli and lint rules updated with "plugin:vue/vue3-recommended"
- Update Node versions in travis.yml
- Various dependencies updated / removed

## Version 1.6.1
- Fixes issue where round-start-rating isn't respected when initial value is set via an async call

Expand Down

0 comments on commit a71dd80

Please sign in to comment.