Skip to content

Commit

Permalink
Add typesVersions to subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 4, 2024
1 parent d9eef9f commit 5ff8f9e
Show file tree
Hide file tree
Showing 5 changed files with 40 additions and 5 deletions.
9 changes: 8 additions & 1 deletion es2018/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
"main": "../dist/polyfill.es2018",
"browser": "../dist/polyfill.es2018.min.js",
"module": "../dist/polyfill.es2018.mjs",
"types": "../dist/types/polyfill.d.ts"
"types": "../dist/types/polyfill.d.ts",
"typesVersions": {
">=3.6": {
"../dist/types/*": [
"../dist/types/ts3.6/*"
]
}
}
}
9 changes: 8 additions & 1 deletion es6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,12 @@
"main": "../dist/polyfill.es6",
"browser": "../dist/polyfill.es6.min.js",
"module": "../dist/polyfill.es6.mjs",
"types": "../dist/types/polyfill.d.ts"
"types": "../dist/types/polyfill.d.ts",
"typesVersions": {
">=3.6": {
"../dist/types/*": [
"../dist/types/ts3.6/*"
]
}
}
}
9 changes: 8 additions & 1 deletion ponyfill/es2018/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
"name": "web-streams-ponyfill-es2018",
"main": "../../dist/ponyfill.es2018",
"module": "../../dist/ponyfill.es2018.mjs",
"types": "../../dist/types/ponyfill.d.ts"
"types": "../../dist/types/ponyfill.d.ts",
"typesVersions": {
">=3.6": {
"../../dist/types/*": [
"../../dist/types/ts3.6/*"
]
}
}
}
9 changes: 8 additions & 1 deletion ponyfill/es6/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
"name": "web-streams-ponyfill-es6",
"main": "../../dist/ponyfill.es6",
"module": "../../dist/ponyfill.es6.mjs",
"types": "../../dist/types/ponyfill.d.ts"
"types": "../../dist/types/ponyfill.d.ts",
"typesVersions": {
">=3.6": {
"../../dist/types/*": [
"../../dist/types/ts3.6/*"
]
}
}
}
9 changes: 8 additions & 1 deletion ponyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,12 @@
"name": "web-streams-ponyfill",
"main": "../dist/ponyfill",
"module": "../dist/ponyfill.mjs",
"types": "../dist/types/ponyfill.d.ts"
"types": "../dist/types/ponyfill.d.ts",
"typesVersions": {
">=3.6": {
"../dist/types/*": [
"../dist/types/ts3.6/*"
]
}
}
}

0 comments on commit 5ff8f9e

Please sign in to comment.