@simitgroup/simpleapp-generator 1.0.35 → 1.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simitgroup/simpleapp-generator",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "frontend nuxtjs and backend nests code generator using jsonschema",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,15 +1,17 @@
1
1
  #!/bin/bash
2
+ type=$1
3
+
2
4
  ts-node generate.ts
3
5
  npx prettier --write jsonschemas
4
6
 
5
- type=$1
6
- if [ type == 'frontend' ]; then
7
+
8
+ if [ $type == 'frontend' ]; then
7
9
  simpleapp-generator -c config.json -g frontend
8
- elif [ type == 'updatefrontend' ]; then
10
+ elif [ $type == 'updatefrontend' ]; then
9
11
  simpleapp-generator -c config.json -g updatefrontend
10
- elif [ type == 'backend' ]; then
12
+ elif [ $type == 'backend' ]; then
11
13
  simpleapp-generator -c config.json -g backend
12
- elif [ type == 'updatebackend' ]; then
14
+ elif [ $type == 'updatebackend' ]; then
13
15
  simpleapp-generator -c config.json -g updatebackend
14
16
  fi
15
17