Skip to content

Commit 4399d1e

Browse files
authored
Merge branch 'microsoft:main' into patch-3
2 parents 81e4c8f + 47c47c5 commit 4399d1e

35 files changed

Lines changed: 7954 additions & 3792 deletions

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
blank_issues_enabled: true
2+
issue_templates:
3+
- name: Web API type definition issue
4+
description: Report inconsistencies between TypeScript's web API typings and browser behavior.
5+
labels: [lib.d.ts bug]
6+
file: web_api_type_definition_issue.yml
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: "Web API type definition issue"
2+
title: "[Web API type definition issue] "
3+
labels: [lib.d.ts bug]
4+
assignees: []
5+
description: "Report inconsistencies between TypeScript's web API typings and browser behavior."
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
## Web API Type Definition Issue
11+
Provide details of the issue.
12+
- type: input
13+
id: issue_summary
14+
attributes:
15+
label: "Summary"
16+
description: "Brief summary of the issue"
17+
placeholder: "e.g., Mismatch in event handling..."
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: expected_vs_actual
22+
attributes:
23+
label: "Expected vs. Actual Behavior"
24+
description: "Describe what you expected and what actually happened"
25+
placeholder: "Expected: ...\nActual: ..."
26+
validations:
27+
required: true
28+
- type: input
29+
id: playground_link
30+
attributes:
31+
label: "Playground Link"
32+
description: "Paste the TypeScript playground link"
33+
placeholder: "https://www.typescriptlang.org/play/..."
34+
- type: checkboxes
35+
id: browser_support
36+
attributes:
37+
label: "Browser Support"
38+
description: "Ensure that the API is supported in at least two major browser engines (not two Chromium-based browsers)."
39+
options:
40+
- label: "This API is supported in at least two major browser engines (not two Chromium-based browsers)."
41+
required: true
42+
- type: checkboxes
43+
id: tried_latest_releases
44+
attributes:
45+
label: "Have Tried The Latest Releases"
46+
description: "Make sure your problem is still reproducible on the latest releases."
47+
options:
48+
- label: "This issue applies to the latest release of TypeScript."
49+
required: true
50+
- label: "This issue applies to the latest release of `@types/web`."
51+
required: true
52+
- type: textarea
53+
id: additional_context
54+
attributes:
55+
label: "Additional Context"
56+
description: "Any extra information, logs, or references."
57+
placeholder: "Optional details..."

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ jobs:
77

88
steps:
99
- uses: actions/checkout@v4
10+
with:
11+
submodules: true # Ensures submodules are cloned
12+
13+
1014
- uses: actions/setup-node@v4
1115
with:
1216
node-version: "lts/*"

.github/workflows/codeowners-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Run Codeowners merge check
19-
uses: OSS-Docs-Tools/code-owner-self-merge@1.6.6
19+
uses: OSS-Docs-Tools/code-owner-self-merge@1.6.8
2020
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2323
with:
2424
merge_method: 'squash'
2525
if_no_maintainers_add_label: 'maintainers'
26-
if_no_maintainers_assign: '@orta @sandersn'
26+
if_no_maintainers_assign: '@sandersn @jakebailey'

.github/workflows/codeql.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444

4545
# Initializes the CodeQL tools for scanning.
4646
- name: Initialize CodeQL
47-
uses: github/codeql-action/init@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
47+
uses: github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
4848
with:
4949
config-file: ./.github/codeql/codeql-configuration.yml
5050
# Override language selection by uncommenting this and choosing your languages
@@ -54,7 +54,7 @@ jobs:
5454
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5555
# If this step fails, then you should remove it and run the build manually (see below).
5656
- name: Autobuild
57-
uses: github/codeql-action/autobuild@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
57+
uses: github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
5858

5959
# ℹ️ Command-line programs to run using the OS shell.
6060
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -68,4 +68,4 @@ jobs:
6868
# make release
6969

7070
- name: Perform CodeQL Analysis
71-
uses: github/codeql-action/analyze@b56ba49b26e50535fa1e7f7db0f4f7b4bf65d80d # v3.28.10
71+
uses: github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13

.github/workflows/deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,14 @@ permissions:
1111

1212
jobs:
1313
deploy:
14+
if: github.repository == 'microsoft/TypeScript-DOM-lib-generator'
1415
runs-on: ubuntu-latest
1516

1617
steps:
1718
- uses: actions/checkout@v4
19+
with:
20+
submodules: true # Ensures submodules are cloned
21+
1822
- uses: actions/setup-node@v4
1923
with:
2024
node-version: "lts/*"

.github/workflows/test_typescript.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ jobs:
1414

1515
steps:
1616
- uses: actions/checkout@v4
17+
with:
18+
submodules: true # Ensures submodules are cloned
19+
20+
1721
- uses: actions/setup-node@v4
1822
with:
1923
node-version: "lts/*"

.github/workflows/update-core-deps.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15+
with:
16+
submodules: true # Ensure submodules are checked out
17+
18+
- name: Update submodules
19+
run: git submodule update --init --remote
1520
- uses: actions/setup-node@v4
1621
with:
1722
node-version: "lts/*"
@@ -27,7 +32,7 @@ jobs:
2732
# Example: https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1463
2833
- run: npm i
2934
- id: build
30-
run: npm run build && npm run baseline-accept
35+
run: npm run generate
3136
continue-on-error: true
3237
- if: ${{ steps.build.outcome == 'failure' }}
3338
run: node deploy/onUpdateFailure.js

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "inputfiles/mdn"]
2+
path = inputfiles/mdn
3+
url = https://github.com/mdn/content.git

.mailMap

Lines changed: 0 additions & 97 deletions
This file was deleted.

0 commit comments

Comments
 (0)