@things-factory/operato-wms 8.0.0-beta.1 → 8.0.0-beta.2

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": "@things-factory/operato-wms",
3
- "version": "8.0.0-beta.1",
3
+ "version": "8.0.0-beta.2",
4
4
  "main": "dist-server/index.js",
5
5
  "browser": "client/index.js",
6
6
  "things-factory": true,
@@ -71,48 +71,48 @@
71
71
  "@operato/scene-table": "^8.0.0-beta",
72
72
  "@operato/scene-visualizer": "^8.0.0-beta",
73
73
  "@operato/scene-wheel-sorter": "^8.0.0-beta",
74
- "@things-factory/apptool-ui": "^8.0.0-beta.1",
75
- "@things-factory/auth-ui": "^8.0.0-beta.1",
76
- "@things-factory/barcode-ui": "^8.0.0-beta.1",
77
- "@things-factory/biz-ui": "^8.0.0-beta.1",
78
- "@things-factory/board-service": "^8.0.0-beta.1",
79
- "@things-factory/board-ui": "^8.0.0-beta.1",
80
- "@things-factory/code-ui": "^8.0.0-beta.1",
81
- "@things-factory/context-ui": "^8.0.0-beta.1",
82
- "@things-factory/env": "^8.0.0-beta.1",
83
- "@things-factory/evaluation": "^8.0.0-beta.1",
84
- "@things-factory/export-ui": "^8.0.0-beta.1",
85
- "@things-factory/export-ui-csv": "^8.0.0-beta.1",
86
- "@things-factory/export-ui-excel": "^8.0.0-beta.1",
87
- "@things-factory/fav-base": "^8.0.0-beta.1",
88
- "@things-factory/form-ui": "^8.0.0-beta.1",
89
- "@things-factory/geography": "^8.0.0-beta.1",
90
- "@things-factory/help": "^8.0.0-beta.1",
91
- "@things-factory/i18n-base": "^8.0.0-beta.1",
92
- "@things-factory/id-rule-base": "^8.0.0-beta.1",
93
- "@things-factory/import-ui": "^8.0.0-beta.1",
94
- "@things-factory/import-ui-excel": "^8.0.0-beta.1",
95
- "@things-factory/more-ui": "^8.0.0-beta.1",
96
- "@things-factory/notification": "^8.0.0-beta.1",
97
- "@things-factory/operato-tools": "^8.0.0-beta.1",
98
- "@things-factory/pdf": "^8.0.0-beta.1",
99
- "@things-factory/print-ui": "^8.0.0-beta.1",
100
- "@things-factory/product-base": "^8.0.0-beta.1",
101
- "@things-factory/resource-ui": "^8.0.0-beta.1",
102
- "@things-factory/sales-ui": "^8.0.0-beta.1",
103
- "@things-factory/setting-ui": "^8.0.0-beta.1",
104
- "@things-factory/system": "^8.0.0-beta.1",
105
- "@things-factory/transport-base": "^8.0.0-beta.1",
106
- "@things-factory/tutorial-ui": "^8.0.0-beta.1",
107
- "@things-factory/warehouse-base": "^8.0.0-beta.1",
108
- "@things-factory/worksheet-base": "^8.0.0-beta.1"
74
+ "@things-factory/apptool-ui": "^8.0.0-beta.2",
75
+ "@things-factory/auth-ui": "^8.0.0-beta.2",
76
+ "@things-factory/barcode-ui": "^8.0.0-beta.2",
77
+ "@things-factory/biz-ui": "^8.0.0-beta.2",
78
+ "@things-factory/board-service": "^8.0.0-beta.2",
79
+ "@things-factory/board-ui": "^8.0.0-beta.2",
80
+ "@things-factory/code-ui": "^8.0.0-beta.2",
81
+ "@things-factory/context-ui": "^8.0.0-beta.2",
82
+ "@things-factory/env": "^8.0.0-beta.2",
83
+ "@things-factory/evaluation": "^8.0.0-beta.2",
84
+ "@things-factory/export-ui": "^8.0.0-beta.2",
85
+ "@things-factory/export-ui-csv": "^8.0.0-beta.2",
86
+ "@things-factory/export-ui-excel": "^8.0.0-beta.2",
87
+ "@things-factory/fav-base": "^8.0.0-beta.2",
88
+ "@things-factory/form-ui": "^8.0.0-beta.2",
89
+ "@things-factory/geography": "^8.0.0-beta.2",
90
+ "@things-factory/help": "^8.0.0-beta.2",
91
+ "@things-factory/i18n-base": "^8.0.0-beta.2",
92
+ "@things-factory/id-rule-base": "^8.0.0-beta.2",
93
+ "@things-factory/import-ui": "^8.0.0-beta.2",
94
+ "@things-factory/import-ui-excel": "^8.0.0-beta.2",
95
+ "@things-factory/more-ui": "^8.0.0-beta.2",
96
+ "@things-factory/notification": "^8.0.0-beta.2",
97
+ "@things-factory/operato-tools": "^8.0.0-beta.2",
98
+ "@things-factory/pdf": "^8.0.0-beta.2",
99
+ "@things-factory/print-ui": "^8.0.0-beta.2",
100
+ "@things-factory/product-base": "^8.0.0-beta.2",
101
+ "@things-factory/resource-ui": "^8.0.0-beta.2",
102
+ "@things-factory/sales-ui": "^8.0.0-beta.2",
103
+ "@things-factory/setting-ui": "^8.0.0-beta.2",
104
+ "@things-factory/system": "^8.0.0-beta.2",
105
+ "@things-factory/transport-base": "^8.0.0-beta.2",
106
+ "@things-factory/tutorial-ui": "^8.0.0-beta.2",
107
+ "@things-factory/warehouse-base": "^8.0.0-beta.2",
108
+ "@things-factory/worksheet-base": "^8.0.0-beta.2"
109
109
  },
