Skip to content

Commit

Permalink
feat: add algolia search (#59)
Browse files Browse the repository at this point in the history
# Description

Update dependencies which adds the use of the algolia search feature for
our apps.

Update renovate configuration for managing updates.
  • Loading branch information
itsacoyote authored Sep 4, 2024
1 parent 0e19659 commit 4e19790
Show file tree
Hide file tree
Showing 6 changed files with 78 additions and 22 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
build_and_preview:
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }}
runs-on: ubuntu-latest
outputs:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
build_and_deploy:
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
if: ${{ github.event.repository.full_name == github.repository }}
runs-on: ubuntu-latest
environment: production
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:
build_and_deploy:
env:
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
ALGOLIA_SEARCH_API_KEY: ${{ secrets.ALGOLIA_SEARCH_API_KEY }}
ALGOLIA_APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
if: ${{ github.event.repository.full_name == github.repository }}
environment: staging
runs-on: ubuntu-latest
Expand Down
Binary file modified bun.lockb
Binary file not shown.
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,41 +20,41 @@
"release": "semantic-release"
},
"dependencies": {
"@matterlabs/docs-nuxt-template": "2.7.1",
"@matterlabs/docs-nuxt-template": "2.8.2",
"@nuxt/content": "^2.13.2",
"@nuxt/eslint": "^0.5.3",
"@nuxt/eslint": "^0.5.5",
"@nuxt/fonts": "^0.5.1",
"@nuxt/image": "^1.7.0",
"@nuxt/image": "^1.8.0",
"@nuxt/ui": "^2.18.4",
"@nuxt/ui-pro": "^1.4.1",
"@nuxtjs/seo": "^2.0.0-rc.10",
"dayjs": "^1.11.10",
"nuxt": "^3.12.4",
"nuxt-gtag": "^2.0.6",
"@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.53",
"rehype-katex": "^7.0.0",
"nuxt-og-image": "^3.0.0-rc.66",
"rehype-katex": "^7.0.1",
"remark-math": "^6.0.0",
"vue-tsc": "^2.0.16"
"vue-tsc": "^2.1.4"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@playwright/test": "^1.45.2",
"@vue/test-utils": "^2.4.5",
"cspell": "^8.7.0",
"@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.1",
"hardhat": "^2.22.6",
"husky": "^9.0.11",
"lint-staged": "^15.2.4",
"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.2.5",
"prettier": "^3.3.3",
"prettier-eslint": "^16.3.0",
"prettier-plugin-tailwindcss": "^0.5.14",
"zksync-ethers": "^6.11.0"
"zksync-ethers": "^6.12.0"
}
}
52 changes: 51 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,53 @@
{
"extends": ["github>nuxt/renovate-config-nuxt"]
"extends": [
"github>nuxt/renovate-config-nuxt",
"config:recommended",
"group:allNonMajor",
":semanticCommitTypeAll(chore)"
],
"timezone": "Europe/London",
"schedule": ["every weekend"],
"semanticCommits": "enabled",
"packageRules": [
{
"groupName": "Nuxt Dependencies",
"groupSlug": "template-deps",
"matchPackageNames": [
"@matterlabs/docs-nuxt-template",
"@iconify-json/**",
"@nuxt**",
"nuxt**",
"vue-easy-lightbox",
"@docsearch/**",
"rehype-katex",
"remark-math",
"dayjs"
]
},
{
"groupName": "ZK Dependencies",
"groupSlug": "zk-deps",
"matchPackageNames": ["ethers", "hardhat", "zksync-ethers"]
},
{
"groupName": "Tooling Dependencies",
"groupSlug": "tooling-deps",
"matchPackageNames": [
"eslint",
"@commitlint/**",
"cspell",
"husky",
"lint-staged",
"semantic-release",
"markdownlint**",
"prettier**",
"typescript",
"vue-tsc",
"@playwright/test",
"@vue/test-utils",
"node-pty",
"pm2"
]
}
]
}

0 comments on commit 4e19790

Please sign in to comment.