Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: use js extension #8804

Merged
merged 1 commit into from Aug 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 0 additions & 6 deletions utils/.eslintrc.js

This file was deleted.

4 changes: 2 additions & 2 deletions utils/generate_docs.ts
Expand Up @@ -17,8 +17,8 @@
import {readFile, writeFile} from 'fs/promises';
import rimraf from 'rimraf';
import semver from 'semver';
import {generateDocs} from './internal/custom_markdown_action';
import {job} from './internal/job';
import {generateDocs} from './internal/custom_markdown_action.js';
import {job} from './internal/job.js';

function getOffsetAndLimit(
sectionName: string,
Expand Down
2 changes: 1 addition & 1 deletion utils/generate_sources.ts
Expand Up @@ -3,7 +3,7 @@ import esbuild from 'esbuild';
import {mkdir, mkdtemp, readFile, writeFile} from 'fs/promises';
import path from 'path';
import rimraf from 'rimraf';
import {job} from './internal/job';
import {job} from './internal/job.js';

(async () => {
await job('', async ({outputs}) => {
Expand Down
2 changes: 1 addition & 1 deletion utils/internal/custom_markdown_action.ts
Expand Up @@ -15,7 +15,7 @@
*/

import {ApiModel} from '@microsoft/api-extractor-model';
import {MarkdownDocumenter} from './custom_markdown_documenter';
import {MarkdownDocumenter} from './custom_markdown_documenter.js';

export const generateDocs = (jsonPath: string, outputDir: string): void => {
const apiModel = new ApiModel();
Expand Down