Skip to content

Commit 1bcfb1d

Browse files
committed
Rename "preview-consumer" to "beta-consumer"
1 parent 796192f commit 1bcfb1d

6 files changed

Lines changed: 11 additions & 11 deletions

File tree

build-tests/api-extractor-test-04/preview-consumer/node_modules/api-extractor-test-04/package.json renamed to build-tests/api-extractor-test-04/beta-consumer/node_modules/api-extractor-test-04/package.json

File renamed without changes.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "api-extractor-04-preview",
3+
"description": "Simulates consuming the \"beta\" typings generated by API Extractor for api-extractor-04",
4+
"version": "1.0.0",
5+
"private": true
6+
}

build-tests/api-extractor-test-04/preview-consumer/src/index.ts renamed to build-tests/api-extractor-test-04/beta-consumer/src/index.ts

File renamed without changes.

build-tests/api-extractor-test-04/preview-consumer/tsconfig.json renamed to build-tests/api-extractor-test-04/beta-consumer/tsconfig.json

File renamed without changes.

‎build-tests/api-extractor-test-04/build.js‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const child_process = require('child_process');
33
const path = require('path');
44
const process = require('process');
55

6-
console.log(`==> Invoking tsc in the "preview-consumer" folder`);
6+
console.log(`==> Invoking tsc in the "beta-consumer" folder`);
77

88
function executeCommand(command, cwd) {
99
console.log('---> ' + command);
@@ -26,11 +26,11 @@ if (process.argv.indexOf('--production') >= 0) {
2626
executeCommand('node node_modules/@microsoft/api-extractor/lib/start run --local');
2727
}
2828

29-
// Run the TypeScript compiler in the preview-consumer folder
30-
console.log(`==> Invoking tsc in the "preview-consumer" folder`);
29+
// Run the TypeScript compiler in the beta-consumer folder
30+
console.log(`==> Invoking tsc in the "beta-consumer" folder`);
3131

32-
fsx.emptyDirSync('preview-consumer/lib');
32+
fsx.emptyDirSync('beta-consumer/lib');
3333
const tscPath = path.resolve('node_modules/typescript/lib/tsc');
34-
executeCommand(`node ${tscPath}`, 'preview-consumer');
34+
executeCommand(`node ${tscPath}`, 'beta-consumer');
3535

3636
console.log(`==> Finished build.js for ${path.basename(process.cwd())}`);

‎build-tests/api-extractor-test-04/preview-consumer/package.json‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)