From b24fe30a40292b59369fc78ff6f72f4164af3b17 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Sat, 12 Oct 2019 16:00:22 +0200 Subject: [PATCH] Split merge docs gen into sep process (#1482) * Split merge docs gen into sep process * Update doc refs --- .github/workflows/pr-any.yml | 4 +- .github/workflows/push-master.yml | 29 ++- docs/SUMMARY.md | 2 +- .../promise/05_read_storage_at/README.md | 2 +- .../rx/03_listen_to_balance_change/README.md | 2 +- package.json | 13 +- yarn.lock | 216 ++++++++++-------- 7 files changed, 149 insertions(+), 119 deletions(-) diff --git a/.github/workflows/pr-any.yml b/.github/workflows/pr-any.yml index 6379164086..1d8eb749b2 100644 --- a/.github/workflows/pr-any.yml +++ b/.github/workflows/pr-any.yml @@ -51,7 +51,7 @@ jobs: - name: build run: | yarn install --frozen-lockfile - yarn build:split:code + yarn build build_docs: name: Build Docs @@ -68,4 +68,4 @@ jobs: - name: build run: | yarn install --frozen-lockfile - yarn build:split:docs + yarn docs diff --git a/.github/workflows/push-master.yml b/.github/workflows/push-master.yml index 99bddfe176..dbdebb2ca0 100644 --- a/.github/workflows/push-master.yml +++ b/.github/workflows/push-master.yml @@ -5,8 +5,8 @@ on: - master jobs: - merge: - name: Merge + build_code: + name: Build Code if: "! contains(github.event.head_commit.message, '[CI Skip]')" runs-on: ubuntu-latest strategy: @@ -23,10 +23,31 @@ jobs: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} GH_PAT: ${{ secrets.GH_PAT }} GH_TOKEN: ${{ secrets.GH_PAT }} - GH_PAGES_SRC: build-docs GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: | yarn install --frozen-lockfile yarn polkadot-dev-ghact-build - yarn polkadot-dev-ghact-deploy + + build_docs: + name: Build Docs + if: "! contains(github.event.head_commit.message, '[CI Skip]')" + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x] + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: build + env: + GH_PAT: ${{ secrets.GH_PAT }} + GH_TOKEN: ${{ secrets.GH_PAT }} + GH_PAGES_SRC: build-docs + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + yarn install --frozen-lockfile + yarn polkadot-dev-ghact-docs diff --git a/docs/SUMMARY.md b/docs/SUMMARY.md index 3f5df543b2..0d3e551d65 100644 --- a/docs/SUMMARY.md +++ b/docs/SUMMARY.md @@ -46,7 +46,7 @@ - [Unsubscribe from listening](examples/promise/04_unsubscribe/README.md) - [Read chain state](examples/promise/05_read_storage/README.md) - [Make a transfer](examples/promise/06_make_transfer/README.md) - - [Display system events](examples/promise/08_system_events/README.md)( + - [Display system events](examples/promise/08_system_events/README.md) - [Transaction with events](examples/promise/09_transfer_events/README.md) - [Upgrade via sudo](examples/promise/10_upgrade_chain/README.md) - [ApiRx](examples/rx/README.md) diff --git a/docs/examples/promise/05_read_storage_at/README.md b/docs/examples/promise/05_read_storage_at/README.md index eb7192fad7..d00caf8252 100644 --- a/docs/examples/promise/05_read_storage_at/README.md +++ b/docs/examples/promise/05_read_storage_at/README.md @@ -2,4 +2,4 @@ In addition to querying the latest storage, you can make storage queries at a specific blockhash. Be aware that the node applies a pruning strategy and typically only keeps the last 256 blocks, unless run in archive mode. -<<< @/docs/examples/promise/07_read_storage_at/index.js +<<< @/docs/examples/promise/05_read_storage_at/index.js diff --git a/docs/examples/rx/03_listen_to_balance_change/README.md b/docs/examples/rx/03_listen_to_balance_change/README.md index 7dbe3ca4af..e6b2315cb2 100644 --- a/docs/examples/rx/03_listen_to_balance_change/README.md +++ b/docs/examples/rx/03_listen_to_balance_change/README.md @@ -2,4 +2,4 @@ This example shows how to instantiate a Polkadot API object and use it to connect to a node and retrieve balance updates. -<<< @/docs/examples/rx/03_listent_to_balance_change/index.js +<<< @/docs/examples/rx/03_listen_to_balance_change/index.js diff --git a/package.json b/package.json index 33d370841c..38b747059f 100644 --- a/package.json +++ b/package.json @@ -12,14 +12,10 @@ "typescript": "^3.6.4" }, "scripts": { - "build": "yarn build:split:code && yarn build:split:docs", - "build:split:code": "yarn build:interfaces && polkadot-dev-build-ts", - "build:split:docs": "yarn run build:methodsdoc && polkadot-dev-build-docs", - "build:htmldoc": "yarn clean && typedoc --theme default --out docs/html", + "build": "yarn build:interfaces && polkadot-dev-build-ts", "build:interfaces": "node packages/types/src/scripts/interfacesTsWrapper.js", - "build:methodsdoc": "node packages/types/src/scripts/MetadataMdWrapper.js", + "docs": "node packages/types/src/scripts/MetadataMdWrapper.js && polkadot-dev-build-docs", "chain:info": "node packages/types/src/scripts/extractChainWrapper.js", - "check": "yarn lint", "lint": "eslint --ext .js,.jsx,.ts,.tsx . && tsc --noEmit --pretty", "clean": "polkadot-dev-clean-build", "postinstall": "polkadot-dev-yarn-only", @@ -35,8 +31,7 @@ "@babel/core": "^7.6.4", "@babel/register": "^7.6.2", "@babel/runtime": "^7.6.3", - "@polkadot/dev": "^0.32.0-beta.9", - "@polkadot/ts": "^0.1.80", - "gh-pages": "^2.1.1" + "@polkadot/dev": "^0.32.0-beta.10", + "@polkadot/ts": "^0.1.81" } } diff --git a/yarn.lock b/yarn.lock index c4a6c8de70..6160074a8c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1746,10 +1746,10 @@ deprecation "^2.0.0" once "^1.4.0" -"@octokit/request@^5.0.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.1.0.tgz#5609dcc7b5323e529f29d535214383d9eaf0c05c" - integrity sha512-I15T9PwjFs4tbWyhtFU2Kq7WDPidYMvRB7spmxoQRZfxSmiqullG+Nz+KbSmpkfnlvHwTr1e31R5WReFRKMXjg== +"@octokit/request@^5.2.0": + version "5.2.0" + resolved "https://registry.yarnpkg.com/@octokit/request/-/request-5.2.0.tgz#5d3144ad921a8a6bc26d40dd542f2b62cfe3f3b7" + integrity sha512-p8WDdywOrMMbN1eMgR86f2KwKMxTTNipqsibIKDJ6oRi910rdz2JR3ufiLB8U8KtQ0P/HdP0df8vQrUDzYaUzQ== dependencies: "@octokit/endpoint" "^5.1.0" "@octokit/request-error" "^1.0.1" @@ -1760,11 +1760,11 @@ universal-user-agent "^4.0.0" "@octokit/rest@^16.28.4": - version "16.33.0" - resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.33.0.tgz#13c1404b24c9871419eb31029de177e82f3eb851" - integrity sha512-t4jMR+odsfooQwmHiREoTQixVTX2DfdbSaO+lKrW9R5XBuk0DW+5T/JdfwtxAGUAHgvDDpWY/NVVDfEPTzxD6g== + version "16.33.1" + resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-16.33.1.tgz#19229f5fd28d8e071644d37c249775ee40add433" + integrity sha512-lOQ+fJZwkeJ/1PRTdnY1uNja01aKOMioRhQfZtei64gZMXIX3EAfF4koMQMvoLFwsnVBu3ifj1JW1WAAKdXcnA== dependencies: - "@octokit/request" "^5.0.0" + "@octokit/request" "^5.2.0" "@octokit/request-error" "^1.0.2" atob-lite "^2.0.0" before-after-hook "^2.0.0" @@ -1777,10 +1777,10 @@ once "^1.4.0" universal-user-agent "^4.0.0" -"@polkadot/dev@^0.32.0-beta.9": - version "0.32.0-beta.9" - resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.9.tgz#d8835609c7c324f5fbc8793df83420635080cc6b" - integrity sha512-T3yvTAqU17PWYLsEXrD9OIBqu1JY72TzHe49RZoP0rzALpVGSWJ2jYOB12fCey6AxNvusEigKp5NVIVOCwA7FQ== +"@polkadot/dev@^0.32.0-beta.10": + version "0.32.0-beta.10" + resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.32.0-beta.10.tgz#0eab6be363fb42c0e775e0253102058d73c755cd" + integrity sha512-bGWA6zkNKj3IJOUEJJcPX/Bv898A45hd7mLaDFb29G2wWCAXpmVKCyddduAvPghLFCUV5fufOm0qz0UNhK3jLg== dependencies: "@babel/cli" "^7.6.4" "@babel/core" "^7.6.4" @@ -1801,7 +1801,7 @@ babel-jest "^24.9.0" babel-plugin-module-resolver "^3.2.0" chalk "^2.4.2" - coveralls "^3.0.6" + coveralls "^3.0.7" cpx "^1.5.0" eslint "^6.5.1" eslint-config-semistandard "^15.0.0" @@ -1810,6 +1810,7 @@ eslint-plugin-node "^10.0.0" eslint-plugin-promise "^4.2.1" eslint-plugin-standard "^4.0.1" + gh-pages "^2.1.1" jest "^24.9.0" jest-haste-map "^24.9.0" jest-resolve "^24.9.0" @@ -1820,7 +1821,7 @@ typedoc-plugin-markdown "^2.2.10" typedoc-plugin-no-inherit "^1.1.10" typescript "^3.6.4" - vuepress "^1.1.0" + vuepress "^1.2.0" "@polkadot/keyring@^1.5.1": version "1.5.1" @@ -1831,10 +1832,10 @@ "@polkadot/util" "^1.5.1" "@polkadot/util-crypto" "^1.5.1" -"@polkadot/ts@^0.1.80": - version "0.1.80" - resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.80.tgz#6c8acc72e453993e22c9ced53c1b5913650b97b9" - integrity sha512-/8Dpku/ZeyWIQicz4p/4yblNKavDvPcSVbFMfPLfSLtZBSHTW5XytIwZWxrwB3Y+zoGf8bzNLBSSxk+EDJhXJg== +"@polkadot/ts@^0.1.81": + version "0.1.81" + resolved "https://registry.yarnpkg.com/@polkadot/ts/-/ts-0.1.81.tgz#64829fceed47216139218b25c40564c0b355eb36" + integrity sha512-PpktnRrKL2lnE5rzq2cI+biCPFD82JA24cZtikN6/xxcZPLoJ8IUILHPOxkdRss3zexR8fPjOAsEVhVIIfXN9g== dependencies: "@types/chrome" "^0.0.89" @@ -2217,18 +2218,18 @@ source-map "~0.6.1" vue-template-es2015-compiler "^1.9.0" -"@vuepress/core@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.1.0.tgz#32fd2b65a4613085cbd2b812bf67afe3a037dc65" - integrity sha512-qC+R9kdTpui9QjQGUXUsmfAbToWOnoYjP2AJqMT/RsKUhQsXAIMe2Z0L/Vw2Z3bmlTUq26v+B1zlFgYzGuyIEQ== +"@vuepress/core@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/core/-/core-1.2.0.tgz#8e0c636b7f8676202fdd1ecfbe31bfe245dab2a8" + integrity sha512-ZIsUkQIF+h4Yk6q4okoRnRwRhcYePu/kNiL0WWPDGycjai8cFqFjLDP/tJjfTKXmn9A62j2ETjSwaiMxCtDkyw== dependencies: "@babel/core" "^7.0.0" "@vue/babel-preset-app" "^3.1.1" - "@vuepress/markdown" "^1.1.0" - "@vuepress/markdown-loader" "^1.1.0" - "@vuepress/plugin-last-updated" "^1.1.0" - "@vuepress/plugin-register-components" "^1.1.0" - "@vuepress/shared-utils" "^1.1.0" + "@vuepress/markdown" "^1.2.0" + "@vuepress/markdown-loader" "^1.2.0" + "@vuepress/plugin-last-updated" "^1.2.0" + "@vuepress/plugin-register-components" "^1.2.0" + "@vuepress/shared-utils" "^1.2.0" autoprefixer "^9.5.1" babel-loader "^8.0.4" cache-loader "^3.0.0" @@ -2247,34 +2248,34 @@ postcss-safe-parser "^4.0.1" toml "^3.0.0" url-loader "^1.0.1" - vue "^2.5.16" - vue-loader "^15.2.4" - vue-router "^3.0.2" - vue-server-renderer "^2.5.16" - vue-template-compiler "^2.5.16" + vue "^2.6.10" + vue-loader "^15.7.1" + vue-router "^3.1.3" + vue-server-renderer "^2.6.10" + vue-template-compiler "^2.6.10" vuepress-html-webpack-plugin "^3.2.0" - vuepress-plugin-container "^2.0.0" + vuepress-plugin-container "^2.0.2" webpack "^4.8.1" webpack-chain "^4.6.0" webpack-dev-server "^3.5.1" webpack-merge "^4.1.2" webpackbar "3.2.0" -"@vuepress/markdown-loader@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.1.0.tgz#ab8ac2d286c255f9fa39ecb2f4542053314825ac" - integrity sha512-X4+E9kbFt3OSXKxtQbNxeuzxbXdSMhXz8tliUW+/+1zx7RGn1ApcR0x7Y6/irESUgZ+GxOT3jyiCDZA4usHhLA== +"@vuepress/markdown-loader@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/markdown-loader/-/markdown-loader-1.2.0.tgz#f8972014616b4ab46a99c9aaac2dd414d437411c" + integrity sha512-gOZzoHjfp/W6t+qKBRdbHS/9TwRnNuhY7V+yFzxofNONFHQULofIN/arG+ptYc2SuqJ541jqudNQW+ldHNMC2w== dependencies: - "@vuepress/markdown" "^1.1.0" + "@vuepress/markdown" "^1.2.0" loader-utils "^1.1.0" lru-cache "^5.1.1" -"@vuepress/markdown@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.1.0.tgz#f9095c91019d21dbc3daedfd3773c6d5c29117ec" - integrity sha512-O2ivsIkUrSUPDx+9N43XKSOGtprV4G1k6/4o3wZjjCn6GXYRsRE906cFDlbryHxQ49Z7Yfz3gyZIGMnThxLo/w== +"@vuepress/markdown@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/markdown/-/markdown-1.2.0.tgz#7c457e0fab52ef8ac4dd1898ae450bc3aec30746" + integrity sha512-RLRQmTu5wJbCO4Qv+J0K53o5Ew7nAGItLwWyzCbIUB6pRsya3kqSCViWQVlKlS53zFTmRHuAC9tJMRdzly3mCA== dependencies: - "@vuepress/shared-utils" "^1.1.0" + "@vuepress/shared-utils" "^1.2.0" markdown-it "^8.4.1" markdown-it-anchor "^5.0.2" markdown-it-chain "^1.3.0" @@ -2282,43 +2283,43 @@ markdown-it-table-of-contents "^0.4.0" prismjs "^1.13.0" -"@vuepress/plugin-active-header-links@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.1.0.tgz#cd62c1712040676035f34fed16a088e1c08811d8" - integrity sha512-sa5ySYl/kTyr1AMakeW375wWs1aQ6psiJiSFclxkGvxcuGZ89F27ELvd43DKaETAlH90LcoE/j7TXMA895qXmw== +"@vuepress/plugin-active-header-links@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-active-header-links/-/plugin-active-header-links-1.2.0.tgz#46495c89e51a95e57139be007dffbcae4b229260" + integrity sha512-vdi7l96pElJvEmcx6t9DWJNH25TIurS8acjN3+b7o4NzdaszFn5j6klN6WtI4Z+5BVDrxHP5W1F3Ebw8SZyupA== dependencies: - lodash.throttle "^4.1.1" + lodash.debounce "^4.0.8" -"@vuepress/plugin-last-updated@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.1.0.tgz#65f2de734f3744026297b4667f3b5276ef99fd06" - integrity sha512-x2SaAKWk26RK9O0slnZ55eSlBFYdYjFgqkRIfaOf4f2biWqTa9nzaIbvjzvcx3AZKlOWMl81KRwybhDL8E9OsA== +"@vuepress/plugin-last-updated@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-last-updated/-/plugin-last-updated-1.2.0.tgz#7b34065b793848b0482a222b7a6f1b7df3668cdc" + integrity sha512-j4uZb/MXDyG+v9QCG3T/rkiaOhC/ib7NKCt1cjn3GOwvWTDmB5UZm9EBhUpbDNrBgxW+SaHOe3kMVNO8bGOTGw== dependencies: cross-spawn "^6.0.5" -"@vuepress/plugin-nprogress@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.1.0.tgz#ca7106adc7016ed0d90a22555066c11da597ef59" - integrity sha512-XhUyAO+mzYFOFupX/pNlPbv0bT596Lk000Q2PhWfRliwUzpUd0/u5Z6B6fasIVj01Yqih/gAGOZpr2ZwSCNJYw== +"@vuepress/plugin-nprogress@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-nprogress/-/plugin-nprogress-1.2.0.tgz#ff6166946a0b118a39a562acb57983529afce4d2" + integrity sha512-0apt3Dp6XVCOkLViX6seKSEJgARihi+pX3/r8j8ndFp9Y+vmgLFZnQnGE5iKNi1ty+A6PZOK0RQcBjwTAU4pAw== dependencies: nprogress "^0.2.0" -"@vuepress/plugin-register-components@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.1.0.tgz#42ea75bcad3fb562fbb86c424136f86e13641162" - integrity sha512-HXGdcmBdGHLhI8KHr09GnnZEzgCuaIQx1WBqDNfbigSVKEx910L56ej+Whl6VFd7D0uOLUlW4kb9ELM0sjJpKg== +"@vuepress/plugin-register-components@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-register-components/-/plugin-register-components-1.2.0.tgz#95aa0e0af94b2758b26ab98814c43b0f7bcd502b" + integrity sha512-C32b8sbGtDEX8I3SUUKS/w2rThiRFiKxmzNcJD996me7VY/4rgmZ8CxGtb6G9wByVoK0UdG1SOkrgOPdSCm80A== dependencies: - "@vuepress/shared-utils" "^1.1.0" + "@vuepress/shared-utils" "^1.2.0" -"@vuepress/plugin-search@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.1.0.tgz#3b7a344a7df1bab27f10a46e6b57680c8f5d4c7e" - integrity sha512-GoxvcM65ZAZycnsoZJ/wx9F3hXKzzJQdS7lNnAuHrvCheT5tVO1wwMumVP/unZU/59zCQ1PiyReYntLSp5bXVg== +"@vuepress/plugin-search@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/plugin-search/-/plugin-search-1.2.0.tgz#0b27c467b7fd42bd4d9e32de0fe2fb81a24bd311" + integrity sha512-QU3JfnMfImDAArbJOVH1q1iCDE5QrT99GLpNGo6KQYZWqY1TWAbgyf8C2hQdaI03co1lkU2Wn/iqzHJ5WHlueg== -"@vuepress/shared-utils@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.1.0.tgz#9d220ffe54f2d698c56ca5348ba2cb9dd72800da" - integrity sha512-zvYfejRRl7y3oavLvAe7dHfCu4XewKnhsyUQ7to6tfxVNoEqzhrl5HcCBwcLlphj792tvTAth5QkVegTgGfsaw== +"@vuepress/shared-utils@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/shared-utils/-/shared-utils-1.2.0.tgz#8d9ab40c24f75f027ef32c2ad0169f0f08e949fa" + integrity sha512-wo5Ng2/xzsmIYCzvWxgLFlDBp7FkmJp2shAkbSurLNAh1vixhs0+LyDxsk01+m34ktJSp9rTUUsm6khw/Fvo0w== dependencies: chalk "^2.3.2" diacritics "^1.3.0" @@ -2330,19 +2331,20 @@ semver "^6.0.0" upath "^1.1.0" -"@vuepress/theme-default@^1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.1.0.tgz#915c97bb69985d6fccd815f829532d67d828e10a" - integrity sha512-U+kFHakSBEXFAdfItyeCbP//q2hm9R8+vnTFjbMMVgRZ2SHPnDUC/7WWGoEUzfEpFHHPrG1OzC9iI/o5v8p5AQ== +"@vuepress/theme-default@^1.2.0": + version "1.2.0" + resolved "https://registry.yarnpkg.com/@vuepress/theme-default/-/theme-default-1.2.0.tgz#3303af21a00031a3482ed1c494508234f545cbf1" + integrity sha512-mJxAMYQQv4OrGFsArMlONu8RpCzPUVx81dumkyTT4ay5PXAWTj+WDeFQLOT3j0g9QrDJGnHhbiw2aS+R/0WUyQ== dependencies: - "@vuepress/plugin-active-header-links" "^1.1.0" - "@vuepress/plugin-nprogress" "^1.1.0" - "@vuepress/plugin-search" "^1.1.0" + "@vuepress/plugin-active-header-links" "^1.2.0" + "@vuepress/plugin-nprogress" "^1.2.0" + "@vuepress/plugin-search" "^1.2.0" docsearch.js "^2.5.2" lodash "^4.17.15" stylus "^0.54.5" stylus-loader "^3.0.2" - vuepress-plugin-container "^2.0.0" + vuepress-plugin-container "^2.0.2" + vuepress-plugin-smooth-scroll "^0.0.3" "@webassemblyjs/ast@1.8.5": version "1.8.5" @@ -4079,7 +4081,7 @@ cosmiconfig@^5.0.0, cosmiconfig@^5.1.0: js-yaml "^3.13.1" parse-json "^4.0.0" -coveralls@^3.0.6: +coveralls@^3.0.7: version "3.0.7" resolved "https://registry.yarnpkg.com/coveralls/-/coveralls-3.0.7.tgz#1eca48e47976e9573d6a2f18b97c2fea4026f34a" integrity sha512-mUuH2MFOYB2oBaA4D4Ykqi9LaEYpMMlsiOMJOrv358yAjP6enPIk55fod2fNJ8AvwoYXStWQls37rA+s5e7boA== @@ -4829,9 +4831,9 @@ ee-first@1.1.1: integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= electron-to-chromium@^1.3.247: - version "1.3.280" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.280.tgz#5f8950c8329e3e11b59c705fd59b4b8d9b3de5b9" - integrity sha512-qYWNMjKLEfQAWZF2Sarvo+ahigu0EArnpCFSoUuZJS3W5wIeVfeEvsgmT2mgIrieQkeQ0+xFmykK3nx2ezekPQ== + version "1.3.281" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.281.tgz#2dbeb9f0bdffddb1662f9ca00d26c49d31dc0f7e" + integrity sha512-oxXKngPjTWRmXFy4vV9FeAkPl7wU4xMejfOY+HXjGrj4T0z9l96loWWVDLJEtbT/aPKOWKrSz6xoYxd+YJ/gJA== elliptic@^6.0.0, elliptic@^6.4.1: version "6.5.1" @@ -7726,6 +7728,11 @@ lodash.clonedeep@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz#e23f3f9c4f8fbdde872529c1071857a086e5ccef" integrity sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8= +lodash.debounce@^4.0.8: + version "4.0.8" + resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" + integrity sha1-gteb/zCmfEAF/9XiUVMArZyk168= + lodash.get@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" @@ -7771,11 +7778,6 @@ lodash.templatesettings@^4.0.0: dependencies: lodash._reinterpolate "^3.0.0" -lodash.throttle@^4.1.1: - version "4.1.1" - resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" - integrity sha1-wj6RtxAkKscMN/HhzaknTMOb8vQ= - lodash.unescape@4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" @@ -10734,6 +10736,11 @@ smart-buffer@4.0.2: resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.0.2.tgz#5207858c3815cc69110703c6b94e46c15634395d" integrity sha512-JDhEpTKzXusOqXZ0BUIdH+CjFdO/CR3tLlf5CN34IypI+xMmXW1uB16OOY8z3cICbJlDAVJzNbwBhNO0wt9OAw== +smoothscroll-polyfill@^0.4.3: + version "0.4.4" + resolved "https://registry.yarnpkg.com/smoothscroll-polyfill/-/smoothscroll-polyfill-0.4.4.tgz#3a259131dc6930e6ca80003e1cb03b603b69abf8" + integrity sha512-TK5ZA9U5RqCwMpfoMq/l1mrH0JAR7y7KRvOBx0n2869aLxch+gT9GhN3yUfjiw+d/DiF1mKo14+hd62JyMmoBg== + snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" @@ -11942,7 +11949,7 @@ vue-hot-reload-api@^2.3.0: resolved "https://registry.yarnpkg.com/vue-hot-reload-api/-/vue-hot-reload-api-2.3.4.tgz#532955cc1eb208a3d990b3a9f9a70574657e08f2" integrity sha512-BXq3jwIagosjgNVae6tkHzzIk6a8MHFtzAdwhnV5VlvPTFxDCvIttgSiHWjdGoTJvXtmRu5HacExfdarRcFhog== -vue-loader@^15.2.4: +vue-loader@^15.7.1: version "15.7.1" resolved "https://registry.yarnpkg.com/vue-loader/-/vue-loader-15.7.1.tgz#6ccacd4122aa80f69baaac08ff295a62e3aefcfd" integrity sha512-fwIKtA23Pl/rqfYP5TSGK7gkEuLhoTvRYW+TU7ER3q9GpNLt/PjG5NLv3XHRDiTg7OPM1JcckBgds+VnAc+HbA== @@ -11953,12 +11960,12 @@ vue-loader@^15.2.4: vue-hot-reload-api "^2.3.0" vue-style-loader "^4.1.0" -vue-router@^3.0.2: +vue-router@^3.1.3: version "3.1.3" resolved "https://registry.yarnpkg.com/vue-router/-/vue-router-3.1.3.tgz#e6b14fabc0c0ee9fda0e2cbbda74b350e28e412b" integrity sha512-8iSa4mGNXBjyuSZFCCO4fiKfvzqk+mhL0lnKuGcQtO1eoj8nq3CmbEG8FwK5QqoqwDgsjsf1GDuisDX4cdb/aQ== -vue-server-renderer@^2.5.16: +vue-server-renderer@^2.6.10: version "2.6.10" resolved "https://registry.yarnpkg.com/vue-server-renderer/-/vue-server-renderer-2.6.10.tgz#cb2558842ead360ae2ec1f3719b75564a805b375" integrity sha512-UYoCEutBpKzL2fKCwx8zlRtRtwxbPZXKTqbl2iIF4yRZUNO/ovrHyDAJDljft0kd+K0tZhN53XRHkgvCZoIhug== @@ -11980,7 +11987,7 @@ vue-style-loader@^4.1.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@^2.5.16: +vue-template-compiler@^2.6.10: version "2.6.10" resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.6.10.tgz#323b4f3495f04faa3503337a82f5d6507799c9cc" integrity sha512-jVZkw4/I/HT5ZMvRnhv78okGusqe0+qH2A0Em0Cp8aq78+NK9TII263CDVz2QXZsIT+yyV/gZc/j/vlwa+Epyg== @@ -11993,7 +12000,7 @@ vue-template-es2015-compiler@^1.9.0: resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.9.1.tgz#1ee3bc9a16ecbf5118be334bb15f9c46f82f5825" integrity sha512-4gDntzrifFnCEvyoO8PqyJDmguXgVPxKiIxrBKjIowvL9l+N66196+72XVYR8BBf1Uv1Fgt3bGevJ+sEmxfZzw== -vue@^2.5.16: +vue@^2.6.10: version "2.6.10" resolved "https://registry.yarnpkg.com/vue/-/vue-2.6.10.tgz#a72b1a42a4d82a721ea438d1b6bf55e66195c637" integrity sha512-ImThpeNU9HbdZL3utgMCq0oiMzAkt1mcgy3/E6zWC/G6AaQoeuFdsl9nDhTDU3X1R6FK7nsIUuRACVcjI+A2GQ== @@ -12011,20 +12018,27 @@ vuepress-html-webpack-plugin@^3.2.0: toposort "^1.0.0" util.promisify "1.0.0" -vuepress-plugin-container@^2.0.0: +vuepress-plugin-container@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/vuepress-plugin-container/-/vuepress-plugin-container-2.0.2.tgz#3489cc732c7a210b31f202556e1346125dffeb73" integrity sha512-SrGYYT7lkie7xlIlAVhn+9sDW42MytNCoxWL/2uDr+q9wZA4h1uYlQvfc2DVjy+FsM9PPPSslkeo/zCpYVY82g== dependencies: markdown-it-container "^2.0.0" -vuepress@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.1.0.tgz#ca0d787d93188b2fd05820a650d7e3643c9e7675" - integrity sha512-LAgS9nXsmvjTuCc/LHPWnIsPOuVuZtxh1MjVZf/xJ3Yy5kXoPhqbGUptlQdQt3izjIlns9zin5K6MNBY3u5l5g== +vuepress-plugin-smooth-scroll@^0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/vuepress-plugin-smooth-scroll/-/vuepress-plugin-smooth-scroll-0.0.3.tgz#6eff2d4c186cca917cc9f7df2b0af7de7c8c6438" + integrity sha512-qsQkDftLVFLe8BiviIHaLV0Ea38YLZKKonDGsNQy1IE0wllFpFIEldWD8frWZtDFdx6b/O3KDMgVQ0qp5NjJCg== dependencies: - "@vuepress/core" "^1.1.0" - "@vuepress/theme-default" "^1.1.0" + smoothscroll-polyfill "^0.4.3" + +vuepress@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/vuepress/-/vuepress-1.2.0.tgz#2f2cdf337ad40a3e4866dfd33e97b840db386af7" + integrity sha512-EfHo8Cc73qo+1Pm18hM0qOGynmDr8q5fu2664obynsdCJ1zpvoShVnA0Msraw4SI2xDc0iAoIb3dTwxUIM8DAw== + dependencies: + "@vuepress/core" "^1.2.0" + "@vuepress/theme-default" "^1.2.0" cac "^6.3.9" envinfo "^7.2.0" opencollective-postinstall "^2.0.2" @@ -12153,9 +12167,9 @@ webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1: source-map "~0.6.1" webpack@^4.8.1: - version "4.41.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.0.tgz#db6a254bde671769f7c14e90a1a55e73602fc70b" - integrity sha512-yNV98U4r7wX1VJAj5kyMsu36T8RPPQntcb5fJLOsMz/pt/WrKC0Vp1bAlqPLkA1LegSwQwf6P+kAbyhRKVQ72g== + version "4.41.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-4.41.1.tgz#5388dd3047d680d5d382a84249fd4750e87372fd" + integrity sha512-ak7u4tUu/U63sCVxA571IuPZO/Q0pZ9cEXKg+R/woxkDzVovq57uB6L2Hlg/pC8LCU+TWpvtcYwsstivQwMJmw== dependencies: "@webassemblyjs/ast" "1.8.5" "@webassemblyjs/helper-module-context" "1.8.5"