diff --git a/.gitignore b/.gitignore
index fdcffad..f522dfa 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ package-lock.json
.temp
node_modules/
dist/yarn-error.log
+.task/
diff --git a/.versionrc.json b/.versionrc.json
index b4a1cf4..b49c3dc 100644
--- a/.versionrc.json
+++ b/.versionrc.json
@@ -1,4 +1,7 @@
{
+ "scripts": {
+ "postchangelog": "gotask changelog"
+ },
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0452040..26f62a4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,20 +2,29 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-## [2.2.0](///compare/v2.1.0...v2.2.0) (2022-04-11)
+## 2.3.0 (2022-04-17)
### Features
-* allow to edit the print layout 381d497
+* add 'reset ship' button
+* add changelog to app
+* add version to About component
-## [2.1.0](///compare/v2.0.0...v2.1.0) (2022-04-07)
+## 2.2.0 (2022-04-11)
### Features
-* add localStorage memory bf7206a
-* can move main system comps in the print output b425f4a
+* allow to edit the print layout
+
+## 2.1.0 (2022-04-07)
-* add standard-version 2fd047f
+### Features
+
+* add localStorage memory
+* can move main system comps in the print output
+
+
+* add standard-version
diff --git a/Taskfile.yml b/Taskfile.yml
new file mode 100644
index 0000000..cddf613
--- /dev/null
+++ b/Taskfile.yml
@@ -0,0 +1,22 @@
+# https://taskfile.dev
+
+version: "3"
+
+vars:
+ GREETING: Hello, World!
+
+tasks:
+ release:
+ cmds:
+ - standard-version -a
+ changelog:
+ sources: [CHANGELOG.md]
+ generates: [src/lib/components/Changelog.svelte]
+ cmds:
+ - pnpx showdown makehtml -i CHANGELOG.md -o src/lib/components/Changelog.svelte
+ - git add src/lib/components/Changelog.svelte
+
+ default:
+ cmds:
+ - echo "{{.GREETING}}"
+ silent: true
diff --git a/package.json b/package.json
index 6db6c2f..f298326 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "aotds-docks",
- "version": "2.2.0",
+ "version": "2.3.0",
"type": "module",
"private": true,
"scripts": {
@@ -18,14 +18,19 @@
"@sveltejs/adapter-static": "^1.0.0-next.29",
"@sveltejs/kit": "^1.0.0-next.304",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.38",
+ "@testing-library/svelte": "^3.1.1",
+ "@testing-library/user-event": "^13.5.0",
"eslint": "^8.10.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-svelte3": "^3.4.1",
"prettier": "~2.5.1",
"prettier-plugin-svelte": "^2.6.0",
+ "showdown": "^2.0.3",
"standard-version": "^9.3.2",
"storybook-builder-vite": "0.1.21",
- "svelte": "^3.46.4"
+ "svelte": "^3.46.4",
+ "vitest": "^0.9.3",
+ "vitest-svelte-kit": "^0.0.6"
},
"dependencies": {
"@storybook/addon-essentials": "^6.4.19",
diff --git a/src/lib/components/About.svelte b/src/lib/components/About.svelte
index 74a4977..364478c 100644
--- a/src/lib/components/About.svelte
+++ b/src/lib/components/About.svelte
@@ -1,71 +1,92 @@
-
- This app is a ship builder for the game
- Full Thrust
- .
-
- The contruction rules are following the
-
- Cross Dimensions rules
-
- as closely as possible.
-
+ This app is a ship builder for the game
+ Full Thrust
+ .
+
- The app is mostly developed for Firefox. I also check as much as I can that
- I don't mess things too badly on Chrome. For the other browsers... caveat
- emptor.
-
+ The contruction rules are following the
+
+ Cross Dimensions rules
+
+ as closely as possible.
+
- Written by
- Yanick Champoux
- . Code available on
- Github
-
+ The app is mostly developed for Firefox. I also check as much as I can
+ that I don't mess things too badly on Chrome. For the other browsers...
+ caveat emptor.
+
+ Written by
+ Yanick Champoux
+ . Code available on
+ Github.
+ Welcome to the docks
+{#if showChangelog}
+ Changelog for the Docks
+ Welcome to the docks
-
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
+add localStorage memory
can move main system comps in the print output
add standard-version