Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
Allen-1998 committed Mar 18, 2023
1 parent 2499790 commit 37f2037
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"lint": "eslint . --ext .ts",
"docs": "vitepress dev docs",
"docs:build": "vitepress build docs",
"p": "git add . && git commit -m feat: update && git push",
"p": "git add . && git commit -m 'feat: update' && git push",
"v": "npm version patch && git push && git push origin --tags"
},
"devDependencies": {
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@ export default function (options: Options = {}) {
.filter((i) => !excludes.includes(i))

const ctx = `// "https://github.com/Allen-1998/pinia-auto-refs"
import { AutoToRefs, ToRef } from 'vue'
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
import type { AutoToRefs, ToRef } from 'vue'
${storeNames.reduce(
(str, storeName) => `${str}import ${storeName}Store from '${storeDir.replace(
Expand Down

0 comments on commit 37f2037

Please sign in to comment.