nodefony 6.5.7 → 6.10.0

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.
Files changed (62) hide show
  1. package/CHANGELOG.md +436 -0
  2. package/README.md +2 -5
  3. package/autoloader.es6 +7 -2
  4. package/cli/builder/bundles/users-bundle/Command/usersCommand.js +1 -1
  5. package/cli/builder/bundles/users-bundle/Entity/sequelize/userEntity.js +5 -1
  6. package/cli/builder/bundles/users-bundle/Resources/config/webpack/webpack.prod.config.js +3 -3
  7. package/cli/builder/bundles/users-bundle/Resources/config/webpack.config.js +4 -0
  8. package/cli/builder/bundles/users-bundle/Resources/graphiql/graphiql.jsx +40 -4
  9. package/cli/builder/bundles/users-bundle/Resources/scss/users.scss +9 -10
  10. package/cli/builder/bundles/users-bundle/Resources/swagger/swagger.js +3 -2
  11. package/cli/builder/bundles/users-bundle/Resources/translations/login.en_en.yml +3 -1
  12. package/cli/builder/bundles/users-bundle/Resources/translations/login.fr_fr.yml +2 -0
  13. package/cli/builder/bundles/users-bundle/Resources/views/documentation/base.html.twig +1 -2
  14. package/cli/builder/bundles/users-bundle/Resources/views/footer.html.twig +2 -4
  15. package/cli/builder/bundles/users-bundle/Resources/views/graphiql/index.html.twig +4 -9
  16. package/cli/builder/bundles/users-bundle/Resources/views/header.html.twig +63 -66
  17. package/cli/builder/bundles/users-bundle/Resources/views/swagger/index.html.twig +4 -12
  18. package/cli/builder/bundles/users-bundle/controller/api/graphql/graphqlController.js +2 -0
  19. package/cli/builder/bundles/users-bundle/controller/usersController.js +1 -1
  20. package/cli/builder/bundles/users-bundle/package.json +29 -29
  21. package/cli/builder/bundles/users-bundle/src/providers/mongoose/userProvider.js +3 -3
  22. package/cli/builder/microService/skeletons/config/pm2.config.js +1 -1
  23. package/cli/builder/microService/skeletons/config/webpack/webpack.config.dev.js +1 -6
  24. package/cli/builder/microService/skeletons/config/webpack/webpack.config.prod.js +1 -6
  25. package/cli/builder/microService/skeletons/config/webpack.config.js +40 -34
  26. package/cli/builder/microService/skeletons/package.json +27 -22
  27. package/cli/builder/microService/skeletons/src/browser/index.css +1 -1
  28. package/cli/builder/microService/skeletons/src/browser/index.js +1 -3
  29. package/cli/builder/microService/skeletons/src/browser/socketio.js +46 -0
  30. package/cli/builder/microService/skeletons/src/node/examples/index.js +12 -52
  31. package/cli/builder/microService/skeletons/src/node/index.js +18 -18
  32. package/cli/builder/microService/skeletons/src/node/services/servers/http.js +9 -1
  33. package/cli/builder/microService/skeletons/src/node/services/servers/https.js +9 -1
  34. package/cli/builder/microService/skeletons/src/node/services/socketio/socketio.js +15 -12
  35. package/cli/builder/microService/skeletons/src/templates/base.html +12 -0
  36. package/cli/builder/microService/skeletons/src/templates/socket.html +23 -0
  37. package/cli/builder/project/skeletons/README.md +2 -5
  38. package/cli/builder/project/skeletons/config/config.js.skeleton +2 -4
  39. package/cli/builder/project/skeletons/package.json.skeleton +7 -7
  40. package/cli/builder/sandbox/skeletons/Resources/js/entry.js +2 -2
  41. package/cli/builder/skeletons/config/nodefony/framework-bundle.js +2 -3
  42. package/cli/builder/skeletons/config/nodefony/http-bundle.js +5 -3
  43. package/cli/builder/skeletons/config/nodefony/mongoose-bundle.js +2 -6
  44. package/cli/builder/skeletons/config/nodefony/redis-bundle.js +16 -11
  45. package/cli/builder/skeletons/config/webpack/webpack.prod.config.js +1 -11
  46. package/cli/builder/skeletons/config/webpack.config.js +5 -5
  47. package/cli/builder/skeletons/package.json +25 -20
  48. package/cli/builder/vue/skeletons/vue.config.js +4 -4
  49. package/cli/builder/vue/vueBuilder.js +1 -1
  50. package/cli/install/install.js +2 -1
  51. package/cli.es6 +6 -12
  52. package/error.es6 +2 -1
  53. package/kernel/api/graphqlApi.es6 +17 -7
  54. package/kernel/bundle.es6 +1 -1
  55. package/kernel/cliKernel.es6 +2 -2
  56. package/kernel/controllers/controller.es6 +4 -0
  57. package/kernel/kernel.es6 +1 -1
  58. package/kernel/reader.es6 +1 -0
  59. package/kernel/security/secureArea.es6 +3 -1
  60. package/nodefony.es6 +1 -1
  61. package/package.json +37 -38
  62. package/cli/builder/bundles/users-bundle/Resources/views/index.html.twig +0 -19