110
110
  "devDependencies": {
111
- "@things-factory/builder": "^8.0.0-beta.1",
111
+ "@things-factory/builder": "^8.0.0-beta.2",
112
112
  "cypress": "^9.4.1",
113
113
  "cypress-file-upload": "^5.0.8",
114
114
  "cypress-localstorage-commands": "^1.6.1",
115
115
  "eslint-plugin-cypress": "^2.12.1"
116
116
  },
117
- "gitHead": "36c494e587640c1490318ef7b95adab02606e0c2"
117
+ "gitHead": "f03431a09435511b2595515658f9cb8f78ba4ebb"
118
118
  }
@@ -1,48 +0,0 @@
1
- module.exports = {
2
- SECRET: '0xD58F835B69C277A76CA5FA4a70a1D8d4D79dAC79', // temporary...
3
- email: {
4
- host: 'smtp.office365.com', // your sender-email smtp host
5
- port: 587, // smtp server port
6
- secure: false, // true for 465, false for other ports
7
- auth: {
8
- user: 'your sender-email',
9
- pass: 'your sender-email password' // generated ethereal password
10
- },
11
- secureConnection: false,
12
- tls: {
13
- ciphers: 'SSLv3'
14
- }
15
- },
16
- logger: {
17
- file: {
18
- filename: 'logs/application-%DATE%.log',
19
- datePattern: 'YYYY-MM-DD-HH',
20
- zippedArchive: false,
21
- maxSize: '20m',
22
- maxFiles: '2d',
23
- level: 'info'
24
- },
25
- console: {
26
- level: 'silly'
27
- }
28
- },
29
- // ormconfig: {
30
- // name: 'default',
31
- // type: 'sqlite',
32
- // database: 'db.sqlite',
33
- // synchronize: false,
34
- // logging: true,
35
- // logger: 'debug'
36
- // },
37
- ormconfig: {
38
- name: 'default',
39
- type: 'postgres',
40
- host: 'postgres',
41
- port: 5432,
42
- database: 'postgres',
43
- username: 'postgres',
44
- password: 'abcd1234',
45
- synchronize: true,
46
- logging: true
47
- }
48
- }
@@ -1,42 +0,0 @@
1
- version: '3'
2
- services:
3
- nginx:
4
- image: hatiolab/operato-nginx:latest
5
- ports:
6
- - ${HostPort}:80
7
- depends_on:
8
- - app
9
- app:
10
- build: .
11
- container_name: operato-wms
12
- image: hatiolab/operato-wms:latest
13
- privileged: true
14
- volumes:
15
- - ./logs:/app/logs
16
- - ./config.production.js:/app/config.production.js
17
- ports:
18
- - 4000:3000
19
- depends_on:
20
- - postgres
21
- - mosquitto
22
- logging:
23
- driver: 'json-file'
24
- options:
25
- max-size: '100m'
26
- max-file: '3'
27
- postgres:
28
- image: postgres:13.2
29
- container_name: db-operato-wms
30
- environment:
31
- POSTGRES_PASSWORD: abcd1234
32
- POSTGRES_USER: postgres
33
- PGDATA: /var/lib/postgresql/data/pgdata
34
- volumes:
35
- - ./postgres_data:/var/lib/postgresql/data/pgdata
36
- ports:
37
- - '55432:5432'
38
- mosquitto:
39
- image: eclipse-mosquitto:1.6.12
40
- ports:
41
- - 1883:1883
42
- - 9001:9001
@@ -1,54 +0,0 @@
1
- if [ -f "config.production.js" ] ; then
2
- echo "config.production.js exist"
3
- else
4
- echo "config.production.js create"
5
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/config.production.js
6
- fi
7
-
8
- if [ -f "start.sh" ] ; then
9
- echo "start.sh exist"
10
- else
11
- echo "start.sh create"
12
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/start.sh
13
- fi
14
-
15
- if [ -f "stop.sh" ] ; then
16
- echo "stop.sh exist"
17
- else
18
- echo "stop.sh create"
19
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/stop.sh
20
- fi
21
-
22
- if [ -f "upgrade.sh" ] ; then
23
- echo "upgrade.sh exist"
24
- else
25
- echo "upgrade.sh create"
26
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/upgrade.sh
27
- fi
28
-
29
- if [ -f "migrate.sh" ] ; then
30
- echo "migrate.sh exist"
31
- else
32
- echo "migrate.sh create"
33
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/migrate.sh
34
- fi
35
-
36
- if [ -f "docker-compose.yml" ] ; then
37
- echo "docker-compose.yml exist"
38
- else
39
- echo "docker-compose.yml create"
40
- curl -O https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/docker-compose.yml
41
- fi
42
-
43
- chmod u+x start.sh
44
- chmod u+x stop.sh
45
- chmod u+x upgrade.sh
46
- chmod u+x migrate.sh
47
-
48
- echo "HostPort=3000" > .env
49
-
50
- docker pull hatiolab/operato-wms:latest
51
-
52
- docker pull hatiolab/operato-nginx:latest
53
-
54
- docker-compose create
@@ -1 +0,0 @@
1
- docker exec -it operato-wms npm run migration -- --mode=production
@@ -1,18 +0,0 @@
1
- HOST_PORT=3000
2
-
3
- if [ $# -eq 0 ] ; then
4
- echo "Warning: default port 3000"
5
- else
6
- HOST_PORT=$1
7
- fi
8
-
9
-
10
- echo "HOST_PORT : ${HOST_PORT}"
11
-
12
- echo "HostPort="$HOST_PORT > .env
13
-
14
- if [[ "$OSTYPE" == "linux-gnu"* ]]; then
15
- xhost +"local:docker@"
16
- fi
17
-
18
- docker-compose up -d
package/installer/stop.sh DELETED
@@ -1 +0,0 @@
1
- docker-compose stop
@@ -1 +0,0 @@
1
- curl -fsSL https://raw.githubusercontent.com/things-factory/things-factory/master/packages/operato-wms/installer/install.sh | bash -s