-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from dangchinh25/cle/fix/support-newer-node
Cle/fix/support newer node
- Loading branch information
Showing
33 changed files
with
315 additions
and
690 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,7 @@ jobs: | |
strategy: | ||
matrix: | ||
node-version: | ||
- 16.x | ||
- 18.x | ||
os: | ||
- ubuntu-latest | ||
steps: | ||
|
@@ -32,7 +32,6 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm i --frozen-lockfile | ||
- name: Run Tests 🧪 | ||
working-directory: ./packages/generator | ||
run: pnpm run test | ||
Publish: | ||
runs-on: ubuntu-latest | ||
|
@@ -44,7 +43,7 @@ jobs: | |
- name: Use Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16.x | ||
node-version: 18.x | ||
registry-url: https://registry.npmjs.org | ||
- name: Setup PNPM | ||
uses: pnpm/[email protected] | ||
|
@@ -57,7 +56,6 @@ jobs: | |
- name: Install dependencies | ||
run: pnpm i --frozen-lockfile | ||
- name: Publish 🚀 | ||
working-directory: ./packages/generator | ||
run: npx semantic-release | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,81 @@ | ||
{ | ||
"devDependencies": { | ||
"husky": "7.0.4" | ||
"name": "prisma-models-graph", | ||
"description": "Generates a bi-directional models graph for schema without strict relationship", | ||
"version": "1.1.6", | ||
"license": "MIT", | ||
"bin": "./dist/generator.js", | ||
"engines": { | ||
"node": ">=14.0" | ||
}, | ||
"scripts": { | ||
"start": "node dist/bin.js", | ||
"dev": "npx tsc -w", | ||
"build": "npx tsc", | ||
"prepack": "yarn build", | ||
"test": "jest", | ||
"lint": "eslint --fix .", | ||
"prepare": "husky install" | ||
}, | ||
"dependencies": { | ||
"@prisma/client": "^5.2.0", | ||
"@prisma/generator-helper": "^5.2.0", | ||
"@prisma/internals": "^5.2.0", | ||
"prisma": "^5.2.0", | ||
"prettier": "3.0.3" | ||
}, | ||
"devDependencies": { | ||
"@types/jest": "^29.5.2", | ||
"@types/node": "^20.4.0", | ||
"jest": "^29.6.1", | ||
"ts-jest": "^29.1.1", | ||
"typescript": "^5.1.6", | ||
"@semantic-release/changelog": "^6.0.1", | ||
"@semantic-release/git": "^10.0.1", | ||
"semantic-release": "^18.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.61.0", | ||
"@typescript-eslint/parser": "^5.61.0", | ||
"@typescript-eslint/typescript-estree": "^5.61.0", | ||
"eslint": "^8.44.0", | ||
"eslint-plugin-jest": "^27.2.2", | ||
"eslint-plugin-jest-formatting": "^3.1.0", | ||
"husky": "7.0.4" | ||
}, | ||
"homepage": "https://github.com/dangchinh25/prisma-models-graph", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/dangchinh25/prisma-models-graph" | ||
}, | ||
"author": "Chinh Le [email protected]", | ||
"keywords": [ | ||
"prisma", | ||
"prisma2", | ||
"generator" | ||
], | ||
"release": { | ||
"branches": [ | ||
"main" | ||
], | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
[ | ||
"@semantic-release/changelog", | ||
{ | ||
"changelogFile": "CHANGELOG.md" | ||
} | ||
], | ||
"@semantic-release/npm", | ||
"@semantic-release/github", | ||
[ | ||
"@semantic-release/git", | ||
{ | ||
"assets": [ | ||
"CHANGELOG.md", | ||
"package.json" | ||
], | ||
"message": "chore(release): set `package.json` to ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" | ||
} | ||
] | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
packages/generator/src/__tests__/__fixtures__/getSampleDMMF.ts
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.