Skip to content

Commit

Permalink
⬆️ Bump all deps (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
colinlienard authored May 1, 2024
1 parent 5b2eda1 commit 0d940f1
Show file tree
Hide file tree
Showing 13 changed files with 7,785 additions and 6,716 deletions.
4 changes: 0 additions & 4 deletions .eslintignore

This file was deleted.

41 changes: 0 additions & 41 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"stylelint.validate": ["scss", "vue"]
}
2 changes: 1 addition & 1 deletion components/CustomCursor.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { inject, Ref } from 'vue';
import { inject, type Ref } from 'vue';
const lerpAmount = 0.1;
Expand Down
4 changes: 2 additions & 2 deletions components/HomeAbout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ const { data } = await useAsyncData('milestones', () =>
data-scroll-class="visible"
:data-scroll-offset="isMobile ? '0' : '25%'"
>
<li class="timeline"></li>
<li class="timeline" />
<li
v-for="(milestone, index) in data.milestones"
:key="index"
class="list-item"
>
<span class="circle"></span>
<span class="circle" />
<div class="content">
<h3 class="title">{{ milestone.start }} - {{ milestone.end }}</h3>
<p class="description">
Expand Down
2 changes: 1 addition & 1 deletion components/PortfolioItem.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { inject, Ref } from 'vue';
import { inject, type Ref } from 'vue';
const props = defineProps<{
index: number;
Expand Down
8 changes: 4 additions & 4 deletions components/SpotifyListening.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ onUnmounted(() => {
>
<p v-else class="text">Not playing • Spotify</p>
<div v-if="music" class="music">
<span></span>
<span></span>
<span></span>
<span></span>
<span />
<span />
<span />
<span />
</div>
</aside>
</template>
Expand Down
5 changes: 2 additions & 3 deletions composables/useThrottle.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
const useThrottle = (
callback: (...args: any) => void,
callback: (...args: unknown[]) => void,
delay: number,
): (() => void) => {
let wait = false;

return (...args: any) => {
return (...args: unknown[]) => {
if (wait) {
return;
}

// eslint-disable-next-line n/no-callback-literal
callback(...args);
wait = true;

Expand Down
10 changes: 10 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import withNuxt from './.nuxt/eslint.config.mjs';
import eslintConfigPrettier from 'eslint-config-prettier';

export default withNuxt([
{
rules: {
...eslintConfigPrettier.rules,
},
},
]);
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default defineNuxtConfig({
devtools: {
enabled: true,
},
modules: ['@nuxt/content'],
modules: ['@nuxt/content', '@nuxt/eslint'],
nitro: {
prerender: {
crawlLinks: true,
Expand Down
36 changes: 16 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,28 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@splinetool/runtime": "^1.0.16",
"@vercel/analytics": "^1.1.1",
"@splinetool/runtime": "^1.2.4",
"@vercel/analytics": "^1.2.2",
"locomotive-scroll": "^4.1.4"
},
"devDependencies": {
"@nuxt/content": "^2.10.0",
"@nuxt/devtools": "^1.0.2",
"@nuxtjs/eslint-config-typescript": "^12.1.0",
"@nuxt/content": "^2.12.1",
"@nuxt/devtools": "^1.2.0",
"@nuxt/eslint": "^0.3.10",
"@types/locomotive-scroll": "^4.1.3",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.8.0",
"@typescript-eslint/parser": "^7.8.0",
"eslint": "^9.1.1",
"eslint-config-prettier": "^9.0.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-vue": "^9.18.1",
"nuxt": "^3.9.0",
"postcss": "^8.4.31",
"nuxt": "^3.11.2",
"postcss": "^8.4.38",
"postcss-html": "^1.5.0",
"prettier": "^3.1.0",
"sass": "^1.69.5",
"stylelint": "^16.1.0",
"prettier": "^3.2.5",
"sass": "^1.76.0",
"stylelint": "^16.4.0",
"stylelint-config-recommended-vue": "^1.5.0",
"stylelint-config-standard-scss": "^12.0.0",
"typescript": "^5.2.2"
"stylelint-config-standard-scss": "^13.1.0",
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit 0d940f1

Please sign in to comment.