From ba6fa4170b3a8579ff3dd07ad11cc6246de4f6fa Mon Sep 17 00:00:00 2001 From: Matt Netkow Date: Wed, 10 Jun 2020 15:07:16 -0500 Subject: [PATCH] add premier slug --- scripts/docs-json/index.ts | 5 ++++- src/@ionic-native/plugins/android-permissions/index.ts | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/docs-json/index.ts b/scripts/docs-json/index.ts index decb3b6c7..ae0fab753 100644 --- a/scripts/docs-json/index.ts +++ b/scripts/docs-json/index.ts @@ -13,6 +13,7 @@ interface Plugin { cordovaPlugin: { name: string; }; + premierSlug: string; } const rootDir = resolve(__dirname, '../..'); @@ -49,6 +50,7 @@ function processPlugin(pluginModule): Plugin { const displayName = getTag(pluginClass, 'name'); const usage = getTag(pluginClass, 'usage'); const description = getTag(pluginClass, 'description'); + const premierSlug = getTag(pluginClass, 'premierSlug'); return { packageName, displayName, @@ -58,7 +60,8 @@ function processPlugin(pluginModule): Plugin { repo: decorator.repo, cordovaPlugin: { name: decorator.plugin - } + }, + premierSlug }; } diff --git a/src/@ionic-native/plugins/android-permissions/index.ts b/src/@ionic-native/plugins/android-permissions/index.ts index c6ef5cb72..c78aee27a 100644 --- a/src/@ionic-native/plugins/android-permissions/index.ts +++ b/src/@ionic-native/plugins/android-permissions/index.ts @@ -3,6 +3,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core'; /** * @name Android Permissions + * @premierSlug android-permissions * @description * This plugin is designed to support Android new permissions checking mechanism. *