Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit 46695b4

Browse files
authored
Merge pull request #25 from puzzmo-com/ast-format
Ast format alternative
2 parents ae85283 + 2bb116a commit 46695b4

19 files changed

+785
-600
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Changelog
1+
## Changelog
2+
3+
### 3.0.0
4+
5+
- .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.
26

37
### 2.0.0
48

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ You could think of it as a smaller, more singular focused version of the mature
3838

3939
## Vision
4040

41-
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.
42-
43-
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.
41+
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.
4442

4543
## Pipeline
4644

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sdl-codegen/node",
3-
"version": "2.0.1",
3+
"version": "3.0.0",
44
"description": "GraphQL .d.ts file generation for SDL-first projects",
55
"repository": {
66
"type": "git",
@@ -39,11 +39,17 @@
3939
"*.ts": "eslint --fix"
4040
},
4141
"dependencies": {
42+
"@babel/generator": "7.26.0",
43+
"@babel/parser": "^7.26.2",
44+
"@babel/traverse": "7.25.9",
45+
"@babel/types": "7.26.0",
4246
"@mrleebo/prisma-ast": "^0.12.0",
4347
"ts-morph": "^22.0.0"
4448
},
4549
"devDependencies": {
4650
"@babel/core": "^7.20.12",
51+
"@types/babel__generator": "^7.6.0",
52+
"@types/babel__traverse": "^7.14.0",
4753
"@types/eslint": "^8.21.1",
4854
"@types/node": "^16.16.0",
4955
"@typescript-eslint/eslint-plugin": "^5.48.2",
@@ -78,7 +84,7 @@
7884
"release-it": "^15.6.0",
7985
"sentences-per-line": "^0.2.1",
8086
"should-semantic-release": "^0.1.0",
81-
"typescript": "^5.0.0",
87+
"typescript": "^5.6.3",
8288
"vitest": "^0.31.1",
8389
"yaml-eslint-parser": "^1.2.0"
8490
},

0 commit comments

Comments
 (0)