diff --git a/live_monitor_vue/.eslintrc.cjs b/live_monitor_vue/.eslintrc.cjs index b062e6c..9a76339 100644 --- a/live_monitor_vue/.eslintrc.cjs +++ b/live_monitor_vue/.eslintrc.cjs @@ -5,6 +5,9 @@ module.exports = { ], rules: { "no-multiple-empty-lines": ["error", {max: 2, "maxBOF": 0}], + "vue/component-tags-order": ["error", { + "order": [ "script", "template", "style"] + }], "vue/order-in-components": "error", "indent": ["error", 2], "no-mixed-spaces-and-tabs": "error", diff --git a/live_monitor_vue/Makefile b/live_monitor_vue/Makefile index 86684e2..f923168 100644 --- a/live_monitor_vue/Makefile +++ b/live_monitor_vue/Makefile @@ -22,6 +22,18 @@ prehook: @chmod +x $(HOOK_PATH) @echo "Pre-push hook set successfully." +add: +ifeq ($(pack),) + $(error mn is not set) +endif + yarn add "../repo/${pack}/" + +packs_list: + cd .. && make packs_list + +list_packs: + make packs_list + push: ifeq ($(commit),) $(error mn is not set) diff --git a/live_monitor_vue/package.json b/live_monitor_vue/package.json index 18dd808..cb9bc93 100755 --- a/live_monitor_vue/package.json +++ b/live_monitor_vue/package.json @@ -15,7 +15,9 @@ "lint_fix": "eslint --ext .js, **/*.vue --fix" }, "dependencies": { + "0-tools-eslint": "../repo/0-tools-eslint/", "1-toolkits-helpers": "../repo/1-toolkits-helpers/", + "3-class-complex-assistants": "../repo/3-class-complex-assistants/", "D": "^1.0.0", "axios": "^1.6.2", "echarts": "^5.4.3", diff --git a/live_monitor_vue/src/App.vue b/live_monitor_vue/src/App.vue index c61fd5f..f11dd11 100644 --- a/live_monitor_vue/src/App.vue +++ b/live_monitor_vue/src/App.vue @@ -1,11 +1,11 @@ - - - - - - diff --git a/live_monitor_vue/src/components/1_atoms/ButtonDiscard.vue b/live_monitor_vue/src/components/1_atoms/ButtonDiscard.vue index a64c356..0cdf712 100644 --- a/live_monitor_vue/src/components/1_atoms/ButtonDiscard.vue +++ b/live_monitor_vue/src/components/1_atoms/ButtonDiscard.vue @@ -1,3 +1,20 @@ + + - - \ No newline at end of file + \ No newline at end of file diff --git a/live_monitor_vue/src/components/1_atoms/ButtonEdit.vue b/live_monitor_vue/src/components/1_atoms/ButtonEdit.vue index 50bcc34..7700bea 100644 --- a/live_monitor_vue/src/components/1_atoms/ButtonEdit.vue +++ b/live_monitor_vue/src/components/1_atoms/ButtonEdit.vue @@ -1,3 +1,20 @@ + + - - \ No newline at end of file + \ No newline at end of file diff --git a/live_monitor_vue/src/components/1_atoms/ButtonSave.vue b/live_monitor_vue/src/components/1_atoms/ButtonSave.vue index b22c4f3..616da7f 100644 --- a/live_monitor_vue/src/components/1_atoms/ButtonSave.vue +++ b/live_monitor_vue/src/components/1_atoms/ButtonSave.vue @@ -1,3 +1,20 @@ + + - - \ No newline at end of file + \ No newline at end of file diff --git a/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue b/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue index a25a908..3514666 100644 --- a/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue +++ b/live_monitor_vue/src/components/1_atoms/DoubleSwitch.vue @@ -1,13 +1,9 @@ - + - - +