Skip to content

Commit 76472be

Browse files
authored
feat(jsii): Re-implemented jsii to support --watch and produce better 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.
1 parent 8b7682c commit 76472be

File tree

119 files changed

+19077
-14192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+19077
-14192
lines changed

build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ export PATH=node_modules/.bin:$PATH
1212

1313
echo "============================================================================================="
1414
echo "building..."
15-
lerna run build
15+
lerna run build --stream --sort
1616

1717
echo "============================================================================================="
1818
echo "testing..."
19-
lerna run test
19+
lerna run test --stream
2020

2121
touch $BUILD_INDICATOR

bump.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ fi
88

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

11-
node_modules/.bin/lerna run build
11+
node_modules/.bin/lerna run build --stream --sort
1212

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

lerna.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"packages": [
44
"packages/*"
55
],
6-
"rejectCycles": true,
6+
"command": {
7+
"bootstrap": {
8+
"rejectCycles": true
9+
}
10+
},
711
"version": "0.7.1"
812
}

0 commit comments

Comments
 (0)