@next2d/view-generator 1.1.0 → 1.1.3
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/README.md +11 -6
- package/index.js +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[](https://github.com/Next2D/view-generator/actions/workflows/codeql-analysis.yml)
|
|
4
|
+
[](https://github.com/Next2D/view-generator/actions/workflows/lint.yml)
|
|
5
|
+
[](https://github.com/Next2D/view-generator/releases)
|
|
6
|
+
[](https://github.com/Next2D/view-generator/blob/main/LICENSE)
|
|
4
7
|
|
|
5
|
-
# next2d-view-generator
|
|
6
8
|
Generate the View class required for routing.
|
|
7
9
|
|
|
8
10
|
## Commands
|
|
9
11
|
|
|
10
12
|
```sh
|
|
11
|
-
npx next2d
|
|
12
|
-
```
|
|
13
|
+
npx @next2d/view-generator
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## License
|
|
17
|
+
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT) - see the [LICENSE](LICENSE) file for details.
|
package/index.js
CHANGED
|
@@ -113,12 +113,12 @@ export class ${name}ViewModel extends next2d.fw.ViewModel
|
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* @param {next2d.fw.View} view
|
|
116
|
-
* @return {void}
|
|
117
|
-
* @
|
|
116
|
+
* @return {Promise|void}
|
|
117
|
+
* @public
|
|
118
118
|
*/
|
|
119
119
|
bind (view)
|
|
120
120
|
{
|
|
121
|
-
|
|
121
|
+
return this.factory();
|
|
122
122
|
}
|
|
123
123
|
}`);
|
|
124
124
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next2d/view-generator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.3",
|
|
4
4
|
"description": "Generate the View class required for routing.",
|
|
5
5
|
"author": "Toshiyuki Ienaga<ienaga@tvon.jp>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
"fs-extra": "9.0.1"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"eslint": "^8.
|
|
29
|
+
"eslint": "^8.1.0"
|
|
30
30
|
}
|
|
31
31
|
}
|