Skip to content

Commit

Permalink
Update dependencies (#35)
Browse files Browse the repository at this point in the history
* Update package dependencies across multiple projects

* Update linter config

* Downgrade nuxt content

* Call changeset

* Downgrade dog typescript

* Update Node.js version to 22 in GitHub workflows

* Rebuild package-lock

* lintfix
  • Loading branch information
d0rich authored Dec 2, 2024
1 parent 3b26137 commit dec5c1e
Show file tree
Hide file tree
Showing 23 changed files with 17,035 additions and 40,057 deletions.
9 changes: 9 additions & 0 deletions .changeset/stupid-news-fry.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
'@d0rich/nuxt-content-mermaid': minor
'@d0rich/nuxt-design-system': minor
'@d0rich/esprit-design': minor
'd0xigen': minor
'@d0rich/dog': minor
---

Update dependencies
22 changes: 0 additions & 22 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/cdn.build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
node-version: '22'
- name: Install dependencies
working-directory: ./cdn
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Setup Node.js 20.x
- name: Setup Node.js 22.x
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: 22.x

- name: Install Dependencies
run: npm ci
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Use Node.js 20
- name: Use Node.js 22
uses: actions/setup-node@v3
with:
node-version: 20
node-version: 22

- name: Installing packages
run: npm ci
Expand Down
11 changes: 10 additions & 1 deletion apps/d0rich.me/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,35 @@ export default defineNuxtConfig({
'@nuxt-themes/typography',
'@d0rich/nuxt-design-system'
],

app: {
pageTransition: {
name: 'section',
mode: 'out-in'
}
},

css: ['assets/css/theme.css'],

imports: {
dirs: ['composables/*/index.{ts,js,mjs,mts}']
},

runtimeConfig: {
public: {
isDev: process.env.NODE_ENV === 'development',
isProd: process.env.NODE_ENV === 'production'
}
},

modules: ['@nuxthq/studio', '@nuxt/content'],

nitro: {
prerender: {
routes: ['/', '/sitemap.xml', '/api/resume/list.json']
}
},

content: {
highlight: {
theme: 'one-dark-pro'
Expand All @@ -39,5 +46,7 @@ export default defineNuxtConfig({
}
}
}
}
},

compatibilityDate: '2024-12-02'
})
4 changes: 2 additions & 2 deletions apps/d0rich.me/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"devDependencies": {
"@nuxt-themes/typography": "^1.0.1",
"@types/dateformat": "^5.0.2",
"@vueuse/core": "^10.1.0",
"nuxt": "^3.12.1"
"@vueuse/core": "^12.0.0",
"nuxt": "^3.14.1592"
},
"dependencies": {
"@d0rich/nuxt-content-mermaid": "*",
Expand Down
2 changes: 1 addition & 1 deletion apps/design.d0rich.me/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"@d0rich/nuxt-design-system": "*",
"nuxt": "^3.12.1",
"nuxt": "^3.14.1592",
"vue-gtag": "^2.0.1"
}
}
10 changes: 5 additions & 5 deletions cdn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
},
"dependencies": {
"consola": "^3.2.3",
"ofetch": "^1.3.4",
"puppeteer": "^21.11.0",
"unstorage": "^1.10.2",
"ofetch": "^1.4.1",
"puppeteer": "^23.9.0",
"unstorage": "^1.13.1",
"zod": "^3.23.8"
},
"devDependencies": {
"tsx": "^4.15.5",
"typescript": "^5.4.5"
"tsx": "^4.19.2",
"typescript": "^5.7.2"
}
}
30 changes: 30 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
import { includeIgnoreFile } from '@eslint/compat'
import vueParser from 'vue-eslint-parser'
import eslintConfigPrettier from 'eslint-config-prettier'

import path from 'node:path'
import { fileURLToPath } from 'node:url'

const __filename = fileURLToPath(import.meta.url)
const __dirname = path.dirname(__filename)
const gitignorePath = path.resolve(__dirname, '.gitignore')

export default [
eslintConfigPrettier,
includeIgnoreFile(gitignorePath),
{
files: ['**/*.ts', '**/*.js', '**/*.vue'],
languageOptions: {
parser: vueParser,
parserOptions: {
parser: '@typescript-eslint/parser'
}
},
rules: {
semi: ['error', 'never'],
quotes: ['error', 'single'],
'vue/no-multiple-template-root': 'off',
'vue/multi-word-component-names': 'off'
}
}
]
Loading

0 comments on commit dec5c1e

Please sign in to comment.