@webos-tools/cli 3.1.1 → 3.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +173 -157
  2. package/LICENSES/342/200/216/LicenseRef-3rd_party_licenses.txt +1355 -0
  3. package/README.md +21 -19
  4. package/bin/ares-config.js +6 -3
  5. package/bin/ares-device.js +2 -2
  6. package/bin/ares-log.js +6 -2
  7. package/bin/ares-pull.js +1 -1
  8. package/bin/ares-push.js +1 -1
  9. package/bin/ares-setup-device.js +573 -528
  10. package/bin/ares-shell.js +1 -1
  11. package/bin/ares.js +1 -1
  12. package/files/conf/ares.json +5 -5
  13. package/files/conf/novacom-devices.json +18 -1
  14. package/files/conf-base/env/sdk-apollo.json +8 -0
  15. package/files/conf-base/profile/config-apollo.json +29 -0
  16. package/files/conf-base/profile/config-ose.json +1 -1
  17. package/files/conf-base/template-conf/apollo-sdk-templates.json +56 -0
  18. package/files/help/ares-config.help +6 -1
  19. package/files/help/ares-device.help +15 -0
  20. package/files/help/ares-generate.help +27 -1
  21. package/files/help/ares-inspect.help +6 -0
  22. package/files/help/ares-install.help +5 -0
  23. package/files/help/ares-launch.help +5 -0
  24. package/files/help/ares-server.help +5 -0
  25. package/files/help/ares-setup-device.help +40 -0
  26. package/files/help/ares.help +5 -0
  27. package/files/schema/NovacomDevices.schema +2 -1
  28. package/files/templates/apollo-sdk-templates/appinfo/appinfo.json +10 -0
  29. package/files/templates/apollo-sdk-templates/bootplate-web/index.html +88 -0
  30. package/files/templates/apollo-sdk-templates/hosted-webapp/index.html +14 -0
  31. package/files/templates/apollo-sdk-templates/icon/icon.png +0 -0
  32. package/files/templates/apollo-sdk-templates/js-service/helloclient.js +31 -0
  33. package/files/templates/apollo-sdk-templates/js-service/helloworld_webos_service.js +188 -0
  34. package/files/templates/apollo-sdk-templates/native-service/CMakeLists.txt +72 -0
  35. package/files/templates/apollo-sdk-templates/native-service/services.json +11 -0
  36. package/files/templates/apollo-sdk-templates/native-service/src/main.c +144 -0
  37. package/files/templates/apollo-sdk-templates/serviceinfo/package.json +11 -0
  38. package/files/templates/apollo-sdk-templates/serviceinfo/services.json +8 -0
  39. package/lib/base/novacom.js +1 -1
  40. package/lib/base/setup-device.js +338 -335
  41. package/lib/device.js +1 -1
  42. package/lib/generator.js +408 -377
  43. package/lib/package.js +3 -1
  44. package/lib/shell.js +1 -1
  45. package/npm-shrinkwrap.json +9242 -9242
  46. package/package.json +100 -100
  47. package/sbom-info.yaml +1758 -0
  48. package/spec/jsSpecs/ares-config.spec.js +10 -0
  49. package/spec/jsSpecs/ares-generate.spec.js +4 -4
  50. package/spec/jsSpecs/ares-log.spec.js +1 -1
  51. package/spec/test_data/ares-generate.json +18 -1
  52. package/spec/test_data/ares.json +17 -0
  53. package/webos-tools-cli-3.1.3.tgz +0 -0
