From 25a72cf9fcef8af7983f92ea871e5421d281c122 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Tue, 19 Mar 2024 10:07:51 -0500 Subject: [PATCH 1/4] debug --- .firebaserc | 5 ++ .github/workflows/firebase-hosting-merge.yml | 20 +++++ .../firebase-hosting-pull-request.yml | 21 +++++ .gitignore | 66 ++++++++++++++ firebase.json | 10 +++ public/404.html | 33 +++++++ public/index.html | 89 +++++++++++++++++++ 7 files changed, 244 insertions(+) create mode 100644 .firebaserc create mode 100644 .github/workflows/firebase-hosting-merge.yml create mode 100644 .github/workflows/firebase-hosting-pull-request.yml create mode 100644 .gitignore create mode 100644 firebase.json create mode 100644 public/404.html create mode 100644 public/index.html diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 00000000..22c8cdce --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "zksync-docs-staging" + } +} diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml new file mode 100644 index 00000000..9af63385 --- /dev/null +++ b/.github/workflows/firebase-hosting-merge.yml @@ -0,0 +1,20 @@ +# This file was auto-generated by the Firebase CLI +# https://github.com/firebase/firebase-tools + +name: Deploy to Firebase Hosting on merge +'on': + push: + branches: + - main +jobs: + build_and_deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: bun run build + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}' + channelId: live + projectId: zksync-docs diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml new file mode 100644 index 00000000..df1d4f35 --- /dev/null +++ b/.github/workflows/firebase-hosting-pull-request.yml @@ -0,0 +1,21 @@ +# This file was auto-generated by the Firebase CLI +# https://github.com/firebase/firebase-tools + +name: Deploy to Firebase Hosting on PR +'on': pull_request +permissions: + checks: write + contents: read + pull-requests: write +jobs: + build_and_preview: + if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - run: bun run build + - uses: FirebaseExtended/action-hosting-deploy@v0 + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}' + projectId: zksync-docs diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..dbb58ffb --- /dev/null +++ b/.gitignore @@ -0,0 +1,66 @@ +# Logs +logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* +firebase-debug.log* +firebase-debug.*.log* + +# Firebase cache +.firebase/ + +# Firebase config + +# Uncomment this if you'd like others to create their own Firebase project. +# For a team working on the same Firebase project(s), it is recommended to leave +# it commented so all members can deploy to the same project(s) in .firebaserc. +# .firebaserc + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# Bower dependency directory (https://bower.io/) +bower_components + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules/ + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + +# dotenv environment variables file +.env diff --git a/firebase.json b/firebase.json new file mode 100644 index 00000000..e7829392 --- /dev/null +++ b/firebase.json @@ -0,0 +1,10 @@ +{ + "hosting": { + "public": "public", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } +} diff --git a/public/404.html b/public/404.html new file mode 100644 index 00000000..829eda8f --- /dev/null +++ b/public/404.html @@ -0,0 +1,33 @@ + + + + + + Page Not Found + + + + +
+

404

+

Page Not Found

+

The specified file was not found on this website. Please check the URL for mistakes and try again.

+

Why am I seeing this?

+

This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.

+
+ + diff --git a/public/index.html b/public/index.html new file mode 100644 index 00000000..a8785d73 --- /dev/null +++ b/public/index.html @@ -0,0 +1,89 @@ + + + + + + Welcome to Firebase Hosting + + + + + + + + + + + + + + + + + + + +
+

Welcome

+

Firebase Hosting Setup Complete

+

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

+ Open Hosting Documentation +
+

Firebase SDK Loading…

