Skip to content

Commit

Permalink
delete this commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hotell committed Aug 14, 2021
1 parent 12683ca commit cebf5cc
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions scripts/tasks/api-extractor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ const apiExtractorConfigs = glob
// Whether to update automatically on build
const localBuild = !process.env.TF_BUILD;

console.log({ apiExtractorConfigs });

export function apiExtractor() {
return apiExtractorConfigs.length
? series(
Expand All @@ -24,15 +26,19 @@ export function apiExtractor() {
tsConfigPath: resolveCwd('./tsconfig.json'),
});

const cleanupOverrides = overrideApi ? overrideApi.resetConfig : () => noop;
console.log({ overrideApi });

const cleanupOverrides = overrideApi ? () => overrideApi.resetConfig : () => noop;

const taskName = `api-extractor:${configName}`;

task(
taskName,
series(
() => {
overrideApi && overrideApi.overrideConfig();
if (overrideApi) {
overrideApi.overrideConfig();
}
},
() => {
try {
Expand Down Expand Up @@ -74,6 +80,8 @@ function overrideExtractorConfigForPackagesWithTsPathAliases(options: {
const tsConfig: TsConfig = jju.parse(fs.readFileSync(options.tsConfigPath, 'utf-8'));
const shouldOverrideConfig = Boolean(tsConfig.extends);

console.log({ shouldOverrideConfig });

if (!shouldOverrideConfig) {
return null;
}
Expand Down

0 comments on commit cebf5cc

Please sign in to comment.