Skip to content

Commit c519f05

Browse files
committed
chore(server): remove dead codegen scripts, tsconfig excludes, rimraf dep
- Remove codegen and codegen:clean scripts (no codegen dir/imports exist) - Remove src/codegen/**/* from tsconfig excludes (dir doesn't exist) - Remove Codegen section from README (server is runtime-only now) - Remove rimraf devDependency (only used by deleted codegen:clean)
1 parent bb1d268 commit c519f05

5 files changed

Lines changed: 1 addition & 23 deletions

File tree

graphql/server/README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ Configuration is merged from defaults, config files, and env vars via `@construc
118118

119119
Use `supertest` or your HTTP client of choice against `/graphql`. For RLS-aware tests, provide a `Bearer` token and ensure the API's auth function is available.
120120

121-
## Codegen
122-
123-
For local codegen test, use `PORT=5555 API_ENABLE_META=true PGDATABASE=launchql pnpm dev`
124-
125121
## Related Packages
126122

127123
- `@constructive-io/graphql-env` - env parsing + defaults for GraphQL

graphql/server/package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
"lint": "eslint . --fix",
3030
"test": "jest --passWithNoTests",
3131
"test:watch": "jest --watch",
32-
"bucket:create": "ts-node src/scripts/create-bucket.ts",
33-
"codegen:clean": "rimraf src/codegen/orm codegen/schema.graphql",
34-
"codegen": "npm run codegen:clean && graphql-codegen --schema-only --output codegen && graphql-codegen generate-orm --schema codegen/schema.graphql --output src/codegen/orm"
32+
"bucket:create": "ts-node src/scripts/create-bucket.ts"
3533
},
3634
"keywords": [
3735
"server",
@@ -85,7 +83,6 @@
8583
"graphile-test": "workspace:*",
8684
"makage": "^0.1.10",
8785
"nodemon": "^3.1.10",
88-
"rimraf": "^6.1.2",
8986
"ts-node": "^10.9.2"
9087
}
9188
}

graphql/server/tsconfig.esm.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"node_modules",
1313
"**/*.spec.*",
1414
"**/*.test.*",
15-
"src/codegen/**/*",
1615
"src/plugins/**/*",
1716
"src/schema.ts",
1817
"src/scripts/**/*",

graphql/server/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"node_modules",
1313
"**/*.spec.*",
1414
"**/*.test.*",
15-
"src/codegen/**/*",
1615
"src/plugins/**/*",
1716
"src/schema.ts",
1817
"src/scripts/**/*",

pnpm-lock.yaml

Lines changed: 0 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)