Skip to content

Commit 53948af

Browse files
committed
Merge branch 'master' into v3.x
2 parents d878856 + 90ab527 commit 53948af

27 files changed

+293
-155
lines changed

.github/CONTRIBUTING.md

Lines changed: 32 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,21 @@
1-
# Bugs, Questions, and Feature Requests
1+
# Contributing to Gulp Xtend
2+
3+
Looking to contribute something to Gulp Xtend? **Here's how you can help.**
4+
5+
Please take a moment to review this document in order to make the contribution
6+
process easy and effective for everyone involved.
7+
8+
Following these guidelines helps to communicate that you respect the time of
9+
the developers managing and developing this open source project. In return,
10+
they should reciprocate that respect in addressing your issue or assessing
11+
patches and features.
12+
13+
## Code guidelines
14+
## Using the issue tracker
15+
## Issues assignment
16+
## Issues and labels
17+
## Bug reports
18+
## Feature requests
219

320
Laporan bug, pertanyaan, dan permintaan fitur gunakan [GitHub Issues](/issues).
421

@@ -10,30 +27,23 @@ Laporan bug, pertanyaan, dan permintaan fitur gunakan [GitHub Issues](/issues).
1027
2. Sertakan file minimum yang diperlukan untuk menunjukkan bug.
1128
3. Browser dan OS yang anda gunakan.
1229

13-
## Get started
30+
## Pull requests
1431

1532
To begin, please fork the project, clone your fork, configure the remotes, and install dependencies:
1633

