Skip to content

Commit 6505b1f

Browse files
committed
update ga-tracking
1 parent 8097a66 commit 6505b1f

3 files changed

Lines changed: 87 additions & 73 deletions

File tree

.vuepress/config.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,17 @@ module.exports = {
44
description: 'Enterprise message bus library for typescript',
55
dest: './docs',
66
base: '/bus/',
7-
ga: 'UA-139036417-1',
87
serviceWorker: true,
8+
head: [
9+
['script', { async: 'async', src: 'https://www.googletagmanager.com/gtag/js?id=UA-139036417-1' }],
10+
['script', {}, `
11+
window.dataLayer = window.dataLayer || [];
12+
function gtag(){dataLayer.push(arguments);}
13+
gtag('js', new Date());
14+
15+
gtag('config', 'UA-139036417-1');
16+
`]
17+
],
918
plugins: {
1019
'sitemap': {
1120
hostname: 'https://node-ts.github.io/bus'

package.json

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,6 @@
2727
"message bus",
2828
"node"
2929
],
30-
"dependencies": {
31-
"@node-ts/code-standards": "^0.0.10",
32-
"@types/jest": "^24.0.12",
33-
"inversify": "^5.0.1",
34-
"jest": "^24.7.1",
35-
"lerna": "^3.11.0",
36-
"reflect-metadata": "^0.1.13",
37-
"ts-jest": "^24.0.2",
38-
"tslib": "^1.9.3",
39-
"typescript": "^3.3.3",
40-
"vuepress-plugin-sitemap": "^2.1.2"
41-
},
4230
"jest": {
4331
"preset": "ts-jest",
4432
"setupFilesAfterEnv": [
@@ -55,6 +43,16 @@
5543
"packages/*"
5644
],
5745
"devDependencies": {
58-
"vuepress": "^1.0.0"
46+
"@node-ts/code-standards": "^0.0.10",
47+
"@types/jest": "^24.0.12",
48+
"inversify": "^5.0.1",
49+
"jest": "^24.7.1",
50+
"lerna": "^3.11.0",
51+
"reflect-metadata": "^0.1.13",
52+
"ts-jest": "^24.0.2",
53+
"tslib": "^1.9.3",
54+
"typescript": "^3.3.3",
55+
"vuepress": "^1.1.0",
56+
"vuepress-plugin-sitemap": "^2.1.2"
5957
}
6058
}

yarn.lock

Lines changed: 66 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1792,18 +1792,18 @@
17921792
source-map "~0.6.1"
17931793
vue-template-es2015-compiler "^1.9.0"
17941794

1795-
"@vuepress/core@^1.0.0":
1796-
version "1.0.0"
1797-
resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.0.0.tgz#6ae0d35d294b0c137ec422db09ad9d955aa25f39"
1798-
integrity sha512-e2zxVjJq28S63w0EkDuaOSs9/PN5WhsYjWc6a1f88mGFeTiRtpcWGPo01vAdUcnuHVRFrQiELoHfvGr870GxoQ==
1795+
"@vuepress/core@^1.1.0":
1796+
version "1.1.0"
1797+
resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.1.0.tgz#32fd2b65a4613085cbd2b812bf67afe3a037dc65"
1798+
integrity sha512-qC+R9kdTpui9QjQGUXUsmfAbToWOnoYjP2AJqMT/RsKUhQsXAIMe2Z0L/Vw2Z3bmlTUq26v+B1zlFgYzGuyIEQ==
17991799
dependencies:
18001800
"@babel/core" "^7.0.0"
18011801
"@vue/babel-preset-app" "^3.1.1"
1802-
"@vuepress/markdown" "^1.0.0"
1803-
"@vuepress/markdown-loader" "^1.0.0"
1804-
"@vuepress/plugin-last-updated" "^1.0.0"
1805-
"@vuepress/plugin-register-components" "^1.0.0"
1806-
"@vuepress/shared-utils" "^1.0.0"
1802+
"@vuepress/markdown" "^1.1.0"
1803+
"@vuepress/markdown-loader" "^1.1.0"
1804+
"@vuepress/plugin-last-updated" "^1.1.0"
1805+
"@vuepress/plugin-register-components" "^1.1.0"
1806+
"@vuepress/shared-utils" "^1.1.0"
18071807
autoprefixer "^9.5.1"
18081808
babel-loader "^8.0.4"
18091809
cache-loader "^3.0.0"
@@ -1813,7 +1813,7 @@
18131813
cross-spawn "^6.0.5"
18141814
css-loader "^2.1.1"
18151815
file-loader "^3.0.1"
1816-
js-yaml "^3.11.0"
1816+
js-yaml "^3.13.1"
18171817
lru-cache "^5.1.1"
18181818
mini-css-extract-plugin "0.6.0"
18191819
optimize-css-assets-webpack-plugin "^5.0.1"
@@ -1835,65 +1835,65 @@
18351835
webpack-merge "^4.1.2"
18361836
webpackbar "3.2.0"
18371837

1838-
"@vuepress/markdown-loader@^1.0.0":
1839-
version "1.0.0"
1840-
resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.0.0.tgz#1cf4dcedd36eac520e0e09d0acd165a2e7dee7dd"
1841-
integrity sha512-rXs+xA52NQ1hfKir1gngBhxyPZhIJhDX1htSyj7HAHLCiAASK5dzdNQtzDDEfho/SQC7vGK4gYV0UQUyifSfkQ==
1838+
"@vuepress/markdown-loader@^1.1.0":
1839+
version "1.1.0"
1840+
resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.1.0.tgz#ab8ac2d286c255f9fa39ecb2f4542053314825ac"
1841+
integrity sha512-X4+E9kbFt3OSXKxtQbNxeuzxbXdSMhXz8tliUW+/+1zx7RGn1ApcR0x7Y6/irESUgZ+GxOT3jyiCDZA4usHhLA==
18421842
dependencies:
1843-
"@vuepress/markdown" "^1.0.0"
1843+
"@vuepress/markdown" "^1.1.0"
18441844
loader-utils "^1.1.0"
18451845
lru-cache "^5.1.1"
18461846

1847-
"@vuepress/markdown@^1.0.0":
1848-
version "1.0.0"
1849-
resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.0.0.tgz#8dfad497e96ec556aa08a7a59b6651110d45a2c9"
1850-
integrity sha512-RZTl6UxEvx725lB4MrKxqcjiBzZ1yiO4dyTpdkCyH7oVaK01o7bj1O+YARuNpq5UZutcy0i+SFV2gsvdAOp0CA==
1847+
"@vuepress/markdown@^1.1.0":
1848+
version "1.1.0"
1849+
resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.1.0.tgz#f9095c91019d21dbc3daedfd3773c6d5c29117ec"
1850+
integrity sha512-O2ivsIkUrSUPDx+9N43XKSOGtprV4G1k6/4o3wZjjCn6GXYRsRE906cFDlbryHxQ49Z7Yfz3gyZIGMnThxLo/w==
18511851
dependencies:
1852-
"@vuepress/shared-utils" "^1.0.0"
1852+
"@vuepress/shared-utils" "^1.1.0"
18531853
markdown-it "^8.4.1"
18541854
markdown-it-anchor "^5.0.2"
18551855
markdown-it-chain "^1.3.0"
18561856
markdown-it-emoji "^1.4.0"
18571857
markdown-it-table-of-contents "^0.4.0"
18581858
prismjs "^1.13.0"
18591859

1860-
"@vuepress/plugin-active-header-links@^1.0.0":
1861-
version "1.0.0"
1862-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.0.0.tgz#dd44f81f1e8de3e69656323e9196354e36a26660"
1863-
integrity sha512-+vxA1lZsFYkBaa6eNjTZjrMzFuOa3c6U1gz2KlgJ/v6d9bNX95MB3mvMJsO5w3cp6XVSKQbO19jyan+J3jXgJQ==
1860+
"@vuepress/plugin-active-header-links@^1.1.0":
1861+
version "1.1.0"
1862+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.1.0.tgz#cd62c1712040676035f34fed16a088e1c08811d8"
1863+
integrity sha512-sa5ySYl/kTyr1AMakeW375wWs1aQ6psiJiSFclxkGvxcuGZ89F27ELvd43DKaETAlH90LcoE/j7TXMA895qXmw==
18641864
dependencies:
18651865
lodash.throttle "^4.1.1"
18661866

1867-
"@vuepress/plugin-last-updated@^1.0.0":
1868-
version "1.0.0"
1869-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.0.0.tgz#acfff4113240a5e1df96d60c2e80b353cc686897"
1870-
integrity sha512-m6eVQ5Bp4RjM5IYCPR62eW8Z2Lu24oZaFvACjlCp2fLSq4MPV4X0myk2oYnvecyIAzIVmuZHOZb7mwuhzqSX2A==
1867+
"@vuepress/plugin-last-updated@^1.1.0":
1868+
version "1.1.0"
1869+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.1.0.tgz#65f2de734f3744026297b4667f3b5276ef99fd06"
1870+
integrity sha512-x2SaAKWk26RK9O0slnZ55eSlBFYdYjFgqkRIfaOf4f2biWqTa9nzaIbvjzvcx3AZKlOWMl81KRwybhDL8E9OsA==
18711871
dependencies:
18721872
cross-spawn "^6.0.5"
18731873

1874-
"@vuepress/plugin-nprogress@^1.0.0":
1875-
version "1.0.0"
1876-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.0.0.tgz#a7777a54415cb6d6025e188c40180f8ec4e2837e"
1877-
integrity sha512-uXsqit9k4ZPXl3U+SYbBNwHe9q6XJnqDwYE1UDkCS619cU5GlW2A0crfrvlXyiKVrwZ2+QLkrwpdgSRDvXJMFA==
1874+
"@vuepress/plugin-nprogress@^1.1.0":
1875+
version "1.1.0"
1876+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.1.0.tgz#ca7106adc7016ed0d90a22555066c11da597ef59"
1877+
integrity sha512-XhUyAO+mzYFOFupX/pNlPbv0bT596Lk000Q2PhWfRliwUzpUd0/u5Z6B6fasIVj01Yqih/gAGOZpr2ZwSCNJYw==
18781878
dependencies:
18791879
nprogress "^0.2.0"
18801880

1881-
"@vuepress/plugin-register-components@^1.0.0":
1882-
version "1.0.0"
1883-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.0.0.tgz#c619d8d98af1f6f4c2170d0e7deb0373dab6ae85"
1884-
integrity sha512-AibJ35bxBa+WigxhCCTF8p69PkvRYJQp6Xl2EsGVZ50LwIChtPSBGaa0dNphMhDAj3bCk/nsDe3X+lXhvn/rkQ==
1881+
"@vuepress/plugin-register-components@^1.1.0":
1882+
version "1.1.0"
1883+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.1.0.tgz#42ea75bcad3fb562fbb86c424136f86e13641162"
1884+
integrity sha512-HXGdcmBdGHLhI8KHr09GnnZEzgCuaIQx1WBqDNfbigSVKEx910L56ej+Whl6VFd7D0uOLUlW4kb9ELM0sjJpKg==
18851885
dependencies:
1886-
"@vuepress/shared-utils" "^1.0.0"
1886+
"@vuepress/shared-utils" "^1.1.0"
18871887

1888-
"@vuepress/plugin-search@^1.0.0":
1889-
version "1.0.0"
1890-
resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.0.0.tgz#56f4f441e5ad326b55b6c21c7646b197b22d68d4"
1891-
integrity sha512-IoJX+BpaZfp9LurVBGdteSxHlPBWwFYqfJo4y3ZC8JIVJIqelWw7CVvCoBUkLq59teYCiqw4CYg2i91rcv7ZCQ==
1888+
"@vuepress/plugin-search@^1.1.0":
1889+
version "1.1.0"
1890+
resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.1.0.tgz#3b7a344a7df1bab27f10a46e6b57680c8f5d4c7e"
1891+
integrity sha512-GoxvcM65ZAZycnsoZJ/wx9F3hXKzzJQdS7lNnAuHrvCheT5tVO1wwMumVP/unZU/59zCQ1PiyReYntLSp5bXVg==
18921892

1893-
"@vuepress/shared-utils@^1.0.0":
1894-
version "1.0.0"
1895-
resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.0.0.tgz#40995e9106055490a63e2a54d5576b4966945012"
1896-
integrity sha512-W0NBRjCDn1Elc6Tyr/HMFsR9Borh8aI+GXR/dGIme3M/vci5OgcHHtRU4zAMrRy249E8FAiUDmbJqQ+CKpZgXA==
1893+
"@vuepress/shared-utils@^1.1.0":
1894+
version "1.1.0"
1895+
resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.1.0.tgz#9d220ffe54f2d698c56ca5348ba2cb9dd72800da"
1896+
integrity sha512-zvYfejRRl7y3oavLvAe7dHfCu4XewKnhsyUQ7to6tfxVNoEqzhrl5HcCBwcLlphj792tvTAth5QkVegTgGfsaw==
18971897
dependencies:
18981898
chalk "^2.3.2"
18991899
diacritics "^1.3.0"
@@ -1905,15 +1905,16 @@
19051905
semver "^6.0.0"
19061906
upath "^1.1.0"
19071907

1908-
"@vuepress/theme-default@^1.0.0":
1909-
version "1.0.0"
1910-
resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.0.0.tgz#3910b0fb6778cc248c741731119d54ea53eaf6d1"
1911-
integrity sha512-+cV0zerFNtAtyI2AZzxqTtx51rtI5hpKXzQshxvEc6uXK2cR5K+b230we/MXdc8cL1xrLOvh+bQD+xfSEZ8r4g==
1908+
"@vuepress/theme-default@^1.1.0":
1909+
version "1.1.0"
1910+
resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.1.0.tgz#915c97bb69985d6fccd815f829532d67d828e10a"
1911+
integrity sha512-U+kFHakSBEXFAdfItyeCbP//q2hm9R8+vnTFjbMMVgRZ2SHPnDUC/7WWGoEUzfEpFHHPrG1OzC9iI/o5v8p5AQ==
19121912
dependencies:
1913-
"@vuepress/plugin-active-header-links" "^1.0.0"
1914-
"@vuepress/plugin-nprogress" "^1.0.0"
1915-
"@vuepress/plugin-search" "^1.0.0"
1913+
"@vuepress/plugin-active-header-links" "^1.1.0"
1914+
"@vuepress/plugin-nprogress" "^1.1.0"
1915+
"@vuepress/plugin-search" "^1.1.0"
19161916
docsearch.js "^2.5.2"
1917+
lodash "^4.17.15"
19171918
stylus "^0.54.5"
19181919
stylus-loader "^3.0.2"
19191920
vuepress-plugin-container "^2.0.0"
@@ -6865,7 +6866,7 @@ lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.3, lodash@^4.17.5, lodash@^4.2.1:
68656866
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d"
68666867
integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg==
68676868

6868-
lodash@^4.17.4:
6869+
lodash@^4.17.15, lodash@^4.17.4:
68696870
version "4.17.15"
68706871
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
68716872
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
@@ -7821,6 +7822,11 @@ onetime@^2.0.0:
78217822
dependencies:
78227823
mimic-fn "^1.0.0"
78237824

7825+
opencollective-postinstall@^2.0.2:
7826+
version "2.0.2"
7827+
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.2.tgz#5657f1bede69b6e33a45939b061eb53d3c6c3a89"
7828+
integrity sha512-pVOEP16TrAO2/fjej1IdOyupJY8KDUM1CvsaScRbw6oddvpQoOfGk4ywha0HKKVAD6RkW4x6Q+tNBwhf3Bgpuw==
7829+
78247830
opn@^5.5.0:
78257831
version "5.5.0"
78267832
resolved "https://registry.yarnpkg.com/opn/-/opn-5.5.0.tgz#fc7164fab56d235904c51c3b27da6758ca3b9bfc"
@@ -10937,15 +10943,16 @@ vuepress-plugin-sitemap@^2.1.2:
1093710943
dependencies:
1093810944
sitemap "^2.0.1"
1093910945

10940-
vuepress@^1.0.0:
10941-
version "1.0.0"
10942-
resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.0.0.tgz#9661318ecf62da55cda8249337d5722f912b48ec"
10943-
integrity sha512-H/2utjjkDFUP9av636RmiGHwRjQmYf+9LJ0S1Lbu5q+Dt5R6wgifbqBluaodUxNgeC0Q5nCLu/+Oig6PRaVs8Q==
10946+
vuepress@^1.1.0:
10947+
version "1.1.0"
10948+
resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.1.0.tgz#ca0d787d93188b2fd05820a650d7e3643c9e7675"
10949+
integrity sha512-LAgS9nXsmvjTuCc/LHPWnIsPOuVuZtxh1MjVZf/xJ3Yy5kXoPhqbGUptlQdQt3izjIlns9zin5K6MNBY3u5l5g==
1094410950
dependencies:
10945-
"@vuepress/core" "^1.0.0"
10946-
"@vuepress/theme-default" "^1.0.0"
10951+
"@vuepress/core" "^1.1.0"
10952+
"@vuepress/theme-default" "^1.1.0"
1094710953
cac "^6.3.9"
1094810954
envinfo "^7.2.0"
10955+
opencollective-postinstall "^2.0.2"
1094910956

1095010957
w3c-hr-time@^1.0.1:
1095110958
version "1.0.1"

0 commit comments

Comments
 (0)