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

Ast format alternative #25

Merged
merged 10 commits into from
Nov 23, 2024
Merged
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## Changelog

### 3.0.0

- .d.ts generation re-write using a new technique I've been thinking about. The .d.ts files are not pretty. That's not a priority for me right now.

### 2.0.0

Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ You could think of it as a smaller, more singular focused version of the mature

## Vision

This repo provides the APIs for building a codegen for framework authors, and the goal is not to provide a CLI for a generalized use-case.

It is currently [available inside RedwoodJS](https://redwoodjs.com/docs/typescript/generated-types#experimental-sdl-code-generation) as an option for experimental SDL code generation.
This repo provides the APIs for building a codegen for framework authors or confident tool builders, and the goal is not to provide a CLI for a generalized use-case.

## Pipeline

Expand Down
10 changes: 8 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sdl-codegen/node",
"version": "2.0.1",
"version": "3.0.0",
"description": "GraphQL .d.ts file generation for SDL-first projects",
"repository": {
"type": "git",
Expand Down Expand Up @@ -39,11 +39,17 @@
"*.ts": "eslint --fix"
},
"dependencies": {
"@babel/generator": "7.26.0",
"@babel/parser": "^7.26.2",
"@babel/traverse": "7.25.9",
"@babel/types": "7.26.0",
"@mrleebo/prisma-ast": "^0.12.0",
"ts-morph": "^22.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.12",
"@types/babel__generator": "^7.6.0",
"@types/babel__traverse": "^7.14.0",
"@types/eslint": "^8.21.1",
"@types/node": "^16.16.0",
"@typescript-eslint/eslint-plugin": "^5.48.2",
Expand Down Expand Up @@ -78,7 +84,7 @@
"release-it": "^15.6.0",
"sentences-per-line": "^0.2.1",
"should-semantic-release": "^0.1.0",
"typescript": "^5.0.0",
"typescript": "^5.6.3",
"vitest": "^0.31.1",
"yaml-eslint-parser": "^1.2.0"
},
Expand Down
Loading
Loading