forked from google/schema-dts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove TypeScript as an explicit peer dependency.
This is one potential fix to google#180 that allows schema-dts to continue to be used with `import` and any/no bundlers without increasing bundle size. It is also possible to address google#180 by simply asking users to save schema-dts as a dev dependency. This is generally more correct for typings, but runs the risk of leaving dangling imports to nonexistent "schema-dts" js. We _may_ want to add TypeScript as a dev dependency instead. I'm not sure.
- Loading branch information
Showing
4 changed files
with
6 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "schema-dts", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"displayName": "schema-dts: Strongly-typed Schema.org vocabulary declarations", | ||
"description": "A TypeScript package with latest Schema.org Schema Typings", | ||
"author": "Eyas Sharaiha <[email protected]> (https://eyas.sh/)", | ||
|
@@ -22,9 +22,6 @@ | |
"mkdirp": "^1.0.4", | ||
"schema-dts-gen": "*" | ||
}, | ||
"peerDependencies": { | ||
"typescript": ">=4.1.0" | ||
}, | ||
"keywords": [ | ||
"typescript", | ||
"tsd", | ||
|