This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some changes were necesssary after upgrading babel deps: - preset-stage-3 has been removed because it is deprecated. Instead the separate proposals which are necessary for typescript were added - removed some configuration from the transform-runtime plugin that were already the default Some changes were necessary after upgrading TypeScript: - Declarations output is now a temporary directory, after which the files are copied to their final destination using shx. This is because TypeScript adds the output directory of a build to the excludes array, which causes issues when the output directory is the root of the repository Other updates: - The minimum node version was bumped from 6 to 8
- Loading branch information
Showing
10 changed files
with
3,057 additions
and
1,412 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 |
---|---|---|
|
@@ -11,6 +11,7 @@ node_modules/ | |
/coverage/ | ||
/.nyc_output/ | ||
/tmp/ | ||
/decl/ | ||
|
||
## only ignore in git | ||
/lib | ||
|
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 |
---|---|---|
|
@@ -10,6 +10,7 @@ node_modules/ | |
/coverage/ | ||
/.nyc_output/ | ||
/tmp/ | ||
/decl/ | ||
|
||
# .npmignore | ||
.babelrc | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ cache: yarn | |
|
||
node_js: | ||
- 'stable' | ||
- '6' | ||
- '8' | ||
- '10' | ||
|
||
|
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,5 +1,5 @@ | ||
require("@babel/register")({ | ||
require('@babel/register')({ | ||
// Setting this will remove the currently hooked extensions of .es6, `.es`, `.jsx` | ||
// and .js so you'll have to add them back if you want them to be used again. | ||
extensions: [".es6", ".es", ".jsx", ".js", ".ts"], | ||
extensions: ['.es6', '.es', '.jsx', '.js', '.ts'], | ||
}); |
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.