+ + + + From 5e3393afbe8f7abae322c1ec2bd83695d1b5c7c9 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 21 Mar 2024 10:24:42 -0500 Subject: [PATCH 2/4] chore: wip --- nuxt.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 02be878c..e999c80d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -47,4 +47,10 @@ export default defineNuxtConfig({ }, }, }, + // deployment settings for Firebase + nitro: { + firebase: { + gen: 2, + }, + }, }); From 7a5026b541df9de7feb6473869e169eb8aac0ad8 Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Thu, 21 Mar 2024 18:04:03 -0500 Subject: [PATCH 3/4] feat: adds deploy pipeline and addresses linting issues feat: adds deploy pipeline and addresses linting issues feat: adds deploy pipeline and addresses linting issues --- .firebaserc | 17 +++- .github/workflows/checks.yaml | 44 +++++---- .github/workflows/deploy-preview.yml | 31 ++++++ .github/workflows/deploy-prod.yml | 56 +++++++++++ .github/workflows/deploy-staging.yml | 31 ++++++ .github/workflows/firebase-hosting-merge.yml | 20 ---- .../firebase-hosting-pull-request.yml | 21 ----- .github/workflows/secrets_scanner.yaml | 4 +- .gitignore | 1 + app.vue | 6 +- bun.lockb | Bin 603003 -> 614205 bytes .../{Footer.vue => FooterComponent.vue} | 0 .../{Header.vue => HeaderComponent.vue} | 0 firebase.json | 22 +++-- nuxt.config.ts | 1 - package.json | 5 +- pages/about-us.vue | 2 +- pages/index.vue | 2 +- public/404.html | 33 ------- public/index.html | 89 ------------------ 20 files changed, 187 insertions(+), 198 deletions(-) create mode 100644 .github/workflows/deploy-preview.yml create mode 100644 .github/workflows/deploy-prod.yml create mode 100644 .github/workflows/deploy-staging.yml delete mode 100644 .github/workflows/firebase-hosting-merge.yml delete mode 100644 .github/workflows/firebase-hosting-pull-request.yml rename components/{Footer.vue => FooterComponent.vue} (100%) rename components/{Header.vue => HeaderComponent.vue} (100%) delete mode 100644 public/404.html delete mode 100644 public/index.html diff --git a/.firebaserc b/.firebaserc index 22c8cdce..6a496bc8 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,5 +1,18 @@ { "projects": { - "default": "zksync-docs-staging" - } + "default": "zksync-docs" + }, + "targets": { + "zksync-docs": { + "hosting": { + "prod": [ + "zksync-docs" + ], + "staging": [ + "zksync-docs-staging" + ] + } + } + }, + "etags": {} } diff --git a/.github/workflows/checks.yaml b/.github/workflows/checks.yaml index b8862165..115b9e1f 100644 --- a/.github/workflows/checks.yaml +++ b/.github/workflows/checks.yaml @@ -1,22 +1,21 @@ -name: clean ๐Ÿงน +name: check ๐Ÿ•ต๏ธ on: pull_request: branches: [main, staging] - workflow_dispatch: jobs: format: - name: format + name: code_format runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - - name: Runs prettier formatter - run: | - bun install - bun run lint:prettier + - name: Install Dependencies + run: bun install + - name: Runs Prettier Formatter + run: bun run lint:prettier spelling: name: spelling @@ -24,18 +23,29 @@ jobs: steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - - name: Runs cspell spell checker - run: | - bun install - bun run lint:spelling + - name: Install Dependencies + run: bun install + - name: Runs cSpell Spell Checker + run: bun run lint:spelling + + markdown-lint: + name: markdown_lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: oven-sh/setup-bun@v1 + - name: Install Dependencies + run: bun install + - name: Runs Markdown Linter + run: bun run lint:markdown - lint: - name: lint markdown + eslint: + name: code_lint runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: oven-sh/setup-bun@v1 - - name: Runs mdl markdown linter - run: | - bun install - bun run lint:markdown \ No newline at end of file + - name: Install Dependencies + run: bun install + - name: Runs ESLint + run: bun run lint:eslint diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml new file mode 100644 index 00000000..036839f2 --- /dev/null +++ b/.github/workflows/deploy-preview.yml @@ -0,0 +1,31 @@ +name: "preview builder ๐Ÿ‘€" +on: + pull_request: + workflow_dispatch: + +jobs: + build_and_preview: + env: + NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} + NUXT_PUBLIC_SITE_URL: ${{ secrets.NUXT_PUBLIC_SITE_URL }} + if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.head.repo.full_name == github.repository }} + runs-on: ubuntu-latest + outputs: + output_urls: "${{ steps.preview_deploy.outputs.urls }}" + steps: + - uses: actions/checkout@v4 # v4 + + - uses: oven-sh/setup-bun@v1 + + - name: "Install dependencies" + run: bun install + - name: "Deploy target: staging" + run: bun run build && bun run generate + + - name: "Deploy preview" + uses: matter-labs/action-hosting-deploy@main + with: + repoToken: '${{ secrets.GITHUB_TOKEN }}' + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" + target: staging + projectId: zksync-docs \ No newline at end of file diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml new file mode 100644 index 00000000..bb76800e --- /dev/null +++ b/.github/workflows/deploy-prod.yml @@ -0,0 +1,56 @@ +name: "deploy ๐Ÿš€" +on: + push: + branches: [main] + +jobs: + build_and_deploy: + env: + NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} + if: ${{ github.event.repository.full_name == github.repository }} + runs-on: ubuntu-latest + environment: prod + steps: + - uses: actions/checkout@v4 # v4 + with: + fetch-depth: 0 + # Whether to configure the token or SSH key with the local git config + # Default: true + persist-credentials: false # <--- checking this in commit context + + - uses: oven-sh/setup-bun@v1 + + - name: "Install dependencies" + run: bun install + - name: "Deploy target: staging" + run: bun run build && bun run generate + # TODO: ask about below + # env: + # RUDDERSTACK_WRITE_KEY: "${{ secrets.RUDDERSTACK_WRITE_KEY }}" + # RUDDERSTACK_DATA_PLANE_URL: "${{ secrets.RUDDERSTACK_DATA_PLANE_URL }}" + + - uses: matter-labs/action-hosting-deploy@main + with: + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" + target: prod + projectId: zksync-docs + channelId: live + + # TODO: re-enable once we are closer to production deployment + # - name: Purge cf cache + # uses: nathanvaughn/actions-cloudflare-purge@db8c58f61ba4c3ec77229c8fa14ddebb3b59932f # v3.1.0 + # with: + # cf_zone: ${{ secrets.CLOUDFLARE_ZONE }} + # cf_auth: ${{ secrets.CLOUDFLARE_AUTH_KEY }} + # hosts: | + # docs.zksync.io + # era.zksync.io + # v2-docs.zksync.io + + # TODO: Implement reindex task tracking instead of blindly exiting on task submit + # - name: Trigger Algolia reindex + # run: | + # curl -X POST "${{ secrets.ALGOLIA_CRAWLER_BASE_URL }}/crawlers/${{ secrets.ALGOLIA_CRAWLER_ID }}/reindex" \ + # -H "Content-Type: application/json" \ + # --user "${{ secrets.ALGOLIA_CRAWLER_USER_ID }}:${{ secrets.ALGOLIA_CRAWLER_API_KEY }}" \ No newline at end of file diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml new file mode 100644 index 00000000..9d33ea0c --- /dev/null +++ b/.github/workflows/deploy-staging.yml @@ -0,0 +1,31 @@ +name: "deploy staging ๐Ÿ—๏ธ" +on: + push: + branches: [staging] + +jobs: + build_and_deploy: + env: + NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }} + NUXT_PUBLIC_SITE_URL: ${{ secrets.NUXT_PUBLIC_SITE_URL }} + if: ${{ github.event.repository.full_name == github.repository }} + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 # v4 + with: + ref: "${{ github.event.inputs.ref }}" + + - uses: oven-sh/setup-bun@v1 + + - name: "Install dependencies" + run: bun install + - name: "Deploy target: staging" + run: bun run build && bun run generate + + - uses: matter-labs/action-hosting-deploy@main + with: + repoToken: "${{ secrets.GITHUB_TOKEN }}" + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" + target: staging + projectId: zksync-docs + channelId: live \ No newline at end of file diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml deleted file mode 100644 index 9af63385..00000000 --- a/.github/workflows/firebase-hosting-merge.yml +++ /dev/null @@ -1,20 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on merge -'on': - push: - branches: - - main -jobs: - build_and_deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: bun run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}' - channelId: live - projectId: zksync-docs diff --git a/.github/workflows/firebase-hosting-pull-request.yml b/.github/workflows/firebase-hosting-pull-request.yml deleted file mode 100644 index df1d4f35..00000000 --- a/.github/workflows/firebase-hosting-pull-request.yml +++ /dev/null @@ -1,21 +0,0 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools - -name: Deploy to Firebase Hosting on PR -'on': pull_request -permissions: - checks: write - contents: read - pull-requests: write -jobs: - build_and_preview: - if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}' - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: bun run build - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}' - projectId: zksync-docs diff --git a/.github/workflows/secrets_scanner.yaml b/.github/workflows/secrets_scanner.yaml index 4be8437d..ff4ff92f 100644 --- a/.github/workflows/secrets_scanner.yaml +++ b/.github/workflows/secrets_scanner.yaml @@ -1,9 +1,9 @@ -name: Leaked Secrets Scan +name: secret ๐Ÿ” on: pull_request: merge_group: jobs: - TruffleHog: + scan: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.gitignore b/.gitignore index feb2e8b6..763090fe 100644 --- a/.gitignore +++ b/.gitignore @@ -99,3 +99,4 @@ yarn.lock .nitro .cache dist +.firebase \ No newline at end of file diff --git a/app.vue b/app.vue index 6a1a44f8..b31c0f44 100644 --- a/app.vue +++ b/app.vue @@ -1,5 +1,7 @@ - + diff --git a/pages/index.vue b/pages/index.vue index 414cbb11..a74d277f 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -19,7 +19,6 @@ const particlesLoaded = async (container: unknown) => {
- - - - - Page Not Found - - - - -
-

