🎉 Prettier ?
This commit is contained in:
parent
aaab4152aa
commit
f59c3f6bda
@ -1,2 +1,4 @@
|
||||
VITE_OAUTH_REDIRECT_URL="https://discord.com/api/oauth2/authorize?client_id=238351507634913280&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Foauth2%2Fcallback&response_type=code&scope=identify"
|
||||
VITE_API_BASE_URL="http://localhost:8080/api/v2/"
|
||||
|
||||
VITE_DISCORD_USER_AVATAR_URL="https://cdn.discordapp.com/avatars/"
|
@ -2,14 +2,14 @@
|
||||
require("@rushstack/eslint-patch/modern-module-resolution");
|
||||
|
||||
module.exports = {
|
||||
"root": true,
|
||||
"extends": [
|
||||
root: true,
|
||||
extends: [
|
||||
"plugin:vue/vue3-essential",
|
||||
"eslint:recommended",
|
||||
"@vue/eslint-config-typescript/recommended",
|
||||
"@vue/eslint-config-prettier"
|
||||
"@vue/eslint-config-prettier",
|
||||
],
|
||||
"env": {
|
||||
"vue/setup-compiler-macros": true
|
||||
}
|
||||
}
|
||||
env: {
|
||||
"vue/setup-compiler-macros": true,
|
||||
},
|
||||
};
|
||||
|
1
.husky/.gitignore
vendored
Normal file
1
.husky/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
_
|
4
.husky/pre-commit
Executable file
4
.husky/pre-commit
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
. "$(dirname "$0")/_/husky.sh"
|
||||
|
||||
npx lint-staged
|
1
env.d.ts
vendored
1
env.d.ts
vendored
@ -2,6 +2,7 @@
|
||||
interface ImportMetaEnv {
|
||||
readonly VITE_OAUTH_REDIRECT_URL: string;
|
||||
readonly VITE_API_BASE_URL: string;
|
||||
readonly VITE_DISCORD_USER_AVATAR_URL: string;
|
||||
// more env variables...
|
||||
}
|
||||
|
||||
|
15
package.json
15
package.json
@ -9,14 +9,20 @@
|
||||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
|
||||
"dev": "vite",
|
||||
"preview": "vite preview --port 5050",
|
||||
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false"
|
||||
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
"postinstall": "husky install",
|
||||
"prepublishOnly": "pinst --disable",
|
||||
"postpublish": "pinst --enable"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mdi/font": "5.9.55",
|
||||
"@types/js-cookie": "^3.0.2",
|
||||
"@vue/cli": "^5.0.4",
|
||||
"axios": "^0.27.2",
|
||||
"jose": "^4.8.1",
|
||||
"js-cookie": "^3.0.1",
|
||||
"pinia": "^2.0.13",
|
||||
"pinia-plugin-persistedstate": "^1.6.0",
|
||||
"roboto-fontface": "*",
|
||||
"vue": "^3.2.33",
|
||||
"vue-router": "^4.0.14",
|
||||
@ -36,7 +42,10 @@
|
||||
"@vuetify/vite-plugin": "^1.0.0-alpha.0",
|
||||
"eslint": "^8.5.0",
|
||||
"eslint-plugin-vue": "^8.2.0",
|
||||
"husky": ">=6",
|
||||
"jsdom": "^19.0.0",
|
||||
"lint-staged": ">=10",
|
||||
"pinst": ">=2",
|
||||
"prettier": "^2.5.1",
|
||||
"sass": "^1.38.0",
|
||||
"sass-loader": "^10.0.0",
|
||||
@ -46,5 +55,9 @@
|
||||
"vue-cli-plugin-vuetify": "~2.4.8",
|
||||
"vue-tsc": "^0.34.7",
|
||||
"vuetify-loader": "^2.0.0-alpha.0"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts}": "eslint --cache --fix",
|
||||
"*.{vue,js,jsx,cjs,mjs,ts,tsx,cts,mts,css,scss,md}": "prettier --write"
|
||||
}
|
||||
}
|
||||
|
@ -1,74 +0,0 @@
|
||||
/* color palette from <https://github.com/vuejs/theme> */
|
||||
:root {
|
||||
--vt-c-white: #ffffff;
|
||||
--vt-c-white-soft: #f8f8f8;
|
||||
--vt-c-white-mute: #f2f2f2;
|
||||
|
||||
--vt-c-black: #181818;
|
||||
--vt-c-black-soft: #222222;
|
||||
--vt-c-black-mute: #282828;
|
||||
|
||||
--vt-c-indigo: #2c3e50;
|
||||
|
||||
--vt-c-divider-light-1: rgba(60, 60, 60, 0.29);
|
||||
--vt-c-divider-light-2: rgba(60, 60, 60, 0.12);
|
||||
--vt-c-divider-dark-1: rgba(84, 84, 84, 0.65);
|
||||
--vt-c-divider-dark-2: rgba(84, 84, 84, 0.48);
|
||||
|
||||
--vt-c-text-light-1: var(--vt-c-indigo);
|
||||
--vt-c-text-light-2: rgba(60, 60, 60, 0.66);
|
||||
--vt-c-text-dark-1: var(--vt-c-white);
|
||||
--vt-c-text-dark-2: rgba(235, 235, 235, 0.64);
|
||||
}
|
||||
|
||||
/* semantic color variables for this project */
|
||||
:root {
|
||||
--color-background: var(--vt-c-white);
|
||||
--color-background-soft: var(--vt-c-white-soft);
|
||||
--color-background-mute: var(--vt-c-white-mute);
|
||||
|
||||
--color-border: var(--vt-c-divider-light-2);
|
||||
--color-border-hover: var(--vt-c-divider-light-1);
|
||||
|
||||
--color-heading: var(--vt-c-text-light-1);
|
||||
--color-text: var(--vt-c-text-light-1);
|
||||
|
||||
--section-gap: 160px;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--color-background: var(--vt-c-black);
|
||||
--color-background-soft: var(--vt-c-black-soft);
|
||||
--color-background-mute: var(--vt-c-black-mute);
|
||||
|
||||
--color-border: var(--vt-c-divider-dark-2);
|
||||
--color-border-hover: var(--vt-c-divider-dark-1);
|
||||
|
||||
--color-heading: var(--vt-c-text-dark-1);
|
||||
--color-text: var(--vt-c-text-dark-2);
|
||||
}
|
||||
}
|
||||
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
body {
|
||||
min-height: 100vh;
|
||||
color: var(--color-text);
|
||||
background: var(--color-background);
|
||||
transition: color 0.5s, background-color 0.5s;
|
||||
line-height: 1.6;
|
||||
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
|
||||
Cantarell, 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
|
||||
font-size: 15px;
|
||||
text-rendering: optimizeLegibility;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
@ -1 +0,0 @@
|
||||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.5 100"><defs><style>.cls-1{fill:#1697f6;}.cls-2{fill:#7bc6ff;}.cls-3{fill:#1867c0;}.cls-4{fill:#aeddff;}</style></defs><title>Artboard 46</title><polyline class="cls-1" points="43.75 0 23.31 0 43.75 48.32"/><polygon class="cls-2" points="43.75 62.5 43.75 100 0 14.58 22.92 14.58 43.75 62.5"/><polyline class="cls-3" points="43.75 0 64.19 0 43.75 48.32"/><polygon class="cls-4" points="64.58 14.58 87.5 14.58 43.75 100 43.75 62.5 64.58 14.58"/></svg>
|
Before Width: | Height: | Size: 539 B |
@ -3,9 +3,59 @@
|
||||
<v-app-bar-title class="text-yellow font-weight-black text-h4">
|
||||
Claptrap Bot
|
||||
</v-app-bar-title>
|
||||
<v-btn icon v-if="isLoggedIn">
|
||||
<v-icon>mdi-exit-to-app</v-icon>
|
||||
</v-btn>
|
||||
</v-app-bar>
|
||||
<v-navigation-drawer expand-on-hover rail position="right" v-if="isLoggedIn">
|
||||
<v-list class="overflow-hidden">
|
||||
<v-list-item
|
||||
:prepend-avatar="getAvatar()"
|
||||
:title="userName"
|
||||
:subtitle="'#' + discriminator"
|
||||
>
|
||||
<template v-slot:append>
|
||||
<v-list-item-avatar end>
|
||||
<v-btn icon="mdi-exit-to-app"></v-btn>
|
||||
</v-list-item-avatar>
|
||||
</template>
|
||||
</v-list-item>
|
||||
</v-list>
|
||||
<v-divider></v-divider>
|
||||
<v-list nav>
|
||||
<v-list-item
|
||||
prepend-icon="mdi-folder"
|
||||
title="My Files"
|
||||
value="myfiles"
|
||||
></v-list-item>
|
||||
<v-list-item
|
||||
prepend-icon="mdi-account-multiple"
|
||||
title="Shared with me"
|
||||
value="shared"
|
||||
></v-list-item>
|
||||
<v-list-item
|
||||
prepend-icon="mdi-star"
|
||||
title="Starred"
|
||||
value="starred"
|
||||
></v-list-item>
|
||||
</v-list>
|
||||
</v-navigation-drawer>
|
||||
|
||||
<v-main style="height: 250px"></v-main>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts"></script>
|
||||
<script setup lang="ts">
|
||||
import { useUserStore } from "@/stores/user";
|
||||
import { storeToRefs } from "pinia";
|
||||
|
||||
const userStore = useUserStore();
|
||||
|
||||
const { userName, avatar, discriminator, isLoggedIn } = storeToRefs(userStore);
|
||||
|
||||
function getAvatar() {
|
||||
const avatarBaseUrl = import.meta.env.VITE_DISCORD_USER_AVATAR_URL;
|
||||
return avatarBaseUrl + userStore.discordId + "/" + avatar.value + ".png";
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped></style>
|
||||
|
@ -4,8 +4,10 @@ import router from "./router";
|
||||
import vuetify from "./plugins/vuetify";
|
||||
import { loadFonts } from "./plugins/webfontloader";
|
||||
import { createPinia } from "pinia";
|
||||
import piniaPluginPersistedstate from "pinia-plugin-persistedstate";
|
||||
|
||||
loadFonts();
|
||||
const pinia = createPinia();
|
||||
pinia.use(piniaPluginPersistedstate);
|
||||
|
||||
createApp(App).use(router).use(vuetify).use(pinia).mount("#app");
|
||||
|
@ -4,12 +4,14 @@
|
||||
* webfontloader documentation: https://github.com/typekit/webfontloader
|
||||
*/
|
||||
|
||||
export async function loadFonts () {
|
||||
const webFontLoader = await import(/* webpackChunkName: "webfontloader" */'webfontloader')
|
||||
export async function loadFonts() {
|
||||
const webFontLoader = await import(
|
||||
/* webpackChunkName: "webfontloader" */ "webfontloader"
|
||||
);
|
||||
|
||||
webFontLoader.load({
|
||||
google: {
|
||||
families: ['Roboto:100,300,400,500,700,900&display=swap'],
|
||||
families: ["Roboto:100,300,400,500,700,900&display=swap"],
|
||||
},
|
||||
})
|
||||
});
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ const router = createRouter({
|
||||
name: "home",
|
||||
component: HomeView,
|
||||
meta: {
|
||||
requiresAuth: true,
|
||||
requiresAuth: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
6
src/shims-vuetify.d.ts
vendored
6
src/shims-vuetify.d.ts
vendored
@ -1,3 +1,3 @@
|
||||
declare module 'vuetify'
|
||||
declare module 'vuetify/lib/components'
|
||||
declare module 'vuetify/lib/directives'
|
||||
declare module "vuetify";
|
||||
declare module "vuetify/lib/components";
|
||||
declare module "vuetify/lib/directives";
|
||||
|
23
src/stores/coockiesStorage.ts
Normal file
23
src/stores/coockiesStorage.ts
Normal file
@ -0,0 +1,23 @@
|
||||
import Cookies from "js-cookie";
|
||||
|
||||
export const cookiesStorage: Storage = {
|
||||
length: 0,
|
||||
clear() {
|
||||
return;
|
||||
},
|
||||
key(index) {
|
||||
return null;
|
||||
},
|
||||
removeItem(key) {
|
||||
Cookies.remove(key);
|
||||
},
|
||||
setItem(key, state) {
|
||||
return Cookies.set(key, state, {
|
||||
expires: 7,
|
||||
sameSite: "strict",
|
||||
});
|
||||
},
|
||||
getItem(key) {
|
||||
return Cookies.get(key) as string;
|
||||
},
|
||||
};
|
@ -1,11 +1,14 @@
|
||||
import { defineStore } from "pinia";
|
||||
import * as jose from "jose";
|
||||
import axios from "axios";
|
||||
import { cookiesStorage } from "./coockiesStorage";
|
||||
|
||||
export const useUserStore = defineStore("user", {
|
||||
state: () => ({
|
||||
userName: "",
|
||||
discordId: "",
|
||||
discriminator: "",
|
||||
avatar: "",
|
||||
token: "",
|
||||
loginFail: false,
|
||||
}),
|
||||
@ -24,6 +27,7 @@ export const useUserStore = defineStore("user", {
|
||||
return true;
|
||||
},
|
||||
getTokenPayload: (state) => {
|
||||
const token = state.token;
|
||||
return jose.decodeJwt(state.token);
|
||||
},
|
||||
},
|
||||
@ -39,18 +43,16 @@ export const useUserStore = defineStore("user", {
|
||||
|
||||
this.token = response.data.token;
|
||||
const payload = this.getTokenPayload;
|
||||
if (payload.sub) {
|
||||
this.userName = payload.sub;
|
||||
}
|
||||
if (payload.discord_id) {
|
||||
|
||||
this.userName = payload.sub as string;
|
||||
this.discordId = payload.discord_id as string;
|
||||
}
|
||||
this.discriminator = payload.discriminator as string;
|
||||
this.avatar = payload.avatar as string;
|
||||
|
||||
this.loginFail = false;
|
||||
console.log("Loggin success !");
|
||||
return true;
|
||||
} catch (reason) {
|
||||
|
||||
console.log("Loggin fail !");
|
||||
console.log(reason);
|
||||
this.token = "";
|
||||
@ -61,4 +63,7 @@ export const useUserStore = defineStore("user", {
|
||||
}
|
||||
},
|
||||
},
|
||||
persist: {
|
||||
storage: cookiesStorage,
|
||||
},
|
||||
});
|
||||
|
@ -9,8 +9,8 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import { useUserStore } from '@/stores/user';
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { useUserStore } from "@/stores/user";
|
||||
import { storeToRefs } from "pinia";
|
||||
|
||||
const userStore = useUserStore();
|
||||
const { loginFail } = storeToRefs(userStore);
|
||||
|
@ -1,7 +1,12 @@
|
||||
<template>
|
||||
<v-row>
|
||||
<v-col class="d-flex justify-center align-center mt-16">
|
||||
<v-progress-circular size="200" width="17" color="yellow" indeterminate></v-progress-circular>
|
||||
<v-progress-circular
|
||||
size="200"
|
||||
width="17"
|
||||
color="yellow"
|
||||
indeterminate
|
||||
></v-progress-circular>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
|
@ -1,7 +1,12 @@
|
||||
<template>
|
||||
<v-row>
|
||||
<v-col class="d-flex justify-center align-center mt-16">
|
||||
<v-progress-circular size="200" width="17" color="yellow" indeterminate></v-progress-circular>
|
||||
<v-progress-circular
|
||||
size="200"
|
||||
width="17"
|
||||
color="yellow"
|
||||
indeterminate
|
||||
></v-progress-circular>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</template>
|
||||
|
@ -10,5 +10,9 @@
|
||||
{
|
||||
"path": "./tsconfig.vitest.json"
|
||||
}
|
||||
,
|
||||
{
|
||||
"path": "./tsconfig.pinia-plugin-persist.json"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
5
tsconfig.pinia-plugin-persist.json
Normal file
5
tsconfig.pinia-plugin-persist.json
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"types": ["pinia-plugin-persist"]
|
||||
}
|
||||
}
|
@ -1,8 +1,7 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import vue from '@vitejs/plugin-vue'
|
||||
import vuetify from '@vuetify/vite-plugin'
|
||||
|
||||
const path = require('path')
|
||||
import { defineConfig } from "vite";
|
||||
import vue from "@vitejs/plugin-vue";
|
||||
import vuetify from "@vuetify/vite-plugin";
|
||||
import path from "path";
|
||||
|
||||
// https://vitejs.dev/config/
|
||||
export default defineConfig({
|
||||
@ -13,10 +12,10 @@ export default defineConfig({
|
||||
autoImport: true,
|
||||
}),
|
||||
],
|
||||
define: { 'process.env': {} },
|
||||
define: { "process.env": {} },
|
||||
resolve: {
|
||||
alias: {
|
||||
'@': path.resolve(__dirname, 'src'),
|
||||
"@": path.resolve(__dirname, "src"),
|
||||
},
|
||||
},
|
||||
/* remove the need to specify .vue files https://vitejs.dev/config/#resolve-extensions
|
||||
@ -32,4 +31,4 @@ export default defineConfig({
|
||||
]
|
||||
},
|
||||
*/
|
||||
})
|
||||
});
|
||||
|
291
yarn.lock
291
yarn.lock
@ -1852,6 +1852,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/js-cookie@npm:^3.0.2":
|
||||
version: 3.0.2
|
||||
resolution: "@types/js-cookie@npm:3.0.2"
|
||||
checksum: 7ab964288dd26373e134ed0bcde4a7dbea7e6f5de1805e2d1e48eac847e89a0e7f5fdc9164c37931680ec97c6e6e5a73e3e4039e0d08527c2e21badd7bee62d1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@types/jscodeshift@npm:^0.7.1":
|
||||
version: 0.7.2
|
||||
resolution: "@types/jscodeshift@npm:0.7.2"
|
||||
@ -2647,7 +2654,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ansi-escapes@npm:^4.2.1":
|
||||
"ansi-escapes@npm:^4.2.1, ansi-escapes@npm:^4.3.0":
|
||||
version: 4.3.2
|
||||
resolution: "ansi-escapes@npm:4.3.2"
|
||||
dependencies:
|
||||
@ -2663,6 +2670,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ansi-regex@npm:^6.0.1":
|
||||
version: 6.0.1
|
||||
resolution: "ansi-regex@npm:6.0.1"
|
||||
checksum: 1ff8b7667cded1de4fa2c9ae283e979fc87036864317da86a2e546725f96406746411d0d85e87a2d12fa5abd715d90006de7fa4fa0477c92321ad3b4c7d4e169
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ansi-styles@npm:^3.2.1":
|
||||
version: 3.2.1
|
||||
resolution: "ansi-styles@npm:3.2.1"
|
||||
@ -2681,6 +2695,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"ansi-styles@npm:^6.0.0":
|
||||
version: 6.1.0
|
||||
resolution: "ansi-styles@npm:6.1.0"
|
||||
checksum: 7a7f8528c07a9d20c3a92bccd2b6bc3bb4d26e5cb775c02826921477377bd495d615d61f710d56216344b6238d1d11ef2b0348e146c5b128715578bfb3217229
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"anymatch@npm:~3.1.2":
|
||||
version: 3.1.2
|
||||
resolution: "anymatch@npm:3.1.2"
|
||||
@ -3023,6 +3044,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"astral-regex@npm:^2.0.0":
|
||||
version: 2.0.0
|
||||
resolution: "astral-regex@npm:2.0.0"
|
||||
checksum: 876231688c66400473ba505731df37ea436e574dd524520294cc3bbc54ea40334865e01fa0d074d74d036ee874ee7e62f486ea38bc421ee8e6a871c06f011766
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"async-retry@npm:^1.2.1":
|
||||
version: 1.3.3
|
||||
resolution: "async-retry@npm:1.3.3"
|
||||
@ -3578,6 +3606,7 @@ __metadata:
|
||||
dependencies:
|
||||
"@mdi/font": 5.9.55
|
||||
"@rushstack/eslint-patch": ^1.1.0
|
||||
"@types/js-cookie": ^3.0.2
|
||||
"@types/jsdom": ^16.2.14
|
||||
"@types/node": ^16.11.27
|
||||
"@types/webfontloader": ^1.0.0
|
||||
@ -3591,9 +3620,14 @@ __metadata:
|
||||
axios: ^0.27.2
|
||||
eslint: ^8.5.0
|
||||
eslint-plugin-vue: ^8.2.0
|
||||
husky: ">=6"
|
||||
jose: ^4.8.1
|
||||
js-cookie: ^3.0.1
|
||||
jsdom: ^19.0.0
|
||||
lint-staged: ">=10"
|
||||
pinia: ^2.0.13
|
||||
pinia-plugin-persistedstate: ^1.6.0
|
||||
pinst: ">=2"
|
||||
prettier: ^2.5.1
|
||||
roboto-fontface: "*"
|
||||
sass: ^1.38.0
|
||||
@ -3653,6 +3687,26 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cli-truncate@npm:^2.1.0":
|
||||
version: 2.1.0
|
||||
resolution: "cli-truncate@npm:2.1.0"
|
||||
dependencies:
|
||||
slice-ansi: ^3.0.0
|
||||
string-width: ^4.2.0
|
||||
checksum: bf1e4e6195392dc718bf9cd71f317b6300dc4a9191d052f31046b8773230ece4fa09458813bf0e3455a5e68c0690d2ea2c197d14a8b85a7b5e01c97f4b5feb5d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cli-truncate@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "cli-truncate@npm:3.1.0"
|
||||
dependencies:
|
||||
slice-ansi: ^5.0.0
|
||||
string-width: ^5.0.0
|
||||
checksum: c3243e41974445691c63f8b405df1d5a24049dc33d324fe448dc572e561a7b772ae982692900b1a5960901cc4fc7def25a629b9c69a4208ee89d12ab3332617a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"cli-width@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "cli-width@npm:3.0.0"
|
||||
@ -3756,6 +3810,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"colorette@npm:^2.0.16":
|
||||
version: 2.0.16
|
||||
resolution: "colorette@npm:2.0.16"
|
||||
checksum: cd55596a3a2d1071c1a28eee7fd8a5387593ff1bd10a3e8d0a6221499311fe34a9f2b9272d77c391e0e003dcdc8934fb2f8d106e7ef1f7516f8060c901d41a27
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"colors@npm:^1.1.2":
|
||||
version: 1.4.0
|
||||
resolution: "colors@npm:1.4.0"
|
||||
@ -3793,6 +3854,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"commander@npm:^8.3.0":
|
||||
version: 8.3.0
|
||||
resolution: "commander@npm:8.3.0"
|
||||
checksum: 0f82321821fc27b83bd409510bb9deeebcfa799ff0bf5d102128b500b7af22872c0c92cb6a0ebc5a4cf19c6b550fba9cedfa7329d18c6442a625f851377bacf0
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"commondir@npm:^1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "commondir@npm:1.0.1"
|
||||
@ -4310,6 +4378,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"eastasianwidth@npm:^0.2.0":
|
||||
version: 0.2.0
|
||||
resolution: "eastasianwidth@npm:0.2.0"
|
||||
checksum: 7d00d7cd8e49b9afa762a813faac332dee781932d6f2c848dc348939c4253f1d4564341b7af1d041853bc3f32c2ef141b58e0a4d9862c17a7f08f68df1e0f1ed
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"easy-stack@npm:1.0.1":
|
||||
version: 1.0.1
|
||||
resolution: "easy-stack@npm:1.0.1"
|
||||
@ -4349,6 +4424,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"emoji-regex@npm:^9.2.2":
|
||||
version: 9.2.2
|
||||
resolution: "emoji-regex@npm:9.2.2"
|
||||
checksum: 8487182da74aabd810ac6d6f1994111dfc0e331b01271ae01ec1eb0ad7b5ecc2bbbbd2f053c05cb55a1ac30449527d819bbfbf0e3de1023db308cbcb47f86601
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"emojis-list@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "emojis-list@npm:3.0.0"
|
||||
@ -4980,7 +5062,7 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"execa@npm:^5.0.0":
|
||||
"execa@npm:^5.0.0, execa@npm:^5.1.1":
|
||||
version: 5.1.1
|
||||
resolution: "execa@npm:5.1.1"
|
||||
dependencies:
|
||||
@ -6107,6 +6189,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"husky@npm:>=6":
|
||||
version: 8.0.1
|
||||
resolution: "husky@npm:8.0.1"
|
||||
bin:
|
||||
husky: lib/bin.js
|
||||
checksum: 943a73a13d0201318fd30e83d299bb81d866bd245b69e6277804c3b462638dc1921694cb94c2b8c920a4a187060f7d6058d3365152865406352e934c5fff70dc
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"iconv-lite@npm:0.4.24, iconv-lite@npm:^0.4.24":
|
||||
version: 0.4.24
|
||||
resolution: "iconv-lite@npm:0.4.24"
|
||||
@ -6467,6 +6558,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-fullwidth-code-point@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "is-fullwidth-code-point@npm:4.0.0"
|
||||
checksum: 8ae89bf5057bdf4f57b346fb6c55e9c3dd2549983d54191d722d5c739397a903012cc41a04ee3403fd872e811243ef91a7c5196da7b5841dc6b6aae31a264a8d
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"is-glob@npm:^4.0.0, is-glob@npm:^4.0.1, is-glob@npm:^4.0.3, is-glob@npm:~4.0.1":
|
||||
version: 4.0.3
|
||||
resolution: "is-glob@npm:4.0.3"
|
||||
@ -6751,6 +6849,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-cookie@npm:^3.0.1":
|
||||
version: 3.0.1
|
||||
resolution: "js-cookie@npm:3.0.1"
|
||||
checksum: bb48de67e2a6bd1ae3dfd6b2d5a167c33dd0c5a37e909206161eb0358c98f17cb55acd55827a58e9eea3630d89444e7479f7938ef4420dda443218b8c434a4c3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"js-message@npm:1.0.7":
|
||||
version: 1.0.7
|
||||
resolution: "js-message@npm:1.0.7"
|
||||
@ -7012,6 +7117,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lilconfig@npm:2.0.4":
|
||||
version: 2.0.4
|
||||
resolution: "lilconfig@npm:2.0.4"
|
||||
checksum: 02ae530aa49218d782eb79e92c600ea5220828987f85aa3403fa512cadc7efe38c0ac7d0cd2edf600ad3fae1f6c1752f5b4bb78c0d9950435b044d53d507c9e1
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lines-and-columns@npm:^1.1.6":
|
||||
version: 1.2.4
|
||||
resolution: "lines-and-columns@npm:1.2.4"
|
||||
@ -7019,6 +7131,51 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"lint-staged@npm:>=10":
|
||||
version: 12.4.1
|
||||
resolution: "lint-staged@npm:12.4.1"
|
||||
dependencies:
|
||||
cli-truncate: ^3.1.0
|
||||
colorette: ^2.0.16
|
||||
commander: ^8.3.0
|
||||
debug: ^4.3.3
|
||||
execa: ^5.1.1
|
||||
lilconfig: 2.0.4
|
||||
listr2: ^4.0.1
|
||||
micromatch: ^4.0.4
|
||||
normalize-path: ^3.0.0
|
||||
object-inspect: ^1.12.0
|
||||
pidtree: ^0.5.0
|
||||
string-argv: ^0.3.1
|
||||
supports-color: ^9.2.1
|
||||
yaml: ^1.10.2
|
||||
bin:
|
||||
lint-staged: bin/lint-staged.js
|
||||
checksum: b57183b537064cda6caef6679918bf271903145f7c28d09567e918b8b13094048b579f8df808ea590dbd7ea2ec332327c5e372cf3d77e85b7b0254f6541ce4c3
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"listr2@npm:^4.0.1":
|
||||
version: 4.0.5
|
||||
resolution: "listr2@npm:4.0.5"
|
||||
dependencies:
|
||||
cli-truncate: ^2.1.0
|
||||
colorette: ^2.0.16
|
||||
log-update: ^4.0.0
|
||||
p-map: ^4.0.0
|
||||
rfdc: ^1.3.0
|
||||
rxjs: ^7.5.5
|
||||
through: ^2.3.8
|
||||
wrap-ansi: ^7.0.0
|
||||
peerDependencies:
|
||||
enquirer: ">= 2.3.0 < 3"
|
||||
peerDependenciesMeta:
|
||||
enquirer:
|
||||
optional: true
|
||||
checksum: 7af31851abe25969ef0581c6db808117e36af15b131401795182427769d9824f451ba9e8aff6ccd25b6a4f6c8796f816292caf08e5f1f9b1775e8e9c313dc6c5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"loader-utils@npm:^2.0.0":
|
||||
version: 2.0.2
|
||||
resolution: "loader-utils@npm:2.0.2"
|
||||
@ -7110,6 +7267,18 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"log-update@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "log-update@npm:4.0.0"
|
||||
dependencies:
|
||||
ansi-escapes: ^4.3.0
|
||||
cli-cursor: ^3.1.0
|
||||
slice-ansi: ^4.0.0
|
||||
wrap-ansi: ^6.2.0
|
||||
checksum: ae2f85bbabc1906034154fb7d4c4477c79b3e703d22d78adee8b3862fa913942772e7fa11713e3d96fb46de4e3cabefbf5d0a544344f03b58d3c4bff52aa9eb2
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"loglevel@npm:^1.6.7":
|
||||
version: 1.8.0
|
||||
resolution: "loglevel@npm:1.8.0"
|
||||
@ -8170,6 +8339,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pidtree@npm:^0.5.0":
|
||||
version: 0.5.0
|
||||
resolution: "pidtree@npm:0.5.0"
|
||||
bin:
|
||||
pidtree: bin/pidtree.js
|
||||
checksum: 371cd14bbc9bdee2a6a44596dd521dd3565e223481e0b1afffdca3f1c29831850bfa7784114dc30d245d37e7d186cec035e036256b39f75d878d19498fe0df6a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pify@npm:^2.3.0":
|
||||
version: 2.3.0
|
||||
resolution: "pify@npm:2.3.0"
|
||||
@ -8191,6 +8369,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pinia-plugin-persistedstate@npm:^1.6.0":
|
||||
version: 1.6.0
|
||||
resolution: "pinia-plugin-persistedstate@npm:1.6.0"
|
||||
peerDependencies:
|
||||
pinia: ^2.0.0
|
||||
checksum: 964d3960b810e49296219179e77423ea3debc68db08b18a1e641f90b61c5fc589f0d07233d1e50e509f1ef4f7d5620f067ed45a4236a5f12c8b22d3928668a4c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pinia@npm:^2.0.13":
|
||||
version: 2.0.14
|
||||
resolution: "pinia@npm:2.0.14"
|
||||
@ -8226,6 +8413,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pinst@npm:>=2":
|
||||
version: 3.0.0
|
||||
resolution: "pinst@npm:3.0.0"
|
||||
bin:
|
||||
pinst: bin.js
|
||||
checksum: 4ae48a6a60f79c37071233af51b4d91bfc85cfa3c12b66ccda60cdb642b4d14a4ab0cb3587afc55b1f6192cea1772a5e4822026a0d0d3528296edef00cc2d61f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"pirates@npm:^4.0.5":
|
||||
version: 4.0.5
|
||||
resolution: "pirates@npm:4.0.5"
|
||||
@ -8773,6 +8969,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rfdc@npm:^1.3.0":
|
||||
version: 1.3.0
|
||||
resolution: "rfdc@npm:1.3.0"
|
||||
checksum: fb2ba8512e43519983b4c61bd3fa77c0f410eff6bae68b08614437bc3f35f91362215f7b4a73cbda6f67330b5746ce07db5dd9850ad3edc91271ad6deea0df32
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2":
|
||||
version: 3.0.2
|
||||
resolution: "rimraf@npm:3.0.2"
|
||||
@ -9178,6 +9381,38 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"slice-ansi@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "slice-ansi@npm:3.0.0"
|
||||
dependencies:
|
||||
ansi-styles: ^4.0.0
|
||||
astral-regex: ^2.0.0
|
||||
is-fullwidth-code-point: ^3.0.0
|
||||
checksum: 5ec6d022d12e016347e9e3e98a7eb2a592213a43a65f1b61b74d2c78288da0aded781f665807a9f3876b9daa9ad94f64f77d7633a0458876c3a4fdc4eb223f24
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"slice-ansi@npm:^4.0.0":
|
||||
version: 4.0.0
|
||||
resolution: "slice-ansi@npm:4.0.0"
|
||||
dependencies:
|
||||
ansi-styles: ^4.0.0
|
||||
astral-regex: ^2.0.0
|
||||
is-fullwidth-code-point: ^3.0.0
|
||||
checksum: 4a82d7f085b0e1b070e004941ada3c40d3818563ac44766cca4ceadd2080427d337554f9f99a13aaeb3b4a94d9964d9466c807b3d7b7541d1ec37ee32d308756
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"slice-ansi@npm:^5.0.0":
|
||||
version: 5.0.0
|
||||
resolution: "slice-ansi@npm:5.0.0"
|
||||
dependencies:
|
||||
ansi-styles: ^6.0.0
|
||||
is-fullwidth-code-point: ^4.0.0
|
||||
checksum: 7e600a2a55e333a21ef5214b987c8358fe28bfb03c2867ff2cbf919d62143d1812ac27b4297a077fdaf27a03da3678e49551c93e35f9498a3d90221908a1180e
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"smart-buffer@npm:^4.2.0":
|
||||
version: 4.2.0
|
||||
resolution: "smart-buffer@npm:4.2.0"
|
||||
@ -9433,6 +9668,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"string-argv@npm:^0.3.1":
|
||||
version: 0.3.1
|
||||
resolution: "string-argv@npm:0.3.1"
|
||||
checksum: efbd0289b599bee808ce80820dfe49c9635610715429c6b7cc50750f0437e3c2f697c81e5c390208c13b5d5d12d904a1546172a88579f6ee5cbaaaa4dc9ec5cf
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.0.0, string-width@npm:^4.1.0, string-width@npm:^4.2.0, string-width@npm:^4.2.2, string-width@npm:^4.2.3":
|
||||
version: 4.2.3
|
||||
resolution: "string-width@npm:4.2.3"
|
||||
@ -9444,6 +9686,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"string-width@npm:^5.0.0":
|
||||
version: 5.1.2
|
||||
resolution: "string-width@npm:5.1.2"
|
||||
dependencies:
|
||||
eastasianwidth: ^0.2.0
|
||||
emoji-regex: ^9.2.2
|
||||
strip-ansi: ^7.0.1
|
||||
checksum: 7369deaa29f21dda9a438686154b62c2c5f661f8dda60449088f9f980196f7908fc39fdd1803e3e01541970287cf5deae336798337e9319a7055af89dafa7193
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"string.prototype.trimend@npm:^1.0.5":
|
||||
version: 1.0.5
|
||||
resolution: "string.prototype.trimend@npm:1.0.5"
|
||||
@ -9493,6 +9746,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"strip-ansi@npm:^7.0.1":
|
||||
version: 7.0.1
|
||||
resolution: "strip-ansi@npm:7.0.1"
|
||||
dependencies:
|
||||
ansi-regex: ^6.0.1
|
||||
checksum: 257f78fa433520e7f9897722731d78599cb3fce29ff26a20a5e12ba4957463b50a01136f37c43707f4951817a75e90820174853d6ccc240997adc5df8f966039
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"strip-dirs@npm:^2.0.0":
|
||||
version: 2.1.0
|
||||
resolution: "strip-dirs@npm:2.1.0"
|
||||
@ -9565,6 +9827,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"supports-color@npm:^9.2.1":
|
||||
version: 9.2.2
|
||||
resolution: "supports-color@npm:9.2.2"
|
||||
checksum: 976d84877402fc38c1d43b1fde20b0a8dc0283273f21cfebe4ff7507d27543cdfbeec7db108a96b82d694465f06d64e8577562b05d0520b41710088e0a33cc50
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"supports-preserve-symlinks-flag@npm:^1.0.0":
|
||||
version: 1.0.0
|
||||
resolution: "supports-preserve-symlinks-flag@npm:1.0.0"
|
||||
@ -10518,6 +10787,17 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wrap-ansi@npm:^6.2.0":
|
||||
version: 6.2.0
|
||||
resolution: "wrap-ansi@npm:6.2.0"
|
||||
dependencies:
|
||||
ansi-styles: ^4.0.0
|
||||
string-width: ^4.1.0
|
||||
strip-ansi: ^6.0.0
|
||||
checksum: 6cd96a410161ff617b63581a08376f0cb9162375adeb7956e10c8cd397821f7eb2a6de24eb22a0b28401300bf228c86e50617cd568209b5f6775b93c97d2fe3a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"wrap-ansi@npm:^7.0.0":
|
||||
version: 7.0.0
|
||||
resolution: "wrap-ansi@npm:7.0.0"
|
||||
@ -10653,6 +10933,13 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yaml@npm:^1.10.2":
|
||||
version: 1.10.2
|
||||
resolution: "yaml@npm:1.10.2"
|
||||
checksum: ce4ada136e8a78a0b08dc10b4b900936912d15de59905b2bf415b4d33c63df1d555d23acb2a41b23cf9fb5da41c256441afca3d6509de7247daa062fd2c5ea5f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"yargs-parser@npm:^20.2.2":
|
||||
version: 20.2.9
|
||||
resolution: "yargs-parser@npm:20.2.9"
|
||||
|
Loading…
Reference in New Issue
Block a user