Skip to content

Commit

Permalink
feat: initial implementation (#3)
Browse files Browse the repository at this point in the history
* migrate to CdklabsJsiiProject

* some tests

* timeout tests

* mid work

* mid work

* mid work

* mid work

* install

* chore: self mutation

Signed-off-by: github-actions <github-actions@github.com>

* mid work

---------

Signed-off-by: github-actions <github-actions@github.com>
Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
iliapolo and github-actions authored Dec 30, 2024
1 parent 68823a7 commit 7a41e51
Show file tree
Hide file tree
Showing 11 changed files with 2,283 additions and 960 deletions.
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

0 comments on commit 7a41e51

Please # to comment.