Skip to content

Commit

Permalink
feat: update renovate and package dependencies (#107)
Browse files Browse the repository at this point in the history
chore: update renovate and package dependencies
  • Loading branch information
itsacoyote authored Oct 7, 2024
1 parent ec63d3c commit 0b51305
Show file tree
Hide file tree
Showing 6 changed files with 77 additions and 42 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
env:
HUSKY: 0
CI: true
NUXT_SITE_ENV: production # used for NuxtSEO to disable things like indexing on staging

concurrency:
group: production
Expand Down
2 changes: 0 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@

bun install
git add bun.lockb
bun lint-staged
Binary file modified bun.lockb
Binary file not shown.
19 changes: 10 additions & 9 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
extends: [['@matterlabs/docs-nuxt-template']],
modules: ['@nuxt/content', '@nuxt/ui', '@nuxt/eslint', '@nuxtjs/seo', 'nuxt-gtag'],
modules: ['nuxt-gtag'],
site: {
name: 'ZKsync SDK Docs',
url: process.env.NUXT_SITE_ENV ? 'https://staging-sdk-docs.zksync.io' : 'https://sdk.zksync.io',
url: process.env.NUXT_SITE_ENV === 'production' ? 'https://sdk.zksync.io' : 'https://staging-sdk-docs.zksync.io',
},
runtimeConfig: {
public: {
Expand All @@ -18,11 +18,12 @@ export default defineNuxtConfig({
},
},
},
$production: process.env.NUXT_SITE_ENV
? {}
: {
gtag: {
id: 'G-32HFNYFHS9',
},
},
$production:
process.env.NUXT_SITE_ENV === 'production'
? {
gtag: {
id: 'G-32HFNYFHS9',
},
}
: { gtag: { enabled: false } },
});
50 changes: 19 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,41 +7,29 @@
"author": "Matter Labs",
"homepage": "https://zksync.io",
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@types/bun": "^1.1.8",
"@vue/test-utils": "^2.4.6",
"cspell": "^8.14.2",
"eslint": "^8.57.0",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"markdownlint": "^0.33.0",
"markdownlint-cli2": "^0.12.1",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.5.14",
"vue-tsc": "^2.1.6"
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@types/bun": "1.1.10",
"@vue/test-utils": "2.4.6",
"cspell": "8.14.4",
"eslint": "9.11.1",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"markdownlint": "0.35.0",
"markdownlint-cli2": "0.14.0",
"prettier": "3.3.3",
"prettier-plugin-tailwindcss": "0.6.8",
"vue-tsc": "2.1.6"
},
"peerDependencies": {
"typescript": "^5.0.0"
"typescript": "5.6.2"
},
"dependencies": {
"@matterlabs/docs-nuxt-template": "2.9.1",
"@iconify-json/heroicons": "^1.2.0",
"@iconify-json/simple-icons": "^1.2.1",
"@iconify-json/vscode-icons": "^1.2.0",
"@nuxt/content": "^2.13.2",
"@nuxt/eslint": "^0.5.5",
"@nuxt/fonts": "^0.7.2",
"@nuxt/image": "^1.8.0",
"@nuxt/ui": "^2.18.4",
"@nuxt/ui-pro": "^1.4.1",
"@nuxtjs/seo": "^2.0.0-rc.20",
"nuxt": "^3.13.1",
"nuxt-gtag": "^2.1.0",
"nuxt-headlessui": "^1.2.0",
"nuxt-og-image": "^3.0.0-rc.66",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0"
"@matterlabs/docs-nuxt-template": "2.9.2",
"nuxt": "3.13.2",
"nuxt-gtag": "3.0.1",
"rehype-katex": "7.0.1",
"remark-math": "6.0.0"
},
"scripts": {
"build": "nuxt generate",
Expand Down
47 changes: 47 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)", "group:allNonMajor"],
"timezone": "Europe/London",
"schedule": ["before 5am on monday"],
"semanticCommits": "enabled",
"npm": {
"minimumReleaseAge": "1 week"
},
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"separateMajorMinor": true,
"packageRules": [
{
"groupName": "Nuxt Dependencies",
"groupSlug": "template-deps",
"matchPackageNames": [
"@matterlabs/docs-nuxt-template",
"@iconify-json/**",
"/@*(nuxt)(js)*/",
"vue-easy-lightbox",
"rehype-katex",
"remark-math",
"@tsparticles/**",
"@vite-pwa/nuxt"
]
},
{
"groupName": "Tooling Dependencies",
"groupSlug": "tooling-deps",
"matchPackageNames": [
"@types/bun",
"eslint",
"@commitlint/**",
"cspell",
"husky",
"lint-staged",
"semantic-release",
"markdownlint**",
"prettier**",
"typescript",
"vue-tsc"
]
}
]
}

0 comments on commit 0b51305

Please sign in to comment.