File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
- export * as worker from '@temporalio/worker' ;
2
- export * as client from '@temporalio/client' ;
1
+ // ORDER IS IMPORTANT! When a type is re-exported, TypeDoc will keep the first
2
+ // one it encountered as canonical, and mark others as references to that one.
3
+ export * as protobufs from '@temporalio/common/lib/protobufs' ;
3
4
export * as proto from '@temporalio/proto' ;
4
5
export * as common from '@temporalio/common' ;
5
- export * as protobufs from '@temporalio/common/lib/protobufs' ;
6
6
export * as workflow from '@temporalio/workflow' ;
7
7
export * as activity from '@temporalio/activity' ;
8
+ export * as worker from '@temporalio/worker' ;
9
+ export * as client from '@temporalio/client' ;
8
10
export * as testing from '@temporalio/testing' ;
9
11
export * as opentelemetry from '@temporalio/interceptors-opentelemetry' ;
Original file line number Diff line number Diff line change @@ -12,9 +12,11 @@ const packages = await fs.readdir(packagesPath);
12
12
for ( const dir of packages ) {
13
13
const packageJsonPath = path . join ( packagesPath , dir , 'package.json' ) ;
14
14
const packageJson = JSON . parse ( await fs . readFile ( packageJsonPath , 'utf8' ) ) ;
15
- for ( const dep of Object . keys ( packageJson . dependencies ) ) {
16
- if ( dep . startsWith ( '@temporalio/' ) ) {
17
- packageJson . dependencies [ dep ] = `${ version } ` ;
15
+ for ( const depType of [ 'dependencies' , 'devDependencies' , 'peerDependencies' ] ) {
16
+ for ( const dep of Object . keys ( packageJson [ depType ] ?? { } ) ) {
17
+ if ( dep . startsWith ( '@temporalio/' ) ) {
18
+ packageJson [ depType ] [ dep ] = `${ version } ` ;
19
+ }
18
20
}
19
21
}
20
22
const replacedContent = JSON . stringify ( packageJson , null , 2 ) ;
You can’t perform that action at this time.
0 commit comments