Skip to content

Commit f574188

Browse files
trivikrsrchase
authored andcommitted
chore: move typedocOptions to typedoc.json (smithy-lang#484)
1 parent aa3dbab commit f574188

File tree

3 files changed

+21
-20
lines changed

3 files changed

+21
-20
lines changed

smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/CodegenVisitor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ class CodegenVisitor extends ShapeVisitor.Default<Void> {
7070
* A mapping of static resource files to copy over to a new filename.
7171
*/
7272
private static final Map<String, String> STATIC_FILE_COPIES = MapUtils.of(
73+
"typedoc.json", "typedoc.json",
7374
"tsconfig.json", "tsconfig.json",
7475
"tsconfig.es.json", "tsconfig.es.json",
7576
"tsconfig.types.json", "tsconfig.types.json"

smithy-typescript-codegen/src/main/resources/software/amazon/smithy/typescript/codegen/tsconfig.json

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -14,25 +14,5 @@
1414
"outDir": "dist-cjs",
1515
"removeComments": true
1616
},
17-
"typedocOptions": {
18-
"exclude": [
19-
"**/node_modules/**",
20-
"**/*.spec.ts",
21-
"**/protocols/*.ts",
22-
"**/e2e/*.ts",
23-
"**/endpoints.ts"
24-
],
25-
"excludeNotExported": true,
26-
"excludePrivate": true,
27-
"hideGenerator": true,
28-
"ignoreCompilerErrors": true,
29-
"includeDeclarations": true,
30-
"stripInternal": true,
31-
"readme": "README.md",
32-
"mode": "file",
33-
"out": "docs",
34-
"theme": "minimal",
35-
"plugin": ["@aws-sdk/service-client-documentation-generator"]
36-
},
3717
"exclude": ["test/**/*"]
3818
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"exclude": [
3+
"**/node_modules/**",
4+
"**/*.spec.ts",
5+
"**/protocols/*.ts",
6+
"**/e2e/*.ts",
7+
"**/endpoints.ts"
8+
],
9+
"excludeNotExported": true,
10+
"excludePrivate": true,
11+
"hideGenerator": true,
12+
"ignoreCompilerErrors": true,
13+
"includeDeclarations": true,
14+
"stripInternal": true,
15+
"readme": "README.md",
16+
"mode": "file",
17+
"out": "docs",
18+
"theme": "minimal",
19+
"plugin": ["@aws-sdk/service-client-documentation-generator"]
20+
}

0 commit comments

Comments
 (0)