nodefony 7.0.0-beta.16 → 7.0.0-beta.18

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/CHANGELOG.md CHANGED
@@ -1,3 +1,18 @@
1
+ ## [7.0.0-beta.18](https://github.com/nodefony/nodefony/compare/v7.0.0-beta.17...v7.0.0-beta.18) (2023-04-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **encoder:** debug encoder event orm ready ([5cbf418](https://github.com/nodefony/nodefony/commit/5cbf418260794bb7ecff73c593d0e3cc0d92cfe0))
7
+ * **sequelize:** create database debug sync not apply acciociate method (relations) ([205a7dd](https://github.com/nodefony/nodefony/commit/205a7ddd5072fadd01ba8ccbf63d6f30c58d2962))
8
+
9
+ ## [7.0.0-beta.17](https://github.com/nodefony/nodefony/compare/v7.0.0-beta.16...v7.0.0-beta.17) (2023-04-14)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **install:** debug nodefony install on create postgres database with pgtool ([81a4293](https://github.com/nodefony/nodefony/commit/81a42935c6dc2047097f6374149ff4d9d01d826e))
15
+
1
16
  ## [7.0.0-beta.16](https://github.com/nodefony/nodefony/compare/v7.0.0-beta.15...v7.0.0-beta.16) (2023-03-13)
2
17
 
3
18
 
@@ -21,13 +21,13 @@
21
21
  "validator": "13.9.0"
22
22
  },
23
23
  "devDependencies": {
24
- "@babel/core": "7.21.0",
24
+ "@babel/core": "7.21.4",
25
25
  "@babel/plugin-proposal-class-properties": "7.18.6",
26
26
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
27
- "@babel/preset-env": "^7.20.2",
27
+ "@babel/preset-env": "7.21.4",
28
28
  "@babel/preset-react": "7.18.6",
29
29
  "@mapbox/node-pre-gyp": "1.0.10",
30
- "@popperjs/core": "2.11.6",
30
+ "@popperjs/core": "2.11.7",
31
31
  "babel-loader": "9.1.2",
32
32
  "babel-register": "^6.26.0",
33
33
  "bootstrap": "^5.2.3",
@@ -37,19 +37,19 @@
37
37
  "css-loader": "6.7.3",
38
38
  "expose-loader": "4.1.0",
39
39
  "font-awesome": "^4.7.0",
40
- "html-webpack-plugin": "^5.5.0",
40
+ "html-webpack-plugin": "5.5.1",
41
41
  "imports-loader": "4.0.1",
42
42
  "jquery": "3.6.4",
43
- "mini-css-extract-plugin": "2.7.3",
43
+ "mini-css-extract-plugin": "2.7.5",
44
44
  "node-gyp": "9.3.1",
45
- "sass": "1.59.2",
46
- "sass-loader": "^13.2.0",
45
+ "sass": "1.62.0",
46
+ "sass-loader": "13.2.2",
47
47
  "sequelize-cli": "6.6.0",
48
48
  "stream": "0.0.2",
49
- "style-loader": "^3.3.1",
49
+ "style-loader": "3.3.2",
50
50
  "svg-inline-loader": "^0.8.2",
51
51
  "terser-webpack-plugin": "5.3.7",
52
- "webpack": "5.76.1",
52
+ "webpack": "5.79.0",
53
53
  "webpack-merge": "^5.8.0"
54
54
  },
55
55
  "license": "CECILL-B",
@@ -39,30 +39,30 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "graphql": "16.6.0",
42
- "mongoose": "7.0.1",
42
+ "mongoose": "7.0.3",
43
43
  "nodefony": "{{version}}",
44
- "pm2": "^5.2.2",
44
+ "pm2": "5.3.0",
45
45
  "pm2-logrotate": "^2.7.0",
46
- "sequelize": "6.29.3",
47
- "webpack": "5.76.1",
48
- "webpack-dev-server": "4.11.1"
46
+ "sequelize": "6.31.0",
47
+ "webpack": "5.79.0",
48
+ "webpack-dev-server": "4.13.2"
49
49
  },
50
50
  "devDependencies": {
51
- "@babel/core": "7.21.0",
52
- "@babel/eslint-parser": "7.19.1",
51
+ "@babel/core": "7.21.4",
52
+ "@babel/eslint-parser": "7.21.3",
53
53
  "@mapbox/node-pre-gyp": "1.0.10",
54
54
  "conventional-changelog-cli": "^2.2.2",
55
- "eslint": "8.36.0",
55
+ "eslint": "8.38.0",
56
56
  "eslint-config-standard": "17.0.0",
57
57
  "eslint-plugin-html": "7.1.0",
58
58
  "eslint-plugin-import": "2.27.5",
59
59
  "eslint-plugin-markdown": "3.0.0",
60
60
  "eslint-plugin-node": "11.1.0",
61
61
  "eslint-plugin-promise": "^6.0.0",
62
- "eslint-plugin-vue": "9.9.0",
62
+ "eslint-plugin-vue": "9.10.0",
63
63
  "markdown-eslint-parser": "1.2.1",
64
64
  "node-gyp": "9.3.1",
65
- "vue-eslint-parser": "9.1.0"
65
+ "vue-eslint-parser": "9.1.1"
66
66
  },