package/package.json CHANGED
@@ -1,101 +1,101 @@
1
- {
2
- "name": "@webos-tools/cli",
3
- "version": "3.1.1",
4
- "description": "Command Line Interface for development webOS application and service",
5
- "main": "APIs.js",
6
- "scripts": {
7
- "postinstall": "node scripts/postinstall.js"
8
- },
9
- "author": "ye.kim",
10
- "repository": {
11
- "type": "git",
12
- "url": "https://github.com/webos-tools/cli.git"
13
- },
14
- "license": "Apache-2.0",
15
- "bin": {
16
- "ares": "bin/ares.js",
17
- "ares-config": "bin/ares-config.js",
18
- "ares-device": "bin/ares-device.js",
19
- "ares-device-info": "bin/ares-device-info.js",
20
- "ares-generate": "bin/ares-generate.js",
21
- "ares-inspect": "bin/ares-inspect.js",
22
- "ares-install": "bin/ares-install.js",
23
- "ares-launch": "bin/ares-launch.js",
24
- "ares-log": "bin/ares-log.js",
25
- "ares-novacom": "bin/ares-novacom.js",
26
- "ares-package": "bin/ares-package.js",
27
- "ares-push": "bin/ares-push.js",
28
- "ares-pull": "bin/ares-pull.js",
29
- "ares-server": "bin/ares-server.js",
30
- "ares-setup-device": "bin/ares-setup-device.js",
31
- "ares-shell": "bin/ares-shell.js"
32
- },
33
- "engines": {
34
- "node": ">=14.15.1"
35
- },
36
- "engineStrict": true,
37
- "os": [
38
- "darwin",
39
- "linux",
40
- "win32"
41
- ],
42
- "dependencies": {
43
- "ar-async": "0.1.4",
44
- "async": "3.2.5",
45
- "bluebird": "3.7.2",
46
- "body-parser": "1.19.0",
47
- "chalk": "1.1.3",
48
- "chardet": "0.8.0",
49
- "chokidar": "3.5.2",
50
- "combined-stream": "1.0.8",
51
- "csv-writer": "1.6.0",
52
- "decompress": "4.2.1",
53
- "easy-table": "1.1.1",
54
- "elfy": "1.0.0",
55
- "encoding": "0.1.13",
56
- "express": "4.17.1",
57
- "extract-zip": "1.7.0",
58
- "fs-extra": "8.1.0",
59
- "fstream": "1.0.12",
60
- "graceful-fs": "4.2.4",
61
- "inherits": "1.0.2",
62
- "inquirer": "7.0.0",
63
- "jsonschema": "1.2.6",
64
- "mkdirp": "0.5.5",
65
- "nopt": "2.1.2",
66
- "npmlog": "4.1.2",
67
- "ora": "5.4.0",
68
- "request": "2.88.2",
69
- "rimraf": "3.0.2",
70
- "semver": "7.3.2",
71
- "shelljs": "0.8.5",
72
- "sprintf-js": "1.1.2",
73
- "ssdp-js": "1.0.1",
74
- "ssh2": "1.15.0",
75
- "stream-buffers": "3.0.2",
76
- "strip-bom": "1.0.0",
77
- "tar": "6.2.0",
78
- "temp": "0.9.1",
79
- "terser": "4.8.0"
80
- },
81
- "devDependencies": {
82
- "eslint": "6.8.0",
83
- "eslint-plugin-import": "2.22.0",
84
- "jasmine": "3.8.0",
85
- "jasmine-pretty-html-reporter-jasmine3.8": "0.2.5",
86
- "jasmine-spec-reporter": "4.2.1"
87
- },
88
- "keywords": [
89
- "ares-cli",
90
- "webOS",
91
- "webOS OSE",
92
- "webOS TV",
93
- "webOS CLI",
94
- "webOS SDK",
95
- "LG"
96
- ],
97
- "bugs": {
98
- "url": "https://github.com/webos-tools/cli/issues"
99
- },
100
- "homepage": "https://github.com/webos-tools/cli#readme"
1
+ {
2
+ "name": "@webos-tools/cli",
3
+ "version": "3.1.3",
4
+ "description": "Command Line Interface for development webOS application and service",
5
+ "main": "APIs.js",
6
+ "scripts": {
7
+ "postinstall": "node scripts/postinstall.js"
8
+ },
9
+ "author": "ye.kim",
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "https://github.com/webos-tools/cli.git"
13
+ },
14
+ "license": "Apache-2.0",
15
+ "bin": {
16
+ "ares": "bin/ares.js",
17
+ "ares-config": "bin/ares-config.js",
18
+ "ares-device": "bin/ares-device.js",
19
+ "ares-device-info": "bin/ares-device-info.js",
20
+ "ares-generate": "bin/ares-generate.js",
21
+ "ares-inspect": "bin/ares-inspect.js",
22
+ "ares-install": "bin/ares-install.js",
23
+ "ares-launch": "bin/ares-launch.js",
24
+ "ares-log": "bin/ares-log.js",
25
+ "ares-novacom": "bin/ares-novacom.js",
26
+ "ares-package": "bin/ares-package.js",
27
+ "ares-push": "bin/ares-push.js",
28
+ "ares-pull": "bin/ares-pull.js",
29
+ "ares-server": "bin/ares-server.js",
30
+ "ares-setup-device": "bin/ares-setup-device.js",
31
+ "ares-shell": "bin/ares-shell.js"
32
+ },
33
+ "engines": {
34
+ "node": ">=14.15.1"
35
+ },
36
+ "engineStrict": true,
37
+ "os": [
38
+ "darwin",
39
+ "linux",
40
+ "win32"
41
+ ],
42
+ "dependencies": {
43
+ "ar-async": "0.1.4",
44
+ "async": "3.2.5",
45
+ "bluebird": "3.7.2",
46
+ "body-parser": "1.19.0",
47
+ "chalk": "1.1.3",
48
+ "chardet": "0.8.0",
49
+ "chokidar": "3.5.2",
50
+ "combined-stream": "1.0.8",
51
+ "csv-writer": "1.6.0",
52
+ "decompress": "4.2.1",
53
+ "easy-table": "1.1.1",
54
+ "elfy": "1.0.0",
55
+ "encoding": "0.1.13",
56
+ "express": "4.17.1",
57
+ "extract-zip": "1.7.0",
58
+ "fs-extra": "8.1.0",
59
+ "fstream": "1.0.12",
60
+ "graceful-fs": "4.2.4",
61
+ "inherits": "1.0.2",
62
+ "inquirer": "7.0.0",
63
+ "jsonschema": "1.2.6",
64
+ "mkdirp": "0.5.5",
65
+ "nopt": "2.1.2",
66
+ "npmlog": "4.1.2",
67
+ "ora": "5.4.0",
68
+ "request": "2.88.2",
69
+ "rimraf": "3.0.2",
70
+ "semver": "7.3.2",
71
+ "shelljs": "0.8.5",
72
+ "sprintf-js": "1.1.2",
73
+ "ssdp-js": "1.0.1",
74
+ "ssh2": "1.15.0",
75
+ "stream-buffers": "3.0.2",
76
+ "strip-bom": "1.0.0",
77
+ "tar": "6.2.0",
78
+ "temp": "0.9.1",
79
+ "terser": "4.8.0"
80
+ },
81
+ "devDependencies": {
82
+ "eslint": "6.8.0",
83
+ "eslint-plugin-import": "2.22.0",
84
+ "jasmine": "3.8.0",
85
+ "jasmine-pretty-html-reporter-jasmine3.8": "0.2.5",
86
+ "jasmine-spec-reporter": "4.2.1"
87
+ },
88
+ "keywords": [
89
+ "ares-cli",
90
+ "webOS",
91
+ "webOS OSE",
92
+ "webOS TV",
93
+ "webOS CLI",
94
+ "webOS SDK",
95
+ "LG"
96
+ ],
97
+ "bugs": {
98
+ "url": "https://github.com/webos-tools/cli/issues"
99
+ },
100
+ "homepage": "https://github.com/webos-tools/cli#readme"
101
101
  }