docs: dependencies (#1396)

* update svelte, sapper

* chore(deps-dev): bump @babel/preset-env from 7.12.11 to 7.13.8 in /site (#1368)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.11 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump marked from 2.0.0 to 2.0.1 in /site (#1367)

Bumps [marked](https://github.com/markedjs/marked) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @babel/runtime from 7.12.5 to 7.13.8 in /site (#1365)

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.12.5 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps): bump highlight.js from 10.5.0 to 10.6.0 in /site (#1364)

Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.5.0...10.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @babel/plugin-transform-runtime in /site (#1363)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.12.10 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>

* chore(deps-dev): bump @rollup/plugin-node-resolve in /site (#1362)

Bumps [@rollup/plugin-node-resolve](https://github.com/rollup/plugins) from 11.1.1 to 11.2.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/node-resolve-v11.1.1...node-resolve-v11.2.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump @rollup/plugin-babel from 5.2.3 to 5.3.0 in /site (#1360)

Bumps [@rollup/plugin-babel](https://github.com/rollup/plugins) from 5.2.3 to 5.3.0.
- [Release notes](https://github.com/rollup/plugins/releases)
- [Commits](https://github.com/rollup/plugins/compare/babel-v5.2.3...babel-v5.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* chore(deps-dev): bump svelte from 3.32.1 to 3.34.0 in /site (#1359)

Bumps [svelte](https://github.com/sveltejs/svelte) from 3.32.1 to 3.34.0.
- [Release notes](https://github.com/sveltejs/svelte/releases)
- [Changelog](https://github.com/sveltejs/svelte/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/svelte/compare/v3.32.1...v3.34.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>

* lock

* optim quickstart mobile, single thread export

* chore(deps-dev): bump @babel/core from 7.12.10 to 7.13.8 in /site (#1361)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.12.10 to 7.13.8.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.13.8/packages/babel-core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Max Peintner <max@caos.ch>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Max Peintner 2021-03-10 11:17:22 +01:00 committed by GitHub
parent fa2c54a227
commit 3a66affc69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 3339 additions and 784 deletions

View File

@ -6,7 +6,7 @@ WORKDIR /site
RUN npm install RUN npm install
RUN npx sapper export --legacy RUN npm run export
FROM scratch as final FROM scratch as final

4093
site/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -35,10 +35,10 @@
"@rollup/plugin-node-resolve": "^11.1.1", "@rollup/plugin-node-resolve": "^11.1.1",
"@rollup/plugin-replace": "^2.2.0", "@rollup/plugin-replace": "^2.2.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"rollup": "^2.38.4", "rollup": "^2.41.0",
"rollup-plugin-svelte": "^7.0.0", "rollup-plugin-svelte": "^7.1.0",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"sapper": "^0.28.10", "sapper": "^0.29.1",
"svelte": "^3.32.1" "svelte": "^3.35.0"
} }
} }

View File

@ -314,7 +314,7 @@
<header class:visible="{visible || open}"> <header class:visible="{visible || open}">
<nav> <nav>
<a <a
rel="prefetch" sapper:prefetch
href="." href="."
class="home" class="home"
title="{title}" title="{title}"

View File

@ -11,8 +11,8 @@
<li><a href={external}><slot></slot></a></li> <li><a href={external}><slot></slot></a></li>
{:else} {:else}
{#if prefetch} {#if prefetch}
<li class:active="{`${$current}` === segment || active }"><a rel="prefetch" sapper:prefetch href={segment}><i class="bars las la-bars"></i><slot></slot></a></li> <li class:active="{`${$current}` === segment || active }"><a sapper:prefetch href={segment}><i class="bars las la-bars"></i><slot></slot></a></li>
{:else} {:else}
<li class:active="{`${$current}` === segment || active }"><a rel="prefetch" href={segment}><i class="bars las la-bars"></i><slot></slot></a></li> <li class:active="{`${$current}` === segment || active }"><a sapper:prefetch href={segment}><i class="bars las la-bars"></i><slot></slot></a></li>
{/if} {/if}
{/if} {/if}

View File

@ -140,7 +140,19 @@
.quickstart:last-child { .quickstart:last-child {
margin-bottom: 100px; margin-bottom: 100px;
} }
@media (max-width: 768px) { @media (max-width: 768px) {
.quickstart {
flex-direction: column-reverse;
margin-bottom: 50px;
}
.quickstart img {
max-height: 180px;
max-width: 180px;
padding-bottom: 10px;
}
.quickstarts :global(.anchor) { .quickstarts :global(.anchor) {
transform: scale(0.6); transform: scale(0.6);
opacity: 1; opacity: 1;

View File

@ -1,6 +1,6 @@
// eslint-disable-next-line import/no-unresolved
import { files, shell, timestamp } from '@sapper/service-worker'; import { files, shell, timestamp } from '@sapper/service-worker';
// eslint-disable-next-line import/no-unresolved
const ASSETS = `cache${timestamp}`; const ASSETS = `cache${timestamp}`;
// `shell` is an array of all the files generated by the bundler, // `shell` is an array of all the files generated by the bundler,