diff --git a/.prettierignore b/.prettierignore index bf2e30613a..c5faf0aa47 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,5 +1,4 @@ coverage dist -packages/editor-ui package.json .pnpm-lock.yml diff --git a/packages/editor-ui/.eslintrc.js b/packages/editor-ui/.eslintrc.js index 448f378e82..af3078e56a 100644 --- a/packages/editor-ui/.eslintrc.js +++ b/packages/editor-ui/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { 'import/no-default-export': 'off', 'import/no-extraneous-dependencies': 'off', 'import/order': 'off', - 'indent': 'off', + indent: 'off', 'prettier/prettier': 'off', '@typescript-eslint/ban-types': 'off', '@typescript-eslint/dot-notation': 'off', diff --git a/packages/editor-ui/README.md b/packages/editor-ui/README.md index 49e1a4f7b2..3edb2965e7 100644 --- a/packages/editor-ui/README.md +++ b/packages/editor-ui/README.md @@ -9,43 +9,50 @@ npm install n8n -g ``` ## Project setup + ``` pnpm install ``` ### Compiles and hot-reloads for development + ``` pnpm serve ``` ### Compiles and minifies for production + ``` pnpm build ``` ### Run your tests + ``` pnpm test ``` ### Lints and fixes files + ``` pnpm lint ``` ### Run your end-to-end tests + ``` pnpm test:e2e ``` ### Run your unit tests + ``` pnpm test:unit ``` ### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). +See [Configuration Reference](https://cli.vuejs.org/config/). ## License diff --git a/packages/editor-ui/index.html b/packages/editor-ui/index.html index 2eea7165e0..0dc44757dc 100644 --- a/packages/editor-ui/index.html +++ b/packages/editor-ui/index.html @@ -1,18 +1,23 @@ - - - - - - - n8n.io - Workflow Automation - - - -
- - + + + + + + + n8n.io - Workflow Automation + + + +
+ + diff --git a/packages/editor-ui/package.json b/packages/editor-ui/package.json index b486e37796..2aa39a53c6 100644 --- a/packages/editor-ui/package.json +++ b/packages/editor-ui/package.json @@ -20,7 +20,7 @@ "dev": "pnpm serve", "lint": "tslint -p tsconfig.json -c tslint.json && eslint --ext .js,.ts,.vue src", "lintfix": "tslint --fix -p tsconfig.json -c tslint.json && eslint --ext .js,.ts,.vue src --fix", - "format": "prettier **/**.{ts,vue} --write", + "format": "prettier --write . --ignore-path ../../.prettierignore", "serve": "cross-env VUE_APP_URL_BASE_API=http://localhost:5678/ vite --host 0.0.0.0 --port 8080 dev", "test": "vitest run", "test:ci": "vitest run --coverage", diff --git a/packages/editor-ui/src/App.vue b/packages/editor-ui/src/App.vue index 62027afc37..3052a95712 100644 --- a/packages/editor-ui/src/App.vue +++ b/packages/editor-ui/src/App.vue @@ -6,7 +6,7 @@ id="app" :class="{ [$style.container]: true, - [$style.sidebarCollapsed]: uiStore.sidebarMenuCollapsed + [$style.sidebarCollapsed]: uiStore.sidebarMenuCollapsed, }" >