* initial port
* read custom template values from blitz-server
* fix unit tests
* add unit tests
* remove comments
* make db import generic
* fix blitz genrate not updating values
* cleanup
* fix parent generation in createMutation and components, and move existing pages when --parent is called
* cleanup
* Create silly-peas-work.md
* Update .changeset/silly-peas-work.md
* add types for codegen
* fix belongsTo not working
* fix pnpm-lock
* use latest blitz logging setup in generator
* show error when structure of codegen is incorrect using zod
* cleanup
* make prisma import generic
* update tests
* generic prisma to work on subsequent runs
* initial commit adding dropdown option when using belongTo and parent flag
* cleanup
* fix --parent flag
* fix type
* Update getUsers.ts
* fix duplicate
* update prop type to options for --parent or belongsTo option and add LabelSelectField
* update tests
* Update blitz-server.ts
* fix lock file and add react-final-form select component
* fix default bug for string values in #2863
* Update apps/toolkit-app/app/blitz-server.ts
* update to latest changes
* implement suggessions
* fix tests and remove custom log
* add required test and remove error if prisma does not exist
* remove error log if no prisma schema
* works without prisma
* move zod to devDeps
* fix zod version
* preWriteFile and postWriteFile hooks
* fix pnpm lock
* Update packages/generator/src/generators/template-builders/field-values-builder.ts
Co-authored-by: John Vandivier <vandivier_john@yahoo.com>
* initial revert changes to log and add better types
* minor fix
* minor fix
* Update main.yml
* fix playwright issue
* Update main.yml
* try agin
* fix env location
* fix path
* fix version
* try another way
* with deps
* fix version
* cleanup
* add new zod `datetime`
Co-authored-by: Tobias <tobias@fixmycity.de>
* pnpm lock
* update zod to 3.20.0 in generator
* update unit tests
* Create pr-release.yml
* add changeset pre exit to fix error
* update to latest
* fix syntax
* try again
* feature: Consolidate mutations schema to schemas.ts file (#4057)
* fix global install issue
* update the templates from suggestions
* merge the default and custom config
* fix custom codegen
* fix validations
* add partial type to codegen
* commit to rerun the action
---------
Co-authored-by: John Vandivier <vandivier_john@yahoo.com>
Co-authored-by: Tobias <tobias@fixmycity.de>
* secure-password breaking changes
* fix
* more fixes
* fix secure-password imports
* add codemod
* add secure-password to auth integration test
* Apply suggestions from code review
* try adding playwrigth to package.json
* without server mode
* add one to fix conficting ports
* another try
* add waitPort in the right place
* use same port
* manually kill the process
* remove the server mode
* cleanup
* change rpc route basepath includeRPC in monorepos to be one folder up
* changeset
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
* redesign index page for full app template
* pnpmlock
* iteration 2
* Add padding around blitz logo
* Fix more padding
* update padding for logo and button container
* increase max-width
* final draft
* address comments
Co-authored-by: Brandon Bayer <b@bayer.ws>
The previous solution did solve the if-statement but not the line below, which still had this TS error:
```
const relationType = Relation[_fieldName]
// ^- const _fieldName: string | undefined
// Type 'undefined' cannot be used as an index type.ts(2538)
```
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com>
Co-authored-by: Siddharth Suresh <siddh.suresh@gmail.com>
* Use the new nextjs constant to check if SSR and fix suspense for nextjs 13.1 and above
* satisfy version from 13 to 13.0.6
* check for DYNAMIC_SERVER_USAGE error string for nextjs versions 13-13.0.6
* Create fluffy-coats-flow.md
* revert toolkit-app update to next 13.1
* set error message for compatability with next 13.0.7
* fix changeset
* Reference `vitest.config.ts` instead of jest for README|s
* Update apps/toolkit-app/README.md
Co-authored-by: Dillon Raphael <dillon@creatorsneverdie.com>