67
67
  "author": "{{authorFullName}} <{{authorMail}}>",
68
68
  "readmeFilename": "README.md",
@@ -22,31 +22,31 @@
22
22
  "workbox-webpack-plugin": "6.5.4",
23
23
  {% endif %}
24
24
  {% if addons.bootstrap %}
25
- "@popperjs/core": "2.11.6",
25
+ "@popperjs/core": "2.11.7",
26
26
  "bootstrap": "^5.2.3",
27
27
  "jquery": "3.6.4",
28
28
  "font-awesome": "^4.7.0",
29
29
  {% endif %}
30
30
  {% if addons.webpack %}
31
- "@babel/core": "7.21.0",
32
- "@babel/preset-env": "^7.20.2",
31
+ "@babel/core": "7.21.4",
32
+ "@babel/preset-env": "7.21.4",
33
33
  "babel-loader": "9.1.2",
34
34
  "clean-webpack-plugin": "^4.0.0",
35
35
  "css-hot-loader": "^1.4.4",
36
36
  "css-loader": "6.7.3",
37
37
  "expose-loader": "4.1.0",
38
- "favicons": "7.1.1",
38
+ "favicons": "7.1.2",
39
39
  "favicons-webpack-plugin": "6.0.0",
40
40
  "html-webpack-plugin": "^5.5.0",
41
41
  "imports-loader": "4.0.1",
42
- "mini-css-extract-plugin": "2.7.3",
43
- "sass": "1.59.2",
44
- "sass-loader": "^13.2.0",
42
+ "mini-css-extract-plugin": "2.7.5",
43
+ "sass": "1.62.0",
44
+ "sass-loader": "13.2.2",
45
45
  "sitemap-webpack-plugin": "^1.1.1",
46
- "style-loader": "^3.3.1",
46
+ "style-loader": "3.3.2",
47
47
  "terser-webpack-plugin": "5.3.7",
48
- "webpack": "5.76.1",
49
- "webpack-dev-server": "4.11.1",
48
+ "webpack": "5.79.0",
49
+ "webpack-dev-server": "4.13.2",
50
50
  "webpack-merge": "^5.8.0",
51
51
  {% endif %}
52
52
  "@mapbox/node-pre-gyp": "1.0.10",
