Skip to content

Commit

Permalink
fix(monocdk): assert package has incorrect imports (#7404)
Browse files Browse the repository at this point in the history
The import statements in the `@monocdk-experiment/assert` package were not re-written due to missing quotes in the invocation of `rewrite-imports`.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
RomainMuller and mergify[bot] authored Apr 20, 2020
1 parent e818658 commit 825c9e1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/@monocdk-experiment/assert/clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ for file in ${files}; do
cp $src/$file .
done

npx rewrite-imports **/*.ts
npx rewrite-imports "**/*.ts"

# symlink the full staged monocdk from the staging directory to node_modules
rm -fr node_modules/monocdk-experiment
Expand Down
10 changes: 6 additions & 4 deletions packages/@monocdk-experiment/assert/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compilerOptions": {
"target":"es2018",
"lib": ["es2016", "es2017.object", "es2017.string"],
"module": "commonjs",
"target":"ES2018",
"lib": ["es2018"],
"module": "CommonJS",
"declaration": true,
"strict": true,
"noImplicitAny": true,
Expand All @@ -16,7 +16,9 @@
"inlineSourceMap": true,
"inlineSources": true,
"strictPropertyInitialization": false,
"experimentalDecorators": true
"experimentalDecorators": true,
"composite": true,
"incremental": true
},
"include": ["**/*.ts" ],
"exclude": ["node_modules"]
Expand Down

0 comments on commit 825c9e1

Please sign in to comment.