17-
```bash
18-
# 1. Fork the project
34+
1. [Fork](https://help.github.com/articles/fork-a-repo/) the project, clone your fork, and configure the remotes:
1935

20-
# 2. Clone your fork of the repo into the current directory
36+
```bash
37+
# Clone your fork of the repo into the current directory
2138
git clone https://github.com/<your-username>/gulp-xtend.git
22-
23-
# 3. Navigate to the newly cloned directory
24-
$ cd gulp-xtend
25-
26-
# 4. Assign the original repo to a remote called "upstream"
27-
$ git remote add upstream https://github.com/buddywinangun/gulp-xtend.git
28-
29-
# 5. Install dependencies
39+
# Navigate to the newly cloned directory
40+
cd gulp-xtend
41+
# Assign the original repo to a remote called "upstream"
42+
git remote add upstream https://github.com/buddywinangun/gulp-xtend.git
43+
# Install dependencies
3044
npm install
3145
```
3246

33-
## Pull requests
34-
35-
1. Read [get started](#get-started) above.
36-
3747
2. If you cloned a while ago, get the latest changes from upstream:
3848
```bash
3949
git checkout main
@@ -52,4 +62,8 @@ git checkout -b <topic-branch-name>
5262
git push origin <topic-branch-name>
5363
```
5464

55-
7. Open a Pull Request with a clear title and description against the `main` branch.
65+
6. [Open a Pull Request](https://help.github.com/articles/about-pull-requests/) with a clear title and description against the `main` branch.
66+
67+
## License
68+
69+
By contributing your code, you agree to license your contribution under the [MIT License](../LICENSE).

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 44 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,31 @@
1-
name: 🐛Bug Report
2-
description: Ajukan laporan bug di sini
3-
title: "[BUG]: "
1+
name: Report a bug
2+
description: Tell us about a bug or issue you may have identified in gulp-xtend.
3+
title: "Provide a general summary of the issue"
44
labels: ["bug"]
5-
assignees: ["buddywinangun"]
5+
assignees: "-"
66
body:
7-
- type: markdown
7+
- type: checkboxes
88
attributes:
9-
value: |
10-
Terima kasih telah meluangkan waktu untuk mengisi laporan bug ini 🤗
11-
Pastikan tidak ada issues terbuka/tertutup untuk topik ini 😃
12-
9+
label: Prerequisites
10+
description: Take a couple minutes to help our maintainers work faster.
11+
options:
12+
- label: I have [searched](https://github.com/buddywinangun/gulp-xtend/issues?utf8=%E2%9C%93&q=is%3Aissue) for duplicate or closed issues
13+
required: true
14+
- label: I have [validated](https://html5.validator.nu/) any HTML to avoid common problems
15+
required: true
16+
- label: I have read the [contributing guidelines](https://github.com/buddywinangun/gulp-xtend/blob/main/.github/CONTRIBUTING.md)
17+
required: true
1318
- type: textarea
14-
id: bug-description
19+
id: what-happened
1520
attributes:
16-
label: Keterangan bug
17-
description: Beri kami gambaran singkat tentang apa yang terjadi dan apa yang seharusnya terjadi
21+
label: Describe the issue
22+
description: Provide a summary of the issue and what you expected to happen, including specific steps to reproduce.
1823
validations:
1924
required: true
20-
2125
- type: textarea
22-
id: steps-to-reproduce
26+
id: reduced-test-case
2327
attributes:
24-
label: Langkah-langkah
28+
label: Reduced test cases
2529
description: Langkah-langkah untuk melihat issue terkait topik ini.
2630
placeholder: |
2731
1. Go to '...'
@@ -30,19 +34,37 @@ body:
3034
4. See error
3135
validations:
3236
required: true
33-
3437
- type: dropdown
35-
id: versions
38+
id: browser
39+
attributes:
40+
label: What browser(s) are you seeing the problem on?
41+
multiple: true
42+
options:
43+
- Chrome
44+
- Safari
45+
- Firefox
46+
- Microsoft Edge
47+
- Opera
48+
- type: dropdown
49+
id: os
3650
attributes:
37-
label: Versi mana yang anda gunakan?
38-
description: Jika issue ini terjadi pada lebih dari 1 versi, pilih versi yang sesuai.
51+
label: What operating system(s) are you seeing the problem on?
3952
multiple: true
4053
options:
41-
- 1.0.0
42-
- 2.0.0
54+
- Windows
55+
- macOS
56+
- Android
57+
- iOS
58+
- Linux
59+
validations:
60+
required: true
61+
- type: input
62+
id: version
63+
attributes:
64+
label: What version of Bootstrap are you using?
65+
placeholder: "e.g., v5.1.0 or v4.5.2"
4366
validations:
4467
required: true
45-
4668
- type: textarea
4769
id: additional-information
4870
attributes:

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
contact_links:
2+
- name: Ask the community
3+
url: https://github.com/buddywinangun/gulp-xtend/discussions/new
4+
about: Ask and discuss questions with other gulp-xtend community members.
Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,29 @@
1-
name: ✨Feature Request
2-
description: Minta fitur atau penyempurnaan fitur baru
3-
labels: ["peningkatan"]
4-
title: "[FEAT]: "
1+
name: Feature request
2+
description: Suggest new or updated features to include in gulp-xtend.
3+
title: "Suggest a new feature"
4+
labels: [feature]
5+
assignees: []
56
body:
6-
- type: markdown
7+
- type: checkboxes
78
attributes:
8-
value: |
9-
Harap pastikan permintaan fitur ini belum dikirimkan oleh seseorang dengan melihat issues terbuka/tertutup lainnya
10-
9+
label: Prerequisites
10+
description: Take a couple minutes to help our maintainers work faster.
11+
options:
12+
- label: I have [searched](https://github.com/buddywinangun/gulp-xtend/issues) for duplicate or closed feature requests
13+
required: true
14+
- label: I have read the [contributing guidelines](https://github.com/buddywinangun/gulp-xtend/blob/main/.github/CONTRIBUTING.md)
15+
required: true
1116
- type: textarea
12-
id: description
17+
id: proposal
1318
attributes:
14-
label: Keterangan
15-
description: Beri kami penjelasan singkat tentang fitur atau peningkatan yang anda inginkan
19+
label: Proposal
20+
description: Provide detailed information for what we should add, including relevant links to prior art, screenshots, or live demos whenever possible.
1621
validations:
1722
required: true
18-
1923
- type: textarea
20-
id: additional-information
24+
id: motivation
2125
attributes:
22-
label: informasi tambahan
23-
description: Beri kami beberapa informasi tambahan tentang permintaan fitur seperti solusi yang diusulkan, tautan, screenshots, dll.
26+
label: Motivation and context
27+
description: Tell us why this change is needed or helpful, and what problems it may help solve.
28+
validations:
29+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 34 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,42 @@
11
<!--
22
Terima kasih telah membuat PR ini 🤗
3-
4-
Harap pastikan bahwa PR dibatasi pada satu jenis (dokumen, fitur, dll.) dan usahakan sekecil mungkin. Lebih baik anda membuka banyak PR dan sederhana daripada membuka PR yang rumit.
3+
Harap pastikan bahwa PR dibatasi pada satu jenis (dokumen, fitur, dll.) dan usahakan sekecil mungkin. Lebih baik anda membuka banyak PR dan sederhana daripada PR yang rumit.
54
-->
65

7-
<!-- Jika PR ini menyelesaikan issue, harap sebutkan nomor issue di bawah -->
8-
Closes # <!-- Issue # disini -->
6+
### Description
97

10-
## 📑 Keterangan
11-
<!-- Tambahkan deskripsi singkat tentang PR -->
8+
<!-- Describe your changes in detail -->
129

13-
<!-- Anda juga dapat memilih untuk menambahkan daftar perubahan dan apakah perubahan tersebut telah selesai atau belum dengan menggunakan sintaks daftar tugas markdown
14-
- [ ] Not Completed
15-
- [x] Completed
16-
-->
10+
### Motivation & Context
11+
12+
<!-- Why is this change required? What problem does it solve? -->
13+
14+
### Type of changes
15+
16+
<!-- What types of changes does your code introduce? Put an `x` in all the boxes that apply. -->
17+
18+
- [ ] Bug fix (non-breaking change which fixes an issue)
19+
- [ ] New feature (non-breaking change which adds functionality)
20+
- [ ] Refactoring (non-breaking change)
21+
- [ ] Breaking change (fix or feature that would change existing functionality)
1722

18-
## ✅ Tinjau
19-
<!-- Pastikan PR anda telah menyelesaikan kolom berikut sesuai kebutuhan - -->
20-
- [ ] PR saya mengikuti gaya kode proyek ini
21-
- [ ] Kode saya memerlukan perubahan pada dokumentasi
22-
- [ ] Saya telah memperbarui dokumentasi sesuai kebutuhan
23-
- [ ] Lulus test
23+
### Checklist
2424

25-
## ℹ Informasi Tambahan
26-
<!-- Informasi tambahan apa pun seperti perubahan terkini, dependensi yang ditambahkan, screenshots, dll. -->
25+
<!-- Go over all the following points, and put an `x` in all the boxes that apply. -->
26+
<!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
27+
28+
- [ ] I have read the [contributing guidelines](.github/CONTRIBUTING.md)
29+
- [ ] My change introduces changes to the documentation
30+
- [ ] I have updated the documentation accordingly
31+
- [ ] I have added tests to cover my changes
32+
- [ ] All new and existing tests passed
33+
34+
#### Live previews
35+
36+
<!-- Please add direct links where your modifications can be seen in the documentation -->
37+
38+
### Related issues
39+
40+
<!-- Please link any related issues here. -->
41+
<!-- Jika PR ini menyelesaikan issue, harap sebutkan nomor issue di bawah -->
42+
Closes # <!-- Issue # disini -->

.github/SUPPORT.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
### Bug reports
2+
3+
See the [contributing guidelines](CONTRIBUTING.md) for sharing bug reports.
4+
5+
### How-to
6+
7+
For general troubleshooting or help getting started:
8+
9+
- Ask and explore Stack Overflow with the [`gulp-xtend`](https://stackoverflow.com/questions/tagged/gulp-xtend) tag.
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Close Issue Awaiting Reply
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
issue-close-require:
12+
permissions:
13+
# allow actions-cool/issues-helper to update issues and PRs
14+
issues: write
15+
pull-requests: write
16+
runs-on: ubuntu-latest
17+
if: github.repository == 'buddywinangun/gulp-xtend'
18+
steps:
19+
- name: awaiting reply
20+
uses: actions-cool/issues-helper@v3
21+
with:
22+
actions: "close-issues"
23+
labels: "awaiting-reply"
24+
inactive-day: 14
25+
body: |
26+
As the issue was labeled with `awaiting-reply`, but there has been no response in 14 days, this issue will be closed. If you have any questions, you can comment/reply.

.github/workflows/issue-labeled.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Issue Labeled
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
issue-labeled:
12+
permissions:
13+
# allow actions-cool/issues-helper to update issues and PRs
14+
issues: write
15+
pull-requests: write
16+
if: github.repository == 'buddywinangun/gulp-xtend'
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: awaiting reply
20+
if: github.event.label.name == 'needs-example'
21+
uses: actions-cool/issues-helper@v3
22+
with:
23+
actions: "create-comment"
24+
token: ${{ secrets.GITHUB_TOKEN }}
25+
body: |
26+
Hello @${{ github.event.issue.user.login }}. Bug reports must include a **live demo** of the issue. Per our [contributing guidelines](https://github.com/buddywinangun/gulp-xtend/blob/main/.github/CONTRIBUTING.md), and specific browser and Operating System details.

.github/workflows/npm-publish-github-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ jobs:
2222
scope: '@buddywinangun'
2323
- run: npm publish
2424
env:
25-
NODE_AUTH_TOKEN: ${{secrets.TOKEN}}
25+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/release-notes.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release notes
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
update_release_draft:
14+
permissions:
15+
# allow release-drafter/release-drafter to create GitHub releases and add labels to PRs
16+
contents: write
17+
pull-requests: write
18+
runs-on: ubuntu-latest
19+
if: github.repository == 'buddywinangun/gulp-xtend'
20+
steps:
21+
- uses: release-drafter/release-drafter@v5
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

bin.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ if (program.production) opts.push('--production');
2626
opts.push('--gulpfile', gulpfile);
2727
opts.push('--cwd', cwd);
2828

29-
if (program.task !== 'dev') {
29+
if (program.task !== undefined) {
3030
spawn('gulp', [program.task, '--color', ...opts], {
3131
stdio: 'inherit',
3232
cwd: cwd

0 commit comments

Comments
 (0)