Skip to content

Commit 9803d28

Browse files
committed
Merge remote-tracking branch 'origin/dev' into 6646-advanced-table
* origin/dev: (80 commits) build(deps): update nx monorepo to v20.4.6 (#11662) build(deps): update arcgis to ^4.32.7 (#11648) build: update browserslist db (#11639) build(deps): update eslint (#11670) build(deps): update dependency chromatic to v11.26.1 (#11669) build(deps): update dependency rollup to v4.34.9 (#11661) build(deps): update dependency tsx to v4.19.3 (#11658) chore: release next docs(text-area): update limitText description (#11672) feat(block, block-section): add `expanded` property and deprecate `open` property (#11582) feat(list-item, list): add `expanded` property and deprecate `open` property (#11003) chore: release next fix(tabs): redisplay close button when more than one tab is closable (#11492) test(shell-panel): Fix token story set up (#11635) chore: set up 3rd-party license generation (#11640) build(deps): update dependency happy-dom to v17.1.8 (#11649) build(deps): update dependency prettier to v3.5.2 (#11642) build(deps): update dependency happy-dom to v17.1.6 (#11641) chore: release next fix(card-group): Restore default gap spacing (#11638) ...
2 parents a14799e + bd43fc0 commit 9803d28

File tree

146 files changed

+5659
-3828
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

146 files changed

+5659
-3828
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
// @ts-check
2+
const {
3+
labels: { planning },
4+
} = require("./support/resources");
5+
6+
/** @param {import('github-script').AsyncFunctionArguments} AsyncFunctionArguments */
7+
module.exports = async ({ github, context }) => {
8+
const { repo, owner } = context.repo;
9+
const DAYS_BEFORE_CLOSE = 14;
10+
const MILLISECONDS_IN_A_DAY = 1000 * 60 * 60 * 24;
11+
12+
console.log(`Checking for issues with the label: "${planning.needsInfo}" that are stale.`);
13+
14+
const { data: issues } = await github.rest.issues.listForRepo({
15+
owner: owner,
16+
repo: repo,
17+
state: "open",
18+
labels: planning.needsInfo,
19+
per_page: 100,
20+
});
21+
22+
const now = new Date();
23+
24+
for (const issue of issues) {
25+
const lastUpdated = new Date(issue.updated_at);
26+
const daysSinceUpdate = Math.round((now.getTime() - lastUpdated.getTime()) / MILLISECONDS_IN_A_DAY);
27+
28+
if (daysSinceUpdate >= DAYS_BEFORE_CLOSE) {
29+
console.log(`Closing issue #${issue.number} - No updates for ${Math.round(daysSinceUpdate)} days`);
30+
31+
await github.rest.issues.createComment({
32+
owner: owner,
33+
repo: repo,
34+
issue_number: issue.number,
35+
body: "Closing this issue due to inactivity. If the issue persists, feel free to reopen it with additional details.",
36+
});
37+
38+
await github.rest.issues.update({
39+
issue_number: issue.number,
40+
owner: owner,
41+
repo: repo,
42+
state: "closed",
43+
});
44+
}
45+
}
46+
47+
console.log("Finished checking for issues without enough information.");
48+
};

.github/scripts/support/resources.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const resources = {
2727
planning: {
2828
needsTriage: "needs triage",
2929
needsMilestone: "needs milestone",
30+
needsInfo: "needs more info",
3031
spike: "spike",
3132
spikeComplete: "spike complete",
3233
noChangelogEntry: "no changelog entry",
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Close Need More Info Issues
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 0 * * 1" # Runs every Monday at midnight UTC
7+
8+
permissions:
9+
issues: write
10+
11+
jobs:
12+
close-needs-more-info-issues:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v4
17+
18+
- name: Close issue if more info is not provided
19+
uses: actions/github-script@v7
20+
with:
21+
script: |
22+
const action = require('${{ github.workspace }}/.github/scripts/closeNeedMoreInfoIssues.js')
23+
await action({github, context, core})

.github/workflows/deploy-latest.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ jobs:
6666
run: |
6767
npm install
6868
npm run build
69+
npm run util:update-3rd-party-licenses
6970
7071
git config --global user.email "github-actions[bot]@users.noreply.github.com"
7172
git config --global user.name "github-actions[bot]"
@@ -74,6 +75,7 @@ jobs:
7475
7576
# The "|| true" prevents failure if there are no changes
7677
git add package-lock.json || true
78+
git add **/THIRD-PARTY-LICENSES.md || true
7779
7880
# The release-please PR only updates when there are new deployable
7981
# commits, e.g., fixes, features, or breaking changes. This is fine

.lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
"*.{json,html,yml}": ["prettier --write"],
3-
"*.{s,}css": ["stylelint --fix", "prettier --write"],
3+
"*.{s,}css": ["prettier --write"],
44
"*.md": ["prettier --write", "markdownlint --fix"],
55
};

.markdownlintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# prevents modifying licenses
2+
THIRD-PARTY-LICENSES.md

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
**/*.d.ts
22
**/dist
33
**/.turbo
4+
5+
# prevents modifying licenses
6+
THIRD-PARTY-LICENSES.md

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"packages/calcite-components": "3.0.2",
3-
"packages/calcite-components-react": "3.0.2",
2+
"packages/calcite-components": "3.0.3",
3+
"packages/calcite-components-react": "3.0.3",
44
"packages/calcite-design-tokens": "3.0.0",
55
"packages/calcite-ui-icons": "4.0.0",
66
"packages/eslint-plugin-calcite-components": "2.0.0"

examples/components/angular/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"@angular/platform-browser": "^18.1.0",
2727
"@angular/platform-browser-dynamic": "^18.1.0",
2828
"@angular/router": "^18.1.0",
29-
"@esri/calcite-components": "3.0.2",
29+
"@esri/calcite-components": "3.0.3",
3030
"rxjs": "~7.8.0",
3131
"tslib": "^2.3.0",
3232
"zone.js": "~0.14.3"
Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
110
node_modules
2-
/build
3-
/*.log
4-
src/assets
5-
!src/assets/icons
6-
!src/assets/favicon.ico
7-
!src/assets/preact*
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?

0 commit comments

Comments
 (0)