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

chore: merge staging to main #23

Merged
merged 98 commits into from
Jun 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
8553b42
feat: add multi author option to tutorials
itsacoyote May 6, 2024
4118db9
feat: use docs nuxt layer
itsacoyote May 8, 2024
a0eddd5
chore: cleanup text for lint spelling
itsacoyote May 9, 2024
0b9fcd5
chore: fixup deploy workflows
itsacoyote May 9, 2024
b018354
fix: prettier
itsacoyote May 9, 2024
7971b29
chore: edit permisions on workflow
itsacoyote May 9, 2024
274f397
edit workflow
itsacoyote May 9, 2024
a13cd12
Merge pull request #4 from zkSync-Community-Hub/update-deploy-pipeline
itsacoyote May 9, 2024
85b4ad1
Merge branch 'staging' into multi-authors
itsacoyote May 9, 2024
0c1e4e3
Merge pull request #2 from zkSync-Community-Hub/multi-authors
itsacoyote May 9, 2024
5060d19
chore: cleanup
itsacoyote May 10, 2024
d9ebd50
Merge remote-tracking branch 'origin/main' into use-nuxt-layer
itsacoyote May 10, 2024
0457026
Merge remote-tracking branch 'origin' into use-nuxt-layer
itsacoyote May 10, 2024
ad0d74d
chore: lint prettier
itsacoyote May 10, 2024
a0e4969
chore: cleanup
itsacoyote May 10, 2024
8473014
Merge pull request #3 from zkSync-Community-Hub/use-nuxt-layer
itsacoyote May 10, 2024
8c9c85c
feat: migrates tutorials
uF4No May 13, 2024
d493117
feat: adds how to guides
uF4No May 14, 2024
af59ca4
feat: adds guides
uF4No May 14, 2024
8408f77
feat: migrates tutorials
uF4No May 13, 2024
558a23e
feat: adds how to guides
uF4No May 14, 2024
45d70e0
feat: adds guides
uF4No May 14, 2024
d4f53eb
Merge branch 'feat/content-migration' of https://github.com/zkSync-Co…
uF4No May 14, 2024
e6d86b1
feat: update design
itsacoyote May 15, 2024
b03a6f0
chore: add env for staging build
itsacoyote May 15, 2024
cd1111d
feat: add cool landing page
itsacoyote May 15, 2024
0332a63
feat: update og image
itsacoyote May 15, 2024
dfdf910
Merge pull request #6 from zkSync-Community-Hub/update-theme
itsacoyote May 15, 2024
e45435a
chore: update yamls
itsacoyote May 15, 2024
60add91
Merge remote-tracking branch 'origin/staging' into feat/content-migra…
itsacoyote May 15, 2024
fe62d7d
chore: update docs
itsacoyote May 16, 2024
1a6fecb
chore: fix lint
itsacoyote May 16, 2024
18c3045
chore: update text for link
dutterbutter May 16, 2024
c78a425
Merge pull request #7 from zkSync-Community-Hub/db/update-link
itsacoyote May 16, 2024
827388a
chore: add favicon back in
itsacoyote May 16, 2024
13cca5b
chore: cleanup
itsacoyote May 16, 2024
66f5380
chore: move link check workflow
itsacoyote May 16, 2024
dd4c8b7
Merge pull request #5 from zkSync-Community-Hub/feat/content-migration
itsacoyote May 16, 2024
86b3231
chore: update config
itsacoyote May 16, 2024
e858f98
fix: app name
itsacoyote May 16, 2024
5ac9fd3
Merge pull request #8 from zkSync-Community-Hub/update-theme
itsacoyote May 16, 2024
95934ff
chore: add workflow dispatch
dutterbutter May 17, 2024
7fb2dcc
Merge pull request #9 from zkSync-Community-Hub/db/workflow-trigger
itsacoyote May 17, 2024
c4b213b
feat: improve nav loading in content
itsacoyote May 21, 2024
326b9cb
chore: update seo
itsacoyote May 21, 2024
c7e73d7
chore: update spelling dict
itsacoyote May 21, 2024
7dca130
Merge pull request #10 from zkSync-Community-Hub/improvements
itsacoyote May 21, 2024
cfb94b8
feat: add search
itsacoyote May 22, 2024
9bc2f06
chore: update card style on landing
itsacoyote May 22, 2024
cd2d933
feat: add featured flag
itsacoyote May 22, 2024
dae77d3
chore: improve tutorial page design
itsacoyote May 22, 2024
99588d8
chore: quick fixes
itsacoyote May 23, 2024
fa099df
fix: styling on landing page
itsacoyote May 23, 2024
bfb8a1d
fix: lint error
itsacoyote May 23, 2024
6a0fd90
fix: formatting
itsacoyote May 23, 2024
d648220
Merge pull request #11 from zkSync-Community-Hub/itsacoyote-quick-fixes
itsacoyote May 23, 2024
30d22f1
feat: add google analytics
itsacoyote May 23, 2024
0360bfe
chore: cleanup git workflow
itsacoyote May 23, 2024
a210fa5
chore: add commitlint
itsacoyote May 23, 2024
427f5b4
chore: update husky and add commitlint
itsacoyote May 23, 2024
1142aa1
chore: add lint-staged to precommit
itsacoyote May 23, 2024
a9bfb88
chore: fix lint-staged config
itsacoyote May 23, 2024
61bd928
chore: configure GH workflows
itsacoyote May 23, 2024
a602ee1
feat: add semantic-release
itsacoyote May 23, 2024
fa7b8c0
chore: configure GH workflows
itsacoyote May 23, 2024
1f06c51
chore: configure release workflow
itsacoyote May 23, 2024
40ab190
chore: configure release workflow
itsacoyote May 23, 2024
54e4731
Merge pull request #12 from zkSync-Community-Hub/itsacoyote-devrl-696…
itsacoyote May 23, 2024
b2c07cc
Merge branch 'staging' into prep-release
itsacoyote May 24, 2024
bd22bfe
Merge pull request #13 from zkSync-Community-Hub/prep-release
itsacoyote May 24, 2024
c87130c
chore(ci): edit workflows
itsacoyote May 28, 2024
da0993f
chore(ci): disable husky in workflows
itsacoyote May 28, 2024
0e745a8
Merge pull request #14 from zkSync-Community-Hub/fix-release
itsacoyote May 29, 2024
0f052a1
chore: add and update project community files
itsacoyote May 29, 2024
546d9e7
chore: add badges to readme
itsacoyote May 29, 2024
303fcc5
chore: update readme and contributing docs
itsacoyote May 29, 2024
44d164e
chore: move issue field into the right issue template
itsacoyote May 29, 2024
ad5afc6
chore: fix lint-staged command
itsacoyote May 30, 2024
c9eaa05
chore: update code of conduct
itsacoyote May 30, 2024
96287ae
chore: fix id in gh issue form
itsacoyote May 30, 2024
82b3dd7
chore: update contributing doc
itsacoyote May 30, 2024
8bf1c80
chore: update contributing doc
itsacoyote May 30, 2024
80e911d
chore: create new tutorial template
itsacoyote May 30, 2024
b738d7f
docs: update tutorials
itsacoyote May 31, 2024
49be537
docs: updates for how-to tutorials
amelnytskyi May 31, 2024
e3fcc86
docs: fix l2-l1 message code
itsacoyote May 31, 2024
2c512f5
docs: updates for how-to tutorials
amelnytskyi Jun 3, 2024
45615c6
Merge pull request #20 from zkSync-Community-Hub/qa-fix-how-to-tutorials
itsacoyote Jun 3, 2024
5613d84
Merge pull request #16 from zkSync-Community-Hub/fix-lint-staged
itsacoyote Jun 3, 2024
a388a1d
Merge pull request #15 from zkSync-Community-Hub/itsacoyote-devrl-688…
itsacoyote Jun 3, 2024
2bbaebc
Merge pull request #19 from zkSync-Community-Hub/update-l1-l2-tutorial
itsacoyote Jun 3, 2024
4e40a6d
chore: edit workflows
itsacoyote Jun 4, 2024
e1505c6
chore: remove link-checker
itsacoyote Jun 4, 2024
f740dae
Merge pull request #21 from zkSync-Community-Hub/edit-workflows
itsacoyote Jun 4, 2024
89ecc27
chore: add concurrency rules to workflows
itsacoyote Jun 4, 2024
6ce73bb
chore: fix formatting in issue templates
itsacoyote Jun 4, 2024
ccae4c2
chore: fix yaml errors in issue templates
itsacoyote Jun 4, 2024
aa9219f
Merge pull request #22 from zkSync-Community-Hub/concurrency-rule
itsacoyote Jun 4, 2024
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
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,2 @@
# Production license for @nuxt/ui-pro, get one at https://ui.nuxt.com/pro/purchase
NUXT_UI_PRO_LICENSE=

