-
-
Notifications
You must be signed in to change notification settings - Fork 633
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: transition modules to hybrid ESM/CJS, switch to vitest for tes…
…ting (#7349)
- Loading branch information
Showing
597 changed files
with
18,274 additions
and
16,542 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
22 changes: 22 additions & 0 deletions
22
.yarn/patches/@serialport-bindings-interface-npm-1.2.2-e597dbc676.patch
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,22 @@ | ||
diff --git a/dist/index-esm.mjs b/dist/index-esm.mjs | ||
deleted file mode 100644 | ||
index 8b137891791fe96927ad78e64b0aad7bded08bdc..0000000000000000000000000000000000000000 | ||
--- a/dist/index-esm.mjs | ||
+++ /dev/null | ||
@@ -1 +0,0 @@ | ||
- | ||
diff --git a/package.json b/package.json | ||
index 1f46c413862b1b4df9bc152a21f1c7405923074e..f0db3ef8b2643b5a37922dc5362c83e36abd4f87 100644 | ||
--- a/package.json | ||
+++ b/package.json | ||
@@ -4,10 +4,6 @@ | ||
"description": "SerialPort Bindings Typescript Types", | ||
"types": "dist/index.d.ts", | ||
"main": "./dist/index.js", | ||
- "exports": { | ||
- "require": "./dist/index.js", | ||
- "default": "./dist/index-esm.mjs" | ||
- }, | ||
"publishConfig": { | ||
"access": "public" | ||
}, |
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,13 @@ | ||
diff --git a/dist/tspegjs.mjs b/dist/tspegjs.mjs | ||
index 80c07aa0716f74f7c23c2e51d2b0fb8613941071..ac02b7d22be46a708821755efe4d5d2b9442259d 100644 | ||
--- a/dist/tspegjs.mjs | ||
+++ b/dist/tspegjs.mjs | ||
@@ -20,7 +20,7 @@ var __privateMethod = (obj, member, method) => { | ||
var _renameGrammarRules, renameGrammarRules_fn, _initNameMap, initNameMap_fn, _initSourceHeader, initSourceHeader_fn; | ||
import { ts, Project, ScriptTarget } from "ts-morph"; | ||
import * as peggy from "peggy"; | ||
-import * as prettierPluginTypescript from "prettier/parser-typescript"; | ||
+import prettierPluginTypescript from "prettier/parser-typescript"; | ||
import prettier from "prettier/standalone"; | ||
function wrapNodeInAsConstDeclaration(node) { | ||
node.transform( |
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 was deleted.
Oops, something went wrong.
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
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
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
Oops, something went wrong.