now includes smartanalytics

This commit is contained in:
2017-04-21 13:44:18 +02:00
parent 32f5ead4f4
commit b6a6aac8e5
8 changed files with 54 additions and 357 deletions

View File

@ -5,6 +5,21 @@ import * as paths from './npmdocker.paths'
import * as ConfigModule from './npmdocker.config'
import * as DockerModule from './npmdocker.docker'
/**
* smartanalytics
* this data is fully anonymized (no Ips or any other personal information is tracked).
* It just keeps track which of our tools are really used...
* ... so we know where to spend our limited resources for improving them.
* Since yarn is out and there is heavy caching going on,
* pure download stats are just not reliable enough for us anymore
* Feel free to dig into the smartanalytics package, if you are interested in how it works.
* It is just an https call to Google Analytics.
* Our privacy policy can be found here: https://lossless.gmbh/privacy.html
*/
let npmdockerAnalytics = new plugins.smartanalytics.AnalyticsAccount('npmdocker','UA-64087619-5')
npmdockerAnalytics.sendEvent('npm','exec','git.zone')
let npmdockerCli = new plugins.smartcli.Smartcli()
export let run = () => {

View File

@ -5,6 +5,7 @@ import * as path from 'path'
import * as projectinfo from 'projectinfo'
import * as q from 'smartq'
import * as qenv from 'qenv'
import * as smartanalytics from 'smartanalytics'
import * as smartcli from 'smartcli'
import * as smartfile from 'smartfile'
import * as smartshell from 'smartshell'
@ -17,6 +18,7 @@ export {
projectinfo,
q,
qenv,
smartanalytics,
smartcli,
smartfile,
smartshell,