@@ -3,6 +3,7 @@
3
3
  *
4
4
  * @see MONGO BUNDLE config for more options
5
5
  * @more options https://mongoosejs.com/docs/connections.html
6
+ * https://mongoosejs.com/docs/api.html#mongoose_Mongoose-createConnection
6
7
  *
7
8
  * By default nodefony create connector name nodefony
8
9
  * for manage Sessions / Users
@@ -17,12 +18,7 @@ module.exports = {
17
18
  dbname: "nodefony",
18
19
  settings: {
19
20
  user: "",
20
- pass: "",
21
- authSource: "admin",
22
- reconnectTries: 100,
23
- reconnectInterval: 5000,
24
- autoReconnect: true,
25
- poolSize: 5
21
+ pass: ""
26
22
  }
27
23
  }
28
24
  }
@@ -1,7 +1,8 @@
1
1
  /**
2
2
  * OVERRIDE REDIS BUNDLE SETTINGS
3
3
  *
4
- * All Options : https://github.com/NodeRedis/node_redis
4
+ * All Options : https://github.com/redis/node-redis
5
+ * https://github.com/redis/node-redis/blob/master/docs/client-configuration.md
5
6
  *
6
7
  * Add clients connections
7
8
  * connections :{
@@ -20,20 +21,24 @@ module.exports = {
20
21
  redis: {
21
22
  debug: true,
22
23
  globalOptions: {
23
- host: "localhost",
24
- port: 6379,
25
- family: "IPv4",
26
- disable_resubscribing: false,
27
- tls: null,
28
- no_ready_check: false,
29
- socket_keepalive: false,
30
- return_buffers: false,
31
- retry_unfulfilled_commands: true
24
+ socket:{
25
+ host: "localhost",
26
+ port: 6379,
27
+ family: "IPv4"
28
+ },
29
+ //username:"nodefony",
30
+ //password:"nodefony",
32
31
  },
33
32
  connections: {
34
33
  main: {
35
34
  name: "main"
36
35
  }
36
+ /*publish: {
37
+ name: "publish"
38
+ },
39
+ subscribe: {
40
+ name: "subscribe"
41
+ },*/
37
42
  }
38
43
  }
39
- };
44
+ };
@@ -1,5 +1,4 @@
1
1
  // WEBPACK PROD CONFIGURATION
2
- const OptimizeCssAssetsPlugin = require('optimize-css-assets-webpack-plugin');
3
2
  const TerserPlugin = require('terser-webpack-plugin');
4
3
 
5
4
  module.exports = {
@@ -17,14 +16,5 @@ module.exports = {
17
16
  })
18
17
  ]
19
18
  },
20
- plugins: [
21
- new OptimizeCssAssetsPlugin({
22
- cssProcessorOptions: {
23
- discardComments: {
24
- removeAll: true
25
- }
26
- },
27
- canPrint: true
28
- })
29
- ]
19
+ plugins: []
30
20
  };
