Skip to content

Commit 1b6b65e

Browse files
author
guyplusplus
committed
set standard 'kibana' version
1 parent d2cd3aa commit 1b6b65e

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,16 +139,19 @@ I use [Microsoft Code](https://code.visualstudio.com/) to edit code and [Google
139139

140140
Simply add the plugin directory inside a `kibana` folder and zip the file. Filename format carries the Kibana version (i.e. 7.8.0) followed by the plugin version (i.e. 1.0.0). Do not include the `vis_type_custom_form_filter_accounts/target` directory in the zip file.
141141

142-
To change the Kibana version, just change the file `kbn_tp_custom_form_filter_accounts/package.json`, value `kibana.version`.
142+
First setup the Kibana version by updating the files:
143+
* `kbn_tp_custom_form_filter_accounts/package.json`, value `kibana.version`
144+
* `kbn_tp_custom_form_filter_accounts/kibana.json`, value `version`
143145

144146
The zip structure is
145147

146148
```
147149
vis_type_custom_form_filter_accounts_7.8.0_1.0.0.zip
148150
kibana/
149151
vis_type_custom_form_filter_accounts/
150-
package.json
151152
config.js
153+
kibana.json
154+
package.json
152155
public/
153156
...
154157
server/
@@ -177,6 +180,7 @@ $
177180
## Project TODO List
178181

179182
- [ ] Create form content (i.e. dropdown, slider) with actual data
183+
- [ ] Sample code to modify time filter
180184
- [ ] Create a script to replace 'accounts' in filenames and file content
181185
- [ ] Add internationalization example
182186
- [ ] Create test script

vis_type_custom_form_filter_accounts/kibana.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "visTypeCustomFormFilterAccounts",
3-
"version": "8.0.0",
3+
"version": "kibana",
44
"ui": true,
55
"server": true,
66
"requiredPlugins": ["expressions", "visualizations", "data"]

vis_type_custom_form_filter_accounts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "vis_type_custom_form_filter_accounts",
33
"version": "1.0.0",
44
"kibana": {
5-
"version": "8.0.0",
5+
"version": "kibana",
66
"templateVersion": "1.0.0"
77
},
88
"license": "Apache-2.0"

0 commit comments

Comments
 (0)