From 8160f8f870df3aa039acde67bab63160e27e4036 Mon Sep 17 00:00:00 2001 From: Mirco Veltri Date: Tue, 6 Sep 2022 16:41:27 +0200 Subject: [PATCH] chore: ready for v0.9.1 --- CHANGELOG.md | 30 +++++++++++++++++++++++++++++- README.md | 10 +++++++--- cmd/newPage.go | 2 +- cmd/version.go | 2 +- 4 files changed, 38 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d5c9275..e4a56b0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,33 @@ # CHANGELOG +## [v0.9.1](https://github.com/sveltinio/sveltin/releases/tag/v0.9.1) (2022-09-06) + +[Full Changelog](https://github.com/sveltinio/sveltin/compare/v0.9.0...v0.9.1) + +### Fixed Bugs + +- make generated page variable reactive + +### Chores + +- sveltekit updated to **next.472** +- upgrade minor npm deps +- indirect go deps added to generate command docs + +### 📖 Documentation + +- **cmds:** uniforming cobra help strings for commands + +### Pull Requests + +- Merge pull request [#110](https://github.com/sveltinio/sveltin/issues/110) from cobra-doc-deps +- Merge pull request [#111](https://github.com/sveltinio/sveltin/issues/111) from page-flags +- Merge pull request [#112](https://github.com/sveltinio/sveltin/issues/112) from content-flags +- Merge pull request [#113](https://github.com/sveltinio/sveltin/issues/113) from update-minor-npm-deps +- Merge pull request [#114](https://github.com/sveltinio/sveltin/issues/114) from uniforming-help-messages +- Merge pull request [#115](https://github.com/sveltinio/sveltin/issues/115) from fix-page-variable +- Merge pull request [#116](https://github.com/sveltinio/sveltin/issues/116) from sk-next.472 + ## [v0.9.0](https://github.com/sveltinio/sveltin/releases/tag/v0.9.0) (2022-09-05) [Full Changelog](https://github.com/sveltinio/sveltin/compare/v0.8.12...v0.9.0) @@ -83,7 +111,7 @@ - Merge pull request [#105](https://github.com/sveltinio/sveltin/issues/105) from sveltinio/nested-resources - Merge pull request [#106](https://github.com/sveltinio/sveltin/issues/106) from sveltinio/sveltekit-latest - Merge pull request [#107](https://github.com/sveltinio/sveltin/issues/107) from sveltinio/go-deps -- Merge pull request [#108](https://github.com/sveltinio/sveltin/issues/108) from bump-vite-sveltekit +- Merge pull request [#109](https://github.com/sveltinio/sveltin/issues/109) from bump-vite-sveltekit ## [v0.8.12](https://github.com/sveltinio/sveltin/releases/tag/v0.8.12) (2022-08-04) diff --git a/README.md b/README.md index f1e0c77b..b11de790 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ The Smartest Way to Create SvelteKit powered static websites.   - sveltin cli version + sveltin cli version   @@ -50,7 +50,7 @@ Sveltin is a CLI (Command Line Interface) created to boost the developers produc ## :warning: Project Status -> Sveltin is under active development and some changes are expected before we hit version 1.0. At the same time, we will do our best to follow the progress toward SvelteKit v1.0 (Latest SvelteKit tested version is **1.0.0-next-470**). If you are interesting on it please, give it a try and let it evolves, see the **Contributing** section. If you get stuck, reach out for help in the [discussions tab](https://github.com/sveltinio/sveltin/discussions) or open an [issue](https://github.com/sveltinio/sveltin/issues). +> Sveltin is under active development and some changes are expected before we hit version 1.0. At the same time, we will do our best to follow the progress toward SvelteKit v1.0 (Latest SvelteKit tested version is **1.0.0-next-472**). If you are interesting on it please, give it a try and let it evolves, see the **Contributing** section. If you get stuck, reach out for help in the [discussions tab](https://github.com/sveltinio/sveltin/discussions) or open an [issue](https://github.com/sveltinio/sveltin/issues). ## :mega: Overview @@ -83,7 +83,11 @@ sveltin install # Create a public page as Svelte component # (http://localhost:5173/contact) -sveltin new page contact --type svelte +sveltin new page contact --as svelte + +# Create a public page as MDsveX component +# (http://localhost:5173/contact) +sveltin new page about --as markdown # Create a 'posts' resource sveltin new resource posts diff --git a/cmd/newPage.go b/cmd/newPage.go index ccaaca63..882b4dcd 100644 --- a/cmd/newPage.go +++ b/cmd/newPage.go @@ -48,7 +48,7 @@ var newPageCmd = &cobra.Command{ Command used to create a new public page route. Pages are Svelte components written in .svelte or .svx (for markdown) files. The filename determines the route, -so creating a page named "about" will generate the followin route /about/+page. +so creating a page named "about" will generate the following route /about/+page.(svelte|svx) This command allows you to select between a svelte component page and a markdown page.`, Run: NewPageCmdRun, diff --git a/cmd/version.go b/cmd/version.go index 735e4310..f7a267c0 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -8,7 +8,7 @@ import ( const ( // CliVersion is the current sveltin cli version number. - CliVersion string = "0.9.0" + CliVersion string = "0.9.1" ) func init() {