@@ -27,7 +27,10 @@ module.exports = nodefony.register.call(nodefony.commands, "nodefony", () => {
27
27
  force = true;
28
28
  }
29
29
  this.log("INSTALL NODEFONY FRAMEWORK");
30
- return await this.installOrm(force, strategy);
30
+ return await this.installOrm(force, strategy)
31
+ .catch((e) => {
32
+ throw e;
33
+ });
31
34
  // return await this.displayInfo(cwd);
32
35
  } catch (error) {
33
36
  this.log(error, "ERROR");
@@ -76,7 +79,10 @@ module.exports = nodefony.register.call(nodefony.commands, "nodefony", () => {
76
79
  try {
77
80
  command = this.cli.getCommand("sequelize", "sequelize");
78
81
  task = command.getTask("create");
79
- res = await task.database();
82
+ res = await task.database()
83
+ .catch((e) => {
84
+ throw e;
85
+ });
80
86
  } catch (e) {
81
87
  this.log(e, "WARNING");
82
88
  }
@@ -88,21 +94,45 @@ module.exports = nodefony.register.call(nodefony.commands, "nodefony", () => {
88
94
  // with migrate
89
95
  if (!force && strategy === "migrate") {
90
96
  task = command.getTask("migrate");
91
- await task.up();
92
- await task.status();
97
+ await task.up()
98
+ .catch((e) => {
99
+ throw e;
100
+ });
101
+ await task.status()
102
+ .catch((e) => {
103
+ throw e;
104
+ });
93
105
  task = command.getTask("sync");
94
- await task.entities(force);
106
+ await task.entities({force}, true)
107
+ .catch((e) => {
108
+ throw e;
109
+ });
95
110
  task = command.getTask("seedeers");
96
- await task.up();
97
- return await task.status();
111
+ await task.up()
112
+ .catch((e) => {
113
+ throw e;
114
+ });
115
+ return await task.status()
116
+ .catch((e) => {
117
+ throw e;
118
+ });
98
119
  }
99
120
  // with sysnc
100
121
  if (strategy === "sync") {
101
122
  task = command.getTask("sync");
102
- await task.entities(force);
123
+ await task.entities({force}, true)
124
+ .catch((e) => {
125
+ throw e;
126
+ });
103
127
  task = command.getTask("seedeers");
104
- await task.up();
105
- return await task.status();
128
+ await task.up()
129
+ .catch((e) => {
130
+ throw e;
131
+ });
132
+ return await task.status()
133
+ .catch((e) => {
134
+ throw e;
135
+ });
106
136
  }
107
137
  } catch (e) {
108
138
  this.log(e, "ERROR");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodefony",
3
- "version": "7.0.0-beta.16",
3
+ "version": "7.0.0-beta.18",
4
4
  "main": "autoloader.es6",
5
5
  "description": "Nodefony Framework Core",
6
6
  "contributors": [],
@@ -32,22 +32,22 @@
32
32
  "nodefony": "bin/nodefony"
33
33
  },
34
34
  "dependencies": {
35
- "@babel/core": "7.21.0",
36
- "@babel/parser": "7.21.2",
37
- "@graphql-tools/merge": "8.4.0",
38
- "@graphql-tools/schema": "9.0.17",
35
+ "@babel/core": "7.21.4",
36
+ "@babel/parser": "7.21.4",
37
+ "@graphql-tools/merge": "8.4.1",
38
+ "@graphql-tools/schema": "9.0.18",
39
39
  "@graphql-tools/utils": "9.2.1",
40
- "@nodefony/elastic-bundle": "7.0.0-beta.16",
41
- "@nodefony/framework-bundle": "7.0.0-beta.16",
42
- "@nodefony/http-bundle": "7.0.0-beta.16",
43
- "@nodefony/mail-bundle": "7.0.0-beta.16",
44
- "@nodefony/mongoose-bundle": "7.0.0-beta.16",
45
- "@nodefony/monitoring-bundle": "7.0.0-beta.16",
46
- "@nodefony/realtime-bundle": "7.0.0-beta.16",
47
- "@nodefony/redis-bundle": "7.0.0-beta.16",
48
- "@nodefony/security-bundle": "7.0.0-beta.16",
49
- "@nodefony/sequelize-bundle": "7.0.0-beta.16",
50
- "@nodefony/unittests-bundle": "7.0.0-beta.16",
40
+ "@nodefony/elastic-bundle": "7.0.0-beta.18",
41
+ "@nodefony/framework-bundle": "7.0.0-beta.18",
42
+ "@nodefony/http-bundle": "7.0.0-beta.18",
43
+ "@nodefony/mail-bundle": "7.0.0-beta.18",
44
+ "@nodefony/mongoose-bundle": "7.0.0-beta.18",
45
+ "@nodefony/monitoring-bundle": "7.0.0-beta.18",
46
+ "@nodefony/realtime-bundle": "7.0.0-beta.18",
47
+ "@nodefony/redis-bundle": "7.0.0-beta.18",
48
+ "@nodefony/security-bundle": "7.0.0-beta.18",
49
+ "@nodefony/sequelize-bundle": "7.0.0-beta.18",
50
+ "@nodefony/unittests-bundle": "7.0.0-beta.18",
51
51
  "@vue/cli": "5.0.8",
52
52
  "@vue/cli-service": "5.0.8",
53
53
  "@vue/cli-service-global": "4.5.19",
@@ -58,11 +58,11 @@
58
58
  "cli-color": "2.0.3",
59
59
  "cli-table3": "0.6.3",
60
60
  "clui": "^0.3.6",
61
- "commander": "10.0.0",
62
- "core-js": "3.29.1",
61
+ "commander": "10.0.1",
62
+ "core-js": "3.30.1",
63
63
  "create-react-app": "5.0.1",
64
64
  "graphql": "16.6.0",
65
- "inquirer": "^9.1.4",
65
+ "inquirer": "9.1.5",
66
66
  "js-yaml": "^4.1.0",
67
67
  "lodash": "^4.17.21",
68
68
  "lodash.isregexp": "^4.0.1",
@@ -71,25 +71,25 @@
71
71
  "moment": "2.29.4",
72
72
  "node-cron": "3.0.2",
73
73
  "node-emoji": "^1.11.0",
74
- "npm": "9.6.1",
75
- "pm2": "^5.2.2",
74
+ "npm": "9.6.4",
75
+ "pm2": "5.3.0",
76
76
  "promise": "^8.3.0",
77
77
  "request": "^2.88.2",
78
- "semver": "^7.3.8",
78
+ "semver": "7.4.0",
79
79
  "shelljs": "^0.8.5",
80
80
  "shortid": "^2.2.16",
81
81
  "simple-git": "3.17.0",
82
82
  "spdx": "^0.5.2",
83
83
  "twig": "1.16.0",
84
84
  "uuid": "9.0.0",
85
- "webpack": "5.76.1",
86
- "xml2js": "^0.4.23",
85
+ "webpack": "5.79.0",
86
+ "xml2js": "0.5.0",
87
87
  "yarn": "1.22.19"
88
88
  },
89
89
  "devDependencies": {
90
90
  "babel-loader": "9.1.2",
91
91
  "babel-polyfill": "^6.26.0",
92
- "eslint": "8.36.0",
92
+ "eslint": "8.38.0",
93
93
  "webpack-cli": "5.0.1",
94
94
  "webpack-merge": "^5.8.0"
95
95
  },