Skip to content

Commit

Permalink
feat(jsii): Re-implemented jsii to support --watch and produce better…
Browse files Browse the repository at this point in the history
… error reporting (#188)

Re-wrote JSII using the TypeScript compiler services API, integrating
with the `ts.ProgramBuilder` classes so that incremental build is
possible. Additonally, error messages leverage `TypeScript`'s built-in
diagnostic formatter, and enable the rendering of code excerpts with
error messages.
  • Loading branch information
RomainMuller authored Aug 28, 2018
1 parent 8b7682c commit 76472be
Show file tree
Hide file tree
Showing 119 changed files with 19,077 additions and 14,192 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ export PATH=node_modules/.bin:$PATH

echo "============================================================================================="
echo "building..."
lerna run build
lerna run build --stream --sort

echo "============================================================================================="
echo "testing..."
lerna run test
lerna run test --stream

touch $BUILD_INDICATOR
4 changes: 2 additions & 2 deletions bump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ fi

node_modules/.bin/lerna publish --force-publish=* --skip-npm --skip-git --conventional-commits --repo-version ${ver}

node_modules/.bin/lerna run build
node_modules/.bin/lerna run build --stream --sort

# update test expectations
UPDATE_DIFF=1 node_modules/.bin/lerna run test
UPDATE_DIFF=1 node_modules/.bin/lerna run test --stream --sort

6 changes: 5 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"packages": [
"packages/*"
],
"rejectCycles": true,
"command": {
"bootstrap": {
"rejectCycles": true
}
},
"version": "0.7.1"
}
Loading

0 comments on commit 76472be

Please sign in to comment.