Skip to content

Commit

Permalink
refactor: moving the repo into a mono repo
Browse files Browse the repository at this point in the history
  • Loading branch information
prisis committed May 21, 2024
1 parent 40cbea8 commit 26a1648
Show file tree
Hide file tree
Showing 213 changed files with 13,569 additions and 7,988 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.yarn/** linguist-vendored
748 changes: 748 additions & 0 deletions .github/CONTRIBUTING.md

Large diffs are not rendered by default.

27 changes: 16 additions & 11 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,25 @@ body:
value: |
Thanks for taking the time to fill out this bug report!
If you are unsure whether your problem is a bug or not, you can check the following:
- open a new [discussion](https://github.com/anolilab/semantic-release/discussions) and ask your question there
- type: "checkboxes"
id: "checkboxes"
attributes:
label: "Pre-Checks"
description: "Before submitting the issue, please make sure you do the following"
options:
- label: "Follow our [Code of Conduct](https://github.com/anolilab/multi-semantic-release/blob/main/.github/CODE_OF_CONDUCT.md)."
- label: "Follow our [Code of Conduct](https://github.com/anolilab/semantic-release/main/.github/CODE_OF_CONDUCT.md)."
required: true
- label: "Read the [Contributing Guidelines](https://github.com/anolilab/multi-semantic-release/blob/main/.github/CONTRIBUTING.md)."
- label: "Read the [Contributing Guidelines](https://github.com/anolilab/semantic-release/main/.github/CONTRIBUTING.md)."
required: true
- label: "Check that there isn't [already an issue](https://github.com/anolilab/multi-semantic-release/issues) that reports the same bug to avoid creating a duplicate."
- label: "Check that there isn't [already an issue](https://github.com/anolilab/semantic-release/issues) that reports the same bug to avoid creating a duplicate."
required: true
- label: "Make sure this is a multi-semantic-release issue and not related to a combination with another package."
- label: "Make sure this is a semantic-release issue and not related to a combination with another package."
required: true
- label: "Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/anolilab/multi-semantic-release/discussions)."
- label: "Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/anolilab/semantic-release/discussions)."
required: true
- label: "The provided reproduction is a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug."
required: true
Expand All @@ -31,7 +35,7 @@ body:
id: "bug-description"
attributes:
label: "Describe the bug"
description: "A clear and concise description of what the bug is."
description: "A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!"
placeholder: "I am doing ... What I expect is ... What actually happening is ..."
validations:
required: true
Expand All @@ -41,8 +45,9 @@ body:
attributes:
label: "Minimal reproduction code"
description: |
An URL to some git repository or gist that reproduces this issue. [Wtf is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction)
Alternatively you could write the code sample directly here with [markdown support.](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks)
An URL to some git repository or gist that reproduces this issue. [What is a minimum reproduction?](https://jmcdo29.github.io/wtf-is-a-minimum-reproduction) ([Why?](https://antfu.me/posts/why-reproductions-are-required).
Alternatively you could write the code sample directly here with [markdown support.](https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks).
If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
placeholder: "https://github.com/... or ``` code ```"

- type: "textarea"
Expand All @@ -57,7 +62,7 @@ body:
id: "environment-info"
attributes:
label: "Environment Info"
description: "Output of `npx envinfo --system --binaries --browsers --monorepos --npmPackages '{semantic-release*,@semantic-release/*}'`"
description: "Output of `npx envinfo --system --npmPackages '@anolilab/*' --binaries --browsers`"
render: "shell"
placeholder: |
System:
Expand All @@ -68,10 +73,10 @@ body:
Shell: _
Binaries:
Node: _ - /usr/bin/node
Yarn: _ - /usr/bin/yarn
npm: _ - /usr/bin/npm
pnpm: _ - /usr/bin/pnpm
npmPackages:
@semantic-release/*: _ => _
@anolilab/*: _ => _
validations:
required: true

Expand Down
14 changes: 13 additions & 1 deletion .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
id: "feature-description"
attributes:
label: "Clear and concise description of the problem"
description: "As a developer I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!"
description: "As a developer using @anolilab/* I want [goal / wish] so that [benefit]. If you intend to submit a PR for this issue, tell us in the description. Thanks!"
validations:
required: true
- type: "textarea"
Expand All @@ -29,3 +29,15 @@ body:
attributes:
label: "Additional context"
description: "Any other context about the feature request here."
- type: checkboxes
id: checkboxes
attributes:
label: Validations
description: Before submitting the issue, please make sure you do the following
options:
- label: Follow our [Code of Conduct](https://github.com/anolilab/semantic-release/main/.github/CODE_OF_CONDUCT.md)
required: true
- label: Read the [Contributing Guidelines](https://github.com/anolilab/semantic-release/main/.github/CONTRIBUTING.md).
required: true
- label: Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
required: true
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/freestyle.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ name: "Freestyle Report"
about: "Create a report to help us improve"
labels: "s: pending triage" # This will automatically assign the 'pending triage' label
---

<!-- Note: for support questions, please use GitHub discussions. This repository's issues are reserved for feature requests and bug reports. -->
19 changes: 19 additions & 0 deletions .github/TROUBLESHOOT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# TROUBLESHOOT

## Development

### Limit of file watchers reached

Error: ENOSPC: System limit for number of file watchers reached
[Stackoverflow answer](https://stackoverflow.com/questions/55763428/react-native-error-enospc-system-limit-for-number-of-file-watchers-reached)

```
# insert the new value into the system config
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
# check that the new value was applied
cat /proc/sys/fs/inotify/max_user_watches
# config variable name (not runnable)
fs.inotify.max_user_watches=524288
```
21 changes: 14 additions & 7 deletions .github/file-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,30 @@

frontend_lintable:
- "**/*.[tj]{s,sx}"
- "**/tsconfig*.json"
- "**/package.json"
- "pnpm-lock.yaml"

package_json_lintable:
- "**/package.json"
- "package.json"

markdown_lintable:
- "**/*.md"
- "**/*.mdx"
- "**/package.json"
- "pnpm-lock.yaml"

yaml_lintable:
- "**/*.yml"
- "**/*.yaml"
- "pnpm-lock.yaml"

packages:
packages: &packages
- "**/tsconfig*.json"
- "pnpm-lock.yaml"
- "lib/**"
- "__tests__/**"
- "__fixtures__/**"
- "bin/**"
- ".github/workflows/test.yml"
- ".github/workflows/lint.yml"
- "package.json"
- "packages/**"

codecov:
- "codecov.yml"
19 changes: 0 additions & 19 deletions .github/semantic.yml

This file was deleted.

194 changes: 0 additions & 194 deletions .github/settings.yml

This file was deleted.

Loading

0 comments on commit 26a1648

Please sign in to comment.