@@ -12,16 +12,16 @@ const {InjectManifest} = require('workbox-webpack-plugin');
12
12
  // Default context <bundle base directory>
13
13
  //const context = path.resolve(__dirname, "..", "Resources", "public");
14
14
  const public = path.resolve(__dirname, "..", "Resources", "public", "assets");
15
- const package = require(path.resolve("package.json"));
15
+ const bundlePackage = require(path.resolve("package.json"));
16
16
  {% else %}
17
17
  // Default context <bundle base directory>
18
18
  //const context = path.resolve(__dirname, "..", "public");
19
19
  const public = path.resolve(__dirname, "..", "public", "assets");
20
- const package = require(path.resolve("package.json"));
20
+ const bundlePackage = require(path.resolve("package.json"));
21
21
  {% endif %}
22
22
 
23
23
  const bundleConfig = require(path.resolve(__dirname, "config.js"));
24
- const bundleName = package.name;
24
+ const bundleName = bundlePackage.name;
25
25
  const publicPath = "/{{bundleName}}/assets/";
26
26
 
27
27
  let wpconfig = null;
@@ -142,7 +142,7 @@ module.exports = merge(wpconfig, {
142
142
  {% endif %}
143
143
  ],
144
144
  devServer: {
145
- inline: true,
146
- hot: false
145
+ hot: false, // false || true || "only"
146
+ progress:false
147
147
  }
148
148
  });
@@ -18,37 +18,42 @@
18
18
  "repository": {},
19
19
  "dependencies": {
20
20
  {% if addons.workbox %}
21
- "workbox-webpack-plugin": "^6.1.5",
21
+ "workbox-webpack-plugin": "^6.4.2",
22
22
  {% endif %}
23
23
  {% if addons.bootstrap %}
24
- "@popperjs/core": "^2.9.2",
25
- "bootstrap": "^5.0.2",
24
+ "@popperjs/core": "^2.11.0",
25
+ "bootstrap": "^5.1.3",
26
26
  "jquery": "^3.6.0",
27
27
  "font-awesome": "^4.7.0",
28
28
  {% endif %}
29
29
  {% if addons.webpack %}
30
- "@babel/core": "^7.14.8",
31
- "@babel/preset-env": "^7.14.8",
32
- "babel-loader": "^8.2.2",
33
- "clean-webpack-plugin": "^4.0.0-alpha.0",
30
+ "@babel/core": "^7.16.7",
31
+ "@babel/preset-env": "^7.16.7",
32
+ "babel-loader": "^8.2.3",
33
+ "clean-webpack-plugin": "^4.0.0",
34
34
  "css-hot-loader": "^1.4.4",
35
- "css-loader": "^6.2.0",
36
- "expose-loader": "^3.0.0",
37
- "html-webpack-plugin": "^5.3.2",
38
- "imports-loader": "^3.0.0",
39
- "mini-css-extract-plugin": "^2.1.0",
40
- "node-sass": "^6.0.1",
41
- "optimize-css-assets-webpack-plugin": "^6.0.1",
42
- "sass-loader": "^12.1.0",
43
- "style-loader": "^3.2.1",
44
- "terser-webpack-plugin": "^5.1.4",
45
- "webpack": "^5.45.1",
35
+ "css-loader": "^6.5.1",
36
+ "expose-loader": "^3.1.0",
37
+ "favicons": "^6.2.2",
38
+ "favicons-webpack-plugin": "^5.0.2",
39
+ "html-webpack-plugin": "^5.5.0",
40
+ "imports-loader": "^3.1.1",
41
+ "mini-css-extract-plugin": "^2.4.5",
42
+ "node-sass": "^7.0.1",
43
+ "sass-loader": "^12.4.0",
44
+ "sitemap-webpack-plugin": "^1.1.1",
45
+ "style-loader": "^3.3.1",
46
+ "terser-webpack-plugin": "^5.3.0",
47
+ "webpack": "^5.65.0",
46
48
  "webpack-merge": "^5.8.0"
47
49
  {% endif %}
48
50
  },