404

-

Page Not Found

-

The specified file was not found on this website. Please check the URL for mistakes and try again.

-

Why am I seeing this?

-

This page was generated by the Firebase Command-Line Interface. To modify it, edit the 404.html file in your project's configured public directory.

-
- - diff --git a/public/index.html b/public/index.html deleted file mode 100644 index a8785d73..00000000 --- a/public/index.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - - Welcome to Firebase Hosting - - - - - - - - - - - - - - - - - - - -
-

Welcome

-

Firebase Hosting Setup Complete

-

You're seeing this because you've successfully setup Firebase Hosting. Now it's time to go build something extraordinary!

- Open Hosting Documentation -
-

Firebase SDK Loading…

- - - - From 89704dff80e7fe0ddf091f11dfb286953fe4786d Mon Sep 17 00:00:00 2001 From: Dustin Brickwood Date: Fri, 22 Mar 2024 14:24:20 -0500 Subject: [PATCH 4/4] chore: setup staging deployment and preview in separate project --- .firebaserc | 15 ++--------- .github/workflows/deploy-preview.yml | 5 ++-- .github/workflows/deploy-staging.yml | 5 ++-- .github/workflows/secrets_scanner.yaml | 4 +-- .markdownlint.json | 6 ++++- content/10.getting-started/1.index.md | 28 ++++++++++++-------- content/10.getting-started/2.installation.md | 6 ++--- firebase.json | 18 +++---------- 8 files changed, 37 insertions(+), 50 deletions(-) diff --git a/.firebaserc b/.firebaserc index 6a496bc8..e983fad5 100644 --- a/.firebaserc +++ b/.firebaserc @@ -1,18 +1,7 @@ { "projects": { - "default": "zksync-docs" - }, - "targets": { - "zksync-docs": { - "hosting": { - "prod": [ - "zksync-docs" - ], - "staging": [ - "zksync-docs-staging" - ] - } - } + "default": "zksync-docs-staging-5eb09", + "prod": "zksync-docs" }, "etags": {} } diff --git a/.github/workflows/deploy-preview.yml b/.github/workflows/deploy-preview.yml index 036839f2..dc5f22d1 100644 --- a/.github/workflows/deploy-preview.yml +++ b/.github/workflows/deploy-preview.yml @@ -26,6 +26,5 @@ jobs: uses: matter-labs/action-hosting-deploy@main with: repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" - target: staging - projectId: zksync-docs \ No newline at end of file + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS_STAGING_5EB09 }}" + projectId: zksync-docs-staging-5eb09 \ No newline at end of file diff --git a/.github/workflows/deploy-staging.yml b/.github/workflows/deploy-staging.yml index 9d33ea0c..e0086118 100644 --- a/.github/workflows/deploy-staging.yml +++ b/.github/workflows/deploy-staging.yml @@ -25,7 +25,6 @@ jobs: - uses: matter-labs/action-hosting-deploy@main with: repoToken: "${{ secrets.GITHUB_TOKEN }}" - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS }}" - target: staging - projectId: zksync-docs + firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_ZKSYNC_DOCS_STAGING_5EB09 }}" + projectId: zksync-docs-staging-5eb09 channelId: live \ No newline at end of file diff --git a/.github/workflows/secrets_scanner.yaml b/.github/workflows/secrets_scanner.yaml index ff4ff92f..8904a999 100644 --- a/.github/workflows/secrets_scanner.yaml +++ b/.github/workflows/secrets_scanner.yaml @@ -1,9 +1,9 @@ -name: secret ๐Ÿ” +name: scan ๐Ÿ” on: pull_request: merge_group: jobs: - scan: + secrets: runs-on: ubuntu-latest steps: - name: Checkout code diff --git a/.markdownlint.json b/.markdownlint.json index 8a59db9f..123df027 100644 --- a/.markdownlint.json +++ b/.markdownlint.json @@ -13,5 +13,9 @@ "line_length": 120, "tables": false }, - "MD033": false + "MD033": false, + "MD003": false, + "MD034": false, + "MD024": false, + "MD022": false } diff --git a/content/10.getting-started/1.index.md b/content/10.getting-started/1.index.md index 47be72c1..83fc70a3 100644 --- a/content/10.getting-started/1.index.md +++ b/content/10.getting-started/1.index.md @@ -34,22 +34,28 @@ There are already many websites based on this template: You can start playing with this template in your browser using our online sandboxes: -::u-button - -class: mr-4 icon: i-simple-icons-stackblitz label: Play on StackBlitz target: \_blank to: -[stackblitz](https://stackblitz.com/github/nuxt-ui-pro/docs/) - +::card --- - +title: Play on StackBlitz +icon: i-simple-icons-stackblitz +to: https://stackblitz.com/github/nuxt-ui-pro/docs/ +target: _blank +--- +Explore Nuxt built-in components for pages, layouts, head, and more. :: -::u-button - -class: mt-2 sm:mt-0 icon: i-simple-icons-codesandbox label: Play on CodeSandbox target: \_blank to: -[codesandbox](https://codesandbox.io/s/github/nuxt-ui-pro/docs/) - --- +::card +--- +title: Play on CodeSandbox +icon: i-simple-icons-codesandbox +to: https://codesandbox.io/s/github/nuxt-ui-pro/docs/ +target: _blank +--- +Explore Nuxt built-in components for pages, layouts, head, and more. :: +--- + Or open [Nuxt UI playground](https://ui.nuxt.com/playground). diff --git a/content/10.getting-started/2.installation.md b/content/10.getting-started/2.installation.md index eda61a5c..802d52fe 100644 --- a/content/10.getting-started/2.installation.md +++ b/content/10.getting-started/2.installation.md @@ -4,9 +4,9 @@ description: Get started with Nuxt UI Pro documentation template. layout: docs --- -## ::callout - -icon: i-heroicons-light-bulb target: \_blank to: [nuxt studio](https://nuxt.studio/themes/docs) +::callout{icon="i-heroicons-light-bulb"} +This is a callout. +:: --- diff --git a/firebase.json b/firebase.json index a8ac073e..7dd16c19 100644 --- a/firebase.json +++ b/firebase.json @@ -1,16 +1,6 @@ { - "hosting": [ - { - "target": "staging", - "public": ".output/public", - "cleanUrls": true, - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] - }, - { - "target": "prod", - "public": ".output/public", - "cleanUrls": true, - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] - } - ] + "hosting": { + "public": ".output/public", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] + } }