-
Notifications
You must be signed in to change notification settings - Fork 655
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1165 from crutchcorn/fix-are-types-wrong
fix: TypeScript resolution should now work across bundlers
- Loading branch information
Showing
11 changed files
with
169 additions
and
41 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "compromise-one", | ||
"version": "14.14.3", | ||
"description": "", | ||
"type": "module", | ||
"module": "./../src/one.js", | ||
"main": "./../src/one.js", | ||
"types": "./../types/one.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./../types/one/one.d.ts", | ||
"default": "./../src/one.js" | ||
}, | ||
"require": { | ||
"types": "./../types/one.d.cts", | ||
"default": "./../builds/one/compromise-one.cjs" | ||
} | ||
} | ||
}, | ||
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)", | ||
"license": "MIT", | ||
"sideEffects": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "compromise-three", | ||
"version": "14.14.3", | ||
"description": "", | ||
"type": "module", | ||
"module": "./../src/three.js", | ||
"main": "./../src/three.js", | ||
"types": "./../types/three.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./../types/three/three.d.ts", | ||
"default": "./../src/three.js" | ||
}, | ||
"require": { | ||
"types": "./../types/three.d.cts", | ||
"default": "./../builds/three/compromise-three.cjs" | ||
} | ||
} | ||
}, | ||
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)", | ||
"license": "MIT", | ||
"sideEffects": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "compromise-tokenize", | ||
"version": "14.14.3", | ||
"description": "", | ||
"type": "module", | ||
"module": "./../src/one.js", | ||
"main": "./../src/one.js", | ||
"types": "./../types/one.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./../types/one/one.d.ts", | ||
"default": "./../src/one.js" | ||
}, | ||
"require": { | ||
"types": "./../types/one.d.cts", | ||
"default": "./../builds/one/compromise-one.cjs" | ||
} | ||
} | ||
}, | ||
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)", | ||
"license": "MIT", | ||
"sideEffects": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"name": "compromise-two", | ||
"version": "14.14.3", | ||
"description": "", | ||
"type": "module", | ||
"module": "./../src/two.js", | ||
"main": "./../src/two.js", | ||
"types": "./../types/two.d.ts", | ||
"exports": { | ||
"./package.json": "./package.json", | ||
".": { | ||
"import": { | ||
"types": "./../types/two/two.d.ts", | ||
"default": "./../src/two.js" | ||
}, | ||
"require": { | ||
"types": "./../types/two.d.cts", | ||
"default": "./../builds/two/compromise-two.cjs" | ||
} | ||
} | ||
}, | ||
"author": "Spencer Kelly <[email protected]> (http://spencermounta.in)", | ||
"license": "MIT", | ||
"sideEffects": true | ||
} |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import nlp from "./one.d"; | ||
|
||
export = nlp | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import nlp from "./three.d"; | ||
|
||
export = nlp | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import nlp from "./two.d"; | ||
|
||
export = nlp | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import View from "./one.d"; | ||
|
||
export = View | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Three from "./three.d"; | ||
|
||
export = Three | ||
|
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import Two from "./two.d"; | ||
|
||
export = Two | ||
|