diff --git a/API.md b/API.md
index e4d3b4a2..fb701457 100644
--- a/API.md
+++ b/API.md
@@ -1851,6 +1851,7 @@ public readonly datadogEvent: boolean;
| **Name** | **Type** | **Description** |
| --- | --- | --- |
| DEFAULT_TASK
| string
| The name of the default task (the task executed when `projen` is run without arguments). |
+| DEFAULT_TS_JEST_TRANFORM_PATTERN
| string
| *No description.* |
---
@@ -1869,6 +1870,16 @@ this task should synthesize the project files.
---
+##### `DEFAULT_TS_JEST_TRANFORM_PATTERN`Required
+
+```typescript
+public readonly DEFAULT_TS_JEST_TRANFORM_PATTERN: string;
+```
+
+- *Type:* string
+
+---
+
### ClickUpCdkTypeScriptApp
ClickUp standardized CDK TypeScript App.
@@ -3454,6 +3465,7 @@ public readonly workflowNodeVersion: string;
| **Name** | **Type** | **Description** |
| --- | --- | --- |
| DEFAULT_TASK
| string
| The name of the default task (the task executed when `projen` is run without arguments). |
+| DEFAULT_TS_JEST_TRANFORM_PATTERN
| string
| *No description.* |
---
@@ -3472,6 +3484,16 @@ this task should synthesize the project files.
---
+##### `DEFAULT_TS_JEST_TRANFORM_PATTERN`Required
+
+```typescript
+public readonly DEFAULT_TS_JEST_TRANFORM_PATTERN: string;
+```
+
+- *Type:* string
+
+---
+
### ClickUpTypeScriptProject
ClickUp standardized TypeScript Project.
@@ -4958,6 +4980,7 @@ public readonly tsconfigEslint: TypescriptConfig;
| **Name** | **Type** | **Description** |
| --- | --- | --- |
| DEFAULT_TASK
| string
| The name of the default task (the task executed when `projen` is run without arguments). |
+| DEFAULT_TS_JEST_TRANFORM_PATTERN
| string
| *No description.* |
---
@@ -4976,6 +4999,16 @@ this task should synthesize the project files.
---
+##### `DEFAULT_TS_JEST_TRANFORM_PATTERN`Required
+
+```typescript
+public readonly DEFAULT_TS_JEST_TRANFORM_PATTERN: string;
+```
+
+- *Type:* string
+
+---
+
## Structs
### CDKDiffOptionsConfig
@@ -5261,6 +5294,7 @@ const clickUpCdkConstructLibraryOptions: clickupCdk.ClickUpCdkConstructLibraryOp
| buildWorkflow
| boolean
| Define a GitHub workflow for building PRs. |
| buildWorkflowTriggers
| projen.github.workflows.Triggers
| Build workflow triggers. |
| bundlerOptions
| projen.javascript.BundlerOptions
| Options for `Bundler`. |
+| checkLicenses
| projen.javascript.LicenseCheckerOptions
| Configure which licenses should be deemed acceptable for use by dependencies. |
| codeCov
| boolean
| Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos. Configured with `@codeCovTokenSecret`. |
| codeCovTokenSecret
| string
| Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. |
| copyrightOwner
| string
| License copyright owner. |
@@ -5308,6 +5342,7 @@ const clickUpCdkConstructLibraryOptions: clickupCdk.ClickUpCdkConstructLibraryOp
| tsconfig
| projen.javascript.TypescriptConfigOptions
| Custom TSConfig. |
| tsconfigDev
| projen.javascript.TypescriptConfigOptions
| Custom tsconfig options for the development tsconfig.json file (used for testing). |
| tsconfigDevFile
| string
| The name of the development tsconfig.json file. |
+| tsJestOptions
| projen.typescript.TsJestOptions
| Options for ts-jest. |
| typescriptVersion
| string
| TypeScript version to use. |
| author
| string
| The name of the library author. |
| authorAddress
| string
| Email or URL of the library author. |
@@ -6701,6 +6736,21 @@ Options for `Bundler`.
---
+##### `checkLicenses`Optional
+
+```typescript
+public readonly checkLicenses: LicenseCheckerOptions;
+```
+
+- *Type:* projen.javascript.LicenseCheckerOptions
+- *Default:* no license checks are run during the build and all licenses will be accepted
+
+Configure which licenses should be deemed acceptable for use by dependencies.
+
+This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered.
+
+---
+
##### `codeCov`Optional
```typescript
@@ -7327,6 +7377,18 @@ The name of the development tsconfig.json file.
---
+##### `tsJestOptions`Optional
+
+```typescript
+public readonly tsJestOptions: TsJestOptions;
+```
+
+- *Type:* projen.typescript.TsJestOptions
+
+Options for ts-jest.
+
+---
+
##### `typescriptVersion`Optional
```typescript
@@ -7990,6 +8052,7 @@ const clickUpCdkTypeScriptAppOptions: clickupCdk.ClickUpCdkTypeScriptAppOptions
| buildWorkflow
| boolean
| Define a GitHub workflow for building PRs. |
| buildWorkflowTriggers
| projen.github.workflows.Triggers
| Build workflow triggers. |
| bundlerOptions
| projen.javascript.BundlerOptions
| Options for `Bundler`. |
+| checkLicenses
| projen.javascript.LicenseCheckerOptions
| Configure which licenses should be deemed acceptable for use by dependencies. |
| codeCov
| boolean
| Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos. Configured with `@codeCovTokenSecret`. |
| codeCovTokenSecret
| string
| Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. |
| copyrightOwner
| string
| License copyright owner. |
@@ -8037,6 +8100,7 @@ const clickUpCdkTypeScriptAppOptions: clickupCdk.ClickUpCdkTypeScriptAppOptions
| tsconfig
| projen.javascript.TypescriptConfigOptions
| Custom TSConfig. |
| tsconfigDev
| projen.javascript.TypescriptConfigOptions
| Custom tsconfig options for the development tsconfig.json file (used for testing). |
| tsconfigDevFile
| string
| The name of the development tsconfig.json file. |
+| tsJestOptions
| projen.typescript.TsJestOptions
| Options for ts-jest. |
| typescriptVersion
| string
| TypeScript version to use. |
| buildCommand
| string
| A command to execute before synthesis. |
| cdkout
| string
| cdk.out directory. |
@@ -9422,6 +9486,21 @@ Options for `Bundler`.
---
+##### `checkLicenses`Optional
+
+```typescript
+public readonly checkLicenses: LicenseCheckerOptions;
+```
+
+- *Type:* projen.javascript.LicenseCheckerOptions
+- *Default:* no license checks are run during the build and all licenses will be accepted
+
+Configure which licenses should be deemed acceptable for use by dependencies.
+
+This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered.
+
+---
+
##### `codeCov`Optional
```typescript
@@ -10048,6 +10127,18 @@ The name of the development tsconfig.json file.
---
+##### `tsJestOptions`Optional
+
+```typescript
+public readonly tsJestOptions: TsJestOptions;
+```
+
+- *Type:* projen.typescript.TsJestOptions
+
+Options for ts-jest.
+
+---
+
##### `typescriptVersion`Optional
```typescript
@@ -10588,6 +10679,7 @@ const clickUpTypeScriptProjectOptions: clickupTs.ClickUpTypeScriptProjectOptions
| buildWorkflow
| boolean
| Define a GitHub workflow for building PRs. |
| buildWorkflowTriggers
| projen.github.workflows.Triggers
| Build workflow triggers. |
| bundlerOptions
| projen.javascript.BundlerOptions
| Options for `Bundler`. |
+| checkLicenses
| projen.javascript.LicenseCheckerOptions
| Configure which licenses should be deemed acceptable for use by dependencies. |
| codeCov
| boolean
| Define a GitHub workflow step for sending code coverage metrics to https://codecov.io/ Uses codecov/codecov-action@v3 A secret is required for private repos. Configured with `@codeCovTokenSecret`. |
| codeCovTokenSecret
| string
| Define the secret name for a specified https://codecov.io/ token A secret is required to send coverage for private repositories. |
| copyrightOwner
| string
| License copyright owner. |
@@ -10635,6 +10727,7 @@ const clickUpTypeScriptProjectOptions: clickupTs.ClickUpTypeScriptProjectOptions
| tsconfig
| projen.javascript.TypescriptConfigOptions
| Custom TSConfig. |
| tsconfigDev
| projen.javascript.TypescriptConfigOptions
| Custom tsconfig options for the development tsconfig.json file (used for testing). |
| tsconfigDevFile
| string
| The name of the development tsconfig.json file. |
+| tsJestOptions
| projen.typescript.TsJestOptions
| Options for ts-jest. |
| typescriptVersion
| string
| TypeScript version to use. |
| sendSlackWebhookOnRelease
| boolean
| Should we send a slack webhook on release (required for compliance audits). |
| sendSlackWebhookOnReleaseOpts
| @time-loop/clickup-projen.slackAlert.ReleaseEventOptions
| Slack alert on release options. |
@@ -11995,6 +12088,21 @@ Options for `Bundler`.
---
+##### `checkLicenses`Optional
+
+```typescript
+public readonly checkLicenses: LicenseCheckerOptions;
+```
+
+- *Type:* projen.javascript.LicenseCheckerOptions
+- *Default:* no license checks are run during the build and all licenses will be accepted
+
+Configure which licenses should be deemed acceptable for use by dependencies.
+
+This setting will cause the build to fail, if any prohibited or not allowed licenses ares encountered.
+
+---
+
##### `codeCov`Optional
```typescript
@@ -12621,6 +12729,18 @@ The name of the development tsconfig.json file.
---
+##### `tsJestOptions`Optional
+
+```typescript
+public readonly tsJestOptions: TsJestOptions;
+```
+
+- *Type:* projen.typescript.TsJestOptions
+
+Options for ts-jest.
+
+---
+
##### `typescriptVersion`Optional
```typescript
diff --git a/package.json b/package.json
index ff47866c..bbcaae90 100644
--- a/package.json
+++ b/package.json
@@ -53,18 +53,18 @@
"jsii-pacmak": "^1.93.0",
"jsii-rosetta": "5.0.x",
"prettier": "^3.1.1",
- "projen": "^0.77.4",
+ "projen": "^0.78.5",
"standard-version": "^9",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"peerDependencies": {
- "projen": "^0.77.4"
+ "projen": "^0.78.5"
},
"dependencies": {
"cson-parser": "^4.0.9",
- "projen": "^0.77.4",
+ "projen": "^0.78.5",
"semver": "^7.5.4",
"ts-deepmerge": "^6.2.0"
},
@@ -119,11 +119,13 @@
}
]
],
- "preset": "ts-jest",
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json"
- }
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json"
+ }
+ ]
}
},
"types": "lib/index.d.ts",
diff --git a/test/__snapshots__/clickup-cdk.test.ts.snap b/test/__snapshots__/clickup-cdk.test.ts.snap
index 1cc57f3d..915e635a 100644
--- a/test/__snapshots__/clickup-cdk.test.ts.snap
+++ b/test/__snapshots__/clickup-cdk.test.ts.snap
@@ -56,12 +56,6 @@ exports[`ClickUpCdkConstructLibrary defaults package.json 1`] = `
"cobertura",
"text",
],
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json",
- },
- },
- "preset": "ts-jest",
"reporters": [
"default",
[
@@ -78,6 +72,14 @@ exports[`ClickUpCdkConstructLibrary defaults package.json 1`] = `
"testPathIgnorePatterns": [
"/node_modules/",
],
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json",
+ },
+ ],
+ },
"watchPathIgnorePatterns": [
"/node_modules/",
],
@@ -536,12 +538,6 @@ exports[`ClickUpCdkTypeScriptApp defaults package.json 1`] = `
"cobertura",
"text",
],
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json",
- },
- },
- "preset": "ts-jest",
"reporters": [
"default",
[
@@ -558,6 +554,14 @@ exports[`ClickUpCdkTypeScriptApp defaults package.json 1`] = `
"testPathIgnorePatterns": [
"/node_modules/",
],
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json",
+ },
+ ],
+ },
"watchPathIgnorePatterns": [
"/node_modules/",
],
@@ -986,12 +990,6 @@ exports[`ClickUpCdkTypeScriptApp options node20 package.json 1`] = `
"cobertura",
"text",
],
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json",
- },
- },
- "preset": "ts-jest",
"reporters": [
"default",
[
@@ -1008,6 +1006,14 @@ exports[`ClickUpCdkTypeScriptApp options node20 package.json 1`] = `
"testPathIgnorePatterns": [
"/node_modules/",
],
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json",
+ },
+ ],
+ },
"watchPathIgnorePatterns": [
"/node_modules/",
],
@@ -1109,12 +1115,6 @@ exports[`cdk-diff additions - ClickUpCdkTypeScriptApp package.json 1`] = `
"cobertura",
"text",
],
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json",
- },
- },
- "preset": "ts-jest",
"reporters": [
"default",
[
@@ -1131,6 +1131,14 @@ exports[`cdk-diff additions - ClickUpCdkTypeScriptApp package.json 1`] = `
"testPathIgnorePatterns": [
"/node_modules/",
],
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json",
+ },
+ ],
+ },
"watchPathIgnorePatterns": [
"/node_modules/",
],
diff --git a/test/__snapshots__/clickup-ts.test.ts.snap b/test/__snapshots__/clickup-ts.test.ts.snap
index e1144c0e..66494d1d 100644
--- a/test/__snapshots__/clickup-ts.test.ts.snap
+++ b/test/__snapshots__/clickup-ts.test.ts.snap
@@ -264,12 +264,6 @@ exports[`ClickUpTypeScriptProject defaults package.json 1`] = `
"cobertura",
"text",
],
- "globals": {
- "ts-jest": {
- "tsconfig": "tsconfig.dev.json",
- },
- },
- "preset": "ts-jest",
"reporters": [
"default",
[
@@ -286,6 +280,14 @@ exports[`ClickUpTypeScriptProject defaults package.json 1`] = `
"testPathIgnorePatterns": [
"/node_modules/",
],
+ "transform": {
+ "^.+\\.[t]sx?$": [
+ "ts-jest",
+ {
+ "tsconfig": "tsconfig.dev.json",
+ },
+ ],
+ },
"watchPathIgnorePatterns": [
"/node_modules/",
],
diff --git a/yarn.lock b/yarn.lock
index efc2f34d..48f89c69 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4353,10 +4353,10 @@ process-nextick-args@~2.0.0:
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
-projen@^0.77.4:
- version "0.77.4"
- resolved "https://registry.yarnpkg.com/projen/-/projen-0.77.4.tgz#d05393f49c326b00f42fc3814120fcd6f5fc0881"
- integrity sha512-mErPkhiIweZ1GBfr8syClijfqNmPtAu1skOwsrm49lmyEIA8esqQCguzKV1/ytyv1N+4apfOUmkUW/+5dBTbPA==
+projen@^0.78.5:
+ version "0.78.5"
+ resolved "https://registry.yarnpkg.com/projen/-/projen-0.78.5.tgz#af188ff25cf8a7d8a6f9743b4d678b95459d581b"
+ integrity sha512-XghLqRVsbUrGo6YJJ9KuNXfzTZDvZaP664Di0uEJyQLvrawgag3z2UHOstVbtpzJ2MYZzKQyPVMgwlUfltTyCg==
dependencies:
"@iarna/toml" "^2.2.5"
case "^1.6.3"