@webos-tools/cli 3.0.1 → 3.0.2
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/files/conf/config.json +6 -5
- package/files/conf/sdk.json +1 -1
- package/files/conf/template.json +20 -30
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
package/files/conf/config.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
|
-
"profile": "
|
|
2
|
+
"profile": "tv",
|
|
3
|
+
"config": "tv_sdk",
|
|
3
4
|
"defaultAppInfo": {
|
|
4
|
-
"id": "com.
|
|
5
|
+
"id": "com.domain.app",
|
|
5
6
|
"type": "web",
|
|
6
7
|
"title": "new app",
|
|
7
|
-
"version": "
|
|
8
|
+
"version": "0.0.1",
|
|
8
9
|
"main": {
|
|
9
10
|
"web": "index.html",
|
|
10
11
|
"native": "executable"
|
|
@@ -16,6 +17,6 @@
|
|
|
16
17
|
"changeTempDir": true,
|
|
17
18
|
"removeIpkAfterInst": true
|
|
18
19
|
},
|
|
19
|
-
"dataDir": ".webos/
|
|
20
|
-
"
|
|
20
|
+
"dataDir": ".webos/tv",
|
|
21
|
+
"simulatorConfig": "simulator-config.json"
|
|
21
22
|
}
|
package/files/conf/sdk.json
CHANGED
package/files/conf/template.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"basic": {
|
|
3
3
|
"type": "webapp",
|
|
4
|
-
"path": "$cli-root/files/templates/
|
|
5
|
-
"description": "web app for webOS",
|
|
4
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/bootplate-web",
|
|
5
|
+
"description": "basic web app for webOS TV",
|
|
6
6
|
"metadata": {
|
|
7
7
|
"id": "webappinfo"
|
|
8
8
|
},
|
|
9
9
|
"deps": [
|
|
10
|
-
"
|
|
10
|
+
"webicon"
|
|
11
11
|
],
|
|
12
12
|
"default": true
|
|
13
13
|
},
|
|
14
14
|
"hosted_webapp": {
|
|
15
15
|
"type": "webapp",
|
|
16
|
-
"path": "$cli-root/files/templates/
|
|
17
|
-
"description": "hosted web app for webOS",
|
|
16
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/hosted-webapp",
|
|
17
|
+
"description": "hosted web app for webOS TV",
|
|
18
18
|
"metadata": {
|
|
19
19
|
"id": "webappinfo"
|
|
20
20
|
},
|
|
21
21
|
"deps": [
|
|
22
|
-
"
|
|
22
|
+
"webicon"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"webappinfo": {
|
|
26
26
|
"type": "webappinfo",
|
|
27
|
-
"path": "$cli-root/files/templates/
|
|
27
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/appinfo/appinfo.json",
|
|
28
28
|
"description": "appinfo.json for web app"
|
|
29
29
|
},
|
|
30
30
|
"js_service": {
|
|
31
31
|
"type": "jsservice",
|
|
32
|
-
"path": "$cli-root/files/templates/
|
|
33
|
-
"description": "js service for webOS",
|
|
32
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/js-service",
|
|
33
|
+
"description": "js service for webOS TV",
|
|
34
34
|
"metadata": {
|
|
35
35
|
"id": "jsserviceinfo"
|
|
36
36
|
}
|
|
@@ -38,30 +38,20 @@
|
|
|
38
38
|
"jsserviceinfo": {
|
|
39
39
|
"type": "jsserviceinfo",
|
|
40
40
|
"path": [
|
|
41
|
-
"$cli-root/files/templates/
|
|
42
|
-
"$cli-root/files/templates/
|
|
41
|
+
"$cli-root/files/templates/tv-sdk-templates/serviceinfo/services.json",
|
|
42
|
+
"$cli-root/files/templates/tv-sdk-templates/serviceinfo/package.json"
|
|
43
43
|
],
|
|
44
44
|
"description": "services.json, package.json for JS service"
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"webicon": {
|
|
47
47
|
"type": "icon",
|
|
48
|
-
"path": "$cli-root/files/templates/
|
|
49
|
-
"description": "app icon files [80x80]"
|
|
48
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/webicon",
|
|
49
|
+
"description": "web app icon files [80x80, 130x130]",
|
|
50
|
+
"hide": true
|
|
50
51
|
},
|
|
51
|
-
"
|
|
52
|
-
"type": "
|
|
53
|
-
"path": "$cli-root/files/templates/
|
|
54
|
-
"description": "
|
|
55
|
-
"metadata": {
|
|
56
|
-
"id": "qmlappinfo"
|
|
57
|
-
},
|
|
58
|
-
"deps": [
|
|
59
|
-
"icon"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"qmlappinfo": {
|
|
63
|
-
"type": "qmlappinfo",
|
|
64
|
-
"path": "$cli-root/files/templates/ose-sdk-templates/qmlappinfo/appinfo.json",
|
|
65
|
-
"description": "appinfo.json for QML app"
|
|
52
|
+
"packageinfo": {
|
|
53
|
+
"type": "packageinfo",
|
|
54
|
+
"path": "$cli-root/files/templates/tv-sdk-templates/packageinfo/packageinfo.json",
|
|
55
|
+
"description": "packageinfo.json for webOS package"
|
|
66
56
|
}
|
|
67
57
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webos-tools/cli",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@webos-tools/cli",
|
|
9
|
-
"version": "3.0.
|
|
9
|
+
"version": "3.0.2",
|
|
10
10
|
"license": "Apache-2.0",
|
|
11
11
|
"os": [
|
|
12
12
|
"darwin",
|