From 46b1a7385c490cc3083389eb2f76eba23393a961 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 17 Sep 2018 17:24:17 +0200 Subject: [PATCH] docs: add @beta tag to docs until v5 release --- package-lock.json | 2 +- scripts/docs/dgeni/templates/common.template.html | 2 +- scripts/docs/dgeni/templates/readme.template.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index c74462b49..815ca306d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5664,7 +5664,7 @@ }, "chalk": { "version": "2.3.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", + "resolved": "http://registry.npmjs.org/chalk/-/chalk-2.3.1.tgz", "integrity": "sha512-QUU4ofkDoMIVO7hcx1iPTISs88wsO8jA92RQIm4JAwZvFGGAV2hSAA1NX7oVj2Ej2Q6NDTcRDjPTFrMCRZoJ6g==", "dev": true, "requires": { diff --git a/scripts/docs/dgeni/templates/common.template.html b/scripts/docs/dgeni/templates/common.template.html index 475c43d10..d0a516bf5 100644 --- a/scripts/docs/dgeni/templates/common.template.html +++ b/scripts/docs/dgeni/templates/common.template.html @@ -187,7 +187,7 @@ docType: "<$ doc.docType $>"
  1. Install the Cordova and Ionic Native plugins:
    $ <@ if prop.install @><$ prop.install | replace('<', '<').replace('>', '>') $><@ else @>ionic cordova plugin add <$ prop.plugin $><@ endif @>
    -$ npm install --save @ionic-native/<$ doc.npmId $>
    +$ npm install @ionic-native/<$ doc.npmId $>@beta
     
  2. Add this plugin to your app's module
  3. diff --git a/scripts/docs/dgeni/templates/readme.template.md b/scripts/docs/dgeni/templates/readme.template.md index fb743f486..17c51db8b 100644 --- a/scripts/docs/dgeni/templates/readme.template.md +++ b/scripts/docs/dgeni/templates/readme.template.md @@ -17,7 +17,7 @@ ``` $ <@ if prop.install @><$ prop.install $><@ else @>ionic cordova plugin add <$ prop.plugin $><@ endif @> -$ npm install --save @ionic-native/<$ doc.npmId $> +$ npm install @ionic-native/<$ doc.npmId $>@beta ``` ## [Usage Documentation](https://ionicframework.com/docs/native/<$ doc.fileInfo.relativePath|replace('/home/ubuntu/ionic-native/', '')|replace('//','/')|replace('index.ts','')|replace('src/@ionic-native/plugins/','') $>)