craftsman

A .NET scaffolding tool to help you stop worrying about boilerplate and focus on your business logic ๐Ÿš€

MIT License

Stars
1.1K

Bot releases are hidden (Show)

craftsman - v0.4.1

Published by pdevito3 almost 4 years ago

Release Notes

๐Ÿ› Pest Control

  • Async method in controller POST wasn't awaited
craftsman - v0.4.0

Published by pdevito3 almost 4 years ago

Release Notes

๐Ÿš€ Additions and Updates

  • Default Startup.cs class can now be configured using the reserved Startup keyword

๐Ÿ› Pest Control

  • Fixed craftsman add:property -h help text
  • The appsettings connection string will now escape backslash
  • Foreign key using statement will now be dynamic on DTOs
craftsman - v0.3.1

Published by pdevito3 almost 4 years ago

Release Notes

๐Ÿš€ Additions and Updates

  • Added new:webapi alias that acts the same as new:api

๐Ÿ› Pest Control

  • Fixed craftsman add:property -h to point to the correct help page

๐Ÿงน Housekeeping

  • Updated cli help text
craftsman - v0.3.0

Published by pdevito3 almost 4 years ago

Release Notes

Preface

Jumping from 0.1.12 to 0.3.0 only because it's late and I thought we were on 0.2.x. Sorry for the confusion.

Also, one more note that I will be doing semantic versioning from here on forward, so there should be some consistency there. We won't be hitting 1.0 until it feels worthy though ๐Ÿ™‚ Anyway, onto the good stuff:

๐Ÿš€ Additions and Updates

  • Updated the API to run on NET 5.0
  • Pagination metadata enhancements on PagedList that is returned in GET list endpoint will now include more metadata for the current page including the current size as well as the start and end indices. I also removed the Next and Previous Page URI links to reduce complexity.
  • Updated all controller calls to be asynchronous, including the get list
  • Saves updated to be asynchronous

Auth

One major capability I want to add into this is a good basis for auth generation. I've started to build this out, but it could (and very likely will) change drastically. With that said, I left it in as an alpha feature in case anyone is interested in trying it.

๐Ÿ› Pest Control

  • Add Entity bug in repository fixed
  • Fixed some builder options when not using auth

๐Ÿงน Housekeeping

  • Hardened a few builder operations
  • Lots of cleanup behind the scenes
craftsman - v0.2.0-pre.2.1.0

Published by pdevito3 about 4 years ago

๐Ÿš€ Additions and Updates
Saves updated to be asynchronous

๐Ÿ› Pest Control
Add Entity bug in repo fixed

craftsman - v0.2.0-pre.2.0.0

Published by pdevito3 about 4 years ago

๐Ÿš€ Additions and Updates
Updated all controller calls to be asynchronous, including the get list

๐Ÿ› Pest Control
Fixed some builder options when not using auth

๐Ÿงน Housekeeping
Hardened a few builder operations

craftsman - v0.2.0-pre.1.0.0

Published by pdevito3 about 4 years ago

๐Ÿš€ Additions and Updates

Along with some internal clean up this has one pretty big update that provides a new capability for setting up Auth based on .NET Core Identity. Given the complexity of the subject, I am keeping it in pre until myself and/or the community can make sure the parameter API makes sense, harden the build a bit, etc. You can find details for setting up Auth in the readme, including an example.

You can install the new package like so:

dotnet tool uninstall -g craftsman
dotnet tool install -g Craftsman --version 0.2.0-pre.1.0.0

Note, that you'll need to update foundation as well:

dotnet new -u Foundation.Api
dotnet new --install Foundation.Api::0.2.0-pre.1.0.0
craftsman - v0.1.12

Published by pdevito3 about 4 years ago

๐Ÿš€ Additions and Updates

  • Added git setup feature. By default, all projects will now be set up with a repo, a .gitignore file, and initial commit when using the new:api command. If you'd like to disable this, you can set the new AddGit option equal to false in your creation file.
craftsman - v0.1.11

Published by pdevito3 about 4 years ago

๐Ÿš€ Additions and Updates

  • Added a new DefaultValue option to entity properties

๐Ÿ› Pest Control

  • Fixed bug where Environments were required instead of optional
  • Updated GitHub issue template for Issues

๐Ÿงน Housekeeping

  • Refactored internal primary key prop to a class
craftsman - v0.1.10

Published by pdevito3 about 4 years ago

๐Ÿ› Pest Control

  • Hardened class path management to address issue #1
  • Updated README typos
  • Started working on filetext tests