Skip to content

Commit

Permalink
build(deps): bump dependencies (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
manawasp authored Feb 21, 2024
1 parent 05ec480 commit ef1fe59
Show file tree
Hide file tree
Showing 11 changed files with 2,132 additions and 2,617 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,14 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
version: 7.x
- uses: actions/setup-node@v3
with:
node-version: 19.x
cache: pnpm

- name: Install
run: pnpm install --no-frozen-lockfile # fix issues with pnpm-lock
run: pnpm i --no-frozen-lockfile # fix issues with pnpm-lock

- name: Lint
run: pnpm run lint
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.2.0
21.6.2
1 change: 0 additions & 1 deletion TODO.md

This file was deleted.

2 changes: 0 additions & 2 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ useHead({
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
],
viewport: 'width=device-width, initial-scale=1, maximum-scale=1',
charset: 'utf-8',
meta: [
{ name: 'description', content: 'Clovis Kyndt, software developer, resume' },
],
Expand Down
3 changes: 0 additions & 3 deletions commitlint.config.ts

This file was deleted.

27 changes: 14 additions & 13 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
[build.environment]
# bypass npm auto install
NPM_FLAGS = "--version"
NODE_VERSION = "16"

[build]
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"
publish = "dist"
command = "npx pnpm i --store=node_modules/.pnpm-store && npx pnpm run build"

[build.environment]
# bypass npm auto install
NPM_FLAGS = "--version"
NODE_VERSION = "16"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
from = "/*"
to = "/index.html"
status = 200

[[headers]]
for = "/manifest.webmanifest"
[headers.values]
Content-Type = "application/manifest+json"
for = "/manifest.webmanifest"

[headers.values]
Content-Type = "application/manifest+json"
3 changes: 1 addition & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ export default defineNuxtConfig({
},
vite: {
plugins: [
svgLoader({
}),
svgLoader(),
],
},
})
24 changes: 10 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"private": true,
"packageManager": "pnpm@8.10.5",
"packageManager": "pnpm@8.15.3",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
Expand All @@ -10,21 +10,17 @@
"postinstall": "nuxt prepare",
"test": "eslint .",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prepare": "husky install"
"lint:fix": "eslint . --fix"
},
"devDependencies": {
"@antfu/eslint-config": "^1.2.1",
"@commitlint/cli": "^18.4.2",
"@commitlint/config-conventional": "^18.4.2",
"@antfu/eslint-config": "^2.6.4",
"dayjs": "^1.11.10",
"eslint": "^8.54.0",
"husky": "^8.0.3",
"nuxt": "3.8.1",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"typescript": "^5.2.2",
"vite-svg-loader": "^5.0.1",
"webpack": "^5.89.0"
"eslint": "^8.56.0",
"nuxt": "^3.10.2",
"sass": "^1.71.1",
"sass-loader": "^14.1.1",
"typescript": "^5.3.3",
"vite-svg-loader": "^5.1.0",
"webpack": "^5.90.3"
}
}
3 changes: 1 addition & 2 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ import * as data from '../locales/en.json'

<template>
<main>
<div v-for="(el, idx) in data.resume" :key="idx" :class="`el-${el.type}`">
<div v-for="(el, idx) in data.default.resume" :key="idx" :class="`el-${el.type}`">
<h2>{{ el.title }}</h2>
<!-- NOTE(@manawasp): component solution doesn't work, don't know why -->
<Text v-if="el.type === 'text'" :value="el.value" />
<Table v-if="el.type === 'table'" :value="el.value" />
<Block v-if="el.type === 'block'" :value="el.value" />
Expand Down
Loading

0 comments on commit ef1fe59

Please sign in to comment.