unify bin scriptnames

This commit is contained in:
dennis.ludwig
2021-06-12 14:32:45 +02:00
parent 5c581de249
commit eb9e85e7a0
2 changed files with 11 additions and 9 deletions

View File

@@ -26,12 +26,12 @@ yarn add https://github.com/aoepeople/aoe_technology_radar.git
Generate json file based on md files
```
yarn aoe_technology_radar:generateJson
yarn aoe_technology_radar-generateJson
```
Build the radar
```
yarn aoe_technology_radar:buildRadar
yarn aoe_technology_radar-buildRadar
```
Serve
@@ -49,9 +49,9 @@ In most cases you have the techradar available at `/techradar`, and for reasons
Until this setup improves, you can use the following way to generate the correct techradar:
```
yarn aoe_technology_radar:generateJson
PUBLIC_URL=/techradar yarn aoe_technology_radar:buildRadar
yarn aoe_technology_radar:createStaticFiles
yarn aoe_technology_radar-generateJson
PUBLIC_URL=/techradar yarn aoe_technology_radar-buildRadar
yarn aoe_technology_radar-createStaticFiles
cp -r build techradar
```
@@ -116,4 +116,6 @@ merged with the old ones, and a new history entry is created for that item.
* prettier on all files
* check lint staged and prettier
* convert scripts to typescript as well
** move scripts paths.js and tasks in one folder
** move scripts paths.js and tasks in one folder
* Rename package to make more clear that this is a tech radar builder?
* provide only one bin script with subcommands like react-scripts?