neo.mjs 4.2.4 → 4.2.6

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.
@@ -7,10 +7,10 @@
7
7
  "image" : "the-secret-of-successfully-using-multi-window-webgl-canvas.png",
8
8
  "name" : "The secret of successfully using multi window WebGL Canvas",
9
9
  "provider" : "Medium",
10
- "publisher" : "",
10
+ "publisher" : "ITNEXT",
11
11
  "selectedInto": [],
12
12
  "type" : "Blog Post",
13
- "url" : "https://tobiasuhlig.medium.com/the-secret-of-successfully-using-multi-window-webgl-canvas-5a2d05555ad1?source=friends_link&sk=d24ec0ec25aa6678d5fd1f59aaf09007"
13
+ "url" : "https://itnext.io/the-secret-of-successfully-using-multi-window-webgl-canvas-5a2d05555ad1?source=friends_link&sk=d24ec0ec25aa6678d5fd1f59aaf09007"
14
14
  },
15
15
  {
16
16
  "author" : "Tobias Uhlig",
@@ -397,4 +397,6 @@ if (programOpts.info) {
397
397
  }
398
398
 
399
399
  fs.writeFileSync(classPath, contentArray.join(os.EOL));
400
+
401
+ process.exit();
400
402
  }
@@ -657,6 +657,13 @@ if (programOpts.info) {
657
657
  " singleton: true"
658
658
  );
659
659
 
660
+ baseClass === 'model.Component' && addComma(classContent).push(
661
+ " /**",
662
+ " * @member {Object} stores",
663
+ " */",
664
+ " stores: {}",
665
+ );
666
+
660
667
  baseClass === 'component.Base' && addComma(classContent).push(
661
668
  " /**",
662
669
  " * @member {Object} _vdom",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neo.mjs",
3
- "version": "4.2.4",
3
+ "version": "4.2.6",
4
4
  "description": "The webworkers driven UI framework",
5
5
  "type": "module",
6
6
  "repository": {
@@ -43,7 +43,7 @@
43
43
  "@fortawesome/fontawesome-free": "^6.2.0",
44
44
  "@material/mwc-button": "^0.27.0",
45
45
  "@material/mwc-textfield": "^0.27.0",
46
- "autoprefixer": "^10.4.8",
46
+ "autoprefixer": "^10.4.12",
47
47
  "chalk": "^5.0.1",
48
48
  "clean-webpack-plugin": "^4.0.0",
49
49
  "commander": "^9.4.0",
@@ -51,14 +51,14 @@
51
51
  "envinfo": "^7.8.1",
52
52
  "fs-extra": "^10.1.0",
53
53
  "highlightjs-line-numbers.js": "^2.8.0",
54
- "inquirer": "^9.1.1",
54
+ "inquirer": "^9.1.2",
55
55
  "neo-jsdoc": "^1.0.1",
56
56
  "neo-jsdoc-x": "^1.0.4",
57
57
  "postcss": "^8.4.16",
58
58
  "sass": "^1.54.9",
59
59
  "webpack": "^5.74.0",
60
60
  "webpack-cli": "^4.10.0",
61
- "webpack-dev-server": "4.11.0",
61
+ "webpack-dev-server": "4.11.1",
62
62
  "webpack-hook-plugin": "^1.0.7",
63
63
  "webpack-node-externals": "^3.0.0"
64
64
  },
@@ -130,7 +130,7 @@ class App extends Base {
130
130
  // we need to modify app related class names
131
131
  if (!className.startsWith('Neo.')) {
132
132
  className = className.split('.');
133
- className.shift();
133
+ lAppName = className.shift().toLowerCase();
134
134
 
135
135
  className[0] === 'view' && className.shift();
136
136