Browse Source

Move commands settings to src/

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/2331/head
Joas Schilling 6 years ago
parent
commit
690c54d2db
No known key found for this signature in database GPG Key ID: 7076EA9751AACDDA
  1. 5
      package-lock.json
  2. 1
      package.json
  3. 2
      src/CommandsSettings.js
  4. 0
      src/components/AdminSettings/Command.vue
  5. 2
      src/views/AdminSettings/Commands.vue
  6. 1
      vue/webpack.common.js
  7. 1
      webpack.common.js

5
package-lock.json

@ -10391,6 +10391,11 @@
}
}
},
"vue-fragment": {
"version": "1.5.1",
"resolved": "https://registry.npmjs.org/vue-fragment/-/vue-fragment-1.5.1.tgz",
"integrity": "sha512-ig6eES6TcMBbANW71ylB+AJgRN+Zksb3f50AxjGpAk6hMzqmeuD80qeh4LJP0jVw2dMBMjgRUfIkrvxygoRgtQ=="
},
"vue-hot-reload-api": {
"version": "2.3.4",
"resolved": "https://registry.npmjs.org/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz",

1
package.json

@ -23,6 +23,7 @@
"nextcloud-vue": "^0.12.3",
"vue": "^2.6.10",
"vue-contenteditable-directive": "^1.2.0",
"vue-fragment": "^1.5.1",
"vue-router": "^3.1.3",
"vue-virtual-scroll-list": "^1.4.2",
"vuex": "^3.1.1"

2
vue/src/CommandsSettings.js → src/CommandsSettings.js

@ -21,7 +21,7 @@
*/
import Vue from 'vue'
import Commands from './views/Commands'
import Commands from './views/AdminSettings/Commands'
Vue.prototype.t = t
Vue.prototype.n = n

0
vue/src/components/Command.vue → src/components/AdminSettings/Command.vue

2
vue/src/views/Commands.vue → src/views/AdminSettings/Commands.vue

@ -54,7 +54,7 @@
</template>
<script>
import Command from '../components/Command'
import Command from '../../components/AdminSettings/Command'
export default {
name: 'Commands',

1
vue/webpack.common.js

@ -5,7 +5,6 @@ module.exports = {
entry: {
"collections": path.join(__dirname, 'src', 'collections.js'),
"collectionsintegration": path.join(__dirname, 'src', 'collectionsintegration.js'),
"admin/commands": path.join(__dirname, 'src', 'CommandsSettings.js'),
"admin/general-settings": path.join(__dirname, 'src', 'GeneralSettings.js'),
"admin/signaling-server": path.join(__dirname, 'src', 'SignalingServerSettings.js'),
"admin/stun-server": path.join(__dirname, 'src', 'StunServerSettings.js'),

1
webpack.common.js

@ -5,6 +5,7 @@ const StyleLintPlugin = require('stylelint-webpack-plugin')
module.exports = {
entry: {
'admin/allowed-groups': path.join(__dirname, 'src', 'AllowedGroupsSettings.js'),
"admin/commands": path.join(__dirname, 'src', 'CommandsSettings.js'),
'talk': path.join(__dirname, 'src', 'main.js')
},
output: {

Loading…
Cancel
Save