Skip to content

Commit 65e99d4

Browse files
authored
Merge pull request #27 from tomoam/update-up-to-20230315
2023/03/15 迄の更新に追従
2 parents f5c7eb5 + 8d58ac8 commit 65e99d4

File tree

47 files changed

+1585
-1081
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1585
-1081
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: '1'
1212

1313
jobs:
14-
build:
14+
test:
1515
runs-on: ubuntu-latest
1616

1717
strategy:
@@ -29,5 +29,4 @@ jobs:
2929
cache: 'pnpm'
3030
- run: pnpm install --frozen-lockfile
3131
- run: pnpm playwright install chromium
32-
- run: pnpm build
3332
- run: pnpm test

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,5 @@
1010
.apps
1111
.vercel
1212
/content/tutorial/common/.svelte-kit
13-
/content/tutorial/common/node_modules
13+
/content/tutorial/common/node_modules
14+
/test-results

content/tutorial/01-svelte/01-introduction/01-welcome-to-svelte/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ Svelte は、web アプリケーションを構築するためのツールです
2727

2828
各セクションには、機能を解説するために作られた練習問題があります。後のセクションの練習問題は、それより前のセクションの練習問題で得た知識を土台として作られているので、最初から最後まで通しで学習することをおすすめします。必要に応じて、上部のメニューから移動することができます。
2929

30-
行き詰まったら、エディタの左にある `正解を見る` ボタンをクリックすることもできます。(ここのように練習問題がないセクションでは無効化されています。) ただし、これに頼りすぎないようにしてください。提示されたコードブロックをどこに配置するか自分で考え、エディタに手入力することで、より早く学習することができます。
30+
行き詰まったら、<span class="desktop">エディタの左にある</span><span class="mobile">エディタ表示の右上にある</span> `正解を見る` ボタンをクリックすることもできます。(<span class="mobile">チュートリアル表示とエディタ表示を切り替えるには下のトグルを使用してください。</span>`正解を見る` ボタンはここのように練習問題がないセクションでは無効化されています。) ただし、これに頼りすぎないようにしてください。提示されたコードブロックをどこに配置するか自分で考え、エディタに手入力することで、より早く学習することができます。

content/tutorial/01-svelte/01-introduction/02-your-first-component/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Svelteでは、アプリケーションは1つ以上の*コンポーネント*
2828

2929
```svelte
3030
<h1>Hello {name+++.toUpperCase()+++}!</h1>
31-
```
31+
```

content/tutorial/01-svelte/01-introduction/04-styling/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ HTMLと同じように、コンポーネントには`<style>`タグを置くこ
99
1010
<style>
1111
+++ p {
12-
color: purple;
12+
color: goldenrod;
1313
font-family: 'Comic Sans MS', cursive;
1414
font-size: 2em;
1515
}+++

content/tutorial/01-svelte/01-introduction/04-styling/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<style>
44
p {
5-
color: purple;
5+
color: goldenrod;
66
font-family: 'Comic Sans MS', cursive;
77
font-size: 2em;
88
}

content/tutorial/01-svelte/01-introduction/05-nested-components/app-a/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<style>
44
p {
5-
color: purple;
5+
color: goldenrod;
66
font-family: 'Comic Sans MS', cursive;
77
font-size: 2em;
88
}

content/tutorial/01-svelte/01-introduction/05-nested-components/app-b/src/lib/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
<style>
99
p {
10-
color: purple;
10+
color: goldenrod;
1111
font-family: 'Comic Sans MS', cursive;
1212
font-size: 2em;
1313
}

content/tutorial/01-svelte/03-props/02-default-values/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@ title: Default values
1414

1515
```svelte
1616
<Nested answer={42}/>
17-
+++<Nested/>+++
17+
+++<Nested />+++
1818
```

content/tutorial/common/src/__client.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,14 @@ if (import.meta.hot) {
118118
'*'
119119
);
120120
});
121+
122+
import.meta.hot.on('svelte:warnings', (data) => {
123+
parent.postMessage(
124+
{
125+
type: 'warnings',
126+
data
127+
},
128+
'*'
129+
);
130+
});
121131
}

0 commit comments

Comments
 (0)