Skip to content
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
11 changes: 7 additions & 4 deletions .eslintrc.json

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

2 changes: 1 addition & 1 deletion .gitattributes

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

2 changes: 1 addition & 1 deletion .github/workflows/build.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/pull-request-lint.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/release.yml

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

2 changes: 1 addition & 1 deletion .github/workflows/upgrade-master.yml

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

2 changes: 1 addition & 1 deletion .gitignore

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

2 changes: 1 addition & 1 deletion .mergify.yml

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

2 changes: 1 addition & 1 deletion .npmignore

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

6 changes: 5 additions & 1 deletion .projen/deps.json

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

2 changes: 1 addition & 1 deletion .projen/files.json

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

6 changes: 3 additions & 3 deletions .projen/tasks.json

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

15 changes: 8 additions & 7 deletions .projenrc.js → .projenrc.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const { awscdk, javascript } = require('projen');
import { javascript } from 'projen';
import { AwsCdkConstructLibrary } from 'projen/lib/awscdk';

const AwsCdkConstructLibrary = awscdk.AwsCdkConstructLibrary;
const ORGANIZATION = 'goodnotes-oss';
const PROJECT_NAME = 'cdk-datadog-resources';

Expand All @@ -9,9 +9,9 @@ const project = new AwsCdkConstructLibrary({
authorAddress: 'gabriel.f@goodnotes.com',
cdkVersion: '2.92.0',
defaultReleaseBranch: 'master',
jsiiFqn: 'projen.AwsCdkConstructLibrary',
name: `@${ORGANIZATION}/${PROJECT_NAME}`,
repositoryUrl: 'https://github.com/GoodNotes/cdk-datadog-resources.git',
projenrcTs: true,

/* AwsCdkConstructLibraryOptions */
constructsVersion: '10.2.69',
Expand All @@ -30,9 +30,9 @@ const project = new AwsCdkConstructLibrary({
// eslintOptions: undefined, /* Eslint options. */
// excludeTypescript: undefined, /* Accepts a list of glob patterns. */
// publishToGo: undefined, /* Publish Go bindings to a git repository. */
publishToMaven: false,
// publishToMaven: undefined,
// publishToNuget: undefined, /* Publish to NuGet. */
publishToPypi: false,
// publishToPypi: undefined,
// rootdir: '.', /* undefined */
Comment on lines 32 to 36
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

type is interface or undefined, not boolean

// sampleCode: true, /* Generate one-time sample in `src/` and `test/` if there are no files there. */

Expand Down Expand Up @@ -62,7 +62,7 @@ const project = new AwsCdkConstructLibrary({
// packageManager: NodePackageManager.YARN, /* The Node Package Manager used to execute scripts. */
// packageName: undefined, /* The "name" in package.json. */
// peerDependencyOptions: undefined, /* Options for `peerDeps`. */
peerDeps: ['aws-cdk-lib@2.92.0'], /* Peer dependencies for this module. */
peerDeps: ['aws-cdk-lib@2.92.0'] /* Peer dependencies for this module. */,
// projenCommand: 'npx projen', /* The shell command to use in order to run the projen CLI. */
// repository: undefined, /* The repository is the location where the actual code for your package lives. */
// repositoryDirectory: undefined, /* If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives. */
Expand Down Expand Up @@ -118,7 +118,8 @@ const project = new AwsCdkConstructLibrary({
});
// docgen is currently the only task of post-compile and it fails for aws-cdk-lib in jsii
// https://github.com/cdklabs/jsii-docgen/issues/1122
project.tasks.tryFind('docgen').reset();
const docgen = project.tasks.tryFind('docgen');
if (docgen) docgen.reset();

project.tasks.addTask('create-typescript-types', { exec: 'yarn --cwd scripts node create-types.js' });
project.synth();
3 changes: 2 additions & 1 deletion package.json

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

6 changes: 4 additions & 2 deletions tsconfig.dev.json

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

90 changes: 87 additions & 3 deletions yarn.lock

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