49
51
  "devDependencies": {
50
- "@mapbox/node-pre-gyp": "^1.0.5",
51
- "node-gyp": "^8.1.0"
52
+ {% if addons.webpack %}
53
+ "webpack-dev-server": "^4.7.2",
54
+ {% endif %}
55
+ "@mapbox/node-pre-gyp": "^1.0.8",
56
+ "node-gyp": "^8.4.1"
52
57
  },
53
58
  "license": "",
54
59
  "readmeFilename": "README.md",
@@ -32,15 +32,15 @@ module.exports = {
32
32
  configureWebpack: {
33
33
  devtool: process.env.NODE_ENV === "development" ? "source-map" : "",
34
34
  output:{
35
- hotUpdateChunkFilename: 'hot/hot-update.js',
36
- hotUpdateMainFilename: 'hot/hot-update.json'
35
+ hotUpdateChunkFilename:'hot/[id].[hash].hot-update.js',
36
+ hotUpdateMainFilename: 'hot/[hash].hot-update.json'
37
37
  },
38
38
  plugins: [
39
39
  new CleanWebpackPlugin({
40
40
  cleanOnceBeforeBuildPatterns: [`${outputDir}/hot/*.hot-update.*`],
41
41
  dry: false,
42
- verbose: false,
43
- initialClean: false,
42
+ verbose: true,
43
+ initialClean: true,
44
44
  cleanStaleWebpackAssets:true,
45
45
  protectWebpackAssets:true,
46
46
  cleanAfterEveryBuildPatterns:[],
@@ -80,7 +80,7 @@ class Vue extends nodefony.builders.sandbox {
80
80
  return this.checkTypeScript()
81
81
  .then(async () => {
82
82
  let packages = ["clean-webpack-plugin"];
83
- let packagesDev = ["@vue/cli"];
83
+ let packagesDev = ["@vue/cli","webpack-dev-server@3.11.2"];
84
84
  await this.addPackage(packages, false);
85
85
  await this.addPackage(packagesDev, true);
86
86
  if(this.response.addons.vuetify){
@@ -99,7 +99,8 @@ module.exports = class installProject extends nodefony.Builder {
99
99
  this.checkDirectoryExist(directory);
100
100
  this.log(`Generate openssl certificates in : ${directory}`);
101
101
  let cmd = null;
102
- cmd = this.cli.spawn(path.resolve(cwd, "bin", "generateCertificates.sh"), [], {
102
+ cmd = this.cli.spawn("bash", [path.resolve(cwd, "bin", "generateCertificates.sh")], {
103
+ //cmd = this.cli.spawn(path.resolve(cwd, "bin", "generateCertificates.sh"), [], {
103
104
  cwd: cwd,
104
105
  shell: true,
105
106
  stdio: "inherit"
package/cli.es6 CHANGED
@@ -1,4 +1,4 @@
1
- const Table = require('cli-table');
1
+ const Table = require('cli-table3');
2
2
  const asciify = require('asciify');
3
3
  //const inquirer = require('inquirer');
4
4
  //const commander = require('commander');
@@ -440,25 +440,19 @@ class CLI extends nodefony.Service {
440
440
  return false;
441
441
  }
442
442
 
443
- displayTable(datas, options, syslog) {
443
+ displayTable(datas, options= defaultTableCli, syslog=null) {
444
+ if( !datas || ! datas.length){
445
+ return new Table(nodefony.extend({}, defaultTableCli, options ));
446
+ }
444
447
  let table = null;
445
448
  try {
446
- table = new Table(options || defaultTableCli);
449
+ table = new Table(nodefony.extend({}, defaultTableCli, options ));
447
450
  if (datas) {
448
451
  for (let i = 0; i < datas.length; i++) {
449
452
  table.push(datas[i]);
450
453
  }
451
454
  if (syslog) {
452
455
  syslog.log(`\n${table.toString()}`);
453
- /*if (syslog.logger) {
454
- syslog.logger(table.toString());
455
- } else {
456
- if (syslog.log) {
457
- syslog.log(table.toString());
458
- } else {
459
- this.log(`\n${table.toString()}`);
460
- }
461
- }*/
462
456
  } else {
463
457
  console.log(table.toString());
464
458
  }
package/error.es6 CHANGED
@@ -263,7 +263,8 @@ class nodefonyError extends Error {
263
263
  if (message.message) {
264
264
  this.message = message.message;
265
265
  } else {
266
- this.message = JSON.stringify(message);
266
+ //this.message = JSON.stringify(message);
267
+ this.message = util.inspect(message,{depth:0});
267
268
  }
268
269
  } catch (e) {
269
270
  this.error = e;
@@ -9,23 +9,33 @@ class graphqlApi extends JsonApi {
9
9
 
10
10
  constructor(config = {}, context = null) {
11
11
  let schema = null;
12
- if (config.schema){
12
+ if (config.schema) {
13
13
  schema = config.schema;
14
14
  delete config.schema;
15
15
  }
16
16
  super(config, context);
17
17
  this.json.operationName = null;
18
18
  this.setResultName(config.resultName || "data");
19
- if ( schema ){
19
+ if (schema) {
20
20
  this.setSchema(schema);
21
21
  }
22
22
  }
23
23
 
24
- async query(query, variables = null, operationName = null) {
24
+ async query(query, variables = null, operationName = null, fieldResolver = null, typeResolver = null) {
25
25
  const controller = this.get("controller");
26
26
  this.json.operationName = operationName;
27
27
  try {
28
- let res = await nodefony.graphql.graphql(this.schema, query, controller, this, variables, operationName);
28
+ const conf = {
29
+ schema: this.schema,
30
+ source: query,
31
+ rootValue: controller,
32
+ contextValue: this,
33
+ variableValues: variables,
34
+ operationName: operationName,
35
+ fieldResolver: fieldResolver,
36
+ typeResolver: typeResolver
37
+ }
38
+ let res = await nodefony.graphql.graphql(conf);
29
39
  if (res.errors && res.errors.length) {
30
40
  throw res.errors;
31
41
  }
@@ -40,9 +50,9 @@ class graphqlApi extends JsonApi {
40
50
  return this.schema;
41
51
  }
42
52
 
43
- setSchema(schema){
44
- this.schema = schema ;
45
- return this.schema ;
53
+ setSchema(schema) {
54
+ this.schema = schema;
55
+ return this.schema;
46
56
  }
47
57
  }
48
58
 
package/kernel/bundle.es6 CHANGED
@@ -501,7 +501,7 @@ class Bundle extends nodefony.Service {
501
501
  let config = false;
502
502
  let services = false;
503
503
  //let entities = false;
504
- let regJs = new RegExp(".*\.js$|.*\.es6$|.*\.es7$");
504
+ let regJs = new RegExp(".*\.js$|.*\.es6$|.*\.es7$|.*\.mjs$");
505
505
  try {
506
506
  switch (typeof this.settings.watch) {
507
507
  case "object":
@@ -1,5 +1,5 @@
1
1
  const simpleGit = require('simple-git');
2
- const npm = require("npm");
2
+ //const npm = require("npm");
3
3
 
4
4
  const charsTable = {
5
5
  'top': '',
@@ -585,7 +585,7 @@ class cliKernel extends nodefony.cli {
585
585
  assetInstall() {
586
586
  return new Promise((resolve, reject) => {
587
587
  try {
588
- let table = this.displayTable(null, {
588
+ let table = this.displayTable([], {
589
589
  head: [
590
590
  "BUNDLES",
591
591
  "DESTINATION PATH",
@@ -92,6 +92,10 @@ class Controller extends nodefony.Service {
92
92
 
93
93
  startSession(sessionContext) {
94
94
  let sessionService = this.get("sessions");
95
+ // is subRequest
96
+ if (this.context.parent){
97
+ return this.getSession()
98
+ }
95
99
  if (!this.context.requestEnded) {
96
100
  return this.sessionAutoStart = sessionService.setAutoStart(sessionContext);
97
101
  } else {
package/kernel/kernel.es6 CHANGED
@@ -285,7 +285,7 @@ class Kernel extends nodefony.Service {
285
285
  }
286
286
 
287
287
  displayCommand(commands) {
288
- let table = this.cli.displayTable(null, {
288
+ let table = this.cli.displayTable([], {
289
289
  head: [
290
290
  "BUNDLES",
291
291
  "COMMAND NAME"
package/kernel/reader.es6 CHANGED
@@ -57,6 +57,7 @@ const load = function (name, pathFile) {
57
57
  break;
58
58
  case ".js":
59
59
  case ".es6":
60
+ case ".mjs":
60
61
  case ".es7":
61
62
  Array.prototype.unshift.call(arguments, file);
62
63
  switch (true) {
@@ -203,7 +203,9 @@ module.exports = nodefony.register("SecuredArea", function () {
203
203
  if (context.user && context.user.lang) {
204
204
  context.session.set("lang", context.user.lang);
205
205
  } else {
206
- context.session.set("lang", context.translation.defaultLocale);
206
+ if( ! context.session.get("lang") ){
207
+ context.session.set("lang", context.translation.defaultLocale);
208
+ }
207
209
  }
208
210
  }
209
211
  return resolve(context);
package/nodefony.es6 CHANGED
@@ -763,7 +763,7 @@ class Nodefony {
763
763
  tablePm2(cli, apps) {
764
764
  //console.log(apps)
765
765
  let table = null;
766
- table = cli.displayTable(null, {
766
+ table = cli.displayTable([], {
767
767
  head: [
768
768
  cli.clc.blue("App name"),
769
769
  cli.clc.blue("id"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodefony",
3
- "version": "6.5.7",
3
+ "version": "6.10.0",
4
4
  "main": "autoloader.es6",
5
5
  "description": "Nodefony Framework Core",
6
6
  "contributors": [],
@@ -32,64 +32,63 @@
32
32
  "nodefony": "bin/nodefony"
33
33
  },
34
34
  "dependencies": {
35
- "@babel/core": "^7.14.8",
36
- "@babel/parser": "^7.14.8",
37
- "@babel/preset-env": "^7.14.8",
38
- "@nodefony/documentation-bundle": "^6.5.7",
39
- "@nodefony/elastic-bundle": "^6.5.7",
40
- "@nodefony/framework-bundle": "^6.5.7",
41
- "@nodefony/http-bundle": "^6.5.7",
42
- "@nodefony/mail-bundle": "^6.5.7",
43
- "@nodefony/mongo-bundle": "^6.5.7",
44
- "@nodefony/mongoose-bundle": "^6.5.7",
45
- "@nodefony/monitoring-bundle": "^6.5.7",
46
- "@nodefony/realtime-bundle": "^6.5.7",
47
- "@nodefony/redis-bundle": "^6.5.7",
48
- "@nodefony/security-bundle": "^6.5.7",
49
- "@nodefony/sequelize-bundle": "^6.5.7",
50
- "@nodefony/unittests-bundle": "^6.5.7",
51
- "@vue/cli": "^4.5.13",
52
- "@vue/cli-service-global": "^4.5.13",
35
+ "@babel/core": "^7.16.7",
36
+ "@babel/parser": "^7.16.7",
37
+ "@babel/preset-env": "^7.16.7",
38
+ "@nodefony/documentation-bundle": "^6.10.0",
39
+ "@nodefony/elastic-bundle": "^6.10.0",
40
+ "@nodefony/framework-bundle": "^6.10.0",
41
+ "@nodefony/http-bundle": "^6.10.0",
42
+ "@nodefony/mail-bundle": "^6.10.0",
43
+ "@nodefony/mongoose-bundle": "^6.10.0",
44
+ "@nodefony/monitoring-bundle": "^6.10.0",
45
+ "@nodefony/realtime-bundle": "^6.10.0",
46
+ "@nodefony/redis-bundle": "^6.10.0",
47
+ "@nodefony/security-bundle": "^6.10.0",
48
+ "@nodefony/sequelize-bundle": "^6.10.0",
49
+ "@nodefony/unittests-bundle": "^6.10.0",
50
+ "@vue/cli": "^4.5.15",
51
+ "@vue/cli-service-global": "^4.5.15",
53
52
  "asciify": "^1.3.5",
54
53
  "bluebird": "^3.7.2",
55
54
  "chai": "^4.3.4",
56
55
  "chokidar": "^3.5.2",
57
- "cli-color": "^2.0.0",
58
- "cli-table": "^0.3.6",
56
+ "cli-color": "^2.0.1",
57
+ "cli-table3": "^0.6.0",
59
58
  "clui": "^0.3.6",
60
- "commander": "^8.0.0",
61
- "core-js": "^3.15.2",
62
- "create-react-app": "^4.0.3",
63
- "graphql": "^15.5.1",
64
- "inquirer": "^8.1.2",
59
+ "commander": "^8.3.0",
60
+ "core-js": "^3.20.1",
61
+ "create-react-app": "^5.0.0",
62
+ "graphql": "^16.2.0",
63
+ "inquirer": "^8.2.0",
65
64
  "js-yaml": "^4.1.0",
66
65
  "lodash": "^4.17.21",
67
66
  "lodash.isregexp": "^4.0.1",
68
- "markdown-it": "^12.1.0",
69
- "mime": "^2.5.2",
67
+ "markdown-it": "^12.3.0",
68
+ "mime": "^3.0.0",
70
69
  "moment": "^2.29.1",
71
70
  "node-cron": "^3.0.0",
72
- "node-emoji": "^1.10.0",
73
- "npm": "^7.20.0",
74
- "pm2": "^5.1.0",
71
+ "node-emoji": "^1.11.0",
72
+ "npm": "^8.3.0",
73
+ "pm2": "^5.1.2",
75
74
  "promise": "^8.1.0",
76
75
  "request": "^2.88.2",
77
- "semver": "^7.3.4",
76
+ "semver": "^7.3.5",
78
77
  "shelljs": "^0.8.4",
79
78
  "shortid": "^2.2.16",
80
- "simple-git": "^2.41.1",
79
+ "simple-git": "^2.48.0",
81
80
  "spdx": "^0.5.2",
81
+ "terser-webpack-plugin": "^5.3.0",
82
82
  "twig": "^1.15.4",
83
83
  "uuid": "^8.3.2",
84
+ "webpack": "^5.65.0",
84
85
  "xml2js": "^0.4.23",
85
- "yarn": "^1.22.10"
86
+ "yarn": "^1.22.17"
86
87
  },
87
88
  "devDependencies": {
88
- "babel-loader": "^8.2.2",
89
+ "babel-loader": "^8.2.3",
89
90
  "babel-polyfill": "^6.26.0",
90
- "terser-webpack-plugin": "^5.1.4",
91
- "webpack": "^5.45.1",
92
- "webpack-cli": "^4.7.2",
91
+ "webpack-cli": "^4.9.1",
93
92
  "webpack-merge": "^5.8.0"
94
93
  },
95
94
  "repository": {
@@ -1,19 +0,0 @@
1
- {% extends './base.html.twig' %}
2
-
3
- {% set error = getFlashBag("error") %}
4
- {% set info = getFlashBag("info") %}
5
-
6
- {% block body %}
7
-
8
- <div class="hello">
9
-
10
- <img class=displayed src=/framework-bundle/images/nodefony-logo.png>
11
- <h1>{{ name }}</h1>
12
- <h2>{{ description }}</h2>
13
- <img class="displayed" style=" width:10%; height:10%" src="/framework-bundle/images/nodejs/nodejs-new-pantone-black.png">
14
- <img class="displayed" style=" width:10%; height:10%" src="/framework-bundle/images/bootstrap.png">
15
- <img class="displayed" style=" width:15%; height:15%" src="/framework-bundle/images/webpack/webpack.svg">
16
-
17
- </div>
18
-
19
- {% endblock %}