Skip to content

Commit

Permalink
refactor: rename example
Browse files Browse the repository at this point in the history
  • Loading branch information
fi3ework committed Jun 10, 2021
1 parent 126b433 commit 5630901
Show file tree
Hide file tree
Showing 37 changed files with 23 additions and 146 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export interface PluginOptions {
*/
checker: 'tsc' | 'vue-tsc' | Checker
/**
* Enabled in build mode
* Enable checking in build mode
* @defaultValue `true`
*/
enableBuild: boolean
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.2.0",
"private": true,
"scripts": {
"dev": "tsc --noEmit && vite",
"dev": "vite",
"build": "vite build",
"serve": "vite preview"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
35 changes: 17 additions & 18 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

122 changes: 0 additions & 122 deletions src/apiMode.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ function makeChecker(
// eslint-disable-next-line @typescript-eslint/no-require-imports
const tscCheckerFactory = require(`./presets/${checker}`).checkerFactory
return tscCheckerFactory(userOptions)
} else {
return checker
}

return checker
}

export default function Plugin(userOptions?: Partial<PluginOptions>): Plugin {
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export interface PluginOptions {
*/
checker: 'tsc' | 'vue-tsc' | Checker
/**
* Enabled in build mode
* Enable checking in build mode
* @defaultValue `true`
*/
enableBuild: boolean
Expand Down
2 changes: 1 addition & 1 deletion vetur.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ module.exports = {
},
// **optional** default: `[{ root: './' }]`
// support monorepos
projects: ['./examples/vue2-ts'],
projects: ['./examples/vue2-vls'],
}

0 comments on commit 5630901

Please sign in to comment.