projen-modules 3.2.3__tar.gz → 4.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen_modules
3
- Version: 3.2.3
3
+ Version: 4.1.0
4
4
  Summary: A collection of projen modules
5
5
  Home-page: https://github.com/daveshepherd/projen-modules.git
6
6
  Author: Dave Shepherd<dave.shepherd@endor.me.uk>
@@ -122,3 +122,11 @@ All source is located in `src` and is grouped by:
122
122
  * `utils` - these are helper functions that are often reused
123
123
 
124
124
  `test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
125
+
126
+ ## Known Issues
127
+
128
+ `cdk-typescript-app` defaults to Jest 30, which hoists `@sinonjs/fake-timers` 15 whose bundled types conflict with the `@types/sinon` used by `aws-sdk-client-mock`. Projects using `aws-sdk-client-mock` can set `compilerOptions.skipLibCheck` on the test tsconfig:
129
+
130
+ ```python
131
+ project.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);
132
+ ```
@@ -94,3 +94,11 @@ All source is located in `src` and is grouped by:
94
94
  * `utils` - these are helper functions that are often reused
95
95
 
96
96
  `test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
97
+
98
+ ## Known Issues
99
+
100
+ `cdk-typescript-app` defaults to Jest 30, which hoists `@sinonjs/fake-timers` 15 whose bundled types conflict with the `@types/sinon` used by `aws-sdk-client-mock`. Projects using `aws-sdk-client-mock` can set `compilerOptions.skipLibCheck` on the test tsconfig:
101
+
102
+ ```python
103
+ project.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);
104
+ ```
@@ -5,7 +5,7 @@ kwargs = json.loads(
5
5
  """
6
6
  {
7
7
  "name": "projen_modules",
8
- "version": "3.2.3",
8
+ "version": "4.1.0",
9
9
  "description": "A collection of projen modules",
10
10
  "license": "Apache-2.0",
11
11
  "url": "https://github.com/daveshepherd/projen-modules.git",
@@ -26,7 +26,7 @@ kwargs = json.loads(
26
26
  ],
27
27
  "package_data": {
28
28
  "projen_modules._jsii": [
29
- "projen-modules@3.2.3.jsii.tgz"
29
+ "projen-modules@4.1.0.jsii.tgz"
30
30
  ],
31
31
  "projen_modules": [
32
32
  "py.typed"
@@ -95,6 +95,14 @@ All source is located in `src` and is grouped by:
95
95
  * `utils` - these are helper functions that are often reused
96
96
 
97
97
  `test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
98
+
99
+ ## Known Issues
100
+
101
+ `cdk-typescript-app` defaults to Jest 30, which hoists `@sinonjs/fake-timers` 15 whose bundled types conflict with the `@types/sinon` used by `aws-sdk-client-mock`. Projects using `aws-sdk-client-mock` can set `compilerOptions.skipLibCheck` on the test tsconfig:
102
+
103
+ ```python
104
+ project.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);
105
+ ```
98
106
  '''
99
107
  from __future__ import annotations
100
108
 
@@ -157,6 +165,9 @@ class CdkTypeScriptApp(
157
165
  ):
158
166
  '''A CDK application in TypeScript.
159
167
 
168
+ Defaults to the Node.js 24 Lambda runtime (``lambdaOptions.runtime``) with
169
+ matching ``@types/node``, and Jest 30 (``jestOptions.jestVersion``).
170
+
160
171
  :pjid: cdk-typescript-app
161
172
  '''
162
173
 
@@ -460,7 +471,7 @@ class CdkTypeScriptApp(
460
471
  :param prettier_options: (experimental) Prettier options. Default: - default options
461
472
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
462
473
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
463
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
474
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
464
475
  :param projen_dev_dependency: (experimental) Indicates of "projen" should be installed as a devDependency. Default: - true if not a subproject
465
476
  :param projenrc_js: (experimental) Generate (once) .projenrc.js (in JavaScript). Set to ``false`` in order to disable .projenrc.js generation. Default: - true if projenrcJson is false
466
477
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
@@ -1200,7 +1211,7 @@ class CdkTypeScriptAppOptions:
1200
1211
  :param prettier_options: (experimental) Prettier options. Default: - default options
1201
1212
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
1202
1213
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
1203
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
1214
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
1204
1215
  :param projen_dev_dependency: (experimental) Indicates of "projen" should be installed as a devDependency. Default: - true if not a subproject
1205
1216
  :param projenrc_js: (experimental) Generate (once) .projenrc.js (in JavaScript). Set to ``false`` in order to disable .projenrc.js generation. Default: - true if projenrcJson is false
1206
1217
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
@@ -3396,7 +3407,7 @@ class CdkTypeScriptAppOptions:
3396
3407
  ) -> typing.Optional["_projen_github_04054675.GithubCredentials"]:
3397
3408
  '''(experimental) Choose a method of providing GitHub API access for projen workflows.
3398
3409
 
3399
- :default: - use a personal access token named PROJEN_GITHUB_TOKEN
3410
+ :default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
3400
3411
 
3401
3412
  :stability: experimental
3402
3413
  '''
@@ -4488,7 +4499,7 @@ class JsiiProject(
4488
4499
  :param prettier_options: (experimental) Prettier options. Default: - default options
4489
4500
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
4490
4501
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
4491
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
4502
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
4492
4503
  :param projen_dev_dependency: (experimental) Indicates of "projen" should be installed as a devDependency. Default: - true if not a subproject
4493
4504
  :param projenrc_js: (experimental) Generate (once) .projenrc.js (in JavaScript). Set to ``false`` in order to disable .projenrc.js generation. Default: - true if projenrcJson is false
4494
4505
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
@@ -5208,7 +5219,7 @@ class JsiiProjectOptions:
5208
5219
  :param prettier_options: (experimental) Prettier options. Default: - default options
5209
5220
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
5210
5221
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
5211
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
5222
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
5212
5223
  :param projen_dev_dependency: (experimental) Indicates of "projen" should be installed as a devDependency. Default: - true if not a subproject
5213
5224
  :param projenrc_js: (experimental) Generate (once) .projenrc.js (in JavaScript). Set to ``false`` in order to disable .projenrc.js generation. Default: - true if projenrcJson is false
5214
5225
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
@@ -7314,7 +7325,7 @@ class JsiiProjectOptions:
7314
7325
  ) -> typing.Optional["_projen_github_04054675.GithubCredentials"]:
7315
7326
  '''(experimental) Choose a method of providing GitHub API access for projen workflows.
7316
7327
 
7317
- :default: - use a personal access token named PROJEN_GITHUB_TOKEN
7328
+ :default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
7318
7329
 
7319
7330
  :stability: experimental
7320
7331
  '''
@@ -11743,7 +11754,7 @@ class PythonPackage(
11743
11754
  :param poetry_options: (experimental) Additional options to set for poetry if using poetry.
11744
11755
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
11745
11756
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
11746
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
11757
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
11747
11758
  :param projenrc_js: (experimental) Use projenrc in javascript. This will install ``projen`` as a JavaScript dependency and add a ``synth`` task which will run ``.projenrc.js``. Default: false
11748
11759
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
11749
11760
  :param projenrc_json_options: (experimental) Options for .projenrc.json. Default: - default options
@@ -12028,7 +12039,7 @@ class PythonPackageOptions:
12028
12039
  :param poetry_options: (experimental) Additional options to set for poetry if using poetry.
12029
12040
  :param project_tree: (experimental) Generate a project tree file (``.projen/tree.json``) that shows all components and their relationships. Useful for understanding your project structure and debugging. Default: false
12030
12041
  :param projen_command: (experimental) The shell command to use in order to run the projen CLI. Inserted verbatim into task steps, workflows and IDE configuration, and run by each of their shells - locally, in CI and in dev containers. Keep it a plain unquoted command, since shell syntax in it executes in all of them. Can be used to customize in special environments. Default: "npx projen"
12031
- :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - use a personal access token named PROJEN_GITHUB_TOKEN
12042
+ :param projen_credentials: (experimental) Choose a method of providing GitHub API access for projen workflows. Default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
12032
12043
  :param projenrc_js: (experimental) Use projenrc in javascript. This will install ``projen`` as a JavaScript dependency and add a ``synth`` task which will run ``.projenrc.js``. Default: false
12033
12044
  :param projenrc_json: (experimental) Generate (once) .projenrc.json (in JSON). Set to ``false`` in order to disable .projenrc.json generation. Default: false
12034
12045
  :param projenrc_json_options: (experimental) Options for .projenrc.json. Default: - default options
@@ -12671,7 +12682,7 @@ class PythonPackageOptions:
12671
12682
  ) -> typing.Optional["_projen_github_04054675.GithubCredentials"]:
12672
12683
  '''(experimental) Choose a method of providing GitHub API access for projen workflows.
12673
12684
 
12674
- :default: - use a personal access token named PROJEN_GITHUB_TOKEN
12685
+ :default: - authenticate as a GitHub App using the PROJEN_APP_ID and PROJEN_APP_PRIVATE_KEY secrets
12675
12686
 
12676
12687
  :stability: experimental
12677
12688
  '''
@@ -18,7 +18,7 @@ import constructs._jsii
18
18
  import projen._jsii
19
19
 
20
20
  __jsii_assembly__ = jsii.JSIIAssembly.load(
21
- "projen-modules", "3.2.3", __name__[0:-6], "projen-modules@3.2.3.jsii.tgz"
21
+ "projen-modules", "4.1.0", __name__[0:-6], "projen-modules@4.1.0.jsii.tgz"
22
22
  )
23
23
 
24
24
  __all__ = [
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: projen_modules
3
- Version: 3.2.3
3
+ Version: 4.1.0
4
4
  Summary: A collection of projen modules
5
5
  Home-page: https://github.com/daveshepherd/projen-modules.git
6
6
  Author: Dave Shepherd<dave.shepherd@endor.me.uk>
@@ -122,3 +122,11 @@ All source is located in `src` and is grouped by:
122
122
  * `utils` - these are helper functions that are often reused
123
123
 
124
124
  `test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
125
+
126
+ ## Known Issues
127
+
128
+ `cdk-typescript-app` defaults to Jest 30, which hoists `@sinonjs/fake-timers` 15 whose bundled types conflict with the `@types/sinon` used by `aws-sdk-client-mock`. Projects using `aws-sdk-client-mock` can set `compilerOptions.skipLibCheck` on the test tsconfig:
129
+
130
+ ```python
131
+ project.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);
132
+ ```
@@ -11,4 +11,4 @@ src/projen_modules.egg-info/dependency_links.txt
11
11
  src/projen_modules.egg-info/requires.txt
12
12
  src/projen_modules.egg-info/top_level.txt
13
13
  src/projen_modules/_jsii/__init__.py
14
- src/projen_modules/_jsii/projen-modules@3.2.3.jsii.tgz
14
+ src/projen_modules/_jsii/projen-modules@4.1.0.jsii.tgz
File without changes
File without changes