Skip to content

Commit

Permalink
Publish
Browse files Browse the repository at this point in the history
 - @graphql-directive/core-validator@1.0.0
 - @graphql-directive/validator@1.0.0
  • Loading branch information
ktutnik committed Mar 10, 2023
1 parent 3646e08 commit 4e18ccb
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 14 deletions.
11 changes: 11 additions & 0 deletions packages/core-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 1.0.0 (2023-03-10)

### Bug Fixes

- Add plugin ability, and split into smaller projects ([#8](https://github.com/ktutnik/graphql-directive/issues/8)) ([1243fc1](https://github.com/ktutnik/graphql-directive/commit/1243fc16c953aa3f59cd038a77cb508401dbe0d2))
- **validator:** Add support for custom validator ([#28](https://github.com/ktutnik/graphql-directive/issues/28)) ([72f6a59](https://github.com/ktutnik/graphql-directive/commit/72f6a59517cb3f3d8c3f517e227a3a82436a942b))
16 changes: 9 additions & 7 deletions packages/core-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-directive/core-validator",
"version": "0.0.0",
"version": "1.0.0",
"description": "The core validator is a critical part of the validator directive in GraphQL that validates user-supplied values. It is highly extensible and enables effective validation of complex data structures. It also provides detailed error messages that aid in debugging.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -19,17 +19,19 @@
"@graphql-tools/utils": "^9.2.1"
},
"devDependencies": {
"@types/validator": "^13.7.12",
"validator": "^13.9.0",
"@graphql-tools/schema": "^9.0.16",
"@types/jest": "^29.4.0",
"@types/validator": "^13.7.12",
"graphql": "^16.6.0",
"jest": "^29.4.3",
"trash-cli": "^5.0.0",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"trash-cli": "^5.0.0",
"graphql": "^16.6.0",
"@graphql-tools/schema": "^9.0.16"
"validator": "^13.9.0"
},
"funding":["https://github.com/sponsors/ktutnik"],
"funding": [
"https://github.com/sponsors/ktutnik"
],
"bugs": {
"url": "https://github.com/ktutnik/graphql-directive/issues"
},
Expand Down
17 changes: 17 additions & 0 deletions packages/validator/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# 1.0.0 (2023-03-10)

### Bug Fixes

- Add plugin ability, and split into smaller projects ([#8](https://github.com/ktutnik/graphql-directive/issues/8)) ([1243fc1](https://github.com/ktutnik/graphql-directive/commit/1243fc16c953aa3f59cd038a77cb508401dbe0d2))
- Add possibility to set validator custom message ([#21](https://github.com/ktutnik/graphql-directive/issues/21)) ([fc0b1e8](https://github.com/ktutnik/graphql-directive/commit/fc0b1e8a799927788d598f68f34df118797f4012))
- Change validation logic from EMPTY to NOT_EMPTY ([#7](https://github.com/ktutnik/graphql-directive/issues/7)) ([8ce575e](https://github.com/ktutnik/graphql-directive/commit/8ce575e5e80940000e1cda4f637306dac2c9458a))
- **validator:** Add support for custom validator ([#28](https://github.com/ktutnik/graphql-directive/issues/28)) ([72f6a59](https://github.com/ktutnik/graphql-directive/commit/72f6a59517cb3f3d8c3f517e227a3a82436a942b))

### Features

- Add validate directive ([#2](https://github.com/ktutnik/graphql-directive/issues/2)) ([8955fd4](https://github.com/ktutnik/graphql-directive/commit/8955fd478a2007cedbe6c668fc3fd0a3b4c0d3e9))
16 changes: 9 additions & 7 deletions packages/validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@graphql-directive/validator",
"version": "0.0.0",
"version": "1.0.0",
"description": "A validator.js wrapper for GraphQL validation directive",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -16,19 +16,21 @@
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0"
},
"dependencies": {
"@graphql-directive/core-validator": "^0.0.0",
"@graphql-directive/core-validator": "^1.0.0",
"@types/validator": "^13.7.12",
"validator": "^13.9.0"
},
"funding":["https://github.com/sponsors/ktutnik"],
"funding": [
"https://github.com/sponsors/ktutnik"
],
"devDependencies": {
"@graphql-tools/schema": "^9.0.16",
"@types/jest": "^29.4.0",
"graphql": "^16.6.0",
"jest": "^29.4.3",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"trash-cli": "^5.0.0",
"graphql": "^16.6.0",
"@graphql-tools/schema": "^9.0.16"
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1"
},
"bugs": {
"url": "https://github.com/ktutnik/graphql-directive/issues"
Expand Down

0 comments on commit 4e18ccb

Please sign in to comment.