New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.2.0 #12

Open
wants to merge 35 commits into
base: master
from

Conversation

Projects
None yet
2 participants
@TimboKZ
Copy link
Owner

TimboKZ commented Dec 14, 2016

  • Improved command line interface. All commands now have better descriptions and you can view help for certain commands by doing blitz <command> -h.
  • Exposed the public Blitz API. Unlike previous versions, Blitz package can now be referenced directly as a JS module. I'm yet to produce the documentation for it but it will appear very soon.
  • Improved project initilisation. You can now specify target path using blitz init -p <path> and Blitz will warn if the directory is not empty and will request your confirmation to proceed. Additionally, instead of deleting the template's build folder after copying it to the target destination Blitz will avoid copying it in the first place, which means that the existing build directory in the target path will remain unchanged. Other than that, template functionality has remained unchanged, you can still specify templates using blitz init -t <template>.
  • Completed config validation feature. Blitz will now terminate and display an error if the config provided is invalid.
  • To conform with Unix Rule of Silence, Blitz now does not output anything if program execution has completed successfully. To enable output like in previous version of Blitz, you can use the --verbose flag, like so: blitz --verbose or blitz -v.
  • Content files can now have functions with syntax ${functionName|someString}, which will result in functionName('someString') being called. The currently supported functions are url and asset, all unrecognised functions will simply be displayed as text. If you want a valid function to be displayed as plain text, add a backslash in front of it, like so: \${url|index}. These functions are not available in front-matter of content files.
  • Blitz now knows which page IDs, assets and menus were referenced in each content file and template. This is useful for watch and preview modes, since Blitz can avoid regenerating pages which were unaffected by the changes.
  • Added a preview server which can be started using blitz preview. Blitz will rebuild the pages where necessary when a change to the templates or content files occurs, while the server (which is using Browsersync) will update the page for you.

TimboKZ added some commits Dec 11, 2016

TimboKZ added some commits Jan 21, 2017

@coveralls

This comment has been minimized.

Copy link

coveralls commented Jan 22, 2017

Coverage Status

Coverage increased (+22.03%) to 61.714% when pulling 9f1f2a6 on 0.2.0 into 8ec6055 on master.

@coveralls

This comment has been minimized.

Copy link

coveralls commented Jan 22, 2017

Coverage Status

Coverage increased (+22.03%) to 61.714% when pulling f9048e2 on 0.2.0 into 8ec6055 on master.

@TimboKZ

This comment has been minimized.

Copy link
Owner

TimboKZ commented Jun 10, 2017

For anyone seeing this, v2 of Blitz is current on ice. Will come back to it at some point in the future but will probably limit the scope of the project to bring back the initial concept of quick website creation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment