lumia-plugin 0.3.9 → 0.4.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.
@@ -0,0 +1,4 @@
1
+ ---
2
+ ### Trigger Sample Alert
3
+ Use this action to fire the sample alert. You can override the message, username, color, and duration per action. The alert uses both dynamic and extraSettings so variations and templates have the same data.
4
+ ---
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "id": "showcase_plugin",
3
3
  "name": "Showcase Plugin",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "author": "Lumia Stream",
6
6
  "email": "",
7
7
  "website": "",
@@ -39,8 +39,8 @@
39
39
  "helperText": "Used when the action does not supply a duration."
40
40
  }
41
41
  ],
42
- "settings_tutorial": "---\n### Setup\n1) Enter a default message and color.\n2) Adjust the default duration if you want a longer or shorter alert.\n3) Click Save to store the defaults.\n---\n### What this plugin does\n- Stores the message, username, color, and duration in variables.\n- Uses those values when triggering the sample alert.\n---",
43
- "actions_tutorial": "---\n### Trigger Sample Alert\nUse this action to fire the sample alert. You can override the message, username, color, and duration per action. The alert uses both dynamic and extraSettings so variations and templates have the same data.\n---",
42
+ "settings_tutorial": "./settings_tutorial.md",
43
+ "actions_tutorial": "./actions_tutorial.md",
44
44
  "actions": [
45
45
  {
46
46
  "type": "trigger_alert",
@@ -127,8 +127,6 @@
127
127
  ]
128
128
  }
129
129
  ],
130
- "translations": {
131
- "en": "./translations/en.json"
132
- }
130
+ "translations": "./translations.json"
133
131
  }
134
132
  }
@@ -5,6 +5,6 @@
5
5
  "description": "Internal template illustrating settings, actions, variables, and alerts for Lumia Stream plugins.",
6
6
  "main": "main.js",
7
7
  "dependencies": {
8
- "@lumiastream/plugin": "^0.3.9"
8
+ "@lumiastream/plugin": "^0.4.0"
9
9
  }
10
10
  }
@@ -0,0 +1,10 @@
1
+ ---
2
+ ### Setup
3
+ 1) Enter a default message and color.
4
+ 2) Adjust the default duration if you want a longer or shorter alert.
5
+ 3) Click Save to store the defaults.
6
+ ---
7
+ ### What this plugin does
8
+ - Stores the message, username, color, and duration in variables.
9
+ - Uses those values when triggering the sample alert.
10
+ ---
@@ -0,0 +1,8 @@
1
+ {
2
+ "en": {
3
+ "message": "Stores the most recent message handled by the plugin.",
4
+ "username": "Stores the most recent username handled by the plugin.",
5
+ "color": "Tracks the color used by the latest sample alert.",
6
+ "duration": "Tracks the duration used by the latest sample alert."
7
+ }
8
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lumia-plugin",
3
- "version": "0.3.9",
3
+ "version": "0.4.0",
4
4
  "description": "Command-line tools for creating, building, and validating Lumia Stream plugins.",
5
5
  "bin": {
6
6
  "lumia-plugin": "scripts/cli.js"
@@ -24,7 +24,7 @@
24
24
  "author": "Lumia Stream",
25
25
  "license": "MIT",
26
26
  "dependencies": {
27
- "@lumiastream/plugin": "^0.3.9",
27
+ "@lumiastream/plugin": "^0.4.0",
28
28
  "jszip": "3.10.1"
29
29
  }
30
30
  }
@@ -1,10 +0,0 @@
1
- {
2
- "message": "Stores the most recent message handled by the plugin.",
3
- "showcase_plugin_message": "Stores the most recent message handled by the plugin.",
4
- "username": "Stores the most recent username handled by the plugin.",
5
- "showcase_plugin_username": "Stores the most recent username handled by the plugin.",
6
- "color": "Tracks the color used by the latest sample alert.",
7
- "showcase_plugin_color": "Tracks the color used by the latest sample alert.",
8
- "duration": "Tracks the duration used by the latest sample alert.",
9
- "showcase_plugin_duration": "Tracks the duration used by the latest sample alert."
10
- }