Skip to content

Commit

Permalink
0.10 refactor (#422)
Browse files Browse the repository at this point in the history
* Apply eslint

+ one attribute per line
+ removed unecessary props from return
+ attribute ordering

* components should be declared in pascal case

* excluded existing v-html cases

* added missing default value

* added missing emit declarations

* removed missed prop exports

* fixed no-template-shadowing

* fixed computed not returning in all cases

* fixed missing key

* removed ol map

* fixed entriesloaded being changed in computed

* Removed props being manipulated directly.

Restructured User-/Preferences.

* set disabled on pref

* Removed vue markdown

* small fixes

* fixed missing components

* fixe wrong object default value

* eslint more dir target

* make eslint focus vue/no-v-html directly

* make eslint focus vue/no-v-html directly

* fixed small issues

* fix password reset workflow

* avoid using v-html in search component

* fix checking for listeners

---------

Signed-off-by: Vinzenz Rosenkranz <[email protected]>
Co-authored-by: Vinzenz Rosenkranz <[email protected]>
  • Loading branch information
Severino and v1r0x authored Oct 26, 2023
1 parent 65657bb commit 02042e4
Show file tree
Hide file tree
Showing 143 changed files with 10,930 additions and 7,917 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"extends": "plugin:vue/vue3-recommended",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": "latest"
},
"env": {
"browser": true,
"es6": true,
"node": true
},
"rules": {
"vue/multi-word-component-names": "off",
"vue/html-indent": [
"warn",
4
],
"no-console": "off",
"no-unused-vars": "off",
"no-extra-boolean-cast": "off",
"no-extra-semi": "warn",
"quotes": [
"warn",
"single",
{
"allowTemplateLiterals": true
}
]
}
}
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ MIX_APP_PATH=
```

#### Send Mails
If you want to send mails to your users (e.g. password reset), you have to adjust the `MAIL_*` settings to match a smtp server from where you can send mails.
If you want to send mails to your users, you have to adjust the `MAIL_*` settings to match a smtp server from where you can send mails.

### Configure JavaScript
Spacialist is based on several JavaScript libraries, which are bundled using Webpack (configuration is done using Laravel Mix, a webpack-wrapper for Laravel). Only the zipped releases contain the already bundled JavaScript libraries. All other users have to run webpack to bundle these libraries.
Expand Down
5,514 changes: 3,716 additions & 1,798 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"development": "npx mix",
"watch": "npx mix watch",
"prod": "npm run production",
"production": "npx mix -p"
"production": "npx mix -p",
"lint": "npx eslint --ext .js,.vue resources/js",
"lint:fix": "npx eslint --ext .js,.vue resources/js --fix"
},
"devDependencies": {
"@fortawesome/fontawesome-svg-core": "^6.4.0",
Expand All @@ -31,6 +33,10 @@
"@vue/compiler-sfc": "^3.3.4",
"@websanova/vue-auth": "^4.2.1",
"axios": "^1.4.0",
"browser-sync": "^2.29.3",
"browser-sync-webpack-plugin": "^2.3.0",
"eslint": "^8.51.0",
"eslint-plugin-vue": "^9.17.0",
"laravel-mix": "^6.0.49",
"postcss": "^8.4.22",
"resolve-url-loader": "^5.0.0",
Expand Down
821 changes: 513 additions & 308 deletions resources/js/App.vue

Large diffs are not rendered by default.

Loading

0 comments on commit 02042e4

Please sign in to comment.