File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 7
7
"build" : " vite build" ,
8
8
"serve" : " vite preview"
9
9
},
10
- "buildOptions" : {
11
- "formats" : [
12
- " global"
13
- ],
14
- "env" : " development" ,
15
- "enableNonBrowserBranches" : true
16
- },
17
10
"devDependencies" : {
18
11
"@types/codemirror" : " ^0.0.108" ,
19
12
"@vitejs/plugin-vue" : " ^1.2.0" ,
Original file line number Diff line number Diff line change @@ -75,8 +75,8 @@ async function build(target) {
75
75
const pkgDir = path . resolve ( `packages/${ target } ` )
76
76
const pkg = require ( `${ pkgDir } /package.json` )
77
77
78
- // only build published packages for release
79
- if ( isRelease && pkg . private ) {
78
+ // if this is a full build (no specific targets), ignore private packages
79
+ if ( ( isRelease || ! targets . length ) && pkg . private ) {
80
80
return
81
81
}
82
82
@@ -118,9 +118,8 @@ async function build(target) {
118
118
const { Extractor, ExtractorConfig } = require ( '@microsoft/api-extractor' )
119
119
120
120
const extractorConfigPath = path . resolve ( pkgDir , `api-extractor.json` )
121
- const extractorConfig = ExtractorConfig . loadFileAndPrepare (
122
- extractorConfigPath
123
- )
121
+ const extractorConfig =
122
+ ExtractorConfig . loadFileAndPrepare ( extractorConfigPath )
124
123
const extractorResult = Extractor . invoke ( extractorConfig , {
125
124
localBuild : true ,
126
125
showVerboseMessages : true
You can’t perform that action at this time.
0 commit comments