Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration for type suffixes and prettier config + other breaking changes #13

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "all",
"endOfLine": "lf",
"useTabs": false,
"semi": true
}
2 changes: 1 addition & 1 deletion .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"@semantic-release/changelog",
"@semantic-release/npm",
"@semantic-release/github",
"@semantic-release/git",
"@semantic-release/git"
],
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
Expand Down
23 changes: 8 additions & 15 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,47 +1,40 @@
# [2.1.0](https://github.com/adeyahya/prisma-typebox-generator/compare/v2.0.2...v2.1.0) (2023-08-31)


### Features

* documentation hints ([2e383fe](https://github.com/adeyahya/prisma-typebox-generator/commit/2e383fe7e964a0cfe7a130114e38a47707efaabd))
- documentation hints ([2e383fe](https://github.com/adeyahya/prisma-typebox-generator/commit/2e383fe7e964a0cfe7a130114e38a47707efaabd))

## [2.0.2](https://github.com/adeyahya/prisma-typebox-generator/compare/v2.0.1...v2.0.2) (2022-04-28)


### Bug Fixes

* bug on decimal and bigint ([e191141](https://github.com/adeyahya/prisma-typebox-generator/commit/e1911413fba7f006b0b5392dd6770c653c78312b))
- bug on decimal and bigint ([e191141](https://github.com/adeyahya/prisma-typebox-generator/commit/e1911413fba7f006b0b5392dd6770c653c78312b))

## [2.0.1](https://github.com/adeyahya/prisma-typebox-generator/compare/v2.0.0...v2.0.1) (2021-06-23)


### Bug Fixes

* bug on multiple relation ([51ba403](https://github.com/adeyahya/prisma-typebox-generator/commit/51ba403f9ce3c1446b5746ff8ec3131dfa558d4a))
- bug on multiple relation ([51ba403](https://github.com/adeyahya/prisma-typebox-generator/commit/51ba403f9ce3c1446b5746ff8ec3131dfa558d4a))

# [2.0.0](https://github.com/adeyahya/prisma-typebox-generator/compare/v1.0.1...v2.0.0) (2021-06-21)


### Features

* relation support ([574c381](https://github.com/adeyahya/prisma-typebox-generator/commit/574c381b8e94a47520c4d885a23ac6cf9701487f))

- relation support ([574c381](https://github.com/adeyahya/prisma-typebox-generator/commit/574c381b8e94a47520c4d885a23ac6cf9701487f))

### BREAKING CHANGES

* this change might break your current implementation
that uses omit, pick, or extend
- this change might break your current implementation
that uses omit, pick, or extend

## [1.0.1](https://github.com/adeyahya/prisma-typebox-generator/compare/v1.0.0...v1.0.1) (2021-06-04)


### Bug Fixes

* binary ([e746430](https://github.com/adeyahya/prisma-typebox-generator/commit/e746430d82e25df0f06b56cb837bfab14ea09698))
- binary ([e746430](https://github.com/adeyahya/prisma-typebox-generator/commit/e746430d82e25df0f06b56cb837bfab14ea09698))

# 1.0.0 (2021-06-04)


### Features

* initial release ([e246da0](https://github.com/adeyahya/prisma-typebox-generator/commit/e246da0a826a6972986898d0b0ad8a4a2b67b0df))
- initial release ([e246da0](https://github.com/adeyahya/prisma-typebox-generator/commit/e246da0a826a6972986898d0b0ad8a4a2b67b0df))
51 changes: 23 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "prisma-typebox-generator",
"version": "2.1.0",
"version": "2.4.1",
"main": "dist/index.js",
"license": "MIT",
"files": [
Expand Down Expand Up @@ -29,35 +29,36 @@
"url": "https://github.com/adeyahya/prisma-typebox-generator/issues"
},
"dependencies": {
"@prisma/generator-helper": "^2.20.1",
"@prisma/sdk": "^2.20.1",
"core-js": "3.10.0",
"prettier": "^2.3.0"
"@prisma/generator-helper": "^5.2.0",
"@prisma/internals": "^5.2.0",
"c12": "^1.4.2",
"core-js": "3.32.1",
"prettier": "^3.0.3"
},
"devDependencies": {
"@babel/cli": "^7.13.14",
"@babel/core": "^7.13.14",
"@babel/preset-env": "^7.13.12",
"@babel/preset-typescript": "^7.13.0",
"@prisma/client": "^2.20.1",
"@semantic-release/changelog": "^5.0.1",
"@semantic-release/commit-analyzer": "^8.0.1",
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.2.0",
"@semantic-release/npm": "^7.1.0",
"@semantic-release/release-notes-generator": "^9.0.2",
"@sinclair/typebox": "^0.16.7",
"@types/jest": "26.0.22",
"@types/node": "^14.14.37",
"@prisma/client": "^5.2.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/commit-analyzer": "^10.0.4",
"@semantic-release/git": "^10.0.1",
"@semantic-release/github": "^9.0.4",
"@semantic-release/npm": "^10.0.5",
"@semantic-release/release-notes-generator": "^11.0.7",
"@sinclair/typebox": "^0.31.8",
"@types/jest": "^29.5.4",
"@types/node": "^20.5.7",
"ajv": "^8.0.5",
"ajv-formats": "^2.0.2",
"babel-jest": "^26.6.3",
"jest": "26.6.3",
"prisma": "^2.20.1",
"semantic-release": "^17.4.2",
"ts-jest": "^26.5.4",
"ts-node": "^9.1.1",
"typescript": "^4.2.3"
"babel-jest": "^29.6.4",
"jest": "^29.6.4",
"prisma": "^5.2.0",
"semantic-release": "^21.1.1",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
},
"scripts": {
"generate": "prisma generate",
Expand All @@ -66,12 +67,6 @@
"build": "npm run clean && babel src --out-dir dist --extensions '.ts'",
" ": "semantic-release"
},
"prettier": {
"tabWidth": 2,
"singleQuote": true,
"semi": true,
"trailingComma": "all"
},
"bin": {
"prisma-typebox-generator": "dist/cli.js"
}
Expand Down
Loading