File tree Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Expand file tree Collapse file tree 3 files changed +24
-7
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @gitbook/cli ' : minor
3
+ ---
4
+
5
+ Add site scope suggestions to gitbook new command
Original file line number Diff line number Diff line change 88
88
},
89
89
"integrations/formspree" : {
90
90
"name" : " @gitbook/integration-formspree" ,
91
- "version" : " 0.2.8 " ,
91
+ "version" : " 0.2.9 " ,
92
92
"dependencies" : {
93
93
"@gitbook/runtime" : " workspace:*" ,
94
94
},
451
451
},
452
452
"integrations/slack" : {
453
453
"name" : " @gitbook/integration-slack" ,
454
- "version" : " 2.0.1 " ,
454
+ "version" : " 2.0.2 " ,
455
455
"dependencies" : {
456
456
"@gitbook/api" : " *" ,
457
457
"@gitbook/runtime" : " *" ,
532
532
},
533
533
"packages/api" : {
534
534
"name" : " @gitbook/api" ,
535
- "version" : " 0.106 .0" ,
535
+ "version" : " 0.114 .0" ,
536
536
"dependencies" : {
537
537
"event-iterator" : " ^2.0.0" ,
538
538
"eventsource-parser" : " ^3.0.0" ,
547
547
},
548
548
"packages/cli" : {
549
549
"name" : " @gitbook/cli" ,
550
- "version" : " 0.21.1 " ,
550
+ "version" : " 0.22.0 " ,
551
551
"bin" : {
552
- "gitbook" : " ./cli.js"
552
+ "gitbook" : " ./cli.js" ,
553
553
},
554
554
"dependencies" : {
555
555
"@gitbook/api" : " *" ,
586
586
},
587
587
"packages/runtime" : {
588
588
"name" : " @gitbook/runtime" ,
589
- "version" : " 0.19.2 " ,
589
+ "version" : " 0.20.0 " ,
590
590
"dependencies" : {
591
591
"@gitbook/api" : " *" ,
592
592
},
Original file line number Diff line number Diff line change 1
- import { JSONSchemaForNPMPackageJsonFiles2 as PackageJSON } from '@schemastore/package' ;
1
+ import type { JSONSchemaForNPMPackageJsonFiles2 as PackageJSON } from '@schemastore/package' ;
2
2
import { spawn } from 'child_process' ;
3
3
import detent from 'dedent-js' ;
4
4
import * as fs from 'fs' ;
@@ -72,6 +72,18 @@ export async function promptNewIntegration(dir?: string): Promise<void> {
72
72
title : IntegrationScope . SpaceGitSync ,
73
73
value : IntegrationScope . SpaceGitSync ,
74
74
} ,
75
+ {
76
+ title : IntegrationScope . SiteMetadataRead ,
77
+ value : IntegrationScope . SiteMetadataRead ,
78
+ } ,
79
+ {
80
+ title : IntegrationScope . SiteAdaptiveRead ,
81
+ value : IntegrationScope . SiteAdaptiveRead ,
82
+ } ,
83
+ {
84
+ title : IntegrationScope . SiteAdaptiveWrite ,
85
+ value : IntegrationScope . SiteAdaptiveWrite ,
86
+ } ,
75
87
] ,
76
88
} ,
77
89
] ) ;
You can’t perform that action at this time.
0 commit comments