# Public URL, used for OG Image when running nuxt generate
NUXT_PUBLIC_SITE_URL=
8 changes: 0 additions & 8 deletions .eslintignore

This file was deleted.

22 changes: 0 additions & 22 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"projects": {
"default": "community-cookbook-staging"
"default": "community-cookbook-staging",
"prod": "community-cookbook-59807"
}
}
44 changes: 0 additions & 44 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

53 changes: 53 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Bug Report
description: File a bug report.
title: "[Bug]: "
labels: ["bug", "triage"]
assignees:
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please fill out as much as you can, the more details the better we can help to resolve the issue.
- type: input
id: guide
attributes:
label: Guide you're having trouble with
description: If this feature is related to a specific guide, please provide the link to the guide.
placeholder: https://code.community.com/guides/the-guide
- type: textarea
id: what-happened
attributes:
label: What happened?
description: Also tell us, what did you expect to happen?
placeholder: Tell us what you see!
validations:
required: true
- type: textarea
id: expected
attributes:
label: What did you expect to happen?
placeholder: Tell us what you expected!
- type: textarea
id: environment
attributes:
label: Environment
description: Please share any relevant information about your environment.
placeholder: |
- Operating System: [e.g. macOS]
- Node version: [e.g., v18.17.0]
- Other relevant environment details:
- type: textarea
id: logs
attributes:
label: Relevant log output
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
render: shell
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/zkSync-Community-Hub/community-code/blob/main/CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: true
contact_links:
- name: zksync-developers Discussion
url: https://github.com/zkSync-Community-Hub/zkync-developers/discussions
about: Please provide feedback, and ask questions here.
about: If you have any questions or need help beyond this project, please visit our Discussions page for zksync developers.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/feature_report.md

