Skip to content

Commit

Permalink
[FIX] types issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mathix420 committed May 4, 2021
1 parent abb0c09 commit 201a568
Show file tree
Hide file tree
Showing 6 changed files with 98 additions and 16 deletions.
4 changes: 2 additions & 2 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
@@ -1,6 +1,6 @@
{
"name": "vuito",
"version": "1.1.1",
"version": "1.1.2",
"description": "Simple, lightweight, isomorphic, template-based validation library.",
"main": "vuito.cjs.js",
"module": "vuito.esm.js",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions vue/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { VTemplate } from '../src/types';
import { Template } from 'vuito/template';
import { VueConstructor } from 'vue';

export default function (validator: VTemplate): VueConstructor;
export default function (validator: Template): VueConstructor;
93 changes: 86 additions & 7 deletions vue/package-lock.json

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

11 changes: 7 additions & 4 deletions vue/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "@vuito/vue",
"version": "1.0.4",
"version": "1.0.5",
"description": "Vue.js mixin wrapper for vuito validation library.",
"main": "index.js",
"types": "index.d.ts",
"sideEffects": false,
"readme": "../README.md",
"scripts": {},
"scripts": {
"prepare": "npm run build --prefix .."
},
"repository": {
"type": "git",
"url": "git+https://github.com/mathix420/vuito.git"
Expand All @@ -27,7 +29,8 @@
"url": "https://github.com/mathix420/vuito/issues"
},
"homepage": "https://github.com/mathix420/vuito#vuejs-mixin",
"devDependencies": {
"@types/vue": "^2.0.0"
"peerDependencies": {
"@types/vue": "^2.0.0",
"@types/vuito": "file:../lib"
}
}

0 comments on commit 201a568

Please sign in to comment.