Skip to content

Commit 52d96d0

Browse files
committed
fix(build): remove docs causing release to fail
1 parent da173a9 commit 52d96d0

22 files changed

+4
-1803
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/tasks.json

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const constructLib = new awscdk.AwsCdkConstructLibrary({
1010
constructsVersion: '10.3.0',
1111
description: 'A collection of useful CDK constructs of known, repeatable patterns that are easily consumable.',
1212
defaultReleaseBranch: 'main',
13-
gitignore: ['.DS_Store'],
13+
gitignore: ['.DS_Store', 'docs'],
1414
jsiiVersion: '~5.2.0',
1515
majorVersion: 0,
1616
name: '@serverless-dna/constructs',
@@ -34,11 +34,8 @@ const constructLib = new awscdk.AwsCdkConstructLibrary({
3434
});
3535

3636
const typeDoc = 'type-doc';
37-
const typeDocTask = constructLib.addTask(typeDoc, {
37+
constructLib.addTask(typeDoc, {
3838
exec: 'npx typedoc --readme ./README.md --name "Serverless DNA Constructs" --out docs src',
3939
});
40-
const postCompileTask = constructLib.tasks.tryFind('post-compile');
41-
if (postCompileTask) {
42-
postCompileTask.spawn(typeDocTask);
43-
}
40+
4441
constructLib.synth();

docs/.nojekyll

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

docs/assets/highlight.css

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

docs/assets/main.js

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

docs/assets/navigation.js

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

docs/assets/search.js

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

0 commit comments

Comments
 (0)