-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export named concurrently + fix TS errors with Node16 (#456)
- Loading branch information
1 parent
bb8436b
commit feac92b
Showing
7 changed files
with
51 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/* | ||
* While in local development, make sure you've run `pnpm run build` first. | ||
*/ | ||
import { concurrently } from './dist/src/index.js'; | ||
|
||
export * from './dist/src/index.js'; | ||
export default concurrently; |
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,11 @@ | ||
/* | ||
* While in local development, make sure you've run `pnpm run build` first. | ||
*/ | ||
import { concurrently } from './dist/src/index.js'; | ||
|
||
export * from './dist/src/index.js'; | ||
// @ts-expect-error ignore the usage of `export =` along with `export default`. | ||
// This is seemingly fine, but the file needs to be included in the TS project, which can't be done | ||
// due to importing from `dist`. See https://stackoverflow.com/q/42609768/2083599 | ||
export = concurrently; | ||
export default concurrently; |
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