Skip to content

Commit

Permalink
feat: remove peerDependencies and let it can dependency by eggjs
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Apr 7, 2024
1 parent 4ca86d2 commit 8b82af1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 12 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# ajv-formats

> forked: remove `peerDependencies` and let it can dependency by eggjs.
JSON Schema formats for Ajv

[![Build Status](https://travis-ci.org/ajv-validator/ajv-formats.svg?branch=master)](https://travis-ci.org/ajv-validator/ajv-formats)
Expand Down
18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/ajv-validator/ajv-formats.git"
"url": "git+https://github.com/eggjs/ajv-formats.git"
},
"keywords": [
"Ajv",
Expand All @@ -31,27 +31,18 @@
"author": "Evgeny Poberezkin",
"license": "MIT",
"bugs": {
"url": "https://github.com/ajv-validator/ajv-formats/issues"
"url": "https://github.com/eggjs/ajv-formats/issues"
},
"homepage": "https://github.com/ajv-validator/ajv-formats#readme",
"homepage": "https://github.com/eggjs/ajv-formats#readme",
"dependencies": {
"ajv": "^8.0.0"
},
"peerDependencies": {
"ajv": "^8.0.0"
},
"peerDependenciesMeta": {
"ajv": {
"optional": true
}
},
"devDependencies": {
"@ajv-validator/config": "^0.3.0",
"@types/jest": "^26.0.5",
"@types/node": "^14.10.1",
"@typescript-eslint/eslint-plugin": "^3.7.0",
"@typescript-eslint/parser": "^3.7.0",
"ajv": "^8.0.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.11.0",
"husky": "^4.2.5",
Expand All @@ -70,5 +61,8 @@
},
"lint-staged": {
"*.{md,json,yaml,js,ts}": "prettier --write"
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit 8b82af1

Please sign in to comment.