From 9997d1ccb5c9c62168be155c29a112415e55b9d1 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Fri, 5 Apr 2024 14:08:32 +0200 Subject: [PATCH 1/4] Relax yarn requirement --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a1ed0a1ca..54b61d503e 100644 --- a/package.json +++ b/package.json @@ -96,7 +96,7 @@ "packageManager": "yarn@4.0.1+sha224.ca5d6f5a8aecd0801adc32f775675b01961bdc2383867d36f4732a0a", "engines": { "node": ">= 10", - "yarn": "4.0.1" + "yarn": ">= 1" }, "readmeFilename": "README.md" } From 0b258e2c6019c70df4a20560374b843806b97677 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Fri, 5 Apr 2024 14:08:51 +0200 Subject: [PATCH 2/4] Release v2.0.30 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 54b61d503e..5f467ce220 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "locutus", - "version": "2.0.29", + "version": "2.0.30", "description": "Locutus other languages' standard libraries to JavaScript for fun and educational purposes", "keywords": [ "php", From b746a5457195166ce678a0d05ce9dc85c2978971 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Fri, 5 Apr 2024 14:10:06 +0200 Subject: [PATCH 3/4] Update CHANGELOG.md --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3157c1ca7..118230819f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -35,10 +35,17 @@ Ideas that will be planned and find their way into a release at one point ## main -Released: TBA. [Diff](https://github.com/locutusjs/locutus/compare/v2.0.29...main). +Released: TBA. [Diff](https://github.com/locutusjs/locutus/compare/v2.0.30...main). - [ ] +## v2.0.30 + +Released: 2024-04-05. [Diff](https://github.com/locutusjs/locutus/compare/v2.0.16...v2.0.30). + +- [x] Relax yarn engine requirement (fixes #467) +- [x] Allow for custom mocha tests for functions (that arent generated based on header comments) + ## v2.0.29 Released: 2024-04-04. [Diff](https://github.com/locutusjs/locutus/compare/v2.0.16...v2.0.29). From eb5a53491d8656160c65fa80751dd1fdeb48c203 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Fri, 5 Apr 2024 15:18:38 +0200 Subject: [PATCH 4/4] Create stale.yml --- .github/workflows/stale.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/stale.yml diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml new file mode 100644 index 0000000000..4b83d65128 --- /dev/null +++ b/.github/workflows/stale.yml @@ -0,0 +1,21 @@ +name: 'Close stale issues and PRs' +on: + schedule: + - cron: '30 1 * * *' + +jobs: + stale: + runs-on: ubuntu-latest + steps: + - uses: actions/stale@v9 + with: + stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 14 days.' + close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.' + close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.' + days-before-issue-stale: 180 + days-before-pr-stale: 180 + days-before-issue-close: 14 + days-before-pr-close: 14 + stale-issue-label: 'no-issue-activity' + stale-pr-label: 'no-pr-activity'