diff --git a/.eslintrc.js b/.eslintrc.js index b3eb5fb4..3eea4263 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,16 +1,15 @@ module.exports = { root: true, env: { - node: true + node: true, }, - 'extends': [ - 'plugin:vue/essential' - ], + extends: ["plugin:vue/essential", "eslint:recommended", "@vue/prettier"], rules: { - 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off', - 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' + "vue/multi-word-component-names": "off", + "no-console": process.env.NODE_ENV === "production" ? "error" : "off", + "no-debugger": process.env.NODE_ENV === "production" ? "error" : "off", }, parserOptions: { - parser: 'babel-eslint' - } -} + parser: "@babel/eslint-parser", + }, +}; diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a585151..92f637e8 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -4,9 +4,9 @@ jobs: autoclose: runs-on: ubuntu-latest steps: - - name: Issue auto-closer - uses: roots/issue-closer-action@v1.1 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the bellow rules:\n\n
\n\n\n\nIMPORTANT: Please use the following link to create a new issue:\n\nhttps://www.creative-tim.com/new-issue/vue-argon-design-system\n\n**If your issue was not created using the app above, it will be closed immediately.**\n\n\n\nLove Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:\nš https://www.creative-tim.com/bundles\nš https://www.creative-tim.com\n\n\n\n\n" - issue-pattern: (\#\#\# Version([\S\s.*]*?)\#\#\# Reproduction link([\S\s.*]*?)\#\#\# Operating System([\S\s.*]*?)\#\#\# Device([\S\s.*]*?)\#\#\# Browser & Version([\S\s.*]*?)\#\#\# Steps to reproduce([\S\s.*]*?)\#\#\# What is expected([\S\s.*]*?)\#\#\# What is actually happening([\S\s.*]*?)---([\S\s.*]*?)\#\#\# Solution([\S\s.*]*?)\#\#\# Additional comments([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>)|(\#\#\# What is your enhancement([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>) + - name: Issue auto-closer + uses: roots/issue-closer-action@v1.1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-close-message: "@${issue.user.login} this issue was automatically closed because it did not follow the bellow rules:\n\n
\n\n\n\nIMPORTANT: Please use the following link to create a new issue:\n\nhttps://www.creative-tim.com/new-issue/vue-argon-design-system\n\n**If your issue was not created using the app above, it will be closed immediately.**\n\n\n\nLove Creative Tim? Do you need Angular, React, Vuejs or HTML? You can visit:\nš https://www.creative-tim.com/bundles\nš https://www.creative-tim.com\n\n\n\n\n" + issue-pattern: (\#\#\# Version([\S\s.*]*?)\#\#\# Reproduction link([\S\s.*]*?)\#\#\# Operating System([\S\s.*]*?)\#\#\# Device([\S\s.*]*?)\#\#\# Browser & Version([\S\s.*]*?)\#\#\# Steps to reproduce([\S\s.*]*?)\#\#\# What is expected([\S\s.*]*?)\#\#\# What is actually happening([\S\s.*]*?)---([\S\s.*]*?)\#\#\# Solution([\S\s.*]*?)\#\#\# Additional comments([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>)|(\#\#\# What is your enhancement([\S\s.*]*?)\<\!-- generated by creative-tim-issues\. DO NOT REMOVE --\>) diff --git a/.gitignore b/.gitignore index 185e6631..8e521562 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .DS_Store node_modules +package-lock.json /dist # local env files diff --git a/.npmrc b/.npmrc new file mode 100644 index 00000000..5c6c9587 --- /dev/null +++ b/.npmrc @@ -0,0 +1,3 @@ +legacy-peer-deps=true +auto-install-peers=true +strict-peer-dependencies=false \ No newline at end of file diff --git a/.postcssrc.js b/.postcssrc.js index 100cc012..a47ef4f9 100644 --- a/.postcssrc.js +++ b/.postcssrc.js @@ -1,5 +1,5 @@ module.exports = { plugins: { - autoprefixer: {} - } -} \ No newline at end of file + autoprefixer: {}, + }, +}; diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c6a8520..23142e15 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,22 @@ # Changelog +##[1.2.0] 2023-06-20 + +- Update dependencies and devDependencies +- Fix installation issue when running `npm i` +- Fix issue when running `npm run serve` +- Migrate from `node-sass` to `sass` +- Fix warnings + ##[1.1.0] 2019-02-12 + - Package updates - SSR fixes for checkboxes and radio - IE fixes - Best practices & accessibility improvements + pwa support ## [1.0.0] 2018-08-14 + Initial stable release + ### Original Release diff --git a/babel.config.js b/babel.config.js index d118d549..9cb4380e 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,10 +1,3 @@ module.exports = { - presets: [ - [ - "@vue/app", - { - "polyfills": ["es7.object.entries", "es6.promise"] - } - ] - ] + presets: [["@vue/app"]], }; diff --git a/package.json b/package.json index 86ea86aa..45cd0f9f 100644 --- a/package.json +++ b/package.json @@ -1,30 +1,41 @@ { "name": "vue-argon-design-system", - "version": "0.1.0", + "version": "1.2.0", "private": true, "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", - "lint": "vue-cli-service lint" + "lint": "vue-cli-service lint", + "prettify": "prettier --write ." }, "dependencies": { - "bootstrap-vue": "^2.0.4", - "flatpickr": "^4.5.1", - "nouislider": "^11.1.0", - "register-service-worker": "^1.5.2", - "vue": "^2.6.6", - "vue-flatpickr-component": "^8.1.1", - "vue-lazyload": "^1.2.6", - "vue-router": "^3.0.2", - "vue2-transitions": "^0.2.3" + "bootstrap-vue": "2.23.1", + "flatpickr": "4.6.13", + "nouislider": "15.7.1", + "register-service-worker": "1.7.2", + "vue": "2.7.14", + "vue-flatpickr-component": "8.1.8", + "vue-lazyload": "1.3.4", + "vue-router": "3.6.5", + "vue2-transitions": "0.3.0" }, "devDependencies": { - "@vue/cli-plugin-babel": "^3.4.0", - "@vue/cli-plugin-eslint": "^3.4.0", - "@vue/cli-plugin-pwa": "^3.4.0", - "@vue/cli-service": "^3.4.0", - "node-sass": "^4.11.0", - "sass-loader": "^7.1.0", - "vue-template-compiler": "^2.6.6" + "@babel/eslint-parser": "7.22.5", + "@vue/cli-plugin-babel": "5.0.8", + "@vue/cli-plugin-eslint": "5.0.8", + "@vue/cli-plugin-pwa": "5.0.8", + "@vue/cli-service": "5.0.8", + "@vue/eslint-config-prettier": "7.1.0", + "babel-plugin-component": "1.1.1", + "eslint": "8.43.0", + "eslint-plugin-prettier": "4.2.1", + "eslint-plugin-vue": "9.15.0", + "prettier": "2.8.8", + "sass": "1.63.4", + "sass-loader": "13.3.2", + "vue-template-compiler": "2.7.14" + }, + "overrides": { + "consolidate": "1.0.1" } } diff --git a/public/index.html b/public/index.html index d1d0da56..b15a872e 100644 --- a/public/index.html +++ b/public/index.html @@ -1,11 +1,11 @@ - + diff --git a/src/App.vue b/src/App.vue index 2f8b8a7c..af7d0d78 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,20 +1,20 @@ -