-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrading marked-terminal to its latest version.
- Loading branch information
Showing
4 changed files
with
2,832 additions
and
2,163 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
33 changes: 33 additions & 0 deletions
33
...d workspacesarethetypeswrongpackagescoretestfixtures@[email protected]
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,33 @@ | ||
# [email protected] --definitely-typed /workspaces/arethetypeswrong/packages/core/test/fixtures/@[email protected] | ||
|
||
``` | ||
$ attw [email protected] --definitely-typed /workspaces/arethetypeswrong/packages/core/test/fixtures/@[email protected] | ||
big.js v6.2.1 | ||
@types/big.js v6.2.0 | ||
🎭 Import resolved to a CommonJS type declaration file, but an ESM JavaScript file. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseCJS.md | ||
❌ Import resolved to JavaScript files, but no type declarations were found. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/UntypedResolution.md | ||
⚠️ A require call resolved to an ESM JavaScript file, which is an error in Node and some bundlers. CommonJS consumers will need to use a dynamic import. https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/CJSResolvesToESM.md | ||
┌───────────────────┬────────────────────────┬──────────────────────────────┬─────────────────┬───────────────────────┐ | ||
│ │ "big.js" │ "big.js/big.mjs" │ "big.js/big.js" │ "big.js/package.json" │ | ||
├───────────────────┼────────────────────────┼──────────────────────────────┼─────────────────┼───────────────────────┤ | ||
│ node10 │ 🟢 │ ❌ No types │ ❌ No types │ 🟢 (JSON) │ | ||
├───────────────────┼────────────────────────┼──────────────────────────────┼─────────────────┼───────────────────────┤ | ||
│ node16 (from CJS) │ 🟢 (CJS) │ ❌ No types │ ❌ No types │ 🟢 (JSON) │ | ||
│ │ │ ⚠️ ESM (dynamic import only) │ │ │ | ||
├───────────────────┼────────────────────────┼──────────────────────────────┼─────────────────┼───────────────────────┤ | ||
│ node16 (from ESM) │ 🎭 Masquerading as CJS │ ❌ No types │ ❌ No types │ 🟢 (JSON) │ | ||
├───────────────────┼────────────────────────┼──────────────────────────────┼─────────────────┼───────────────────────┤ | ||
│ bundler │ 🟢 │ ❌ No types │ ❌ No types │ 🟢 (JSON) │ | ||
└───────────────────┴────────────────────────┴──────────────────────────────┴─────────────────┴───────────────────────┘ | ||
``` | ||
|
||
Exit code: 1 |
32 changes: 32 additions & 0 deletions
32
... workspacesarethetypeswrongpackagescoretestfixtures@[email protected]
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,32 @@ | ||
# [email protected] --definitely-typed /workspaces/arethetypeswrong/packages/core/test/fixtures/@[email protected] | ||
|
||
``` | ||
$ attw [email protected] --definitely-typed /workspaces/arethetypeswrong/packages/core/test/fixtures/@[email protected] | ||
react v18.2.0 | ||
@types/react v18.2.21 | ||
No problems found 🌟 | ||
┌─────────────────────────┬───────────┬───────────────────┬───────────────────┬───────────┐ | ||
│ │ node10 │ node16 (from CJS) │ node16 (from ESM) │ bundler │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react/package.json" │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ 🟢 (JSON) │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react/jsx-runtime" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react/jsx-dev-runtime" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react/canary" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ | ||
├─────────────────────────┼───────────┼───────────────────┼───────────────────┼───────────┤ | ||
│ "react/experimental" │ 🟢 │ 🟢 (CJS) │ 🟢 (CJS) │ 🟢 │ | ||
└─────────────────────────┴───────────┴───────────────────┴───────────────────┴───────────┘ | ||
``` | ||
|
||
Exit code: 0 |
Oops, something went wrong.