fix: add unstaged files

This commit is contained in:
Alexandr
2022-06-29 19:12:54 +03:00
parent c85ef14abc
commit c4c4a5233e
6 changed files with 2261 additions and 136 deletions

6
.eslintrc.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
env: {
node: true,
},
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'],
}

143
.gitignore vendored
View File

@@ -1,41 +1,13 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,node
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos,node
### macOS ###
# General
# Vite
node_modules
.DS_Store
.AppleDouble
.LSOverride
dist
dist-ssr
*.local
# Icon must end with two \r
Icon
# Rollup Bundle Visualizer
stats.html
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### macOS Patch ###
# iCloud generated files
*.icloud
# Logs
logs
*.log
@@ -43,7 +15,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@@ -64,12 +35,6 @@ coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
@@ -80,9 +45,6 @@ build/Release
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
@@ -92,15 +54,6 @@ web_modules/
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
@@ -110,52 +63,13 @@ web_modules/
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
.env.test
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
# Docusaurus cache and generated files
.docusaurus
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
@@ -165,42 +79,3 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
.pnp.*
### Node Patch ###
# Serverless Webpack directories
.webpack/
# Optional stylelint cache
# SvelteKit build / generate output
.svelte-kit
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
!.vscode/*.code-snippets
# Local History for Visual Studio Code
.history/
# Built Visual Studio Code Extensions
*.vsix
### VisualStudioCode Patch ###
# Ignore all local history of files
.history
.ionide
# Support for Project snippet scope
.vscode/*.code-snippets
# Ignore code-workspaces
*.code-workspace
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,node
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)

6
.prettierrc.js Normal file
View File

@@ -0,0 +1,6 @@
module.exports = {
trailingComma: 'es5',
tabWidth: 2,
semi: false,
singleQuote: true,
}

2239
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -35,6 +35,7 @@
"tailwindcss": "^3.0.24",
"@types/node": "^18.0.0",
"@vitejs/plugin-vue": "^1.2.5",
"@vue/tsconfig": "^0.1.3",
"@vue/compiler-sfc": "^3.2.37",
"eslint": "^7.31.0",
"eslint-config-prettier": "^8.3.0",

View File

@@ -4,8 +4,6 @@
</button>
</template>
<script lang="ts" setup>
import { PropType } from "vue";
export type ButtonVariant = 'default' | 'alternative' | 'dark' | 'light' | 'green' | 'red' | 'yellow' | 'purple'
defineProps({