This file was deleted.

31 changes: 31 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Feature Request
description: Is there a feature you would like to see in Code Community? Let us know!
title: "[Feature]: "
labels: ["feature", "triage"]
assignees:
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
value: |
We're constantly adding new features to the Code Community. If you have a feature you'd like to see, please fill out this form.
- type: textarea
id: description
attributes:
label: Description
description: Please provide a brief description of the feature you would like to see.
placeholder: Tell us what you would like to see!
- type: textarea
id: rationale
attributes:
label: Rationale
description: Why do you think this feature would be beneficial to the community?
placeholder: Tell us why you think this feature would be beneficial!
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/zkSync-Community-Hub/community-code/blob/main/CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true
25 changes: 25 additions & 0 deletions .github/ISSUE_TEMPLATE/new_guide_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: New Guide Request
description: Use this form to request a guide you would like to see in Code Community.
title: "[Guide]: "
labels: ["guide", "triage"]
assignees:
- zkSync-Community-Hub/zksync-devrel
body:
- type: markdown
attributes:
value: |
We're constantly adding new guides to the Code Community. If you have a guide you'd like to see, please fill out this form.
- type: textarea
id: description
attributes:
label: Description
description: Please provide a brief description of the guide you would like to see.
placeholder: Tell us what you would like to see!
- type: checkboxes
id: terms
attributes:
label: Code of Conduct
description: By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/zkSync-Community-Hub/community-code/blob/main/CODE_OF_CONDUCT.md).
options:
- label: I agree to follow this project's Code of Conduct
required: true
33 changes: 20 additions & 13 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
# What :computer:
* First thing updated with this PR
* Second thing updated with this PR
* Third thing updated with this PR
<!--

# Why :hand:
* Reason why first thing was added to PR
* Reason why second thing was added to PR
* Reason why third thing was added to PR
Thank you for contributing to the zkSync Code Community!

# Evidence :camera:
Include screenshots, screen recordings, or `console` output here demonstrating that your changes work as intended
Before submitting the PR, please make sure you do the following:

<!-- All sections below are optional. You can uncomment any section applicable to your Pull Request. -->
- Read the [Contributing Guide](https://github.com/zkSync-Community-Hub/community-code/blob/main/CONTRIBUTING.md).
- Understand our [Code of Conduct](https://github.com/zkSync-Community-Hub/community-code/blob/main/CODE_OF_CONDUCT.md)

<!-- # Notes :memo:
* Any notes/thoughts that the reviewers should know prior to reviewing the code? -->
-->

# Description

<!-- Please describe what are the changes and what they are solving for in this PR. -->

## Linked Issues

<!-- If you have any issues this PR is related to, link them here. -->
<!--
Check out https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue
on how to automate linking a GitHub Issue to a PR.
-->

## Additional context
30 changes: 17 additions & 13 deletions .github/workflows/checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches: [main, staging]
workflow_dispatch:

env:
HUSKY: 0
CI: true

jobs:
format:
name: code_format
Expand All @@ -13,20 +17,20 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
run: bun install --frozen-lockfile
- name: Runs Prettier Formatter
run: bun run lint:prettier

# spelling:
# name: spelling
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: oven-sh/setup-bun@v1
# - name: Install Dependencies
# run: bun install
# - name: Runs cSpell Spell Checker
# run: bun run lint:spelling
spelling:
name: spelling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install --frozen-lockfile
- name: Runs cSpell Spell Checker
run: bun run lint:spelling

markdown-lint:
name: markdown_lint
Expand All @@ -35,7 +39,7 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
run: bun install --frozen-lockfile
- name: Runs Markdown Linter
run: bun run lint:markdown

Expand All @@ -46,6 +50,6 @@ jobs:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- name: Install Dependencies
run: bun install
run: bun install --frozen-lockfile
- name: Runs ESLint
run: bun run lint:eslint
19 changes: 12 additions & 7 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ on:
pull_request:
workflow_dispatch:

env:
NUXT_SITE_ENV: staging # used for NuxtSEO to disable things like indexing on staging
HUSKY: 0
CI: true

permissions:
checks: write
contents: read
pull-requests: write

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:
Expand All @@ -18,14 +27,10 @@ jobs:
- uses: oven-sh/setup-bun@v1

- name: "Install dependencies"
run: bun install
run: bun install --production --frozen-lockfile

- name: "Deploy target: preview"
run: bun run generate

- uses: untitaker/[email protected]
with:
args: .output/public/ --sources content/
run: bun run build

- name: "Deploy preview"
uses: matter-labs/action-hosting-deploy@main
Expand Down
Loading
Loading