Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: initial implementation #3

Merged
merged 12 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 15 additions & 3 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
import { CdklabsJsiiProject } from 'cdklabs-projen-project-types';
import { JsonPatch } from 'projen';

const coverageThreshold = 95;

const project = new CdklabsJsiiProject({
author: 'AWS',
authorAddress: 'aws-cdk-dev@amazon.com',
Expand All @@ -7,10 +11,32 @@ const project = new CdklabsJsiiProject({
projenrcTs: true,
release: false,
repositoryUrl: 'https://github.com/cdklabs/cdk-atmosphere-client.git',
jestOptions: {
jestConfig: {
coverageThreshold: {
statements: coverageThreshold,
lines: coverageThreshold,
functions: coverageThreshold,
branches: coverageThreshold,
},
coveragePathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/test/',
],
},
},
// aws4fetch needs the 'crypto' library, only availabe built-in in node 20.
minNodeVersion: '20',
deps: ['aws4fetch', '@aws-sdk/credential-providers'],
bundledDeps: ['aws4fetch', '@aws-sdk/credential-providers'],
devDeps: ['jest-fetch-mock'],

// deps: [], /* Runtime dependencies of this module. */
// description: undefined, /* The description is just a string that helps people understand the purpose of the package. */
// devDeps: [], /* Build dependencies for this module. */
// packageName: undefined, /* The "name" in package.json. */
});

project.package.file.patch(JsonPatch.add('/jest/randomize', true));

project.synth();
Loading
Loading