From 1f385211961a8544c5190521d36e4d770b5d2bc8 Mon Sep 17 00:00:00 2001 From: pvincent Date: Sat, 27 Feb 2021 21:41:24 +0400 Subject: [PATCH] AGPLv3 licence --- .vscode/settings.json | 5 +++++ LICENCE | 15 +++++++++++++++ README.md | 17 +---------------- TODO.md | 11 ++++++++--- doc/INDEX.md | 11 ++++++++++- vite.config.ts | 4 ++-- 6 files changed, 41 insertions(+), 22 deletions(-) create mode 100644 .vscode/settings.json create mode 100644 LICENCE diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6e57be5 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "VAPARA" + ] +} \ No newline at end of file diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..6e7d9d3 --- /dev/null +++ b/LICENCE @@ -0,0 +1,15 @@ +Vapara-vue3, frontend shop communicating with Dolibarr backend +Copyright (C) 2021 Prestalibre.re + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as +published by the Free Software Foundation, either version 3 of the +License, or (at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . \ No newline at end of file diff --git a/README.md b/README.md index d807bd6..345f4e6 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,4 @@ VAPARA-VUE3 =========== more [doc](doc/INDEX.md) - -## Expected Features - -* [ ] login/logout -* [ ] fake rest api -* [ ] i18n - -## First Initialization - -* npm init vite-app vapara-vue3 -* cd vapara-vue3 - * npm install - * npm install typescript - * ...tsconfig.json, shims-vue.d.ts, main.ts, index.html - * see [vue3+typescript+vite](https://stackoverflow.com/questions/63724523/how-to-add-typescript-to-vue-3-and-vite-project#64438876) - * npm run dev \ No newline at end of file +todo [TODO](TODO.md) \ No newline at end of file diff --git a/TODO.md b/TODO.md index ac1ae21..ee79ff5 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,13 @@ TODO ==== - -## TODO - +## ARCHI * [ ] composition API * [ ] eslint * [ ] WindyCss + + +## FEATURE +* [ ] login/logout +* [ ] fake rest api +* [ ] i18n + diff --git a/doc/INDEX.md b/doc/INDEX.md index 012e802..4c615fb 100644 --- a/doc/INDEX.md +++ b/doc/INDEX.md @@ -1,4 +1,13 @@ DOCUMENTATION ============= -to be continued... \ No newline at end of file + +## First Initialization + +* npm init vite-app vapara-vue3 +* cd vapara-vue3 + * npm install + * npm install typescript + * ...tsconfig.json, shims-vue.d.ts, main.ts, index.html + * see [vue3+typescript+vite](https://stackoverflow.com/questions/63724523/how-to-add-typescript-to-vue-3-and-vite-project#64438876) + * npm run dev diff --git a/vite.config.ts b/vite.config.ts index a4aad83..94d4feb 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,6 +1,6 @@ import pkg from './package.json' import { execSync } from 'child_process' -const stdout = execSync("git describe --tags `git rev-list --tags --max-count=1`") -console.log(stdout) +const gitVersion = execSync("git describe --tags `git rev-list --tags --max-count=1`").toString() +console.log(gitVersion) console.log(`vite.config.js loaded ${JSON.stringify(pkg.version)}`) \ No newline at end of file