Skip to content

Commit 4a1b736

Browse files
authored
feat: extend typedoc with project custom config (#34)
1 parent 0e65ddd commit 4a1b736

File tree

1,000 files changed

+77
-116939
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,000 files changed

+77
-116939
lines changed

.gitignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,15 @@ jspm_packages/
100100

101101
# TernJS port file
102102
.tern-port
103+
104+
# Actions need their deps.
105+
node_modules/.bin
106+
node_modules/.package-lock.json
107+
node_modules/**/*.md
108+
!node_modules/**/LICENSE.md
109+
node_modules/**/*.cts
110+
node_modules/**/*.mts
111+
node_modules/**/*.ts
112+
node_modules/**/*.map
113+
node_modules/**/docs/
114+
node_modules/prettier/

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CHANGELOG.md

action.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
import core from '@actions/core';
2-
import {exec} from '@actions/exec';
2+
import { exec } from '@actions/exec';
33

4-
import {executeAction} from './src/index.js';
4+
import { executeAction } from './src/index.js';
55

66
const entry = core.getInput('entry') || 'src/index.ts';
77
const name = core.getInput('name');
88
const treatWarningsAsErrors = core.getInput('treatWarningsAsErrors') === 'true';
99

1010
function onWarn(message) {
11-
core.warning(message)
11+
core.warning(message);
1212
}
1313

1414
try {
15-
await executeAction({entry, name, treatWarningsAsErrors, onWarn, exec});
15+
await executeAction({ entry, name, treatWarningsAsErrors, onWarn, exec });
1616
} catch (error) {
1717
core.setFailed(error);
1818
}

debug.js

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
1-
import {execFileSync} from 'node:child_process';
1+
import { execFileSync } from 'node:child_process';
22

3-
import {executeAction} from './src/index.js';
3+
import { executeAction } from './src/index.js';
44

55
function exec(command, args, options) {
6-
return execFileSync(command, args, {stdio:'inherit', ...options});
6+
return execFileSync(command, args, { stdio: 'inherit', ...options });
77
}
88

99
function onWarn(message) {
10-
core.warning(message)
10+
core.warning(message);
1111
}
1212

13-
await executeAction({entry: 'src/index.ts', name: 'test', treatWarningsAsErrors: false, onWarn, exec});
13+
await executeAction({
14+
entry: 'src/index.ts',
15+
name: 'test',
16+
treatWarningsAsErrors: false,
17+
onWarn,
18+
exec,
19+
});

node_modules/.bin/markdown-it

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/tsc

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/tsserver

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/typedoc

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/yaml

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.package-lock.json

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

0 commit comments

Comments
 (0)