File tree 23 files changed +628
-578
lines changed
23 files changed +628
-578
lines changed Original file line number Diff line number Diff line change 1312
1312
" bug" ,
1313
1313
" code"
1314
1314
]
1315
+ },
1316
+ {
1317
+ "login" : " zxkane" ,
1318
+ "name" : " Meng Xin Zhu" ,
1319
+ "avatar_url" : " https://avatars.githubusercontent.com/u/843303?v=4" ,
1320
+ "profile" : " https://kane.mx" ,
1321
+ "contributions" : [
1322
+ " bug"
1323
+ ]
1315
1324
}
1316
1325
],
1317
1326
"repoType" : " github" ,
Original file line number Diff line number Diff line change 2
2
3
3
All notable changes to this project will be documented in this file. See [ standard-version] ( https://github.com/conventional-changelog/standard-version ) for commit guidelines.
4
4
5
+ ## [ 1.54.0] ( https://github.com/aws/jsii/compare/v1.53.0...v1.54.0 ) (2022-02-15)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * ** jsii:** dependencies' README files are unnecessarily re-rendered ([ #3380 ] ( https://github.com/aws/jsii/issues/3380 ) ) ([ ec4edc5] ( https://github.com/aws/jsii/commit/ec4edc5458d9b146ebd4a2d0c9c6cca1ed03dfaf ) )
11
+
5
12
## [ 1.53.0] ( https://github.com/aws/jsii/compare/v1.52.1...v1.53.0 ) (2022-02-09)
6
13
7
14
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 10
10
"rejectCycles" : true
11
11
}
12
12
},
13
- "version" : " 1.53 .0"
13
+ "version" : " 1.54 .0"
14
14
}
Original file line number Diff line number Diff line change 15
15
"compliance" : " (cd tools/jsii-compliance && yarn report)"
16
16
},
17
17
"devDependencies" : {
18
- "@jest/types" : " ^27.4.2 " ,
19
- "@typescript-eslint/eslint-plugin" : " ^5.10.2 " ,
20
- "@typescript-eslint/parser" : " ^5.10.2 " ,
18
+ "@jest/types" : " ^27.5.1 " ,
19
+ "@typescript-eslint/eslint-plugin" : " ^5.11.0 " ,
20
+ "@typescript-eslint/parser" : " ^5.11.0 " ,
21
21
"all-contributors-cli" : " ^6.20.0" ,
22
22
"eslint" : " ^8.8.0" ,
23
23
"eslint-config-prettier" : " ^8.3.0" ,
24
24
"eslint-import-resolver-node" : " ^0.3.6" ,
25
25
"eslint-import-resolver-typescript" : " ^2.5.0" ,
26
26
"eslint-plugin-import" : " ^2.25.4" ,
27
27
"eslint-plugin-prettier" : " ^4.0.0" ,
28
- "jest-circus" : " ^27.4.6 " ,
29
- "jest-config" : " ^27.4.7 " ,
28
+ "jest-circus" : " ^27.5.1 " ,
29
+ "jest-config" : " ^27.5.1 " ,
30
30
"lerna" : " ^4.0.0" ,
31
31
"prettier" : " ^2.5.1" ,
32
32
"standard-version" : " ^9.3.2" ,
33
33
"ts-jest" : " ^27.1.3" ,
34
- "ts-node" : " ^10.4 .0" ,
34
+ "ts-node" : " ^10.5 .0" ,
35
35
"typescript" : " ~3.9.10"
36
36
},
37
37
"repository" : {
Original file line number Diff line number Diff line change 43
43
"@types/chalk" : " ^2.2.0" ,
44
44
"@types/jest" : " ^27.4.0" ,
45
45
"@types/node" : " ^12.20.43" ,
46
- "jest" : " ^27.4.7 "
46
+ "jest" : " ^27.5.1 "
47
47
}
48
48
}
Original file line number Diff line number Diff line change 31
31
"jsii-build-tools" : " ^0.0.0" ,
32
32
"jsii-calc" : " ^3.20.120" ,
33
33
"prettier" : " ^2.5.1" ,
34
- "ts-node" : " ^10.4 .0" ,
34
+ "ts-node" : " ^10.5 .0" ,
35
35
"typescript" : " ~3.9.10"
36
36
}
37
37
}
Original file line number Diff line number Diff line change 20
20
"@octokit/rest" : " ^18.12.0" ,
21
21
"dotenv" : " ^8.6.0" ,
22
22
"fs-extra" : " ^9.1.0" ,
23
- "jest" : " ^27.4.7 " ,
23
+ "jest" : " ^27.5.1 " ,
24
24
"jsii" : " ^0.0.0" ,
25
25
"jsii-pacmak" : " ^0.0.0" ,
26
26
"jsii-rosetta" : " ^0.0.0" ,
Original file line number Diff line number Diff line change 43
43
"@types/node" : " ^12.20.43" ,
44
44
"@types/tar" : " ^6.1.1" ,
45
45
"eslint" : " ^8.8.0" ,
46
- "jest" : " ^27.4.7 " ,
46
+ "jest" : " ^27.5.1 " ,
47
47
"jest-expect-message" : " ^1.0.2" ,
48
48
"jsii-build-tools" : " ^0.0.0" ,
49
49
"jsii-calc" : " ^3.20.120" ,
Original file line number Diff line number Diff line change 41
41
"jsii-build-tools" : " ^0.0.0" ,
42
42
"jsii-calc" : " ^3.20.120" ,
43
43
"jsii-pacmak" : " ^0.0.0" ,
44
- "ts-node" : " ^10.4 .0" ,
44
+ "ts-node" : " ^10.5 .0" ,
45
45
"typescript" : " ~3.9.10"
46
46
}
47
47
}
Original file line number Diff line number Diff line change 44
44
"@types/jest" : " ^27.4.0" ,
45
45
"@types/node" : " ^12.20.43" ,
46
46
"eslint" : " ^8.8.0" ,
47
- "jest" : " ^27.4.7 " ,
47
+ "jest" : " ^27.5.1 " ,
48
48
"jsii-build-tools" : " ^0.0.0" ,
49
49
"jsii-calc" : " ^3.20.120" ,
50
50
"prettier" : " ^2.5.1" ,
Original file line number Diff line number Diff line change 37
37
"@types/jest" : " ^27.4.0" ,
38
38
"@types/node" : " ^12.20.43" ,
39
39
"eslint" : " ^8.8.0" ,
40
- "jest" : " ^27.4.7 " ,
40
+ "jest" : " ^27.5.1 " ,
41
41
"jsii-build-tools" : " ^0.0.0" ,
42
42
"prettier" : " ^2.5.1" ,
43
43
"typescript" : " ~3.9.10" ,
Original file line number Diff line number Diff line change 40
40
"@types/jest" : " ^27.4.0" ,
41
41
"@types/node" : " ^12.20.43" ,
42
42
"eslint" : " ^8.8.0" ,
43
- "jest" : " ^27.4.7 " ,
43
+ "jest" : " ^27.5.1 " ,
44
44
"prettier" : " ^2.5.1" ,
45
45
"typescript" : " ~3.9.10"
46
46
}
Original file line number Diff line number Diff line change 24
24
"@types/node" : " ^12.20.43" ,
25
25
"@types/yargs" : " ^17.0.8" ,
26
26
"eslint" : " ^8.8.0" ,
27
- "jest" : " ^27.4.7 " ,
27
+ "jest" : " ^27.5.1 " ,
28
28
"jest-expect-message" : " ^1.0.2" ,
29
29
"prettier" : " ^2.5.1" ,
30
30
"typescript" : " ~3.9.10"
Original file line number Diff line number Diff line change 47
47
"@types/node" : " ^12.20.43" ,
48
48
"@types/tar-fs" : " ^2.0.1" ,
49
49
"eslint" : " ^8.8.0" ,
50
- "jest" : " ^27.4.7 " ,
50
+ "jest" : " ^27.5.1 " ,
51
51
"jest-expect-message" : " ^1.0.2" ,
52
52
"jsii" : " ^0.0.0" ,
53
53
"jsii-build-tools" : " ^0.0.0" ,
Original file line number Diff line number Diff line change 63
63
"@types/node" : " ^12.20.43" ,
64
64
"@types/semver" : " ^7.3.9" ,
65
65
"eslint" : " ^8.8.0" ,
66
- "jest" : " ^27.4.7 " ,
66
+ "jest" : " ^27.5.1 " ,
67
67
"jsii" : " ^0.0.0" ,
68
68
"jsii-build-tools" : " ^0.0.0" ,
69
69
"jsii-calc" : " ^3.20.120" ,
Original file line number Diff line number Diff line change 47
47
"@types/jest" : " ^27.4.0" ,
48
48
"@types/node" : " ^12.20.43" ,
49
49
"eslint" : " ^8.8.0" ,
50
- "jest" : " ^27.4.7 " ,
50
+ "jest" : " ^27.5.1 " ,
51
51
"jsii" : " ^0.0.0" ,
52
52
"jsii-build-tools" : " ^0.0.0" ,
53
53
"jsii-calc" : " ^3.20.120" ,
Original file line number Diff line number Diff line change 24
24
"@types/workerpool" : " ^6.1.0" ,
25
25
"@types/semver" : " ^7.3.9" ,
26
26
"eslint" : " ^8.8.0" ,
27
- "jest" : " ^27.4.7 " ,
27
+ "jest" : " ^27.5.1 " ,
28
28
"jsii-build-tools" : " 0.0.0" ,
29
29
"memory-streams" : " ^0.1.3" ,
30
30
"mock-fs" : " ^5.1.2" ,
42
42
"yargs" : " ^16.2.0" ,
43
43
"semver" : " ^7.3.5" ,
44
44
"semver-intersect" : " ^1.4.0" ,
45
- "fast-glob" : " ^3.2.7 " ,
45
+ "fast-glob" : " ^3.2.11 " ,
46
46
"jsii" : " 0.0.0"
47
47
},
48
48
"license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -721,10 +721,17 @@ export class Assembler implements Emitter {
721
721
symbol ,
722
722
) ;
723
723
const targets = await loadSubmoduleTargetConfig ( sourceFile . fileName ) ;
724
- const readme = await loadSubmoduleReadMe (
725
- sourceFile . fileName ,
726
- this . projectInfo . projectRoot ,
727
- ) ;
724
+ // There is no need to process the README file for submodules that are
725
+ // external (i.e: from a dependency), as these will not be emitted in the
726
+ // assembly. That'd be wasted effort, and could fail if the README file
727
+ // refers to literate examples that are not packaged in the dependency.
728
+ const readme =
729
+ packageRoot === this . projectInfo . projectRoot
730
+ ? await loadSubmoduleReadMe (
731
+ sourceFile . fileName ,
732
+ this . projectInfo . projectRoot ,
733
+ )
734
+ : undefined ;
728
735
729
736
this . _submodules . set ( symbol , {
730
737
fqn,
Original file line number Diff line number Diff line change 58
58
"@types/semver" : " ^7.3.9" ,
59
59
"clone" : " ^2.1.2" ,
60
60
"eslint" : " ^8.8.0" ,
61
- "jest" : " ^27.4.7 " ,
61
+ "jest" : " ^27.5.1 " ,
62
62
"jest-expect-message" : " ^1.0.2" ,
63
63
"jsii-build-tools" : " ^0.0.0" ,
64
64
"prettier" : " ^2.5.1" ,
Original file line number Diff line number Diff line change 34
34
"@types/jest" : " ^27.4.0" ,
35
35
"@types/node" : " ^12.20.43" ,
36
36
"eslint" : " ^8.8.0" ,
37
- "jest" : " ^27.4.7 " ,
37
+ "jest" : " ^27.5.1 " ,
38
38
"jsii-build-tools" : " ^0.0.0" ,
39
39
"prettier" : " ^2.5.1" ,
40
40
"typescript" : " ~3.9.10"
Original file line number Diff line number Diff line change 19
19
"@types/node" : " ^12.20.43" ,
20
20
"eslint" : " ^8.8.0" ,
21
21
"prettier" : " ^2.5.1" ,
22
- "ts-node" : " ^10.4 .0" ,
22
+ "ts-node" : " ^10.5 .0" ,
23
23
"typescript" : " ~3.9.10"
24
24
}
25
25
}
You can’t perform that action at this time.
0 commit comments