@infomaximum/package-cli 1.0.0 → 1.0.1
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/dist/bin/cli.js +0 -0
- package/dist/lib/arguments.js +2 -2
- package/dist/package.json +19 -2
- package/package.json +13 -1
package/dist/bin/cli.js
CHANGED
|
File without changes
|
package/dist/lib/arguments.js
CHANGED
|
@@ -12,13 +12,13 @@ var registerCommands = function (cli) {
|
|
|
12
12
|
var widgetCommand = cli.command("widget");
|
|
13
13
|
var widgetBuildCommand = widgetCommand.command("build");
|
|
14
14
|
widgetBuildCommand
|
|
15
|
-
.option("-e, --
|
|
15
|
+
.option("-e, --entry <path>", "Путь до entrypoint")
|
|
16
16
|
.description("Запускает сборку проекта")
|
|
17
17
|
.action(function (options) { return (0, build_1.runBuild)(options); });
|
|
18
18
|
var widgetStartCommand = widgetCommand.command("start");
|
|
19
19
|
widgetStartCommand
|
|
20
20
|
.description("Запускает проект в dev режиме")
|
|
21
|
-
.option("-e, --
|
|
21
|
+
.option("-e, --entry <path>", "Путь до entrypoint")
|
|
22
22
|
.option("-p, --port <port>", "Порт на котором будет доступен виджет", "5555")
|
|
23
23
|
.option("--host <host>", "host на котором будет доступен виджет", "0.0.0.0")
|
|
24
24
|
.action(function (options) { return (0, start_1.runDevServer)(options); });
|
package/dist/package.json
CHANGED
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infomaximum/package-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "dist/bin/cli.js",
|
|
5
|
+
"license": "Apache-2.0",
|
|
5
6
|
"bin": {
|
|
6
7
|
"im-package-cli": "dist/bin/cli.js"
|
|
7
8
|
},
|
|
8
|
-
"
|
|
9
|
+
"files": [
|
|
10
|
+
"dist/",
|
|
11
|
+
"LICENSE",
|
|
12
|
+
"CHANGELOG.md"
|
|
13
|
+
],
|
|
9
14
|
"scripts": {
|
|
10
15
|
"dev": "tsc",
|
|
11
16
|
"dev:w": "yarn dev -w",
|
|
@@ -41,5 +46,17 @@
|
|
|
41
46
|
"prettier": "^3.1.0",
|
|
42
47
|
"typescript": "^5.2.2",
|
|
43
48
|
"rimraf": "^5.0.5"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/Infomaximum/package-cli.git"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"widgets cli",
|
|
56
|
+
"widgets builder",
|
|
57
|
+
"cli"
|
|
58
|
+
],
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/Infomaximum/package-cli/issues"
|
|
44
61
|
}
|
|
45
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infomaximum/package-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"main": "dist/bin/cli.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"bin": {
|
|
@@ -46,5 +46,17 @@
|
|
|
46
46
|
"prettier": "^3.1.0",
|
|
47
47
|
"typescript": "^5.2.2",
|
|
48
48
|
"rimraf": "^5.0.5"
|
|
49
|
+
},
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/Infomaximum/package-cli.git"
|
|
53
|
+
},
|
|
54
|
+
"keywords": [
|
|
55
|
+
"widgets cli",
|
|
56
|
+
"widgets builder",
|
|
57
|
+
"cli"
|
|
58
|
+
],
|
|
59
|
+
"bugs": {
|
|
60
|
+
"url": "https://github.com/Infomaximum/package-cli/issues"
|
|
49
61
|
}
|
|
50
62
|
}
|