-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
cals 927/migrate to esm
- Loading branch information
Showing
34 changed files
with
1,231 additions
and
2,551 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
.PHONY: all build clean | ||
|
||
.PHONY: all | ||
all: build | ||
build: | ||
npm install | ||
|
||
.PHONY: build | ||
build: clean | ||
|
||
# don't trigger prepare on install | ||
npm install --ignore-scripts | ||
npm run lint | ||
npm run build | ||
npm run snapshots | ||
npm run test | ||
|
||
.PHONY: clean | ||
clean: | ||
rm -rf node_modules | ||
rm -rf lib/ | ||
rm -rf cdk.out/ | ||
|
||
.PHONY: clean-all | ||
clean-all: clean | ||
rm -rf node_modules/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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,3 +1,3 @@ | ||
module.exports = { | ||
export default { | ||
extends: ["@commitlint/config-conventional"], | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export default { | ||
testEnvironment: 'node', | ||
extensionsToTreatAsEsm: ['.ts'], | ||
testMatch: ["**/*.test.ts"], | ||
transform: { | ||
"^.+\\.tsx?$": [ | ||
"ts-jest", | ||
{ | ||
useESM: true, | ||
}, | ||
], | ||
}, | ||
snapshotFormat: { | ||
printBasicPrototype: true, | ||
escapeString: true, | ||
}, | ||
} |
Oops, something went wrong.