refactor: clean up boilerplate

This commit is contained in:
liyasthomas
2021-11-30 18:52:28 +05:30
parent c3fcc6e35d
commit 190a4c43ef
8 changed files with 216 additions and 371 deletions

43
pnpm-lock.yaml generated
View File

@@ -288,7 +288,6 @@ importers:
'@antfu/eslint-config': ^0.11.1
'@iconify-json/carbon': ^1.0.11
'@intlify/vite-plugin-vue-i18n': ^3.2.1
'@types/markdown-it-link-attributes': ^3.0.1
'@types/nprogress': ^0.2.0
'@vitejs/plugin-vue': ^1.10.1
'@vue/compiler-sfc': ^3.2.23
@@ -301,12 +300,9 @@ importers:
eslint: ^8.3.0
eslint-plugin-cypress: ^2.12.1
https-localhost: ^4.7.0
markdown-it-link-attributes: ^3.0.0
markdown-it-prism: ^2.2.1
nprogress: ^0.2.0
pinia: ^2.0.4
pnpm: ^6.23.2
prism-theme-vars: ^0.2.2
typescript: ^4.5.2
unplugin-auto-import: ^0.4.20
unplugin-icons: ^0.12.20
@@ -329,7 +325,6 @@ importers:
'@vueuse/head': 0.7.2_vue@3.2.23
nprogress: 0.2.0
pinia: 2.0.4_typescript@4.5.2+vue@3.2.23
prism-theme-vars: 0.2.2
vue: 3.2.23
vue-demi: 0.12.1_vue@3.2.23
vue-i18n: 9.1.9_vue@3.2.23
@@ -338,7 +333,6 @@ importers:
'@antfu/eslint-config': 0.11.1_eslint@8.3.0+typescript@4.5.2
'@iconify-json/carbon': 1.0.11
'@intlify/vite-plugin-vue-i18n': 3.2.1_vite@2.6.14+vue-i18n@9.1.9
'@types/markdown-it-link-attributes': 3.0.1
'@types/nprogress': 0.2.0
'@vitejs/plugin-vue': 1.10.1_vite@2.6.14
'@vue/compiler-sfc': 3.2.23
@@ -349,8 +343,6 @@ importers:
eslint: 8.3.0
eslint-plugin-cypress: 2.12.1_eslint@8.3.0
https-localhost: 4.7.0
markdown-it-link-attributes: 3.0.0
markdown-it-prism: 2.2.1
pnpm: 6.23.2
typescript: 4.5.2
unplugin-auto-import: 0.4.20_@vueuse+core@7.1.2+vite@2.6.14
@@ -1782,7 +1774,7 @@ packages:
'@babel/helper-split-export-declaration': 7.16.0
'@babel/parser': 7.16.2
'@babel/types': 7.16.0
debug: 4.3.2
debug: 4.3.3
globals: 11.12.0
transitivePeerDependencies:
- supports-color
@@ -3092,7 +3084,7 @@ packages:
'@types/json-stable-stringify': 1.0.33
'@types/jsonwebtoken': 8.5.6
chalk: 4.1.2
debug: 4.3.2
debug: 4.3.3
dotenv: 10.0.0
graphql: 15.7.2
graphql-request: 3.6.1_graphql@15.7.2
@@ -4785,12 +4777,6 @@ packages:
resolution: {integrity: sha512-5tXH6Bx/kNGd3MgffdmP4dy2Z+G4eaXw0SE81Tq3BNadtnMR5/ySMzX4SLEzHJzSmPNn4HIdpQsBvXMUykr58w==}
dev: false
/@types/markdown-it-link-attributes/3.0.1:
resolution: {integrity: sha512-K8RnNb1q8j7rDOJbMF7AnlhCC/45BjrQ8z3WZWOrvkBIl8u9RXvmBdG/hfpnmK1JhhEZcmFEKWt+ilW1Mly+2Q==}
dependencies:
'@types/markdown-it': 12.2.3
dev: true
/@types/markdown-it/12.2.3:
resolution: {integrity: sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==}
dependencies:
@@ -5893,7 +5879,7 @@ packages:
resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==}
engines: {node: '>= 6.0.0'}
dependencies:
debug: 4.3.2
debug: 4.3.3
transitivePeerDependencies:
- supports-color
dev: true
@@ -11136,7 +11122,7 @@ packages:
dependencies:
'@tootallnate/once': 2.0.0
agent-base: 6.0.2
debug: 4.3.2
debug: 4.3.3
transitivePeerDependencies:
- supports-color
dev: true
@@ -11210,7 +11196,7 @@ packages:
engines: {node: '>= 6'}
dependencies:
agent-base: 6.0.2
debug: 4.3.2
debug: 4.3.3
transitivePeerDependencies:
- supports-color
dev: true
@@ -13425,17 +13411,6 @@ packages:
dependencies:
object-visit: 1.0.1
/markdown-it-link-attributes/3.0.0:
resolution: {integrity: sha512-B34ySxVeo6MuEGSPCWyIYryuXINOvngNZL87Mp7YYfKIf6DcD837+lXA8mo6EBbauKsnGz22ZH0zsbOiQRWTNg==}
dev: true
/markdown-it-prism/2.2.1:
resolution: {integrity: sha512-Lo7nQxI+x+MXQkeEXVNIer7fWCGasuEEMxYU63HJCxZNF8bfzWrXDHGsxv0a/qD3mL4sYHj0jUFT0h4fG8WQVw==}
engines: {node: '>=6.0.0'}
dependencies:
prismjs: 1.25.0
dev: true
/markdown-it/12.2.0:
resolution: {integrity: sha512-Wjws+uCrVQRqOoJvze4HCqkKl1AsSh95iFAeQDwnyfxM09divCBSXlDR1uTvyUP3Grzpn4Ru8GeCxYPM8vkCQg==}
hasBin: true
@@ -15624,14 +15599,6 @@ packages:
js-beautify: 1.14.0
dev: true
/prism-theme-vars/0.2.2:
resolution: {integrity: sha512-EL9ifuU/F8tEldoCa2sspiiLWysCL54xDbf2gN/ubwdtbuJROqOGopG5kSwunapwaioT+jLUQ/Ky+7jnv62xJA==}
dev: false
/prismjs/1.25.0:
resolution: {integrity: sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg==}
dev: true
/process-nextick-args/2.0.1:
resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==}