Skip to content

Commit b450848

Browse files
fix: db.json.gz not in dist
1 parent cfef46a commit b450848

File tree

4 files changed

+16
-5
lines changed

4 files changed

+16
-5
lines changed

.projen/tasks.json

Lines changed: 6 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ project.eslint?.addRules({
5252
],
5353
});
5454

55-
// project.postCompileTask.exec('cp node_modules/@aws-cdk/aws-service-spec/db.json.gz db.json.gz');
55+
project.postCompileTask.exec(
56+
'cp node_modules/@aws-cdk/aws-service-spec/db.json.gz dist/db.json.gz'
57+
);
5658

5759
project.synth();

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,12 @@ jobs:
2121
generate_schema:
2222
runs-on: ubuntu-latest
2323
steps:
24+
- uses: actions/checkout@v4
25+
- uses: actions/setup-node@v4
26+
with:
27+
node-version: '20'
2428
- uses: cdklabs/cdk-patched-schema-generator@main
25-
with:
26-
# Required
27-
output-path: <path>
29+
with:
30+
# Required
31+
output-path: <path>
2832
```

dist/db.json.gz

2.04 MB
Binary file not shown.

0 commit comments

Comments
 (0)