@solana-mobile/dapp-store-cli 0.1.9 → 0.3.0
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 +18 -53
- package/lib/esm/commands/create/app.js +2 -2
- package/lib/esm/commands/create/app.js.map +1 -1
- package/lib/esm/commands/create/publisher.js +2 -2
- package/lib/esm/commands/create/publisher.js.map +1 -1
- package/lib/esm/commands/create/release.js +2 -2
- package/lib/esm/commands/create/release.js.map +1 -1
- package/lib/esm/commands/publish/remove.js +6 -2
- package/lib/esm/commands/publish/remove.js.map +1 -1
- package/lib/esm/commands/publish/submit.js +8 -4
- package/lib/esm/commands/publish/submit.js.map +1 -1
- package/lib/esm/commands/publish/support.js +6 -2
- package/lib/esm/commands/publish/support.js.map +1 -1
- package/lib/esm/commands/publish/update.js +6 -2
- package/lib/esm/commands/publish/update.js.map +1 -1
- package/lib/esm/commands/scaffolding/index.js +2 -0
- package/lib/esm/commands/scaffolding/index.js.map +1 -0
- package/lib/esm/commands/scaffolding/init.js +15 -0
- package/lib/esm/commands/scaffolding/init.js.map +1 -0
- package/lib/esm/commands/validate.js +6 -15
- package/lib/esm/commands/validate.js.map +1 -1
- package/lib/esm/config/index.js +1 -2
- package/lib/esm/config/index.js.map +1 -1
- package/lib/esm/generated/config_obj.json +1 -0
- package/lib/esm/generated/config_schema.json +1 -0
- package/lib/esm/index.js +38 -17
- package/lib/esm/index.js.map +1 -1
- package/lib/esm/package.json +6 -3
- package/lib/esm/utils.js +63 -23
- package/lib/esm/utils.js.map +1 -1
- package/lib/types/commands/create/app.d.ts +1 -1
- package/lib/types/commands/create/app.d.ts.map +1 -1
- package/lib/types/commands/create/release.d.ts +1 -1
- package/lib/types/commands/create/release.d.ts.map +1 -1
- package/lib/types/commands/publish/remove.d.ts +1 -1
- package/lib/types/commands/publish/remove.d.ts.map +1 -1
- package/lib/types/commands/publish/submit.d.ts +1 -1
- package/lib/types/commands/publish/submit.d.ts.map +1 -1
- package/lib/types/commands/publish/support.d.ts +1 -1
- package/lib/types/commands/publish/support.d.ts.map +1 -1
- package/lib/types/commands/publish/update.d.ts +1 -1
- package/lib/types/commands/publish/update.d.ts.map +1 -1
- package/lib/types/commands/scaffolding/index.d.ts +2 -0
- package/lib/types/commands/scaffolding/index.d.ts.map +1 -0
- package/lib/types/commands/scaffolding/init.d.ts +2 -0
- package/lib/types/commands/scaffolding/init.d.ts.map +1 -0
- package/lib/types/commands/validate.d.ts.map +1 -1
- package/lib/types/config/index.d.ts.map +1 -1
- package/lib/types/upload/CachedStorageDriver.d.ts +3 -3
- package/lib/types/upload/CachedStorageDriver.d.ts.map +1 -1
- package/lib/types/utils.d.ts +8 -3
- package/lib/types/utils.d.ts.map +1 -1
- package/package.json +6 -3
- package/src/commands/create/app.ts +2 -2
- package/src/commands/create/publisher.ts +2 -2
- package/src/commands/create/release.ts +2 -2
- package/src/commands/publish/remove.ts +9 -2
- package/src/commands/publish/submit.ts +13 -5
- package/src/commands/publish/support.ts +9 -2
- package/src/commands/publish/update.ts +9 -2
- package/src/commands/scaffolding/index.ts +1 -0
- package/src/commands/scaffolding/init.ts +19 -0
- package/src/commands/validate.ts +7 -14
- package/src/config/index.ts +1 -2
- package/src/generated/config_obj.json +1 -0
- package/src/generated/config_schema.json +1 -0
- package/src/index.ts +54 -19
- package/src/prebuild_schema/publishing_source.yaml +46 -0
- package/src/prebuild_schema/schemagen.js +27 -0
- package/src/utils.ts +80 -28
- package/lib/esm/config/schema.json +0 -195
- package/src/config/schema.json +0 -195
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"publisher": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"name": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"address": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"website": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"email": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"media": {
|
|
20
|
-
"type": "array",
|
|
21
|
-
"items": [
|
|
22
|
-
{
|
|
23
|
-
"type": "object",
|
|
24
|
-
"properties": {
|
|
25
|
-
"purpose": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"uri": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": ["purpose", "uri"]
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"required": ["name", "website", "email", "media"]
|
|
38
|
-
},
|
|
39
|
-
"app": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"properties": {
|
|
42
|
-
"name": {
|
|
43
|
-
"type": "string"
|
|
44
|
-
},
|
|
45
|
-
"address": {
|
|
46
|
-
"type": "string"
|
|
47
|
-
},
|
|
48
|
-
"android_package": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
},
|
|
51
|
-
"urls": {
|
|
52
|
-
"type": "object",
|
|
53
|
-
"properties": {
|
|
54
|
-
"license_url": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"copyright_url": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"privacy_policy_url": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"website": {
|
|
64
|
-
"type": "string"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"required": [
|
|
68
|
-
"license_url",
|
|
69
|
-
"copyright_url",
|
|
70
|
-
"privacy_policy_url",
|
|
71
|
-
"website"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"media": {
|
|
75
|
-
"type": "array",
|
|
76
|
-
"items": [
|
|
77
|
-
{
|
|
78
|
-
"type": "object",
|
|
79
|
-
"properties": {
|
|
80
|
-
"purpose": {
|
|
81
|
-
"type": "string"
|
|
82
|
-
},
|
|
83
|
-
"uri": {
|
|
84
|
-
"type": "string"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": ["purpose", "uri"]
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"required": ["name", "android_package", "urls", "media"]
|
|
93
|
-
},
|
|
94
|
-
"release": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"properties": {
|
|
97
|
-
"address": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"media": {
|
|
101
|
-
"type": "array",
|
|
102
|
-
"items": [
|
|
103
|
-
{
|
|
104
|
-
"type": "object",
|
|
105
|
-
"properties": {
|
|
106
|
-
"purpose": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"uri": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"required": ["purpose", "uri"]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"files": {
|
|
118
|
-
"type": "array",
|
|
119
|
-
"minItems": 1,
|
|
120
|
-
"contains": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"properties": {
|
|
123
|
-
"purpose": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"const": "install"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"items": [
|
|
130
|
-
{
|
|
131
|
-
"type": "object",
|
|
132
|
-
"properties": {
|
|
133
|
-
"purpose": {
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"uri": {
|
|
137
|
-
"type": "string"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"required": ["purpose", "uri"]
|
|
141
|
-
}
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
"catalog": {
|
|
145
|
-
"type": "object",
|
|
146
|
-
"patternProperties": {
|
|
147
|
-
"^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{2,8})*$": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"properties": {
|
|
150
|
-
"name": {
|
|
151
|
-
"type": "string"
|
|
152
|
-
},
|
|
153
|
-
"long_description": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"new_in_version": {
|
|
157
|
-
"type": "string"
|
|
158
|
-
},
|
|
159
|
-
"saga_features": {
|
|
160
|
-
"type": "string"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"required": [
|
|
164
|
-
"name",
|
|
165
|
-
"long_description",
|
|
166
|
-
"new_in_version",
|
|
167
|
-
"saga_features"
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"additionalProperties": false
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"required": ["media", "files", "catalog"]
|
|
175
|
-
},
|
|
176
|
-
"solana_mobile_dapp_publisher_portal": {
|
|
177
|
-
"type": "object",
|
|
178
|
-
"properties": {
|
|
179
|
-
"google_store_package": {
|
|
180
|
-
"type": "string"
|
|
181
|
-
},
|
|
182
|
-
"testing_instructions": {
|
|
183
|
-
"type": "string"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"required": ["testing_instructions"]
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [
|
|
190
|
-
"publisher",
|
|
191
|
-
"app",
|
|
192
|
-
"release",
|
|
193
|
-
"solana_mobile_dapp_publisher_portal"
|
|
194
|
-
]
|
|
195
|
-
}
|
package/src/config/schema.json
DELETED
|
@@ -1,195 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"type": "object",
|
|
3
|
-
"properties": {
|
|
4
|
-
"publisher": {
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"name": {
|
|
8
|
-
"type": "string"
|
|
9
|
-
},
|
|
10
|
-
"address": {
|
|
11
|
-
"type": "string"
|
|
12
|
-
},
|
|
13
|
-
"website": {
|
|
14
|
-
"type": "string"
|
|
15
|
-
},
|
|
16
|
-
"email": {
|
|
17
|
-
"type": "string"
|
|
18
|
-
},
|
|
19
|
-
"media": {
|
|
20
|
-
"type": "array",
|
|
21
|
-
"items": [
|
|
22
|
-
{
|
|
23
|
-
"type": "object",
|
|
24
|
-
"properties": {
|
|
25
|
-
"purpose": {
|
|
26
|
-
"type": "string"
|
|
27
|
-
},
|
|
28
|
-
"uri": {
|
|
29
|
-
"type": "string"
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"required": ["purpose", "uri"]
|
|
33
|
-
}
|
|
34
|
-
]
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"required": ["name", "website", "email", "media"]
|
|
38
|
-
},
|
|
39
|
-
"app": {
|
|
40
|
-
"type": "object",
|
|
41
|
-
"properties": {
|
|
42
|
-
"name": {
|
|
43
|
-
"type": "string"
|
|
44
|
-
},
|
|
45
|
-
"address": {
|
|
46
|
-
"type": "string"
|
|
47
|
-
},
|
|
48
|
-
"android_package": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
},
|
|
51
|
-
"urls": {
|
|
52
|
-
"type": "object",
|
|
53
|
-
"properties": {
|
|
54
|
-
"license_url": {
|
|
55
|
-
"type": "string"
|
|
56
|
-
},
|
|
57
|
-
"copyright_url": {
|
|
58
|
-
"type": "string"
|
|
59
|
-
},
|
|
60
|
-
"privacy_policy_url": {
|
|
61
|
-
"type": "string"
|
|
62
|
-
},
|
|
63
|
-
"website": {
|
|
64
|
-
"type": "string"
|
|
65
|
-
}
|
|
66
|
-
},
|
|
67
|
-
"required": [
|
|
68
|
-
"license_url",
|
|
69
|
-
"copyright_url",
|
|
70
|
-
"privacy_policy_url",
|
|
71
|
-
"website"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"media": {
|
|
75
|
-
"type": "array",
|
|
76
|
-
"items": [
|
|
77
|
-
{
|
|
78
|
-
"type": "object",
|
|
79
|
-
"properties": {
|
|
80
|
-
"purpose": {
|
|
81
|
-
"type": "string"
|
|
82
|
-
},
|
|
83
|
-
"uri": {
|
|
84
|
-
"type": "string"
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": ["purpose", "uri"]
|
|
88
|
-
}
|
|
89
|
-
]
|
|
90
|
-
}
|
|
91
|
-
},
|
|
92
|
-
"required": ["name", "android_package", "urls", "media"]
|
|
93
|
-
},
|
|
94
|
-
"release": {
|
|
95
|
-
"type": "object",
|
|
96
|
-
"properties": {
|
|
97
|
-
"address": {
|
|
98
|
-
"type": "string"
|
|
99
|
-
},
|
|
100
|
-
"media": {
|
|
101
|
-
"type": "array",
|
|
102
|
-
"items": [
|
|
103
|
-
{
|
|
104
|
-
"type": "object",
|
|
105
|
-
"properties": {
|
|
106
|
-
"purpose": {
|
|
107
|
-
"type": "string"
|
|
108
|
-
},
|
|
109
|
-
"uri": {
|
|
110
|
-
"type": "string"
|
|
111
|
-
}
|
|
112
|
-
},
|
|
113
|
-
"required": ["purpose", "uri"]
|
|
114
|
-
}
|
|
115
|
-
]
|
|
116
|
-
},
|
|
117
|
-
"files": {
|
|
118
|
-
"type": "array",
|
|
119
|
-
"minItems": 1,
|
|
120
|
-
"contains": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"properties": {
|
|
123
|
-
"purpose": {
|
|
124
|
-
"type": "string",
|
|
125
|
-
"const": "install"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
},
|
|
129
|
-
"items": [
|
|
130
|
-
{
|
|
131
|
-
"type": "object",
|
|
132
|
-
"properties": {
|
|
133
|
-
"purpose": {
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"uri": {
|
|
137
|
-
"type": "string"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"required": ["purpose", "uri"]
|
|
141
|
-
}
|
|
142
|
-
]
|
|
143
|
-
},
|
|
144
|
-
"catalog": {
|
|
145
|
-
"type": "object",
|
|
146
|
-
"patternProperties": {
|
|
147
|
-
"^[a-zA-Z]{2,8}(-[a-zA-Z0-9]{2,8})*$": {
|
|
148
|
-
"type": "object",
|
|
149
|
-
"properties": {
|
|
150
|
-
"name": {
|
|
151
|
-
"type": "string"
|
|
152
|
-
},
|
|
153
|
-
"long_description": {
|
|
154
|
-
"type": "string"
|
|
155
|
-
},
|
|
156
|
-
"new_in_version": {
|
|
157
|
-
"type": "string"
|
|
158
|
-
},
|
|
159
|
-
"saga_features": {
|
|
160
|
-
"type": "string"
|
|
161
|
-
}
|
|
162
|
-
},
|
|
163
|
-
"required": [
|
|
164
|
-
"name",
|
|
165
|
-
"long_description",
|
|
166
|
-
"new_in_version",
|
|
167
|
-
"saga_features"
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"additionalProperties": false
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
"required": ["media", "files", "catalog"]
|
|
175
|
-
},
|
|
176
|
-
"solana_mobile_dapp_publisher_portal": {
|
|
177
|
-
"type": "object",
|
|
178
|
-
"properties": {
|
|
179
|
-
"google_store_package": {
|
|
180
|
-
"type": "string"
|
|
181
|
-
},
|
|
182
|
-
"testing_instructions": {
|
|
183
|
-
"type": "string"
|
|
184
|
-
}
|
|
185
|
-
},
|
|
186
|
-
"required": ["testing_instructions"]
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"required": [
|
|
190
|
-
"publisher",
|
|
191
|
-
"app",
|
|
192
|
-
"release",
|
|
193
|
-
"solana_mobile_dapp_publisher_portal"
|
|
194
|
-
]
|
|
195
|
-
}
|