diff --git a/package.json b/package.json index 5e6d7ad..efe92d3 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,7 @@ "yargs": "^14.0.0" }, "devDependencies": { + "@types/ajv-pack": "^0.3.0", "@types/fs-extra": "^8.0.0", "@types/jest": "^24.0.18", "@types/yargs": "^13.0.2", @@ -41,6 +42,9 @@ "tslint": "^5.18.0", "typescript": "^3.5.3" }, + "resolutions": { + "ajv": "^6.10.2" + }, "lint-staged": { "*.{ts, js}": [ "tslint --fix", diff --git a/src/ajv-pack.d.ts b/src/ajv-pack.d.ts deleted file mode 100644 index bf1a123..0000000 --- a/src/ajv-pack.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -declare module "ajv-pack" { - import { Ajv, ValidateFunction } from "ajv"; - function ajvPack(instance: Ajv, validator: ValidateFunction): string; - export default ajvPack; -} diff --git a/yarn.lock b/yarn.lock index 80bc1ea..00fa526 100644 --- a/yarn.lock +++ b/yarn.lock @@ -46,11 +46,25 @@ dependencies: any-observable "^0.3.0" +"@types/ajv-pack@^0.3.0": + version "0.3.0" + resolved "https://registry.yarnpkg.com/@types/ajv-pack/-/ajv-pack-0.3.0.tgz#8d3d8ae098cee90e8e3da39b24585fb6be7dd50a" + integrity sha512-EkjMh/W9NFob2wCKGbcrWhG+vfN6/iC2m2+KsDr1r87m7PdtCacvOxMJW0xQtVCvwuM8gFfQd9CwPsvYup1zlg== + dependencies: + ajv "^5.0.0" + "@types/events@*": version "3.0.0" resolved "https://registry.yarnpkg.com/@types/events/-/events-3.0.0.tgz#2862f3f58a9a7f7c3e78d79f130dd4d71c25c2a7" integrity sha512-EaObqwIvayI5a8dCzhFrjKzVwKLxjoG9T6Ppd5CEo07LRKfQ8Yokw54r5+Wq7FaBQ+yXRvQAYPrHwya1/UFt9g== +"@types/fs-extra@^8.0.0": + version "8.0.0" + resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-8.0.0.tgz#d3e2c313ca29f95059f198dd60d1f774642d4b25" + integrity sha512-bCtL5v9zdbQW86yexOlXWTEGvLNqWxMFyi7gQA7Gcthbezr2cPSOb8SkESVKA937QD5cIwOFLDFt0MQoXOEr9Q== + dependencies: + "@types/node" "*" + "@types/glob@^7.1.1": version "7.1.1" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575" @@ -97,6 +111,18 @@ resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-1.18.2.tgz#069e7d132024d436fd1f5771f6932426a695f230" integrity sha512-2JBasa5Qaj81Qsp/dxX2Njy+MdKC767WytHUDsRM7TYEfQvKPxsnGpnCBlBS1i2Aiv1YwCpmKSbQ6O6v8TpiKg== +"@types/yargs-parser@*": + version "13.1.0" + resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-13.1.0.tgz#c563aa192f39350a1d18da36c5a8da382bbd8228" + integrity sha512-gCubfBUZ6KxzoibJ+SCUc/57Ms1jz5NjHe4+dI2krNmU5zCPAphyLJYyTOg06ueIyfj+SaCUqmzun7ImlxDcKg== + +"@types/yargs@^13.0.2": + version "13.0.3" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-13.0.3.tgz#76482af3981d4412d65371a318f992d33464a380" + integrity sha512-K8/LfZq2duW33XW/tFwEAfnZlqIfVsoyRB3kfXdPXYhl0nfM8mmh7GS0jg7WrX2Dgq/0Ha/pR1PaR+BvmWwjiQ== + dependencies: + "@types/yargs-parser" "*" + abbrev@1: version "1.1.1" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" @@ -118,7 +144,7 @@ ajv-pack@^0.3.1: js-beautify "^1.6.4" require-from-string "^1.2.0" -ajv@^6.10.2: +ajv@^5.0.0, ajv@^6.10.2: version "6.10.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.2.tgz#d3cea04d6b017b2894ad69040fec8b623eb4bd52" integrity sha512-TXtUUEYHuaTEbLZWIKUr5pmBuhDLy+8KYtPYdcV8qC+pOZL+NKqYwvWSRrVXHn+ZmRRAu8vJTAznH7Oag6RVRw==