@webos-tools/cli 3.0.0 → 3.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/files/conf/config.json +5 -6
- package/files/conf/sdk.json +1 -1
- package/files/conf/template.json +30 -20
- package/npm-shrinkwrap.json +9033 -2
- package/package.json +1 -1
package/files/conf/config.json
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
{
|
|
2
|
-
"profile": "
|
|
3
|
-
"config": "tv_sdk",
|
|
2
|
+
"profile": "ose",
|
|
4
3
|
"defaultAppInfo": {
|
|
5
|
-
"id": "com.
|
|
4
|
+
"id": "com.yourdomain.app",
|
|
6
5
|
"type": "web",
|
|
7
6
|
"title": "new app",
|
|
8
|
-
"version": "0.0
|
|
7
|
+
"version": "1.0.0",
|
|
9
8
|
"main": {
|
|
10
9
|
"web": "index.html",
|
|
11
10
|
"native": "executable"
|
|
@@ -17,6 +16,6 @@
|
|
|
17
16
|
"changeTempDir": true,
|
|
18
17
|
"removeIpkAfterInst": true
|
|
19
18
|
},
|
|
20
|
-
"dataDir": ".webos/
|
|
21
|
-
"
|
|
19
|
+
"dataDir": ".webos/ose",
|
|
20
|
+
"logDaemon": "journald"
|
|
22
21
|
}
|
package/files/conf/sdk.json
CHANGED
package/files/conf/template.json
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"webapp": {
|
|
3
3
|
"type": "webapp",
|
|
4
|
-
"path": "$cli-root/files/templates/
|
|
5
|
-
"description": "
|
|
4
|
+
"path": "$cli-root/files/templates/ose-sdk-templates/bootplate-web",
|
|
5
|
+
"description": "web app for webOS",
|
|
6
6
|
"metadata": {
|
|
7
7
|
"id": "webappinfo"
|
|
8
8
|
},
|
|
9
9
|
"deps": [
|
|
10
|
-
"
|
|
10
|
+
"icon"
|
|
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/ose-sdk-templates/hosted-webapp",
|
|
17
|
+
"description": "hosted web app for webOS",
|
|
18
18
|
"metadata": {
|
|
19
19
|
"id": "webappinfo"
|
|
20
20
|
},
|
|
21
21
|
"deps": [
|
|
22
|
-
"
|
|
22
|
+
"icon"
|
|
23
23
|
]
|
|
24
24
|
},
|
|
25
25
|
"webappinfo": {
|
|
26
26
|
"type": "webappinfo",
|
|
27
|
-
"path": "$cli-root/files/templates/
|
|
27
|
+
"path": "$cli-root/files/templates/ose-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/ose-sdk-templates/js-service",
|
|
33
|
+
"description": "js service for webOS",
|
|
34
34
|
"metadata": {
|
|
35
35
|
"id": "jsserviceinfo"
|
|
36
36
|
}
|
|
@@ -38,20 +38,30 @@
|
|
|
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/ose-sdk-templates/serviceinfo/services.json",
|
|
42
|
+
"$cli-root/files/templates/ose-sdk-templates/serviceinfo/package.json"
|
|
43
43
|
],
|
|
44
44
|
"description": "services.json, package.json for JS service"
|
|
45
45
|
},
|
|
46
|
-
"
|
|
46
|
+
"icon": {
|
|
47
47
|
"type": "icon",
|
|
48
|
-
"path": "$cli-root/files/templates/
|
|
49
|
-
"description": "
|
|
50
|
-
"hide": true
|
|
48
|
+
"path": "$cli-root/files/templates/ose-sdk-templates/icon",
|
|
49
|
+
"description": "app icon files [80x80]"
|
|
51
50
|
},
|
|
52
|
-
"
|
|
53
|
-
"type": "
|
|
54
|
-
"path": "$cli-root/files/templates/
|
|
55
|
-
"description": "
|
|
51
|
+
"qmlapp": {
|
|
52
|
+
"type": "qmlapp",
|
|
53
|
+
"path": "$cli-root/files/templates/ose-sdk-templates/qml-app",
|
|
54
|
+
"description": "QML app for webOS",
|
|
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"
|
|
56
66
|
}
|
|
57
67
|
}
|