Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
matschik committed Feb 2, 2024
1 parent 59715a7 commit 36b0ec1
Show file tree
Hide file tree
Showing 20 changed files with 5,226 additions and 2,993 deletions.
5 changes: 4 additions & 1 deletion content/2-templating/3-loop/vue2/Colors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@ export default {

<template>
<ul>
<li v-for="color in colors" :key="color">
<li
v-for="color in colors"
:key="color"
>
{{ color }}
</li>
</ul>
Expand Down
5 changes: 4 additions & 1 deletion content/2-templating/3-loop/vue3/Colors.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ const colors = ["red", "green", "blue"];

<template>
<ul>
<li v-for="color in colors" :key="color">
<li
v-for="color in colors"
:key="color"
>
{{ color }}
</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion content/2-templating/5-dom-ref/vue2/InputFocused.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export default {
</script>

<template>
<input ref="inputElement" />
<input ref="inputElement">
</template>
2 changes: 1 addition & 1 deletion content/2-templating/5-dom-ref/vue3/InputFocused.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ onMounted(() => {
</script>

<template>
<input ref="inputElement" />
<input ref="inputElement">
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ const TRAFFIC_LIGHTS = ["red", "orange", "green"];
<p>
You must
@switch (light) {
@case("red") {
@case ("red") {
<span>STOP</span>
}
@case("orange") {
}
@case ("orange") {
<span>SLOW DOWN</span>
}
@case("green") {
}
@case ("green") {
<span>GO</span>
}
}
}
</p>
`,
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ export default {
<template>
<div>
<p>Are you happy?</p>
<AnswerButton @yes="onAnswerYes" @no="onAnswerNo" />
<AnswerButton
@yes="onAnswerYes"
@no="onAnswerNo"
/>
<p style="font-size: 50px">
{{ isHappy ? "馃榾" : "馃槬" }}
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ function onAnswerYes() {

<template>
<p>Are you happy?</p>
<AnswerButton @yes="onAnswerYes" @no="onAnswerNo" />
<AnswerButton
@yes="onAnswerYes"
@no="onAnswerNo"
/>
<p style="font-size: 50px">
{{ isHappy ? "馃榾" : "馃槬" }}
</p>
Expand Down
2 changes: 1 addition & 1 deletion content/6-form-input/1-input-text/vue2/InputHello.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ export default {
<template>
<div>
<p>{{ text }}</p>
<input v-model="text" />
<input v-model="text">
</div>
</template>
2 changes: 1 addition & 1 deletion content/6-form-input/1-input-text/vue3/InputHello.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ const text = ref("Hello World");

<template>
<p>{{ text }}</p>
<input v-model="text" />
<input v-model="text">
</template>
6 changes: 5 additions & 1 deletion content/6-form-input/2-checkbox/vue2/IsAvailable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ export default {

<template>
<div>
<input id="is-available" v-model="isAvailable" type="checkbox" />
<input
id="is-available"
v-model="isAvailable"
type="checkbox"
>
<label for="is-available">Is available</label>
</div>
</template>
6 changes: 5 additions & 1 deletion content/6-form-input/2-checkbox/vue3/IsAvailable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ const isAvailable = ref(true);
</script>

<template>
<input id="is-available" v-model="isAvailable" type="checkbox" />
<input
id="is-available"
v-model="isAvailable"
type="checkbox"
>
<label for="is-available">Is available</label>
</template>
14 changes: 12 additions & 2 deletions content/6-form-input/3-radio/vue2/PickPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,20 @@ export default {
<div>
<div>Picked: {{ picked }}</div>

<input id="blue-pill" v-model="picked" type="radio" value="blue" />
<input
id="blue-pill"
v-model="picked"
type="radio"
value="blue"
>
<label for="blue-pill">Blue pill</label>

<input id="red-pill" v-model="picked" type="radio" value="red" />
<input
id="red-pill"
v-model="picked"
type="radio"
value="red"
>
<label for="red-pill">Red pill</label>
</div>
</template>
14 changes: 12 additions & 2 deletions content/6-form-input/3-radio/vue3/PickPill.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,19 @@ const picked = ref("red");
<template>
<div>Picked: {{ picked }}</div>

<input id="blue-pill" v-model="picked" type="radio" value="blue" />
<input
id="blue-pill"
v-model="picked"
type="radio"
value="blue"
>
<label for="blue-pill">Blue pill</label>

<input id="red-pill" v-model="picked" type="radio" value="red" />
<input
id="red-pill"
v-model="picked"
type="radio"
value="red"
>
<label for="red-pill">Red pill</label>
</template>
10 changes: 8 additions & 2 deletions content/7-webapp-features/2-fetch-data/vue2/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,14 @@ export default {
<p v-if="isLoading">Fetching users...</p>
<p v-else-if="error">An error ocurred while fetching users</p>
<ul v-else-if="users">
<li v-for="user in users" :key="user.login.uuid">
<img :src="user.picture.thumbnail" alt="user" />
<li
v-for="user in users"
:key="user.login.uuid"
>
<img
:src="user.picture.thumbnail"
alt="user"
>
<p>
{{ user.name.first }}
{{ user.name.last }}
Expand Down
10 changes: 8 additions & 2 deletions content/7-webapp-features/2-fetch-data/vue3/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,14 @@ const { isLoading, error, data: users } = useFetchUsers();
<p v-if="isLoading">Fetching users...</p>
<p v-else-if="error">An error ocurred while fetching users</p>
<ul v-else-if="users">
<li v-for="user in users" :key="user.login.uuid">
<img :src="user.picture.thumbnail" alt="user" />
<li
v-for="user in users"
:key="user.login.uuid"
>
<img
:src="user.picture.thumbnail"
alt="user"
>
<p>
{{ user.name.first }}
{{ user.name.last }}
Expand Down
4 changes: 2 additions & 2 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
* Disable this if you'd like to use dynamic types.
*/
"checkJs": true,
"experimentalDecorators": true
"experimentalDecorators": true,
},
/**
* Use global.d.ts instead of compilerOptions.types
* to avoid limiting type declarations.
*/
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"],
}
60 changes: 30 additions & 30 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,61 +24,61 @@
"heroiconsvelte": "^1.0.2"
},
"devDependencies": {
"@angular-eslint/eslint-plugin": "^17.1.1",
"@angular-eslint/eslint-plugin-template": "^17.1.1",
"@angular-eslint/template-parser": "^17.1.1",
"@angular/core": "^17.0.8",
"@aurelia/router": "2.0.0-beta.9",
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-proposal-decorators": "^7.23.7",
"@angular-eslint/eslint-plugin": "^17.2.1",
"@angular-eslint/eslint-plugin-template": "^17.2.1",
"@angular-eslint/template-parser": "^17.2.1",
"@angular/core": "^17.1.2",
"@aurelia/router": "2.0.0-beta.10",
"@babel/core": "^7.23.9",
"@babel/eslint-parser": "^7.23.10",
"@babel/plugin-proposal-decorators": "^7.23.9",
"@matschik/lz-string": "^0.0.2",
"@stefanprobst/remark-shiki": "^2.2.1",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@tailwindcss/typography": "^0.5.10",
"@typescript-eslint/eslint-plugin": "^6.17.0",
"@typescript-eslint/parser": "^6.17.0",
"aurelia": "2.0.0-beta.9",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"aurelia": "2.0.0-beta.10",
"aurelia-framework": "^1.4.1",
"autoprefixer": "^10.4.16",
"autoprefixer": "^10.4.17",
"chokidar": "^3.5.3",
"codesandbox": "^2.2.3",
"eslint": "^8.56.0",
"eslint-plugin-ember": "^11.12.0",
"eslint-plugin-ember": "^12.0.0",
"eslint-plugin-lit": "^1.11.0",
"eslint-plugin-prettier": "^5.1.2",
"eslint-plugin-qwik": "^1.3.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-qwik": "^1.4.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-solid": "^0.13.1",
"eslint-plugin-vue": "^9.19.2",
"eslint-plugin-vue": "^9.21.1",
"esm": "^3.2.25",
"folder-hash": "^4.0.4",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"lit": "^3.1.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.1",
"lit": "^3.1.2",
"lodash.kebabcase": "^4.1.1",
"micache": "^2.4.1",
"pkg-dir": "^8.0.0",
"postcss": "^8.4.32",
"prettier": "^3.1.1",
"postcss": "^8.4.33",
"prettier": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rehype-raw": "^7.0.0",
"rehype-stringify": "^10.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"shiki": "^0.14.7",
"solid-js": "^1.8.8",
"svelte": "^4.2.8",
"remark-rehype": "^11.1.0",
"shiki": "1.0.0-beta.3",
"solid-js": "^1.8.12",
"svelte": "^4.2.9",
"svelte-preprocess": "^5.1.3",
"tailwindcss": "^3.4.0",
"tailwindcss": "^3.4.1",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"unified": "^11.0.4",
"vite": "^5.0.10",
"vite-plugin-html": "^3.2.1",
"vue": "^3.4.4"
"vite": "^5.0.12",
"vite-plugin-html": "^3.2.2",
"vue": "^3.4.15"
},
"overrides": {
"@stefanprobst/remark-shiki": {
Expand Down
Loading

0 comments on commit 36b0ec1

Please sign in to comment.