Skip to content

Commit 0afdd93

Browse files
authored
npm pusblish
2 parents 60936c9 + 833f8b8 commit 0afdd93

File tree

6 files changed

+40
-12
lines changed

6 files changed

+40
-12
lines changed

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,26 +9,31 @@ body:
99
1010
👋 Hi!
1111
12-
**Please fill the following carefully before opening a new issue ❗**
13-
*(Your issue may be closed if it doesn't provide the required pieces of information)*
12+
**Please read this carefully before opening an issue**
13+
14+
This project is maintained in free time.
15+
👉 If you only open tickets but don’t provide a fix, a PR, or help with debugging, your issue may be **closed without further notice**.
16+
Please respect that and consider contributing instead of just reporting.
1417
- type: checkboxes
1518
attributes:
1619
label: Before submitting a new issue
17-
description: Please perform simple checks first.
20+
description: Perform these checks first
1821
options:
19-
- label: I tested using the latest version of the library, as the bug might be already fixed.
22+
- label: I tested using the latest version of the library (the bug might already be fixed).
2023
required: true
21-
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of react native.
24+
- label: I tested using a [supported version](https://github.com/reactwg/react-native-releases/blob/main/docs/support.md) of React Native.
2225
required: true
2326
- label: I checked for possible duplicate issues, with possible answers.
2427
required: true
28+
- label: I am willing to help with debugging or contribute a fix (otherwise my issue might be closed).
29+
required: true
2530
- type: textarea
2631
id: summary
2732
attributes:
2833
label: Bug summary
2934
description: |
3035
Provide a clear and concise description of what the bug is.
31-
If needed, you can also provide other samples: error messages / stack traces, screenshots, gifs, etc.
36+
If needed, include error messages / stack traces, screenshots, gifs, etc.
3237
validations:
3338
required: true
3439
- type: input
@@ -62,6 +67,6 @@ body:
6267
id: reproducible-example
6368
attributes:
6469
label: Reproducible example repository
65-
description: Please provide a link to a repository on GitHub with a reproducible example.
70+
description: Please provide a link to a repository on GitHub with a reproducible example (required for triage).
6671
validations:
6772
required: true

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: pull_request.yml
1+
name: Pull Request Validation
22
on:
33
pull_request:
44
branches: [dev, main]

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: release.yml
1+
name: Release Package
22
on:
33
push:
44
branches:

.github/workflows/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Close Stale Issues
2+
on:
3+
schedule:
4+
- cron: '0 1 * * *'
5+
6+
jobs:
7+
close-issues:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
issues: write
11+
pull-requests: write
12+
steps:
13+
- uses: actions/stale@v10
14+
with:
15+
exempt-issue-labels: 'pinned,important'
16+
days-before-issue-stale: 7
17+
days-before-issue-close: 7
18+
stale-issue-label: 'stale'
19+
stale-issue-message: 'No activity for 7 days. Marking as stale.'
20+
close-issue-message: 'Closed automatically due to inactivity.'
21+
days-before-pr-stale: -1
22+
days-before-pr-close: -1
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}

release.config.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = {
5252
[
5353
'@semantic-release/npm',
5454
{
55-
npmPublish: false,
55+
npmPublish: true,
5656
tarballDir: 'release',
5757
},
5858
],

scripts/post-script.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ async function start(dir) {
5555
(async () => {
5656
try {
5757
await start(ROOT_DIR);
58-
console.log('All occurrences patched successfully.');
58+
console.log('All occurrences patched successfully.');
5959
} catch (err) {
60-
console.error('Error while processing files:', err);
60+
console.error('Error while processing files:', err);
6161
process.exit(1);
6262
}
6363
})();

0 commit comments

Comments
 (0)