Skip to content

Commit 7b677e2

Browse files
authored
API Descriptions Update (#1940)
1 parent 9483cb8 commit 7b677e2

20 files changed

+7321
-3000
lines changed

.github/workflows/ci.yml

+4
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/deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19+
with:
20+
submodules: true # Ensures submodules are cloned
21+
1922
- uses: actions/setup-node@v4
2023
with:
2124
node-version: "lts/*"

.github/workflows/test_typescript.yml

+4
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

+5
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/*"

.gitmodules

+3
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

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ If you are familiar with Web IDL, you may also want to check whether the upstrea
8383

8484
## Input Files
8585

86-
- `mdn/apiDescriptions.json`: a JSON file generated by fetching API descriptions from [MDN](https://developer.mozilla.org/en-US/docs/Web/API). **Do not edit this file**.
8786
- `addedTypes.jsonc`: types that should exist but are missing from the spec data.
8887
- `overridingTypes.jsonc`: types that are defined in the spec but have TypeScript-friendly modifications in the json files.
8988
- `removedTypes.jsonc`: types that are defined in the spec but should be removed.

baselines/audioworklet.generated.d.ts

+104-34
Large diffs are not rendered by default.

baselines/dom.generated.d.ts

+1,579-619
Large diffs are not rendered by default.

baselines/serviceworker.generated.d.ts

+604-196
Large diffs are not rendered by default.

baselines/sharedworker.generated.d.ts

+606-191
Large diffs are not rendered by default.

baselines/ts5.5/audioworklet.generated.d.ts

+104-34
Large diffs are not rendered by default.

baselines/ts5.5/dom.generated.d.ts

+1,579-619
Large diffs are not rendered by default.

baselines/ts5.5/serviceworker.generated.d.ts

+604-196
Large diffs are not rendered by default.

baselines/ts5.5/sharedworker.generated.d.ts

+606-191
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)