From b32bcccee49086b39c97af9f7d6516ead08e1ce0 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 8 Jun 2020 21:14:12 -0400 Subject: [PATCH 1/4] site: remove BLM filter, but leave banner (#4994) --- site/src/routes/_layout.svelte | 7 ------- 1 file changed, 7 deletions(-) diff --git a/site/src/routes/_layout.svelte b/site/src/routes/_layout.svelte index 9c1601094a..3f5862e3e0 100644 --- a/site/src/routes/_layout.svelte +++ b/site/src/routes/_layout.svelte @@ -101,9 +101,6 @@ .BLM a { white-space: nowrap; } - :global(header){ - filter: grayscale(100%) /* BLM */ - } main { position: relative; margin: 0 auto; @@ -127,8 +124,4 @@ padding-bottom: 75px; /* BLM */ } } - - main > :global(*) { - filter: grayscale(100%) /* BLM */ - } From 4135ca5415dcf0003c2f14df0c1c94ee99eb7e51 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Mon, 8 Jun 2020 21:44:22 -0400 Subject: [PATCH 2/4] -> v3.23.1 --- CHANGELOG.md | 2 +- package-lock.json | 2 +- package.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 512303ef50..5672da69b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Svelte changelog -## Unreleased +## 3.23.1 * Fix checkbox `bind:group` when multiple options have the same value ([#4397](https://github.com/sveltejs/svelte/issues/4397)) * Fix `bind:this` to the value of an `{#each}` block ([#4517](https://github.com/sveltejs/svelte/issues/4517)) diff --git a/package-lock.json b/package-lock.json index fab51f61ff..780f63f0b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "3.23.0", + "version": "3.23.1", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 4bbc90f505..705cee7441 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte", - "version": "3.23.0", + "version": "3.23.1", "description": "Cybernetically enhanced web apps", "module": "index.mjs", "main": "index", From 34e87ce57990d62666f04f15da2947784b6689ba Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Tue, 9 Jun 2020 16:21:03 -0700 Subject: [PATCH 3/4] site: faq: svelte-preprocess is now an official project (#4997) --- site/content/faq/500-what-about-typescript-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/faq/500-what-about-typescript-support.md b/site/content/faq/500-what-about-typescript-support.md index 7c41c353b1..7cd0ccbe54 100644 --- a/site/content/faq/500-what-about-typescript-support.md +++ b/site/content/faq/500-what-about-typescript-support.md @@ -2,7 +2,7 @@ question: What about Typescript support? --- -You need to install a [community supported preprocessor](https://github.com/sveltejs/integrations#preprocessors) such as [svelte-preprocess](https://github.com/kaisermann/svelte-preprocess). Work is ongoing to improve [IDE support](https://github.com/sveltejs/language-tools/issues/83). You can also run type checking from the command line with [svelte-check](https://www.npmjs.com/package/svelte-check). +You need to install a preprocessor such as [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess). Work is ongoing to improve [IDE support](https://github.com/sveltejs/language-tools/issues/83). You can also run type checking from the command line with [svelte-check](https://www.npmjs.com/package/svelte-check). To declare the type of a reactive variable in a Svelte template, you can use the following syntax: ``` From 90794167fe455b46c99483331cc2f937a49c33d8 Mon Sep 17 00:00:00 2001 From: Antony Jones Date: Wed, 10 Jun 2020 13:47:31 +0100 Subject: [PATCH 4/4] Remove duplicate site build instructions (#4824) --- README.md | 8 +------- site/README.md | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index e2e4fcd532..33faec0588 100644 --- a/README.md +++ b/README.md @@ -64,13 +64,7 @@ npm run test -- -g transition ## svelte.dev -The source code for https://svelte.dev, including all the documentation, lives in the [site](site) directory. The site is built with [Sapper](https://sapper.svelte.dev). To develop locally: - -```bash -cd site -npm install && npm run update -npm run dev -``` +The source code for https://svelte.dev, including all the documentation, lives in the [site](site) directory. The site is built with [Sapper](https://sapper.svelte.dev). ### Is svelte.dev down? diff --git a/site/README.md b/site/README.md index 259e956003..64ae22f9a8 100644 --- a/site/README.md +++ b/site/README.md @@ -1,24 +1,33 @@ ## Running locally -Set up the project: +Set up the site sub-project: ```bash git clone https://github.com/sveltejs/svelte.git -cd svelte -npm ci -PUBLISH=1 npm run build cd site npm ci npm run update +npm run dev ``` -Start the server with `npm run dev`, and navigate to [localhost:3000](http://localhost:3000). +and navigate to [localhost:3000](http://localhost:3000). -## Using a local copy of Svelte +## Running using the local copy of Svelte By default, the REPL will fetch the most recent version of Svelte from https://unpkg.com/svelte. When running the site locally, you can also use your local copy of Svelte. -To produce the proper browser-compatible UMD build of the compiler, you will need to run `npm run build` (or `npm run dev`) in the root of this repository with the `PUBLISH` environment variable set to any non-empty string. +To produce the proper browser-compatible UMD build of the compiler, you will need to run `npm run build` (or `npm run dev`) in the root of this repository with the `PUBLISH` environment variable set to any non-empty string: + +```bash +git clone https://github.com/sveltejs/svelte.git +cd svelte +npm ci +PUBLISH=1 npm run build +cd site +npm ci +npm run update +npm run dev +``` Then visit the REPL at [localhost:3000/repl?version=local](http://localhost:3000/repl?version=local). Please note that the local REPL only works with `npm run dev` and not when building the site for production usage. @@ -35,6 +44,7 @@ In order for the REPL's GitHub integration to work properly when running locally GITHUB_CLIENT_SECRET=[your app's Client Secret] BASEURL=http://localhost:3000 ``` + ## Building the site To build the website, run `npm run sapper`. The output can be found in `__sapper__/build`.