chore: use js
extension (#8804)
This commit is contained in:
parent
02e1eea7eb
commit
b80beecadf
@ -1,6 +0,0 @@
|
||||
module.exports = {
|
||||
extends: ['../.eslintrc.js'],
|
||||
rules: {
|
||||
'import/extensions': 0,
|
||||
},
|
||||
};
|
@ -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,
|
||||
|
@ -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}) => {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user