Skip to content

Commit

Permalink
TurboRepo CodeGen for New Packages (#3940)
Browse files Browse the repository at this point in the history
* TurboRepo CodeGen for New Packages
This is the first step towards integrating TurboRepo CodeGen into our development process for creating new packages. As an initial implementation, this tool will start to automate boilerplate code generation, making package creation more efficient and consistent throughout our codebase.  Future iterations will further refine and expand upon this foundational implementation.

Co-authored-by: MrBBot <bcoll@cloudflare.com>
  • Loading branch information
JacobMGEvans and mrbbot authored Sep 14, 2023
1 parent 765ebc1 commit 56da7c7
Show file tree
Hide file tree
Showing 7 changed files with 679 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ fixtures/**/dist/**
*.log

/worker-rust/target/

# TurboRepo CodeGen .hbs files
**/*.hbs
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@
"test": "turbo test --concurrency=1",
"test:ci": "turbo test:ci --filter=!local-mode-tests --filter=!playground-preview-worker --filter=!no-bundle-import --concurrency=1",
"test:watch": "turbo test:watch",
"type:tests": "turbo type:tests"
"type:tests": "turbo type:tests",
"gen:package": "turbo gen package"
},
"dependencies": {
"@changesets/changelog-github": "^0.4.5",
Expand All @@ -51,6 +52,7 @@
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20230821.0",
"@turbo/gen": "^1.10.13",
"dotenv-cli": "^7.3.0",
"esbuild": "0.17.19",
"turbo": "^1.10.13"
Expand Down
Loading

0 comments on commit 56da7c7

Please sign in to comment.