Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[v2.0.0] Bundle acorn, allow node ESM import fo Rollup, update depend…
…encies (#3391) * Support Node ESM * Bundle acorn again, adjust directory structure and support Node ESM * Update dependencies * Collect licenses from all artifacts * Switch to colorette instead of turbocolor * Support Node ESM through conditional exports * Fix test
- Loading branch information
1 parent
4132844
commit 01cc4f7
Showing
69 changed files
with
1,310 additions
and
1,763 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,14 @@ | ||
{ | ||
"{src,bin,browser,typings}/**/*.ts": [ | ||
"prettier --write", | ||
"tslint --project . --fix", | ||
"git add" | ||
"tslint --project . --fix" | ||
], | ||
"test/**/*.ts": [ | ||
"prettier --write", | ||
"tslint --project test/typescript --fix", | ||
"git add" | ||
"tslint --project test/typescript --fix" | ||
], | ||
"{test/test,test/*/index,test/utils,test/**/_config}.js": [ | ||
"prettier --write", | ||
"eslint --fix", | ||
"git add" | ||
"eslint --fix" | ||
] | ||
} |
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,8 @@ | ||
export default function emitModulePackageFile() { | ||
return { | ||
name: 'emit-module-package-file', | ||
generateBundle() { | ||
this.emitFile({ type: 'asset', fileName: 'package.json', source: `{"type":"module"}` }); | ||
} | ||
}; | ||
} |
Oops, something went wrong.