-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
96 changed files
with
7,160 additions
and
34,809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
extends: aron | ||
extends: techor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
extends: aron | ||
root: true | ||
extends: | ||
- techor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Contributing to Monorepo | ||
```bash | ||
pnpm install | ||
``` | ||
|
||
Run `pnpm build` in the project root to build all packages: | ||
```bash | ||
pnpm build | ||
``` | ||
Split a new terminal and switch to the target directory for testing to avoid running tests from other packages: | ||
```bash | ||
cd packages/css | ||
``` | ||
|
||
## Testing | ||
```bash | ||
pnpm test -- --watch | ||
``` | ||
|
||
Commit your tests ( and create a Pull Request ): | ||
```bash | ||
Add @1aron tests | ||
``` | ||
|
||
## Linting | ||
Follow the [Techor ESLint Preset](https://github.com/techor-dev/techor/tree/main/packages/eslint-config) | ||
```bash | ||
pnpm lint | ||
``` | ||
|
||
To automatically fix any violations in your code: | ||
``` | ||
pnpm lint -- --fix | ||
``` | ||
|
||
## Type Checking | ||
```bash | ||
pnpm type-check | ||
``` | ||
|
||
## Commit Checking | ||
Follow the [Techor Conventional Commits](https://github.com/techor-dev/techor/tree/main/packages/conventional-commits) | ||
```bash | ||
pnpm commit-check | ||
``` | ||
|
||
## Checking | ||
You have to pass `pnpm check` before submitting a pull request. | ||
```bash | ||
pnpm check | ||
``` | ||
The command includes all of the following checks: | ||
|
||
## Building | ||
``` | ||
pnpm build | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
blank_issues_enabled: true | ||
contact_links: | ||
- name: 🤔 Questions & Discussions | ||
url: https://github.com/techor-dev/repo/discussions | ||
about: Use GitHub discussions for forum-like discussions and questions. | ||
- name: 💬 Discord Chat | ||
url: https://discord.gg/sZNKpAAAw6 | ||
about: A friendly chat room, where you can ask questions and get help from other users in real time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
name: "✨ Feature" | ||
name: '✨ Feature' | ||
description: Propose a new feature | ||
title: '✨ ' | ||
labels: [enhancement] | ||
labels: [feature] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: Have a great idea for a new feature? Let us know! | ||
- type: markdown | ||
attributes: | ||
value: Have a great idea for a new feature? Let us know! | ||
|
||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: | | ||
Please tell us what you want to see in the next release and why you want to see it. | ||
If you are going to make a pull request, please let us know your scheduling. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: | | ||
Please tell us what you want to see in the next release and why you want to see it. | ||
If you are going to make a pull request, please let us know your scheduling. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
name: '💖 Improvement' | ||
description: Propose improvements to existing functionality or architecture. | ||
title: '💖 ' | ||
labels: [improvement] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: Tell us about anything that needs improvement or enhancement! | ||
|
||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Context | ||
description: | | ||
Describe the current and expected common context. | ||
- type: textarea | ||
id: current | ||
attributes: | ||
label: Current | ||
description: | | ||
Please describe the current issues that need to be improved. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected | ||
description: | | ||
Please describe what you expect the improvements to look like. | ||
validations: | ||
required: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: Sync dev branches | ||
on: | ||
push: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
sync: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Techor Actions | ||
uses: techor-dev/techor@main | ||
with: | ||
action: "sync-dev-branches" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: E2E | ||
on: | ||
push: | ||
branches: | ||
- "**" | ||
pull_request_target: | ||
types: | ||
- opened | ||
- reopened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
e2e: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: pnpm/action-setup@v3 | ||
with: | ||
version: 8 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
cache: 'pnpm' | ||
- run: pnpm install | ||
- run: pnpm exec playwright install --with-deps | ||
- run: pnpm build | ||
- run: pnpm e2e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.