Skip to content

Commit

Permalink
Merge branch 'master' into PR2042
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Mar 9, 2024
2 parents fe23d10 + 50689b5 commit 2e13dac
Show file tree
Hide file tree
Showing 3,289 changed files with 668,246 additions and 443,992 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug report
description: Create a report to help PrimeReact improve
title: 'Component: Title'
description: Create a report to help PrimeReact improve.
title: 'Replace_With_Component_Name: Brief_Bug_Description'
labels: ['Status: Needs Triage']
body:
- type: markdown
Expand All @@ -20,9 +20,9 @@ body:
id: reproducer
attributes:
label: Reproducer
placeholder: https://codesandbox.io/s/primereact-test-forked-bbns8k
placeholder: https://stackblitz.com/edit/vitejs-vite-daiajq
description: |
Please fork the [CodeSandbox project](https://codesandbox.io/s/primereact-test-forked-bbns8k) or [Stackblitz project](https://stackblitz.com/edit/vitejs-vite-2nu9uq?file=package.json,src%2FApp.tsx) and create a case demonstrating your bug report. Issues **without** a CodeSandbox have much less possibility to be reviewed.
Please fork [Stackblitz project](https://stackblitz.com/edit/vitejs-vite-daiajq?file=src%2FApp.tsx) and create a case demonstrating your bug report. Issues **without** a CodeSandbox have much less possibility to be reviewed.
validations:
required: false
- type: input
Expand Down
5 changes: 4 additions & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
contact_links:
- name: Feature request
url: https://github.com/orgs/primefaces/discussions/categories/primereact
about: Propose an enhancement at discussions.
- name: Support
url: https://www.primefaces.org/primereact/support/
url: https://primereact.org/support/
about: Professional support for the open source innovation.
39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/comment_by_label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write
steps:
- name: Add comment
uses: peter-evans/create-or-update-comment@5adcb0bb0f9fb3f95ef05400558bdb3f329ee808
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/generate_api_doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Generate API DOC

on:
push:
branches: [ master ]
paths:
- '**/**/*.d.ts'
- 'api-generator/build-apidoc.js'

permissions:
contents: write

jobs:
build:
if: github.repository == 'primefaces/primereact' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install node packages
run: npm install

- name: Generate api doc
run: npm run apidoc

- name: Commit doc
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
git commit -a -m "Update API doc"
git push
28 changes: 28 additions & 0 deletions .github/workflows/issue-inactive-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Issue Inactive Checker

on:
schedule:
- cron: "0 13 * * *" # Every Monday at 1PM UTC (9AM EST)

permissions:
contents: read

jobs:
issue-close-require:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Cannot Replicate
uses: actions-cool/issues-helper@v3
with:
actions: "close-issues"
labels: "Resolution: Cannot Replicate"
inactive-day: 20
- name: Needs Reproducer
uses: actions-cool/issues-helper@v3
with:
actions: "close-issues"
labels: "Status: Needs Reproducer"
inactive-day: 20
34 changes: 34 additions & 0 deletions .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Issue Labeled

on:
issues:
types: [labeled]

permissions:
contents: read

jobs:
issue-labeled:
permissions:
issues: write # for actions-cool/issues-helper to update issues
pull-requests: write # for actions-cool/issues-helper to update PRs
runs-on: ubuntu-latest
steps:
- name: Cannot Replicate
if: "${{ github.event.label.name == 'Resolution: Cannot Replicate'}}"
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
We're unable to replicate your issue, if you are able to create a reproducer or add details please edit this issue. This issue will be closed if no activities in 20 days.
- name: Needs Reproducer
if: "${{ github.event.label.name == 'Status: Needs Reproducer'}}"
uses: actions-cool/issues-helper@v3
with:
actions: 'create-comment'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Please fork the [Stackblitz project](https://stackblitz.com/edit/vitejs-vite-daiajq?file=src%2FApp.tsx) and create a case demonstrating your bug report. This issue will be closed if no activities in 20 days.
4 changes: 2 additions & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x]
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
if: ${{ success() }}
run: |
npm run security:check
- name: Unit Tests Check
if: ${{ success() }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v6
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: 'Resolution: Stale'
Expand Down
8 changes: 0 additions & 8 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,3 @@ yarn-error.log*

# vercel
.vercel

# themes
public/themes/soho-light/
public/themes/soho-dark/
public/themes/viva-light/
public/themes/viva-dark/
public/themes/mira/
public/themes/nano/
3 changes: 2 additions & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
"esbenp.prettier-vscode",
"sibiraj-s.vscode-scss-formatter"
]
}
8 changes: 8 additions & 0 deletions .vscode/settings.team.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,13 @@
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"[css]": {
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter",
"editor.formatOnSave": true
},
"[scss]": {
"editor.defaultFormatter": "sibiraj-s.vscode-scss-formatter",
"editor.formatOnSave": true
}
}
Loading

0 comments on commit 2e13dac

Please sign in to comment.