From da0f94c0f1e8ed827320ac366157fe728376fd12 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Mon, 11 Mar 2024 13:32:23 +0100 Subject: [PATCH] Test new structure --- .../.husky => .husky}/pre-commit | 0 holo-key-manager-extension/.eslintrc.cjs | 40 +++++++++---------- holo-key-manager-extension/.prettierrc | 26 ++++++------ holo-key-manager-extension/package.json | 3 +- .../static/manifest.json | 2 +- 5 files changed, 35 insertions(+), 36 deletions(-) rename {holo-key-manager-extension/.husky => .husky}/pre-commit (100%) diff --git a/holo-key-manager-extension/.husky/pre-commit b/.husky/pre-commit similarity index 100% rename from holo-key-manager-extension/.husky/pre-commit rename to .husky/pre-commit diff --git a/holo-key-manager-extension/.eslintrc.cjs b/holo-key-manager-extension/.eslintrc.cjs index 6fa1c65..cf5adb1 100644 --- a/holo-key-manager-extension/.eslintrc.cjs +++ b/holo-key-manager-extension/.eslintrc.cjs @@ -1,22 +1,22 @@ module.exports = { - extends: [ - "eslint:recommended", - "plugin:@typescript-eslint/recommended", - "plugin:svelte/recommended", - "prettier", - ], - parserOptions: { - sourceType: "module", - ecmaVersion: 2020, - extraFileExtensions: [".svelte"], - }, - overrides: [ - { - files: ["*.svelte"], - parser: "svelte-eslint-parser", - parserOptions: { - parser: "@typescript-eslint/parser", - }, - }, - ], + extends: [ + 'eslint:recommended', + 'plugin:@typescript-eslint/recommended', + 'plugin:svelte/recommended', + 'prettier' + ], + parserOptions: { + sourceType: 'module', + ecmaVersion: 2020, + extraFileExtensions: ['.svelte'] + }, + overrides: [ + { + files: ['*.svelte'], + parser: 'svelte-eslint-parser', + parserOptions: { + parser: '@typescript-eslint/parser' + } + } + ] }; diff --git a/holo-key-manager-extension/.prettierrc b/holo-key-manager-extension/.prettierrc index 7e12168..19382be 100644 --- a/holo-key-manager-extension/.prettierrc +++ b/holo-key-manager-extension/.prettierrc @@ -1,15 +1,15 @@ { - "useTabs": true, - "singleQuote": true, - "trailingComma": "none", - "printWidth": 100, - "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], - "overrides": [ - { - "files": "*.svelte", - "options": { "parser": "svelte" } - } - ], - "tailwindAttributes": ["extraProps", "containerClasses"], - "tailwindFunctions": ["clsx"] + "useTabs": true, + "singleQuote": true, + "trailingComma": "none", + "printWidth": 100, + "plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"], + "overrides": [ + { + "files": "*.svelte", + "options": { "parser": "svelte" } + } + ], + "tailwindAttributes": ["extraProps", "containerClasses"], + "tailwindFunctions": ["clsx"] } diff --git a/holo-key-manager-extension/package.json b/holo-key-manager-extension/package.json index 8cf056c..b9fb905 100644 --- a/holo-key-manager-extension/package.json +++ b/holo-key-manager-extension/package.json @@ -13,8 +13,7 @@ "build:buildForFirefoxDev": "node build-scripts/devFirefox.cjs", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", - "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", - "prepare": "cd .. && husky install" + "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch" }, "devDependencies": { "@sveltejs/adapter-static": "^3.0.1", diff --git a/holo-key-manager-extension/static/manifest.json b/holo-key-manager-extension/static/manifest.json index 240ae72..66a8bae 100644 --- a/holo-key-manager-extension/static/manifest.json +++ b/holo-key-manager-extension/static/manifest.json @@ -1,7 +1,7 @@ { "name": "Holo key manager", "description": "A browser extension to manage holo keys", - "version": "0.0.34", + "version": "0.0.35", "manifest_version": 3, "action": { "default_title": "Holo key manager",