Skip to content

Commit

Permalink
Merge pull request #1896 from seyfeb/chore/prepare-vue-upgrade
Browse files Browse the repository at this point in the history
WIP: Prepare Vue.js 2 -> 3 upgrade, several bugfixes and features
  • Loading branch information
christianlupus committed Dec 3, 2023
2 parents c379fff + 9a4a027 commit 8a21d46
Show file tree
Hide file tree
Showing 72 changed files with 8,305 additions and 7,941 deletions.
32 changes: 29 additions & 3 deletions .eslintrc.yml
Expand Up @@ -5,9 +5,9 @@ plugins:
extends:
- airbnb-base
- "plugin:vue/base"
- "plugin:vue/essential"
- "plugin:vue/strongly-recommended"
- "plugin:vue/recommended"
- "plugin:vue/vue3-essential"
- "plugin:vue/vue3-strongly-recommended"
- "plugin:vue/vue3-recommended"
- prettier

globals:
Expand All @@ -18,6 +18,25 @@ rules:
no-plusplus:
- error
- allowForLoopAfterthoughts: true
quotes:
- error
- single
- avoidEscape: true
semi:
- error
- always
# disallow certain syntax forms
# http://eslint.org/docs/rules/no-restricted-syntax
no-restricted-syntax:
- error
- ForInStatement
- LabeledStatement
- WithStatement
# While we are still on Vue2, we need this. Remove once on Vue3
vue/no-deprecated-dollar-listeners-api: off
# While we are still on Vue2, we need this. Remove once on Vue3
vue/no-deprecated-v-bind-sync: off


root: true

Expand All @@ -27,3 +46,10 @@ settings:
map:
- ["cookbook", "./src"]
- ["icons", "./node_modules/vue-material-design-icons"]


overrides:
- files: [ "src/composables/**/*.js" ]
rules:
import/prefer-default-export: off

5 changes: 3 additions & 2 deletions .prettierrc.json
@@ -1,4 +1,5 @@
{
"semi": false,
"tabWidth": 4
"semi": true,
"tabWidth": 4,
"singleQuote": true
}
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -13,6 +13,8 @@
[#1767](https://github.com/nextcloud/cookbook/pull/1767) @lneugebauer
- Show info for empty cookbook or categories in recipe overview
[#1866](https://github.com/nextcloud/cookbook/pull/1866) @seyfeb
- Allow editing existing recipe as new (see [1867](https://github.com/nextcloud/cookbook/issues/1867))
[#1866](https://github.com/nextcloud/cookbook/pull/1866) @seyfeb

### Fixed
- Fix translation string to not contain quotes
Expand All @@ -37,8 +39,14 @@
[#1892](https://github.com/nextcloud/cookbook/pull/1892) @christianlupus
- Fix English grammar in translatable string
[#1907](https://github.com/nextcloud/cookbook/pull/1907) @rakekniven
- Fix flashing pages on fast internet connections. See [#1891]((https://github.com/nextcloud/cookbook/issues/1891))
[#1896](https://github.com/nextcloud/cookbook/pull/1896) @seyfeb
- Less strict character matching when filtering `RecipeList`, ignoring accents and some letters. Closes [#1870]((https://github.com/nextcloud/cookbook/issues/1870))
[#1896](https://github.com/nextcloud/cookbook/pull/1896) @seyfeb

### Maintenance
- Preparation for migration to vue.js 3
[#1896](https://github.com/nextcloud/cookbook/pull/1896) @seyfeb
- Fix URL of Transifex after upstream subdomain change
[#1598](https://github.com/nextcloud/cookbook/pull/1598) @rakekniven
- Fix webpack dev server settings to allow for docker dev environment
Expand Down

0 comments on commit 8a21d46

Please sign in to comment.