diff --git a/.vscode/settings.json b/.vscode/settings.json index 7a2cd20..8dbff49 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -8,4 +8,7 @@ "files.associations": { "*.css": "postcss", }, + "files.exclude": { + "node_modules": true + } } diff --git a/LICENSE b/LICENSE deleted file mode 100644 index da26da3..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2020-2021 Anthony Fu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md index 764ee00..bff9b9a 100644 --- a/README.md +++ b/README.md @@ -30,8 +30,6 @@ - 🦾 TypeScript, of course -- ☁️ Deploy on Netlify, zero-config -
diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index bd06a07..0000000 --- a/netlify.toml +++ /dev/null @@ -1,12 +0,0 @@ -[build.environment] - NPM_FLAGS = "--version" - NODE_VERSION = "16" - -[build] - publish = "dist" - command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build" - -[[redirects]] - from = "/*" - to = "/index.html" - status = 200 diff --git a/src/components/README.md b/src/components/README.md deleted file mode 100644 index ccafa35..0000000 --- a/src/components/README.md +++ /dev/null @@ -1,9 +0,0 @@ -## Components - -Components in this dir will be auto-registered and on-demand, powered by [`unplugin-vue-components`](https://github.com/antfu/unplugin-vue-components). - -### Icons - -You can use icons from almost any icon sets by the power of [Iconify](https://iconify.design/). - -It will only bundle the icons you use. Check out [`unplugin-icons`](https://github.com/antfu/unplugin-icons) for more details. diff --git a/src/pages/README.md b/src/pages/README.md deleted file mode 100644 index 929b7c9..0000000 --- a/src/pages/README.md +++ /dev/null @@ -1,20 +0,0 @@ -## File-based Routing - -Routes will be auto-generated for Vue files in this dir with the same file structure. -Check out [`vite-plugin-pages`](https://github.com/hannoeru/vite-plugin-pages) for more details. - -### Path Aliasing - -`~/` is aliased to `./src/` folder. - -For example, instead of having - -```ts -import { isDark } from '../../../../composables' -``` - -now, you can use - -```ts -import { isDark } from '~/composables' -``` diff --git a/test/basic.test.ts b/test/basic.test.ts index 542fa32..ed8d435 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -1,4 +1,4 @@ -import { describe, it, expect } from 'vitest' +import { describe, expect, it } from 'vitest' describe('Hi', () => { it('should works', () => { diff --git a/test/component.test.ts b/test/component.test.ts index ba014df..2270db2 100644 --- a/test/component.test.ts +++ b/test/component.test.ts @@ -1,5 +1,5 @@ import { mount } from '@vue/test-utils' -import { describe, it, expect } from 'vitest' +import { describe, expect, it } from 'vitest' import Counter from '../src/components/Counter.vue' describe('Counter.vue', () => {