فهرست منبع

fix: stylelint and webui cleanup

jamesread 8 ماه پیش
والد
کامیت
b0f24811b2
8فایلهای تغییر یافته به همراه2231 افزوده شده و 217 حذف شده
  1. 1 0
      .gitignore
  2. 1 0
      Makefile
  3. 1 1
      frontend/.eslintrc.json
  4. 1 1
      frontend/Makefile
  5. 0 1
      frontend/js/ArgumentForm.js
  6. 2224 213
      frontend/package-lock.json
  7. 2 0
      frontend/package.json
  8. 1 1
      frontend/resources/vue/stores/buttonResults.js

+ 1 - 0
.gitignore

@@ -13,3 +13,4 @@ frontend/node_modules
 custom-frontend
 integration-tests/screenshots/
 .vscode/
+webui/

+ 1 - 0
Makefile

@@ -49,6 +49,7 @@ devcontainer: compile podman-image podman-container
 
 webui-dist:
 	$(MAKE) -wC frontend dist
+	mv frontend/dist webui
 
 clean:
 	$(call delete-files,dist)

+ 1 - 1
frontend/.eslintrc.json

@@ -12,4 +12,4 @@
     },
     "rules": {
     }
-}
+}

+ 1 - 1
frontend/Makefile

@@ -18,4 +18,4 @@ build:
 
 dist: deps clean build
 
-.PHONY: codestyle
+.PHONY: codestyle

+ 0 - 1
frontend/js/ArgumentForm.js

@@ -1,4 +1,3 @@
-
 class ArgumentForm extends window.HTMLElement {
   getQueryParams () {
     return new URLSearchParams(window.location.search.substring(1))

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 2224 - 213
frontend/package-lock.json


+ 2 - 0
frontend/package.json

@@ -5,6 +5,8 @@
 	"repository": "https://github.com/OliveTin/OliveTin",
 	"source": "index.html",
 	"devDependencies": {
+		"eslint": "^8.57.1",
+		"eslint-config-standard": "^17.1.0",
 		"process": "^0.11.10",
 		"stylelint": "^16.25.0",
 		"stylelint-config-standard": "^39.0.1"

+ 1 - 1
frontend/resources/vue/stores/buttonResults.js

@@ -1,3 +1,3 @@
 import { reactive } from 'vue'
 
-export const buttonResults = reactive({})
+export const buttonResults = reactive({})

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است