nodefony 7.0.0-beta.4 → 7.0.0-beta.5
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,5 +1,106 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v7.0.0-beta.5 (01/01/1970)
|
|
4
|
+
- [chore(release): nodefony release 7.0.0-beta.5](https://github.com/nodefony/nodefony/commit/6a5aaa9c2aca430bf751ee9393e575f0f70e9eb0)
|
|
5
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/24fe8c43e909fcf7d5753a8648aeb66e2b98c54b)
|
|
6
|
+
- [fix(kernel): debug life cycle bundle ready for waitingReady](https://github.com/nodefony/nodefony/commit/766150926d40c7f63803aeb7fcb13f0b5d525f48)
|
|
7
|
+
- [docs(changelog): nodefony changelog 7.0.0-beta.4](https://github.com/nodefony/nodefony/commit/b36098f8bbb4fc2e96caddece18c1877a731f9c6)
|
|
8
|
+
- [chore(release): nodefony release 7.0.0-beta.4](https://github.com/nodefony/nodefony/commit/27cf0def29fa8d254891239a97efe545b22134a9)
|
|
9
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/e30d5736e71faa4cf81225cca9af2eb238e836fd)
|
|
10
|
+
- [fix(build): debug config who use node_module](https://github.com/nodefony/nodefony/commit/af79a8ac39a79a4a0f796c5fe75f5e0bd1653310)
|
|
11
|
+
- [docs(changelog): nodefony changelog 7.0.0-beta.3](https://github.com/nodefony/nodefony/commit/f392edba9161e523d2c87c5fbf912a5f6271eb9a)
|
|
12
|
+
- [chore(release): nodefony release 7.0.0-beta.3](https://github.com/nodefony/nodefony/commit/e0c817261530a294306b6cabf6b09f0ffa57803f)
|
|
13
|
+
- [fix(build): mv dev deps from deps monitoring | add graphql deps on root](https://github.com/nodefony/nodefony/commit/f0b152058409b6373d3a877d36a55390f149a9f6)
|
|
14
|
+
- [fix(monitoring): change path bundle when not nodefony core](https://github.com/nodefony/nodefony/commit/36796d810b8d1662cbb0748c63162183616427a8)
|
|
15
|
+
- [docs(changelog): nodefony changelog 7.0.0-beta.2](https://github.com/nodefony/nodefony/commit/c5b4d4e1a256170098377949046e4176c6cd55b3)
|
|
16
|
+
- [chore(release): nodefony release 7.0.0-beta.2](https://github.com/nodefony/nodefony/commit/e75a094f6a0f7515ddb9399e14058bd8872a28ad)
|
|
17
|
+
- [build: add deps monitoring](https://github.com/nodefony/nodefony/commit/d612a00456de6fd33839b2dcfa14d06874c21cfc)
|
|
18
|
+
- [fix(sequelize): get nodefony instance](https://github.com/nodefony/nodefony/commit/56826406bc5040feee7e6065c8f5d4585b1838d4)
|
|
19
|
+
- [docs(changelog): nodefony changelog 7.0.0-beta.1](https://github.com/nodefony/nodefony/commit/05bbf9395714793cfc41f7e2f706aea2533413a0)
|
|
20
|
+
- [chore(release): nodefony release 7.0.0-beta.1](https://github.com/nodefony/nodefony/commit/410c474ef0b5f2d8c316d1b3712a6e8b39bad258)
|
|
21
|
+
- [buil: upgrade deps](https://github.com/nodefony/nodefony/commit/1e77114e9c1b979840f4ff22417cebd3abbc610d)
|
|
22
|
+
- [docs(changelog): nodefony changelog 7.0.0-beta.0](https://github.com/nodefony/nodefony/commit/339ef5883709099a2e795c0711d92b3f53171505)
|
|
23
|
+
- [chore(release): nodefony release 7.0.0-beta.0](https://github.com/nodefony/nodefony/commit/47de4aa7b96202508c1a1aa1f7b91f247c95c2ce)
|
|
24
|
+
- [fix: debug readme](https://github.com/nodefony/nodefony/commit/c0fa3996348a24cf37efb53c1529f47a37d25948)
|
|
25
|
+
- [fix: debug readme](https://github.com/nodefony/nodefony/commit/043229054e70af556b3f63bf877a29a994e865c7)
|
|
26
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/b0f6f77072b4ee50bf67f70f342f2e6c7797e39f)
|
|
27
|
+
- [fix(monitoring): debug monitoring](https://github.com/nodefony/nodefony/commit/226d524dade86228e3d27051f7ec398a5c897ba4)
|
|
28
|
+
- [fix(config): upgrade config](https://github.com/nodefony/nodefony/commit/d7806fbf20cf74598e4a7ce2fb2ef6bba85ca4e4)
|
|
29
|
+
- [feat(user): graphql resolver add mutation](https://github.com/nodefony/nodefony/commit/c672520d6265ed6b4edf4d61000caa3eaaf1af54)
|
|
30
|
+
- [fix(monitoring): flow dev](https://github.com/nodefony/nodefony/commit/c625d4ea509968e8ceccbed580fa2198c0ff63c5)
|
|
31
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/1d54314e9067c0cc8a5e23ccd5a5226942c1dc3f)
|
|
32
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/21610371a2a12418c802f9aa380abfdc4871beab)
|
|
33
|
+
- [fix(monitoring): outdated package management](https://github.com/nodefony/nodefony/commit/f0e2896f53a09392ecf4f72cb0266acaa0fed894)
|
|
34
|
+
- [feat(monitoring): add outdated npm package](https://github.com/nodefony/nodefony/commit/a2ed16f6746b0d54312dde7b84075bbfe075ccab)
|
|
35
|
+
- [build: add deps](https://github.com/nodefony/nodefony/commit/43fbfc1c1af68e091410827123879c11c8208fba)
|
|
36
|
+
- [ci: change ci/cd config](https://github.com/nodefony/nodefony/commit/3c4a2b844a2305d233819f2c7198df3d8dab1db8)
|
|
37
|
+
- [fix(builder): debug sequlize generate on build](https://github.com/nodefony/nodefony/commit/7e42752d06baac0bc0a3302f1056da0f2e7e076a)
|
|
38
|
+
- [fix(git): don't ingnore casse](https://github.com/nodefony/nodefony/commit/42c73030a5f08b3a9a62d0ad505ebb6a867331d9)
|
|
39
|
+
- [fix(graphql): change path file](https://github.com/nodefony/nodefony/commit/404e9e336450a1dc6268488ca8ee0212fccb908b)
|
|
40
|
+
- [build: upgrade deps builder](https://github.com/nodefony/nodefony/commit/a143b70b9281866e6fc723f23c74d1f9a6e97b64)
|
|
41
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/1a4e29afe89bd0bc4ebcb6970b1769ec3f995af9)
|
|
42
|
+
- [fix(pm2): new nodefony kill for pm2](https://github.com/nodefony/nodefony/commit/ce6baf7d6850aaf3550844008f50ebe77a287803)
|
|
43
|
+
- [feat(config): add async connectori config for fetch credentials](https://github.com/nodefony/nodefony/commit/92a91f34df7498fb6a119df73ac13efc74d9bf95)
|
|
44
|
+
- [fix(vault): clean boot | add get secret connector credentials](https://github.com/nodefony/nodefony/commit/e2be54b3093d6bbfc2e5a642292bb549734084a9)
|
|
45
|
+
- [fix(monitoring): images connectors](https://github.com/nodefony/nodefony/commit/5db422a3680f48124d86def28e52d65471dc13c5)
|
|
46
|
+
- [fix(debugbar): debug js bar](https://github.com/nodefony/nodefony/commit/7471ff5460bc8cfd62f9415ded2e8a5ee34155e8)
|
|
47
|
+
- [fix(vault): add init config auto](https://github.com/nodefony/nodefony/commit/66de918158da9569425c5e5bf84bd75dc1cd59f3)
|
|
48
|
+
- [fix(monitoring): vue-template log](https://github.com/nodefony/nodefony/commit/73cd0c3d921e9ecc52ff2f0e4d8227841d92e4e1)
|
|
49
|
+
- [fix(vault): add config](https://github.com/nodefony/nodefony/commit/2a1510f26d92e595b9ed5424b7f08a450b3409bf)
|
|
50
|
+
- [feat(vault) : add bundle vault HashiCorp](https://github.com/nodefony/nodefony/commit/cff0cc986cf22ddd7d78b2855a17047f349acf70)
|
|
51
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/556098365a7d08990b388d6c086d5c75f3e422a8)
|
|
52
|
+
- [fix(debugbar): don't generate file with webpack](https://github.com/nodefony/nodefony/commit/88c7685df7939da402c43a998c2b53618477f71c)
|
|
53
|
+
- [fix(graphql): manage resolvers with graphql-tool](https://github.com/nodefony/nodefony/commit/75729995b8abffcc212b9bd4e2ebc9ba58987fb9)
|
|
54
|
+
- [fix(graphql): change graphql api for add static shemas in controller | add tools graphql in api class](https://github.com/nodefony/nodefony/commit/696c92c08e452ea4268468c9d40dbefdcd64f832)
|
|
55
|
+
- [fix(apollo-client): relink 401 login](https://github.com/nodefony/nodefony/commit/8a8d60e9789a266fed907b29af6b29f304bb3217)
|
|
56
|
+
- [fix(migration): debug connector test](https://github.com/nodefony/nodefony/commit/ad086d80bf34bfbeb85b216cde5339c583c55933)
|
|
57
|
+
- [feat(monitoring): migration](https://github.com/nodefony/nodefony/commit/68eb3677556493af969f2bb50e1b2e5607daedd0)
|
|
58
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/55d8b9ec23b84dbd47cd191d1efc91165941ff27)
|
|
59
|
+
- [fix(install): create database error don't stop install process](https://github.com/nodefony/nodefony/commit/c949177d58a8e8ed4f9e710f3f6b92913f1ef473)
|
|
60
|
+
- [fix(sequelize): change default config sqlite](https://github.com/nodefony/nodefony/commit/7b16d9c500cfc612d60059ac3ce688e16d90a71e)
|
|
61
|
+
- [fix(cli): debug async event onStart cli](https://github.com/nodefony/nodefony/commit/ec60ada10a6cc7c579b9b2738fcd632c502da2b8)
|
|
62
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/149eaff062e7ac14b6fdad83651311a8db555c48)
|
|
63
|
+
- [fix(monitoring): debug monitoring bundle unregistred](https://github.com/nodefony/nodefony/commit/775c84a845eba45649755bc709c0a806a8d4bc4d)
|
|
64
|
+
- [fix(entity): sequelize mermaid debug](https://github.com/nodefony/nodefony/commit/a65394107e5fff75a9f6f4300557453cde03ced1)
|
|
65
|
+
- [fix(sequelize): add options transations](https://github.com/nodefony/nodefony/commit/0c2c89327f905843ab46e98de509c10601d214c2)
|
|
66
|
+
- [fix(commonjs): add import lib inquirer esm from commomjs](https://github.com/nodefony/nodefony/commit/f23e57196f293ba85bda58ed1c92acd40ddca442)
|
|
67
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/f046e0b89ec87c627f24a8f6b00accd8e4a98caf)
|
|
68
|
+
- [fix(monitoring): flow dev](https://github.com/nodefony/nodefony/commit/bcbda35cc49ef1034d3f80e618781316aa81d5c0)
|
|
69
|
+
- [fix(monitoring): waebsocket time](https://github.com/nodefony/nodefony/commit/8ab98186ddfa11789334d42a14f72a5846b0a2f0)
|
|
70
|
+
- [fix(monitoring): profiling monitoring vue](https://github.com/nodefony/nodefony/commit/ca22ba5a83bc79c9dced28b0fe6a9b52c59b356c)
|
|
71
|
+
- [fix(kernel): monitoring register after all core bundles](https://github.com/nodefony/nodefony/commit/d0c33b3ff7ff935ae84c4603c5b2309a69a32672)
|
|
72
|
+
- [fix(watcher): close hook on restart service](https://github.com/nodefony/nodefony/commit/18995ea3c4c11c8667855cbcd4b223e0c1d920f3)
|
|
73
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/9cebcc5a016bba130d4b0ceb85ba7ab6a46ee14c)
|
|
74
|
+
- [fix(monitoring): add vue file](https://github.com/nodefony/nodefony/commit/fd6756ffe02b9a32db5eeb982c67576c8903426e)
|
|
75
|
+
- [fix(monitoring): orm bundle](https://github.com/nodefony/nodefony/commit/9b52574ebf9bc9a973887960dc38fcce431ccee0)
|
|
76
|
+
- [fix(monitoring): check bundle register](https://github.com/nodefony/nodefony/commit/763e166f009b4e57732a7c7f7b99e95c83fc9bf3)
|
|
77
|
+
- [fix(monitoring): bundles and indent](https://github.com/nodefony/nodefony/commit/7e7280bf308729018dc167f6f907d4b316e86d0d)
|
|
78
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/c420ad475671fe39cd8b960d6e42bed0aafe4f77)
|
|
79
|
+
- [fix(monitoring): add requests syslog](https://github.com/nodefony/nodefony/commit/85e1ebc341e966b01f3048640dcf020ae45a2078)
|
|
80
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/da2ba4ca5fa9803ee5548fea353ae082baf81537)
|
|
81
|
+
- [fix(monitoring): add session template](https://github.com/nodefony/nodefony/commit/67d9fc0d60f105e30acb93f6e86109167dfec6f8)
|
|
82
|
+
- [fix(session): don't migrate in stateles](https://github.com/nodefony/nodefony/commit/018df86f3c936134baf54653ff88046e0f781649)
|
|
83
|
+
- [build: vis deps in monitoring](https://github.com/nodefony/nodefony/commit/30fcfd09451496356a6f59bb218a37c6e99a0b20)
|
|
84
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/95971c9aee9901510bad6cdf037a803a1a64ad11)
|
|
85
|
+
- [fix(monitoring): fix security |routing |graphql wsagger doc](https://github.com/nodefony/nodefony/commit/ca8151d1e754dbb2412f9b94bfc8856d87f3fb25)
|
|
86
|
+
- [feat(bundle-monitoring): add new monitoring-bundle vue.js](https://github.com/nodefony/nodefony/commit/9f366124196eeade61d44ef363a252521e8589ce)
|
|
87
|
+
- [fix(graphql): add apollo client refresh token](https://github.com/nodefony/nodefony/commit/b436f664fbc9686ab3d500857e0ae19913bb74b0)
|
|
88
|
+
- [build(formidable): upgrade deps](https://github.com/nodefony/nodefony/commit/32f968240cd32ea813c80242487a6a41c13011c1)
|
|
89
|
+
- [fix(vue3): tensorflow](https://github.com/nodefony/nodefony/commit/c7b5039432d2e318fdeff68f3f4f09ded7b4cb60)
|
|
90
|
+
- [fix(vue): reset env for multi vue projects VUE_CLI_SERVICE](https://github.com/nodefony/nodefony/commit/f7daf45a1ef7c3856baaacb0731b37b67e378e92)
|
|
91
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/96c8e2a91adb4fcf9855e2091773ef2c48f94dea)
|
|
92
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/b393de13cfebff0e4fb4f2c33548cb930f73c1ff)
|
|
93
|
+
- [fix(documention): clean bundle](https://github.com/nodefony/nodefony/commit/63b65f06a89a5fb1563a9b9608e6a2cc5efd15d2)
|
|
94
|
+
- [fix(orm): documention-bundle](https://github.com/nodefony/nodefony/commit/1f5640e05ff7d625e3dec8636303676a5b39a76f)
|
|
95
|
+
- [fix(pwa): clean config pwa vue](https://github.com/nodefony/nodefony/commit/ecb2f353d5bc9c3ebf80bbde97c6f1aebe91ee61)
|
|
96
|
+
- [fix(ci): yarn ignore-engines | pwa config](https://github.com/nodefony/nodefony/commit/a5cd214a5c28f9bd589a6f8845fd08efddcc03e7)
|
|
97
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/0d69c7a19d674f1d0ea66fc6ddf662d6b980baf5)
|
|
98
|
+
- [fix(servers): clean terminate kernel event with fireAsync](https://github.com/nodefony/nodefony/commit/10708539dbd5a6dc75432acceb0f51f4ddd4e66e)
|
|
99
|
+
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/c858b801e3129bdeb6c3ecfd461d5ee306aad339)
|
|
100
|
+
- [fix(doc): flow dev](https://github.com/nodefony/nodefony/commit/8a2d59ecc4943ca55595c8f80b2f2f498ef2864f)
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
3
104
|
## v7.0.0-beta.4 (01/01/1970)
|
|
4
105
|
- [chore(release): nodefony release 7.0.0-beta.4](https://github.com/nodefony/nodefony/commit/27cf0def29fa8d254891239a97efe545b22134a9)
|
|
5
106
|
- [build: upgrade deps](https://github.com/nodefony/nodefony/commit/e30d5736e71faa4cf81225cca9af2eb238e836fd)
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
],
|
|
17
17
|
"repository": {},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@babel/core": "7.19.
|
|
19
|
+
"@babel/core": "7.19.1",
|
|
20
20
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
21
21
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
22
|
-
"@babel/preset-env": "7.19.
|
|
22
|
+
"@babel/preset-env": "7.19.1",
|
|
23
23
|
"@babel/preset-react": "7.18.6",
|
|
24
24
|
"@popperjs/core": "2.11.6",
|
|
25
25
|
"@withshepherd/faker": "5.5.5",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"font-awesome": "^4.7.0",
|
|
28
28
|
{% endif %}
|
|
29
29
|
{% if addons.webpack %}
|
|
30
|
-
"@babel/core": "7.19.
|
|
31
|
-
"@babel/preset-env": "7.19.
|
|
30
|
+
"@babel/core": "7.19.1",
|
|
31
|
+
"@babel/preset-env": "7.19.1",
|
|
32
32
|
"babel-loader": "8.2.5",
|
|
33
33
|
"clean-webpack-plugin": "^4.0.0",
|
|
34
34
|
"css-hot-loader": "^1.4.4",
|
package/kernel/bundle.es6
CHANGED
|
@@ -164,6 +164,8 @@ class Bundle extends nodefony.Service {
|
|
|
164
164
|
this.version = this.package.version;
|
|
165
165
|
this.packageName = this.package.name;
|
|
166
166
|
this.isCore = this.kernel.isBundleCore(this.name);
|
|
167
|
+
this.ready = false
|
|
168
|
+
this.booted = false
|
|
167
169
|
|
|
168
170
|
// services
|
|
169
171
|
this.injectionService = this.get("injection");
|
|
@@ -235,7 +237,7 @@ class Bundle extends nodefony.Service {
|
|
|
235
237
|
this.locale = this.translation.defaultLocale;
|
|
236
238
|
}
|
|
237
239
|
// I18n
|
|
238
|
-
this.i18nFiles =
|
|
240
|
+
this.i18nFiles = await this.findI18nFiles();
|
|
239
241
|
|
|
240
242
|
// Register Entity
|
|
241
243
|
await this.registerEntities();
|
|
@@ -250,20 +252,20 @@ class Bundle extends nodefony.Service {
|
|
|
250
252
|
});
|
|
251
253
|
|
|
252
254
|
this.kernel.once("onPostReady", async () => {
|
|
253
|
-
switch(this.kernel.environment){
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
255
|
+
switch (this.kernel.environment) {
|
|
256
|
+
case 'production':
|
|
257
|
+
case 'prod':
|
|
258
|
+
case 'preprod':
|
|
259
|
+
case 'preproduction':
|
|
260
|
+
this.clean();
|
|
261
|
+
break;
|
|
260
262
|
}
|
|
261
263
|
});
|
|
262
264
|
// BUNDLE EVENTS
|
|
263
265
|
this.register()
|
|
264
266
|
}
|
|
265
267
|
|
|
266
|
-
async register(){
|
|
268
|
+
async register() {
|
|
267
269
|
return await this.emitAsync("onRegister", this);
|
|
268
270
|
}
|
|
269
271
|
|
|
@@ -335,8 +337,14 @@ class Bundle extends nodefony.Service {
|
|
|
335
337
|
} catch (e) {
|
|
336
338
|
return reject(e);
|
|
337
339
|
}
|
|
340
|
+
this.booted = true;
|
|
338
341
|
if (this.waitBundleReady === false) {
|
|
339
342
|
await this.emitAsync("onReady", this);
|
|
343
|
+
this.ready = true
|
|
344
|
+
} else {
|
|
345
|
+
if (this.ready) {
|
|
346
|
+
await this.emitAsync("onReady", this);
|
|
347
|
+
}
|
|
340
348
|
}
|
|
341
349
|
return resolve(this);
|
|
342
350
|
});
|
|
@@ -452,10 +460,10 @@ class Bundle extends nodefony.Service {
|
|
|
452
460
|
}
|
|
453
461
|
break;
|
|
454
462
|
case "vue":
|
|
455
|
-
try{
|
|
463
|
+
try {
|
|
456
464
|
file = path.resolve(this.path, "node_modules", "@vue", "cli-service", "webpack.config.js");
|
|
457
465
|
new nodefony.fileClass(file);
|
|
458
|
-
}catch(e){
|
|
466
|
+
} catch (e) {
|
|
459
467
|
let cliService = require.resolve("@vue/cli-service");
|
|
460
468
|
file = path.resolve(path.dirname(cliService), "..", "webpack.config.js");
|
|
461
469
|
}
|
|
@@ -943,7 +951,7 @@ class Bundle extends nodefony.Service {
|
|
|
943
951
|
} else {
|
|
944
952
|
views = this.viewFiles;
|
|
945
953
|
}
|
|
946
|
-
views.getFiles()
|
|
954
|
+
for await (const file of views.getFiles()) {
|
|
947
955
|
try {
|
|
948
956
|
let ele = await this.recompileTemplate(file, true);
|
|
949
957
|
if (ele) {
|
|
@@ -957,7 +965,22 @@ class Bundle extends nodefony.Service {
|
|
|
957
965
|
return reject(e);
|
|
958
966
|
//throw e;
|
|
959
967
|
}
|
|
960
|
-
}
|
|
968
|
+
}
|
|
969
|
+
/*views.getFiles().forEach(async (file) => {
|
|
970
|
+
try {
|
|
971
|
+
let ele = await this.recompileTemplate(file, true);
|
|
972
|
+
if (ele) {
|
|
973
|
+
if (ele.basename === ".") {
|
|
974
|
+
this.log("Register Template : '" + this.name + "Bundle:" + "" + ":" + ele.name + "'", "DEBUG");
|
|
975
|
+
} else {
|
|
976
|
+
this.log("Register Template : '" + this.name + "Bundle:" + ele.basename + ":" + ele.name + "'", "DEBUG");
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
} catch (e) {
|
|
980
|
+
return reject(e);
|
|
981
|
+
//throw e;
|
|
982
|
+
}
|
|
983
|
+
});*/
|
|
961
984
|
return resolve(views);
|
|
962
985
|
});
|
|
963
986
|
}
|
|
@@ -1080,9 +1103,9 @@ class Bundle extends nodefony.Service {
|
|
|
1080
1103
|
async getPublicDirectory() {
|
|
1081
1104
|
try {
|
|
1082
1105
|
return await new nodefony.Finder2({
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1106
|
+
excludeDir: /^docs$|^tests|^node_modules|^assets$/
|
|
1107
|
+
})
|
|
1108
|
+
.in(path.resolve(this.path, "Resources", "public"));
|
|
1086
1109
|
} catch (e) {
|
|
1087
1110
|
return null;
|
|
1088
1111
|
}
|
package/kernel/orm/orm.es6
CHANGED
|
@@ -5,7 +5,7 @@ const connectionMonitor = function ( /*name, db*/ ) {
|
|
|
5
5
|
if (this.kernel.type !== "CONSOLE") {
|
|
6
6
|
this.log('onOrmReady', "INFO", `EVENTS ${this.name} ORM`);
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
//this.log('onOrmReady', "INFO", `EVENTS ${this.name} ORM`);
|
|
9
9
|
this.fire('onOrmReady', this);
|
|
10
10
|
this.ready = true;
|
|
11
11
|
});
|
|
@@ -23,6 +23,12 @@ class Orm extends nodefony.Service {
|
|
|
23
23
|
this.connections = {};
|
|
24
24
|
this.connectionNotification = 0;
|
|
25
25
|
this.ready = false;
|
|
26
|
+
this.prependOnceListener("onOrmReady", async () => {
|
|
27
|
+
if (this.bundle.booted) {
|
|
28
|
+
await this.bundle.emitAsync("onReady", this.bundle);
|
|
29
|
+
}
|
|
30
|
+
this.bundle.ready = true
|
|
31
|
+
})
|
|
26
32
|
}
|
|
27
33
|
|
|
28
34
|
boot() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodefony",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
3
|
+
"version": "7.0.0-beta.5",
|
|
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.19.
|
|
36
|
-
"@babel/parser": "7.19.
|
|
35
|
+
"@babel/core": "7.19.1",
|
|
36
|
+
"@babel/parser": "7.19.1",
|
|
37
37
|
"@graphql-tools/merge": "8.3.6",
|
|
38
38
|
"@graphql-tools/schema": "9.0.4",
|
|
39
39
|
"@graphql-tools/utils": "8.12.0",
|
|
40
|
-
"@nodefony/elastic-bundle": "7.0.0-beta.
|
|
41
|
-
"@nodefony/framework-bundle": "7.0.0-beta.
|
|
42
|
-
"@nodefony/http-bundle": "7.0.0-beta.
|
|
43
|
-
"@nodefony/mail-bundle": "7.0.0-beta.
|
|
44
|
-
"@nodefony/mongoose-bundle": "7.0.0-beta.
|
|
45
|
-
"@nodefony/monitoring-bundle": "7.0.0-beta.
|
|
46
|
-
"@nodefony/realtime-bundle": "7.0.0-beta.
|
|
47
|
-
"@nodefony/redis-bundle": "7.0.0-beta.
|
|
48
|
-
"@nodefony/security-bundle": "7.0.0-beta.
|
|
49
|
-
"@nodefony/sequelize-bundle": "7.0.0-beta.
|
|
50
|
-
"@nodefony/unittests-bundle": "7.0.0-beta.
|
|
40
|
+
"@nodefony/elastic-bundle": "7.0.0-beta.5",
|
|
41
|
+
"@nodefony/framework-bundle": "7.0.0-beta.5",
|
|
42
|
+
"@nodefony/http-bundle": "7.0.0-beta.5",
|
|
43
|
+
"@nodefony/mail-bundle": "7.0.0-beta.5",
|
|
44
|
+
"@nodefony/mongoose-bundle": "7.0.0-beta.5",
|
|
45
|
+
"@nodefony/monitoring-bundle": "7.0.0-beta.5",
|
|
46
|
+
"@nodefony/realtime-bundle": "7.0.0-beta.5",
|
|
47
|
+
"@nodefony/redis-bundle": "7.0.0-beta.5",
|
|
48
|
+
"@nodefony/security-bundle": "7.0.0-beta.5",
|
|
49
|
+
"@nodefony/sequelize-bundle": "7.0.0-beta.5",
|
|
50
|
+
"@nodefony/unittests-bundle": "7.0.0-beta.5",
|
|
51
51
|
"@vue/cli": "5.0.8",
|
|
52
52
|
"@vue/cli-service": "5.0.8",
|
|
53
53
|
"@vue/cli-service-global": "4.5.19",
|