Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update renovate and dependencies #89

Merged
merged 2 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 'Community Code',
url: process.env.NUXT_SITE_ENV ? 'https://staging-code.zksync.io' : 'https://code.zksync.io',
url: process.env.NUXT_SITE_ENV === 'production' ? 'https://code.zksync.io' : 'https://staging-code.zksync.io',
},
nitro: {
plugins: ['./plugins/content.ts'],
Expand Down Expand Up @@ -49,11 +49,12 @@ export default defineNuxtConfig({
},
},
},
$production: process.env.NUXT_SITE_ENV
? {}
: {
gtag: {
id: 'G-QHP3K0NN1M',
},
},
$production:
process.env.NUXT_SITE_ENV === 'production'
? {
gtag: {
id: 'G-QHP3K0NN1M',
},
}
: { gtag: { enabled: false } },
});
62 changes: 25 additions & 37 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,44 +20,32 @@
"release": "semantic-release"
},
"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",
"dayjs": "^1.11.13",
"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",
"vue-tsc": "^2.1.4"
"@matterlabs/docs-nuxt-template": "2.9.2",
"dayjs": "1.11.13",
"nuxt": "3.13.2",
"nuxt-gtag": "3.0.1",
"rehype-katex": "7.0.1",
"remark-math": "6.0.0",
"vue-tsc": "2.1.6"
},
"devDependencies": {
"@commitlint/cli": "^19.4.1",
"@commitlint/config-conventional": "^19.4.1",
"@playwright/test": "^1.46.1",
"@vue/test-utils": "^2.4.6",
"cspell": "^8.14.2",
"eslint": "^8.57.0",
"ethers": "^6.13.2",
"hardhat": "^2.22.10",
"husky": "^9.1.5",
"lint-staged": "^15.2.10",
"markdownlint": "^0.34.0",
"markdownlint-cli2": "^0.13.0",
"node-pty": "^1.0.0",
"pm2": "^5.4.2",
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"prettier-plugin-tailwindcss": "^0.5.14",
"zksync-ethers": "^6.12.0"
"@commitlint/cli": "19.5.0",
"@commitlint/config-conventional": "19.5.0",
"@playwright/test": "1.47.2",
"@vue/test-utils": "2.4.6",
"cspell": "8.14.4",
"eslint": "9.11.1",
"ethers": "6.13.3",
"hardhat": "2.22.12",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"markdownlint": "0.35.0",
"markdownlint-cli2": "0.14.0",
"node-pty": "1.0.0",
"pm2": "5.4.2",
"prettier": "3.3.3",
"prettier-eslint": "16.3.0",
"prettier-plugin-tailwindcss": "0.6.8",
"zksync-ethers": "6.13.0"
}
}
28 changes: 15 additions & 13 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,40 @@
{
"extends": [
"github>nuxt/renovate-config-nuxt",
"config:recommended",
"group:allNonMajor",
":semanticCommitTypeAll(chore)"
],
"extends": ["config:best-practices", ":semanticCommitTypeAll(chore)", "group:allNonMajor"],
"timezone": "Europe/London",
"schedule": ["every weekend"],
"schedule": ["before 5am on monday"],
"semanticCommits": "enabled",
"npm": {
"minimumReleaseAge": "1 week"
},
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"packageRules": [
{
"groupName": "Nuxt Dependencies",
"groupSlug": "template-deps",
"matchPackageNames": [
"@matterlabs/docs-nuxt-template",
"@iconify-json/**",
"@nuxt**",
"nuxt**",
"/@*(nuxt)(js)*/",
"vue-easy-lightbox",
"@docsearch/**",
"rehype-katex",
"remark-math",
"@vite-pwa/nuxt",
"dayjs"
]
},
{
"groupName": "ZK Dependencies",
"groupSlug": "zk-deps",
"matchPackageNames": ["ethers", "hardhat", "zksync-ethers"]
"groupName": "web3",
"groupSlug": "web3-deps",
"matchPackageNames": ["/openzeppelin/", "/zksync/", "/hardhat/"]
},
{
"groupName": "Tooling Dependencies",
"groupSlug": "tooling-deps",
"matchPackageNames": [
"@playwright/test",
"eslint",
"@commitlint/**",
"cspell",
Expand Down
Loading