Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge types_web back into TypeScript DOM lib generator #1034

Merged
merged 365 commits into from
Jul 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
365 commits
Select commit Hold shift + click to select a range
fe5f1cd
feat(types): add input-events
saschanaz Dec 20, 2020
461adc9
feat(types): add entries-api
saschanaz Dec 20, 2020
357169a
feat(types): add mediacapture-fromelement
saschanaz Dec 20, 2020
6fec72b
feat(types): add EXT_color_*/EXT_float_bleand
saschanaz Dec 20, 2020
9291a3c
fix(types): restore WEBGL_color_buffer_float, still supported by brow…
saschanaz Dec 20, 2020
624fb0a
feat(types): add wai-aria
saschanaz Dec 20, 2020
55788a4
feat(types): add css-shadow-parts
saschanaz Dec 20, 2020
3b2f317
feat(types): add storage-access
saschanaz Dec 20, 2020
d8bf7ce
chore(types): add image-capture (no new type)
saschanaz Dec 20, 2020
95205b0
chore(types): add mediacapture-depth (no new type)
saschanaz Dec 20, 2020
67318f4
chore(types): add web-otp (no new type)
saschanaz Dec 20, 2020
a4c9b59
chore(types): add event-timing (no new type)
saschanaz Dec 20, 2020
0f69d55
chore(types): add webrtc-insertable-streams (no new type)
saschanaz Dec 20, 2020
6ea491b
feat(types): add webrtc-priority
saschanaz Dec 20, 2020
335bed1
feat(types): add webrtc-stats
saschanaz Dec 20, 2020
7ca5ce7
chore(types): add webrtc-svc (no new type)
saschanaz Dec 20, 2020
1a2a9b6
feat(types): add webxr-gamepads-module
saschanaz Dec 20, 2020
b0a63e3
chore(types): add css-counter-styles/css-device-adapt (no new type)
saschanaz Dec 20, 2020
b5463ad
feat(types): add css-animations-2/css-transitions-2
saschanaz Dec 20, 2020
ea6034a
feat: fetch spec list from browser-specs (#8)
saschanaz Dec 20, 2020
89f0ceb
fix(types): prefer standard WebRTC dictionaries
saschanaz Dec 20, 2020
749da81
fix(types): remove dependency on legacy Edge data
saschanaz Dec 20, 2020
9072a3c
chore(removedTypes): cleanup
saschanaz Dec 20, 2020
f0be902
refactor(widlprocess): drop `extends: "Object"`
saschanaz Dec 20, 2020
d91e8ba
refactor(index): remove mixin redundancy check
saschanaz Dec 20, 2020
d848f85
chore(types): remove redundant flags
saschanaz Dec 20, 2020
411ae2e
fix(types): remove nonstandard webcrypto types
saschanaz Dec 20, 2020
4ad3437
fix(widlprocess): process partial namespaces separately
saschanaz Dec 20, 2020
32e0a60
chore(knownTypes): remove redundant values
saschanaz Dec 20, 2020
0506730
chore(package): update webref to ae50d8f
saschanaz Dec 20, 2020
5e59677
chore(package): update @types/node
saschanaz Dec 20, 2020
52946af
chore(package): mark dependencies as dev
saschanaz Dec 21, 2020
b75a0cd
docs: add "how to use" part
saschanaz Dec 21, 2020
db97ff8
docs: add more descriptions
saschanaz Dec 21, 2020
ef01309
docs: add an image example
saschanaz Dec 21, 2020
8d5a633
docs: allow comments inside json
saschanaz Dec 21, 2020
5f23c5c
docs: link to the npm page
saschanaz Dec 21, 2020
73a5ec7
chore(package): add proper field values
saschanaz Dec 21, 2020
f9f2c6c
chore(deps-dev): bump typescript (#11)
dependabot[bot] Dec 21, 2020
5d2b545
chore(package): bump version number to 0.1.1
saschanaz Dec 21, 2020
a4969b8
docs: fix webworker example
saschanaz Dec 21, 2020
617051f
chore(types): remove ChildNode hack
saschanaz Dec 21, 2020
7f3608f
test: add ChildNode unit test
saschanaz Dec 21, 2020
c762386
chore(unittests): make jsconfig cover unit test files
saschanaz Dec 21, 2020
c0290cb
chore(package): update browser-specs and webref
saschanaz Dec 21, 2020
1f43a8d
fix(types): expose WEBGL_compressed_texture_etc to workers
saschanaz Dec 21, 2020
d5688b8
feat(types): add beforeinput event to GlobalEventHandlersEventMap
marijnh Dec 15, 2020
20bcd49
chore(index): fix spec name
saschanaz Dec 21, 2020
5fd7f1a
feat(types): add composition events to GlobalEventHandlers
marijnh Nov 4, 2020
e20c9d1
refactor(emitter): use Array#flatMap()
saschanaz Dec 21, 2020
5b0c618
refactor(helper): rename to mapValues
saschanaz Dec 21, 2020
a7000c2
docs: describe when features can be unavailable
saschanaz Dec 21, 2020
d1e6d31
refactor: move build modules to src/build
saschanaz Dec 22, 2020
8c7d035
feat(workflows): autoupdate webref
saschanaz Dec 22, 2020
a8551da
fix(workflows/update-webref): conditional run
saschanaz Dec 22, 2020
6a13641
fix(workflows/update-webref): continue-on-error
saschanaz Dec 22, 2020
474c2cb
fix(types): window.orientation is a number
saschanaz Dec 22, 2020
b2b1943
fix(types): remove obsolete entityReferenceExpansion support
saschanaz Dec 22, 2020
94814b7
fix(types): remove Gecko-only force reload signature
saschanaz Dec 22, 2020
e3f46d9
fix(types): remove unsupported KeyboardEvent#char
saschanaz Dec 22, 2020
d1d1946
fix(types): remove Node#namespaceURI
saschanaz Dec 22, 2020
335a660
fix(types): remove obsolete MouseWheelEvent
saschanaz Dec 23, 2020
5c1219f
chore(types): reduce redundant override-type in webcrypto
saschanaz Dec 23, 2020
c214d51
feat(emitter): support additional-types
saschanaz Dec 23, 2020
138255f
docs: replace the image with higher resolution
saschanaz Dec 23, 2020
d0e0e00
docs: try making the image more crisp on GitHub
saschanaz Dec 23, 2020
2bffd44
feat(types): allow URL object for url string parameters
saschanaz Dec 24, 2020
8a2a6b0
refactor: rename type-parameters to typeParameters
saschanaz Dec 24, 2020
c63fdcc
refactor: rename anonymous-methods to anonymousMethods
saschanaz Dec 24, 2020
5f4f8a2
refactor: rename override-type to overrideType
saschanaz Dec 24, 2020
766d6aa
refactor: rename additional-types to additionalTypes
saschanaz Dec 24, 2020
a2b90c8
refactor: rename override-signatures to overrideSignatures
saschanaz Dec 24, 2020
f3374e5
refactor: rename additional-signatures to additionalSignatures
saschanaz Dec 24, 2020
0f39df1
refactor: rename attributeless-events to attributelessEvents
saschanaz Dec 24, 2020
24bcae1
refactor: rename named-constructor as namedConstructor
saschanaz Dec 24, 2020
268e637
refactor: rename override-exposed to overrideExposed
saschanaz Dec 24, 2020
191ea44
refactor: rename no-interface-object to noInterfaceObject
saschanaz Dec 24, 2020
e5a189f
refactor: rename legacy-window-alias as legacyWindowAlias
saschanaz Dec 24, 2020
63ef20d
refactor: rename legacy-namespace as legacyNamespace
saschanaz Dec 24, 2020
ab89e58
refactor: rename override-index-signatures to overrideIndexSignatures
saschanaz Dec 24, 2020
e234de1
refactor: rename callbacks to camel cases
saschanaz Dec 24, 2020
cf58be0
refactor: rename new-type as name
saschanaz Dec 24, 2020
7406648
refactor: rename event-handler as eventHandler
saschanaz Dec 24, 2020
95cf1c1
refactor: rename read-only as readonly
saschanaz Dec 24, 2020
7c05e57
refactor: remove redundant callback: 1
saschanaz Dec 24, 2020
8fca3db
refactor: remove redundant static interface support
saschanaz Dec 24, 2020
74678d7
refactor: make .static as boolean
saschanaz Dec 24, 2020
455f902
refactor: make .stringifier as boolean
saschanaz Dec 24, 2020
ea85b89
refactor: make .getter as boolean
saschanaz Dec 24, 2020
4dc8248
refactor: replace property.required with .optional
saschanaz Dec 24, 2020
aba4766
refactor: make dictionarymember.required as boolean
saschanaz Dec 24, 2020
a738e8c
refactor: make .deprecated as boolean
saschanaz Dec 24, 2020
1d101f5
refactor: convert nullable/optional/variadic to booleans
saschanaz Dec 24, 2020
4878ace
refactor(build/emitter): simplify nullability check
saschanaz Dec 25, 2020
2cd8ad3
feat(build/emitter): follow nullable flag for overrideType
saschanaz Dec 25, 2020
cbce2d9
refactor(build/emitter): simplify isCovariantEventHandler()
saschanaz Dec 25, 2020
ca98122
feat(types): add promise rejection events to workers
saschanaz Dec 25, 2020
e507c47
fix(types): revive wasm error interfaces
saschanaz Dec 25, 2020
44bdec9
refactor(build/emitter): use nullish coalescing
saschanaz Dec 25, 2020
95be3fe
chore(package): bump version number to 0.1.2
saschanaz Dec 25, 2020
f78b5b6
chore(package): add keywords
saschanaz Dec 25, 2020
0afeec5
chore(unittests): use --types to disable types packages
saschanaz Dec 25, 2020
216c71d
refactor: remove const enum Flavor
saschanaz Dec 25, 2020
9c6f532
feat(types): add audioworklet library
saschanaz Dec 25, 2020
4dc41d6
BREAKING CHANGE: add separate worker libraries, removes existing one
saschanaz Dec 25, 2020
b15b2a6
chore: keep webworker* as-is
saschanaz Dec 25, 2020
106abcb
chore(package): bump version number to 0.1.3
saschanaz Dec 25, 2020
903e960
docs: add more workers
saschanaz Dec 25, 2020
39d238b
style: deploy typescript-eslint
saschanaz Dec 26, 2020
dc371cf
style: deploy prettier
saschanaz Dec 26, 2020
467f05c
fix(workflows/update-webref): use expression for status
saschanaz Dec 26, 2020
15d5474
fix(workflows/update-webref): use outcome
saschanaz Dec 26, 2020
e6a33a6
fix(workflows/update-webref): merge jobs
saschanaz Dec 26, 2020
def642d
fix(workflows/update-webref): check git diff
saschanaz Dec 26, 2020
b3881e2
chore(dependabot): weekly updates
saschanaz Dec 26, 2020
76c487a
fix(types): restore highWaterMark
saschanaz Dec 27, 2020
9e55e83
fix(types): mark wordWrap as deprecated
saschanaz Dec 27, 2020
535341b
feat: add changelog builder
saschanaz Dec 27, 2020
1fee742
chore(package): bump version number to v0.1.4
saschanaz Dec 27, 2020
e0562d6
fix(types): mark applicable var declarations as deprecated
saschanaz Dec 28, 2020
f8cb4e8
fix(types): mark webrtc callback-based methods as deprecated
saschanaz Dec 28, 2020
184b0e6
chore(deprecatedMessage): remove redundant items
saschanaz Dec 28, 2020
b1a832d
fix(workflows/update-webref): add missing --quiet
saschanaz Jan 2, 2021
0cabe70
fix(types): mark `prototype` property of constructors as `readonly`
ExE-Boss Jan 3, 2021
aa603a4
chore(package): bump version number to v0.1.5
saschanaz Jan 4, 2021
6767562
chore(package): update deps
saschanaz Jan 4, 2021
2ed98ce
chore(deps-dev): bump typescript from 4.2.0-dev.20201221 to 4.2.0-dev…
dependabot[bot] Jan 4, 2021
4b66e21
chore(package): add more keywords
saschanaz Jan 5, 2021
24bc5a4
fix(types): make ImportMeta.url required
orta Jan 7, 2021
800e903
chore(types): no 1 anymore
saschanaz Jan 7, 2021
43b2f82
feat(types): update bcd to 3.0.2
saschanaz Jan 7, 2021
5b799f2
chore(package): bump version number to v0.1.6
saschanaz Jan 7, 2021
eafed28
chore(package): update deps
saschanaz Jan 11, 2021
4f445e0
chore(package): update to bcd 3.0.3
saschanaz Jan 14, 2021
af530a6
chore(dependabot): update monthly
saschanaz Jan 18, 2021
a467892
chore(package): update deps
saschanaz Jan 18, 2021
579372a
feat(types): remove .colorAdjust and add .crossOriginIsolated
saschanaz Jan 21, 2021
bfe9798
chore(package): bump version number to v0.1.7
saschanaz Jan 21, 2021
5b7fd47
fix(build/widlprocess): trim line ends of comments
saschanaz Oct 25, 2020
408e26f
fix(build/emitter): indent only for non-empty line
saschanaz Oct 25, 2020
fc483d7
fix(workflows/update-webref): prevent diff failure report
saschanaz Jan 23, 2021
cb816ba
chore(package): update webref (#53)
github-actions[bot] Jan 23, 2021
eaeee2f
chore(deps-dev): bump typescript (#54)
dependabot[bot] Jan 23, 2021
9a94261
chore(package): update webref (#55)
github-actions[bot] Jan 27, 2021
2b3ec68
chore(package): update to bcd 3.0.5
saschanaz Jan 28, 2021
2a812f4
chore(package): update deps
saschanaz Feb 5, 2021
90af280
chore(package): update webref (#62)
github-actions[bot] Feb 10, 2021
be8fff5
fix(build/emitter): remove length property check
saschanaz Feb 10, 2021
3d29047
docs: restructure
saschanaz Feb 10, 2021
26a4ddd
chore(package): update deps
saschanaz Feb 12, 2021
b485e9e
chore(package): update to bcd 3.1.1
saschanaz Feb 18, 2021
076ca2b
chore(package): update webref (#64)
github-actions[bot] Feb 20, 2021
d9d4a14
chore(package): update to bcd 3.1.2
saschanaz Feb 25, 2021
20183b7
chore(types): remove redundant overriding
saschanaz Feb 28, 2021
a225373
feat(types): Add `shared: boolean` for `MemoryDescriptor` dict
timhwang21 Feb 23, 2021
5888b03
chore(deps-dev): bump eslint from 7.19.0 to 7.21.0 (#67)
dependabot[bot] Mar 1, 2021
9b89bc2
chore(deps-dev): bump eslint-config-prettier from 7.2.0 to 8.1.0 (#69)
dependabot[bot] Mar 1, 2021
1eefcb6
chore(deps-dev): bump @typescript-eslint/parser from 4.15.0 to 4.15.2…
dependabot[bot] Mar 1, 2021
7fcd30d
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#70)
dependabot[bot] Mar 1, 2021
2a8706d
chore(dependabot): set versioning strategy to increase
saschanaz Mar 1, 2021
5798d06
chore(deps-dev): bump @typescript-eslint/eslint-plugin (#75)
dependabot[bot] Mar 1, 2021
034fa81
chore(deps-dev): bump webidl2 from 23.13.0 to 23.13.1 (#72)
dependabot[bot] Mar 1, 2021
0e44eb7
chore(deps-dev): bump @types/node from 14.14.27 to 14.14.31 (#73)
dependabot[bot] Mar 1, 2021
39b3171
chore(deps-dev): bump @typescript-eslint/parser from 4.15.2 to 4.16.0…
dependabot[bot] Mar 1, 2021
d0728b0
feat(types): update bcd to 3.1.3
saschanaz Mar 5, 2021
415da69
chore(package): bump version number to v0.1.8
saschanaz Mar 5, 2021
5634c07
chore(types): remove now-redundant exposure overriding
saschanaz Mar 8, 2021
9c75780
fix(types): return FileSystemEntry from webkitGetAsEntry()
saschanaz Mar 8, 2021
3def312
feat(changelog): infer the base commit
saschanaz Mar 9, 2021
2457c0a
feat(changelog): explicitly fail when there is no reportable change
saschanaz Mar 9, 2021
5ab8e93
chore(dependabot): update important deps daily
saschanaz Mar 11, 2021
b4b6bbf
chore(types): update bcd to v3.2.0
saschanaz Mar 11, 2021
3d783b2
Revert "chore(dependabot): update important deps daily"
saschanaz Mar 11, 2021
6186734
chore(package): update webref (#82)
github-actions[bot] Mar 13, 2021
d67702b
chore(deps-dev): bump browser-specs from 1.28.0 to 1.30.0 (#80)
dependabot[bot] Mar 13, 2021
a5d0b07
chore(deps-dev): bump typescript from 4.2.2 to 4.2.3 (#84)
dependabot[bot] Mar 13, 2021
34e3b27
chore(package): update deps
saschanaz Mar 13, 2021
3356c96
chore(package): update deps
saschanaz Mar 19, 2021
3a24bfa
chore(package): migrate to webidl packages
saschanaz Mar 13, 2021
b8a56a3
chore(build): remove redundant denylist items
saschanaz Mar 19, 2021
4ef63f6
chore(package): update webref (#86)
github-actions[bot] Mar 25, 2021
65f4f65
chore(package): update deps
saschanaz Mar 25, 2021
c08fd72
chore(package): update deps
saschanaz Apr 1, 2021
860e3e7
style: remove prettier config override
saschanaz Apr 2, 2021
9a4d336
chore(package): update
saschanaz Apr 9, 2021
933c22d
feat(emitter): support differing accessor types (#88)
saschanaz Apr 13, 2021
6bd4918
feat(types): update webref/idl to 2.0.0, etc.
saschanaz Apr 19, 2021
05e0a90
chore(package): bump version number to v0.1.9
saschanaz Apr 19, 2021
87021dc
chore(package): update deps
saschanaz Apr 22, 2021
276da88
feat(types): add clipboard binary methods
saschanaz Apr 27, 2021
b32712d
chore(package): bump version number to v0.1.10
saschanaz Apr 27, 2021
6b32439
feat(types): update bcd to v3.3.2
saschanaz Apr 29, 2021
73542a7
chore(package): bump version number to v0.1.11
saschanaz Apr 29, 2021
77050b1
chore(deps-dev): bump typescript (#96)
dependabot[bot] May 4, 2021
b169ebb
chore(types): update deps
saschanaz May 6, 2021
0f24f76
Split as interface from signature
saschanaz May 13, 2021
05cbd93
chore(bcd): split as shouldStyleBeRemoved()
saschanaz May 13, 2021
82fbfeb
refactor(bcd): split forceKeepAlive
saschanaz May 14, 2021
87dd612
refactor(bcd): split mapInterfaceLike
saschanaz May 14, 2021
da12590
feat(bcd): resolve compat data for mixin members
saschanaz May 14, 2021
3d88f14
chore(package): bump version number to v0.1.12
saschanaz May 14, 2021
0c5fbbf
chore(changelog): update
saschanaz May 14, 2021
148b083
chore(package): update webref (#97)
github-actions[bot] May 19, 2021
f2a93cf
chore(package): bump version number to 0.1.13
saschanaz May 19, 2021
33caefc
chore(workflows): update-core-deps
saschanaz May 22, 2021
70ba5e0
chore(package): update core dependencies (#98)
github-actions[bot] May 22, 2021
80fb08f
chore(package): bump version number to 0.1.14
saschanaz May 22, 2021
69e842f
feat(workflows): try updating all deps
saschanaz May 22, 2021
d3dfe92
style: apply updated prettier
saschanaz May 22, 2021
a6fb2dc
chore(package): update deps
saschanaz Jun 1, 2021
84aa732
chore(package): update core dependencies (#104)
github-actions[bot] Jun 5, 2021
8e475e1
chore(bcd): remove redundant keepalive items
saschanaz Jun 5, 2021
f50eeeb
feat(bcd): use @webref/elements
saschanaz Jun 5, 2021
06207b4
chore(package): bump version number to 0.1.15
saschanaz Jun 5, 2021
f40e338
fix(build): remove local idls
saschanaz Jun 6, 2021
3ba381f
fix(build): sort mixin list
saschanaz Jun 6, 2021
19c6039
refactor(webref): drop browser-specs
saschanaz Jun 6, 2021
589ee43
chore(package): bump version number to 0.1.16
saschanaz Jun 6, 2021
5ff34fc
chore(package): update core dependencies (#105)
github-actions[bot] Jun 11, 2021
44af381
feat(package): add version hook
saschanaz Jun 12, 2021
640ada9
chore(package): bump version number to v0.1.17
saschanaz Jun 12, 2021
ab95065
chore(workflows): use PAT for pull request
saschanaz Jun 17, 2021
6ef3251
chore(package): update core dependencies (#106)
github-actions[bot] Jun 17, 2021
0fab4e6
fix(changelog): no whitespace when no addition/removal
saschanaz Jun 17, 2021
5f78617
chore(package): bump version number to v0.1.18
saschanaz Jun 17, 2021
4342980
chore(package): update core dependencies (#107)
saschanaz Jun 18, 2021
6b44938
chore(package): bump version number to v0.1.19
saschanaz Jun 18, 2021
7b2675f
chore(package): make sure installed packages match the versions
saschanaz Jun 18, 2021
850b7eb
Adds aliases for renamed HTML elements (#108)
orta Jun 23, 2021
7704232
Remove the readonly attribute on all prototype (#109)
orta Jun 23, 2021
91408ba
Adds some more backwards-compat dummy interfaces (#114)
orta Jun 24, 2021
be147c6
fix(build/widlprocess): .inherit is replaced by .special
saschanaz Jun 26, 2021
7e6fbde
chore(build/bcd): remove redundant items
saschanaz Jun 26, 2021
d1ff27f
chore(package): update bcd to 0.3.9
saschanaz Jun 26, 2021
785ee82
chore(package): update webref/idl to 2.2.4
saschanaz Jun 26, 2021
f3b86f5
chore(package): update webidl2.js to 24.1.2
saschanaz Jun 28, 2021
dec51c4
chore(package-lock): update
saschanaz Jun 28, 2021
5288d88
refactor(build/emitter): simplify tryEmitTypedEventHandlerForInterface
saschanaz Jun 28, 2021
25a2c27
Merge upstream
orta Jun 29, 2021
40e10bb
Bring back the EventListenerOrEventListenerObject and EventListener a…
orta Jul 1, 2021
1b8d3e1
chore(package): update core dependencies (#116)
saschanaz Jul 1, 2021
d384b28
Adds stylemedia back (#113)
orta Jul 1, 2021
a340b80
Add back ClientRect (#112)
orta Jul 1, 2021
887c60c
Update README.md
Jul 1, 2021
a88f594
Merge main
orta Jul 1, 2021
3976f06
More merging
orta Jul 1, 2021
619d4e8
Merge branch 'merge_types_web' of https://github.com/microsoft/TypeSc…
orta Jul 1, 2021
6c61dab
Add back migrate script
orta Jul 1, 2021
bc40006
Fix packages
orta Jul 2, 2021
01e8285
Update the bot
orta Jul 2, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Basic dependabot.yml file
# https://docs.github.com/en/free-pro-team@latest/github/administering-a-repository/enabling-and-disabling-version-updates

version: 2
updates:
# Enable version updates for npm
- package-ecosystem: "npm"
# Look for `package.json` and `lock` files in the `root` directory
directory: "/"
# Check the npm registry for updates every month
schedule:
interval: "monthly"
# Bump versions in package.json
# https://github.com/dependabot/dependabot-core/issues/3103
# https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates#versioning-strategy
versioning-strategy: "increase"
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
with:
node-version: '15'

- run: npm install
- run: npm ci
- run: npm run build
- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/test_typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
git diff > baseline-changes.diff

- name: Danger
run: npm run danger -- ci
run: npx danger -- ci
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

33 changes: 33 additions & 0 deletions .github/workflows/update-core-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Update core dependencies
on:
workflow_dispatch:
schedule:
# https://crontab.guru/#5_8_*_*_*
- cron: "5 8 * * *"

# Conditional runs
# https://stackoverflow.com/a/61832535/2460034
jobs:
update-webref:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '15'

- run: npm i -g npm-check-updates
- run: ncu -u
- run: npm i
- run: npm run build && npm run baseline-accept
- id: git-diff
run: git diff --quiet HEAD baselines
continue-on-error: true
- uses: peter-evans/create-pull-request@v3
if: ${{ steps.git-diff.outcome == 'failure' }}
with:
commit-message: "chore(package): update core dependencies"
title: "chore(package): update core dependencies"
branch: update-core-deps
token: ${{ secrets.TS_GITHUB_BOT_AUTH }}

1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,6 @@ lib/
inputfiles/browser.webidl.json
.vscode/*
!.vscode/launch.template.json
package-lock.json
yarn.lock
TypeScript
deploy/generated
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
package-lock=false
message="chore(package): bump version number to v%s"
1 change: 0 additions & 1 deletion CODEOWNERS

This file was deleted.

18 changes: 11 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
# TypeScript and JavaScript lib generator

Travis CI Status: [![Build Status](https://travis-ci.org/Microsoft/TSJS-lib-generator.svg?branch=master)](https://travis-ci.org/Microsoft/TSJS-lib-generator)
This tool is used to generate the web-based `lib.dom.d.ts` file which is included with TypeScript releases, and as the `@types/web` package.

This tool is used to generate `dom.generated.d.ts`, `webworker.generated.d.ts` and `dom.iterable.generated.d.ts` for TypeScript.
The input file is the JSON webidl file generated by the Microsoft Edge browser.
## Why is my fancy API still not available here?

A feature needs to be supported by more than two major browser engines to be included here, to make sure there is a good consensus among vendors: __Gecko__ (Firefox), __Blink__ (Chrome/Edge), and __WebKit__ (Safari).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was 'two or more'.


If the condition is met but still is not available here, please [file an issue](hthttps://github.com/microsoft/TypeScript-DOM-lib-generator/issues/new).

## Build Instructions

Expand Down Expand Up @@ -53,11 +56,10 @@ The format of each file can be inferred from their existing content.

The common steps to send a pull request are:

0. Open or refer to an issue in the [TypeScript repo](https://github.com/Microsoft/TypeScript).
1. Add missing elements to `inputfiles/addedTypes.json`, overriding elements to `inputfiles/overridingTypes.json`, or elements to remove to `inputfiles/removedTypes.json`.
0. Open or refer to an issue in the [TypeScript repo](https://github.com/Microsoft/TypeScript) which might get moved back to this repo.
1. Update an IDL or add missing elements to `inputfiles/addedTypes.json`, overriding elements to `inputfiles/overridingTypes.json`, or elements to remove to `inputfiles/removedTypes.json`.
2. Run the build script locally to obtain new `dom.generated.d.ts` and `webworker.generated.d.ts`.
3. Update the files in the `baselines` folder using the newly generated files
under `generated` folder (`npm run baseline-accept`).
3. Update the files in the `baselines` folder using the newly generated files under `generated` folder (`npm run baseline-accept`).

### What are the TypeScript team's heuristics for PRs to the DOM APIs

Expand Down Expand Up @@ -95,6 +97,8 @@ To give you a sense of whether we will accept changes, you can use these heurist
- Does an internet search for the fields show results in blogs/recommendations?
- When was the deprecation (this can be hard to find) but was it at least 2 years ago if so?

## Build Instructions
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks unfinished

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks it was a merge error - this is a dupe from the top


# This repo

## Code Structure
Expand Down
Loading