projen-modules 4.0.0 → 4.1.0
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.
- package/.jsii +7 -6
- package/API.md +3 -0
- package/README.md +9 -1
- package/lib/components/readme/elements/section.js +1 -1
- package/lib/components/readme/index.js +1 -1
- package/lib/projects/cdk-ts/index.d.ts +2 -0
- package/lib/projects/cdk-ts/index.js +24 -2
- package/lib/projects/jsii/index.js +1 -1
- package/lib/projects/npm/index.js +1 -1
- package/lib/projects/python/index.js +1 -1
- package/package.json +1 -1
package/.jsii
CHANGED
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
},
|
|
100
100
|
"name": "projen-modules",
|
|
101
101
|
"readme": {
|
|
102
|
-
"markdown": "# projen-modules\n\nA collection of custom projen modules, that can be used to bootstrap and maintain consistent project configuration, tooling, dependencies, and builds.\n\n## Getting Started\n\n```sh\nyarn install\nnpx projen build\n```\n\nThis will:\n* Install the dependencies\n* Apply any projen changes\n* Run tests\n* Package project locally\n\nAny files changed by projen should be committed to git.\n\nRunning the tests like this will update any snapshot files, this should be reviewed and committed to git.\n\n## Testing\n\nTypes of testing:\n* Snapshot - projen project outputs are stored as a snapshot in the corresponding `__snapshots__` directory. When the project changes then it is expected that these snapshots change too and should be reviewed committed alongside the project.\n* Unit tests - these assert on specific functionality of the project and should be written for any new functionality added.\n\n\n## GitHub Configuration\n\nAll pull requests are merged by the [Mergify](https://mergify.com) merge queue, configured in `.mergify.yml`. Once a pull request is approved, or is opened by `daveshepherd`, and its checks pass, Mergify queues it, brings it up to date with the default branch, waits for the checks again and squash merges it. Draft pull requests and those labelled `do-not-merge` are not merged.\n\nThe repository must be configured as below so that nothing can be merged without going through the queue.\n\n### Mergify\n\nInstall the [Mergify GitHub App](https://github.com/apps/mergify) and give it access to this repository.\n\n### Pull request settings\n\nIn **Settings → General → Pull Requests**:\n* Allow squash merging only (untick merge commits and rebase merging), matching the queue's merge method.\n* Untick **Allow auto-merge**, because GitHub's own auto-merge merges outside the queue.\n* Tick **Automatically delete head branches**.\n\n### Actions settings\n\nIn **Settings → Actions → General**, set **Approval for running fork pull request workflows from contributors** to **Require approval for all external contributors**. A pull request from a fork runs its own copy of the workflows, so it can change how the required checks pass.\n\n### Code scanning\n\nCodeQL runs from `.github/workflows/codeql.yml`, which is managed by projen. In **Settings → Advanced Security**, leave CodeQL **Default setup** off, because it cannot run alongside this workflow. Under **Protection rules**, keep the **Check run failure threshold** at **High or higher** for security alerts and **Errors** for other alerts, as this decides whether the `CodeQL` check fails. Private repositories also need GitHub Code Security enabled there for code scanning results to be uploaded.\n\n### Branch ruleset\n\nIn **Settings → Rules → Rulesets**, create a branch ruleset with enforcement **Active** that targets the default branch, and set:\n* **Bypass list**: the **Mergify** app only, in **Exempt** mode. Do not add admins or other roles, as anyone on this list can merge without the queue.\n* **Restrict updates**: only bypass actors can update the branch, so pull requests cannot be merged from the GitHub UI or CLI and commits cannot be pushed directly.\n* **Restrict deletions** and **Block force pushes**.\n* **Require a pull request before merging**, with 0 required approvals, because Mergify requires approvals itself for authors other than `daveshepherd` and is exempt from this rule. Tick **Dismiss stale pull request approvals when new commits are pushed**, so that commits pushed after an approval need approving again before the queue merges them.\n* **Require status checks to pass**, listing the checks that `.mergify.yml` waits for: `build`, `package-js`, `package-python`. Leave **Require branches to be up to date before merging** unticked, as the queue already updates and retests each pull request.\n* **Require code scanning results**, with the tool **CodeQL**, security alerts set to **High or higher** and alerts set to **Errors**. Mergify is exempt from this rule, so `.mergify.yml` also waits for the `CodeQL` check instead.\n\nDo not enable GitHub's own **Require merge queue** rule, as it competes with Mergify.\n\nIf the queue is unavailable and a change has to be merged, add yourself to the bypass list temporarily and remove yourself afterwards.\n\n## Creating a New Project\n\n\n```\nnpx projen new {project} --from projen-modules\n```\n\nSome projects may have required fields that need to be specified as part of this command, review any errors for details what needs to be specified.\n\n### Project Types\n\n| Project type | Description |\n| ---------------------------------------------- | -------------------------- |\n| [cdk-typescript-app](API.md#cdktypescriptapp-) | A typescript CDK app |\n| [npm-package](API.md#npmpackage-) | A typescript npm package |\n| [python-package](API.md#pythonpackage-) | A python package |\n| [jsii-package](API.md#jsiiproject-) | A typescript JSII package |\n\n## Project Structure\n\nAll source is located in `src` and is grouped by:\n* `components` - these are common building blocks that can be used by projects to implement specific project functionality.\n* `projects` - these are projects that can be built from this project (see #something)\n* `utils` - these are helper functions that are often reused\n\n`test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section)."
|
|
102
|
+
"markdown": "# projen-modules\n\nA collection of custom projen modules, that can be used to bootstrap and maintain consistent project configuration, tooling, dependencies, and builds.\n\n## Getting Started\n\n```sh\nyarn install\nnpx projen build\n```\n\nThis will:\n* Install the dependencies\n* Apply any projen changes\n* Run tests\n* Package project locally\n\nAny files changed by projen should be committed to git.\n\nRunning the tests like this will update any snapshot files, this should be reviewed and committed to git.\n\n## Testing\n\nTypes of testing:\n* Snapshot - projen project outputs are stored as a snapshot in the corresponding `__snapshots__` directory. When the project changes then it is expected that these snapshots change too and should be reviewed committed alongside the project.\n* Unit tests - these assert on specific functionality of the project and should be written for any new functionality added.\n\n\n## GitHub Configuration\n\nAll pull requests are merged by the [Mergify](https://mergify.com) merge queue, configured in `.mergify.yml`. Once a pull request is approved, or is opened by `daveshepherd`, and its checks pass, Mergify queues it, brings it up to date with the default branch, waits for the checks again and squash merges it. Draft pull requests and those labelled `do-not-merge` are not merged.\n\nThe repository must be configured as below so that nothing can be merged without going through the queue.\n\n### Mergify\n\nInstall the [Mergify GitHub App](https://github.com/apps/mergify) and give it access to this repository.\n\n### Pull request settings\n\nIn **Settings → General → Pull Requests**:\n* Allow squash merging only (untick merge commits and rebase merging), matching the queue's merge method.\n* Untick **Allow auto-merge**, because GitHub's own auto-merge merges outside the queue.\n* Tick **Automatically delete head branches**.\n\n### Actions settings\n\nIn **Settings → Actions → General**, set **Approval for running fork pull request workflows from contributors** to **Require approval for all external contributors**. A pull request from a fork runs its own copy of the workflows, so it can change how the required checks pass.\n\n### Code scanning\n\nCodeQL runs from `.github/workflows/codeql.yml`, which is managed by projen. In **Settings → Advanced Security**, leave CodeQL **Default setup** off, because it cannot run alongside this workflow. Under **Protection rules**, keep the **Check run failure threshold** at **High or higher** for security alerts and **Errors** for other alerts, as this decides whether the `CodeQL` check fails. Private repositories also need GitHub Code Security enabled there for code scanning results to be uploaded.\n\n### Branch ruleset\n\nIn **Settings → Rules → Rulesets**, create a branch ruleset with enforcement **Active** that targets the default branch, and set:\n* **Bypass list**: the **Mergify** app only, in **Exempt** mode. Do not add admins or other roles, as anyone on this list can merge without the queue.\n* **Restrict updates**: only bypass actors can update the branch, so pull requests cannot be merged from the GitHub UI or CLI and commits cannot be pushed directly.\n* **Restrict deletions** and **Block force pushes**.\n* **Require a pull request before merging**, with 0 required approvals, because Mergify requires approvals itself for authors other than `daveshepherd` and is exempt from this rule. Tick **Dismiss stale pull request approvals when new commits are pushed**, so that commits pushed after an approval need approving again before the queue merges them.\n* **Require status checks to pass**, listing the checks that `.mergify.yml` waits for: `build`, `package-js`, `package-python`. Leave **Require branches to be up to date before merging** unticked, as the queue already updates and retests each pull request.\n* **Require code scanning results**, with the tool **CodeQL**, security alerts set to **High or higher** and alerts set to **Errors**. Mergify is exempt from this rule, so `.mergify.yml` also waits for the `CodeQL` check instead.\n\nDo not enable GitHub's own **Require merge queue** rule, as it competes with Mergify.\n\nIf the queue is unavailable and a change has to be merged, add yourself to the bypass list temporarily and remove yourself afterwards.\n\n## Creating a New Project\n\n\n```\nnpx projen new {project} --from projen-modules\n```\n\nSome projects may have required fields that need to be specified as part of this command, review any errors for details what needs to be specified.\n\n### Project Types\n\n| Project type | Description |\n| ---------------------------------------------- | -------------------------- |\n| [cdk-typescript-app](API.md#cdktypescriptapp-) | A typescript CDK app |\n| [npm-package](API.md#npmpackage-) | A typescript npm package |\n| [python-package](API.md#pythonpackage-) | A python package |\n| [jsii-package](API.md#jsiiproject-) | A typescript JSII package |\n\n## Project Structure\n\nAll source is located in `src` and is grouped by:\n* `components` - these are common building blocks that can be used by projects to implement specific project functionality.\n* `projects` - these are projects that can be built from this project (see #something)\n* `utils` - these are helper functions that are often reused\n\n`test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).\n\n## Known Issues\n\n`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:\n\n```ts\nproject.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);\n```"
|
|
103
103
|
},
|
|
104
104
|
"repository": {
|
|
105
105
|
"type": "git",
|
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
"custom": {
|
|
124
124
|
"pjid": "cdk-typescript-app"
|
|
125
125
|
},
|
|
126
|
+
"remarks": "Defaults to the Node.js 24 Lambda runtime (`lambdaOptions.runtime`) with\nmatching `@types/node`, and Jest 30 (`jestOptions.jestVersion`).",
|
|
126
127
|
"stability": "stable",
|
|
127
128
|
"summary": "A CDK application in TypeScript."
|
|
128
129
|
},
|
|
@@ -133,7 +134,7 @@
|
|
|
133
134
|
},
|
|
134
135
|
"locationInModule": {
|
|
135
136
|
"filename": "src/projects/cdk-ts/index.ts",
|
|
136
|
-
"line":
|
|
137
|
+
"line": 50
|
|
137
138
|
},
|
|
138
139
|
"parameters": [
|
|
139
140
|
{
|
|
@@ -147,7 +148,7 @@
|
|
|
147
148
|
"kind": "class",
|
|
148
149
|
"locationInModule": {
|
|
149
150
|
"filename": "src/projects/cdk-ts/index.ts",
|
|
150
|
-
"line":
|
|
151
|
+
"line": 47
|
|
151
152
|
},
|
|
152
153
|
"name": "CdkTypeScriptApp",
|
|
153
154
|
"properties": [
|
|
@@ -157,7 +158,7 @@
|
|
|
157
158
|
},
|
|
158
159
|
"locationInModule": {
|
|
159
160
|
"filename": "src/projects/cdk-ts/index.ts",
|
|
160
|
-
"line":
|
|
161
|
+
"line": 48
|
|
161
162
|
},
|
|
162
163
|
"name": "readme",
|
|
163
164
|
"type": {
|
|
@@ -11431,6 +11432,6 @@
|
|
|
11431
11432
|
"symbolId": "src/components/readme/elements/section:Section"
|
|
11432
11433
|
}
|
|
11433
11434
|
},
|
|
11434
|
-
"version": "4.
|
|
11435
|
-
"fingerprint": "
|
|
11435
|
+
"version": "4.1.0",
|
|
11436
|
+
"fingerprint": "uqqzTQx+IZ2fc8f0bsi2+QzVHHfdMjQggzPwquWA8DQ="
|
|
11436
11437
|
}
|
package/API.md
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
A CDK application in TypeScript.
|
|
8
8
|
|
|
9
|
+
Defaults to the Node.js 24 Lambda runtime (`lambdaOptions.runtime`) with
|
|
10
|
+
matching `@types/node`, and Jest 30 (`jestOptions.jestVersion`).
|
|
11
|
+
|
|
9
12
|
#### Initializers <a name="Initializers" id="projen-modules.CdkTypeScriptApp.Initializer"></a>
|
|
10
13
|
|
|
11
14
|
```typescript
|
package/README.md
CHANGED
|
@@ -90,4 +90,12 @@ All source is located in `src` and is grouped by:
|
|
|
90
90
|
* `projects` - these are projects that can be built from this project (see #something)
|
|
91
91
|
* `utils` - these are helper functions that are often reused
|
|
92
92
|
|
|
93
|
-
`test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
|
|
93
|
+
`test` contains tests, and mirrors the `src` directory structure. Within here there are `__snapshots__` which contain snapshots of project tests (see #section).
|
|
94
|
+
|
|
95
|
+
## Known Issues
|
|
96
|
+
|
|
97
|
+
`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:
|
|
98
|
+
|
|
99
|
+
```ts
|
|
100
|
+
project.tryFindObjectFile('test/tsconfig.json')?.addOverride('compilerOptions.skipLibCheck', true);
|
|
101
|
+
```
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Section = void 0;
|
|
4
4
|
const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
5
5
|
class Section {
|
|
6
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.Section", version: "4.
|
|
6
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.Section", version: "4.1.0" };
|
|
7
7
|
options;
|
|
8
8
|
constructor(options) {
|
|
9
9
|
this.options = options;
|
|
@@ -5,7 +5,7 @@ const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
|
|
|
5
5
|
const projen_1 = require("projen");
|
|
6
6
|
const section_1 = require("./elements/section");
|
|
7
7
|
class Readme extends projen_1.FileBase {
|
|
8
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.Readme", version: "4.
|
|
8
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.Readme", version: "4.1.0" };
|
|
9
9
|
description;
|
|
10
10
|
sections = [];
|
|
11
11
|
constructor(project, options = {}) {
|
|
@@ -4,6 +4,8 @@ import { Readme } from '../../components/readme';
|
|
|
4
4
|
/**
|
|
5
5
|
* A CDK application in TypeScript
|
|
6
6
|
*
|
|
7
|
+
* Defaults to the Node.js 24 Lambda runtime (`lambdaOptions.runtime`) with
|
|
8
|
+
* matching `@types/node`, and Jest 30 (`jestOptions.jestVersion`).
|
|
7
9
|
*
|
|
8
10
|
* @pjid cdk-typescript-app
|
|
9
11
|
*/
|
|
@@ -34,17 +34,24 @@ function getOptions(options) {
|
|
|
34
34
|
projenrcTs: true,
|
|
35
35
|
// authenticate as the GitHub App, so mergify can approve upgrade pull requests
|
|
36
36
|
projenCredentials: projen_1.github.GithubCredentials.fromApp({}),
|
|
37
|
+
lambdaOptions: { runtime: awscdk_1.LambdaRuntime.NODEJS_24_X },
|
|
38
|
+
jestOptions: { jestVersion: '^30' },
|
|
39
|
+
// match the lambda runtime, unless derived from minNodeVersion; a consumer
|
|
40
|
+
// @types/node in devDeps is added later, so replaces this one
|
|
41
|
+
devDeps: options.minNodeVersion ? [] : ['@types/node@^24'],
|
|
37
42
|
};
|
|
38
43
|
return (0, merge_options_1.mergeOptions)(defaults, options);
|
|
39
44
|
}
|
|
40
45
|
/**
|
|
41
46
|
* A CDK application in TypeScript
|
|
42
47
|
*
|
|
48
|
+
* Defaults to the Node.js 24 Lambda runtime (`lambdaOptions.runtime`) with
|
|
49
|
+
* matching `@types/node`, and Jest 30 (`jestOptions.jestVersion`).
|
|
43
50
|
*
|
|
44
51
|
* @pjid cdk-typescript-app
|
|
45
52
|
*/
|
|
46
53
|
class CdkTypeScriptApp extends awscdk_1.AwsCdkTypeScriptApp {
|
|
47
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.CdkTypeScriptApp", version: "4.
|
|
54
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.CdkTypeScriptApp", version: "4.1.0" };
|
|
48
55
|
readme;
|
|
49
56
|
constructor(options) {
|
|
50
57
|
const mergedOptions = getOptions(options);
|
|
@@ -57,6 +64,21 @@ class CdkTypeScriptApp extends awscdk_1.AwsCdkTypeScriptApp {
|
|
|
57
64
|
description: mergedOptions.readme?.description,
|
|
58
65
|
});
|
|
59
66
|
this.readme.addSection('Getting Started', '```sh\nyarn install\nnpx projen build\n```');
|
|
67
|
+
this.readme.addSection('CDK', `On first run of a CDK installation:
|
|
68
|
+
|
|
69
|
+
\`\`\`sh
|
|
70
|
+
npx cdk bootstrap
|
|
71
|
+
\`\`\`
|
|
72
|
+
|
|
73
|
+
Build the project
|
|
74
|
+
\`\`\`sh
|
|
75
|
+
npx projen build
|
|
76
|
+
\`\`\`
|
|
77
|
+
|
|
78
|
+
Deploy the CDK stack
|
|
79
|
+
\`\`\`sh
|
|
80
|
+
npx projen deploy
|
|
81
|
+
\`\`\``);
|
|
60
82
|
if ((mergedOptions.codeql ?? true) && this.github?.workflowsEnabled) {
|
|
61
83
|
new codeql_1.CodeQl(this.github, {
|
|
62
84
|
branches: [mergedOptions.defaultReleaseBranch],
|
|
@@ -73,4 +95,4 @@ class CdkTypeScriptApp extends awscdk_1.AwsCdkTypeScriptApp {
|
|
|
73
95
|
}
|
|
74
96
|
exports.CdkTypeScriptApp = CdkTypeScriptApp;
|
|
75
97
|
__exportStar(require("./cdk-typescript-app-options"), exports);
|
|
76
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcHJvamVjdHMvY2RrLXRzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLG1DQUFnQztBQUNoQyw4Q0FJMkI7QUFFM0IsbUVBQWdFO0FBQ2hFLDJEQUF3RDtBQUN4RCw2REFHeUM7QUFDekMseUZBQThGO0FBQzlGLG9EQUFpRDtBQUNqRCw2REFBeUQ7QUFFekQsU0FBUyxVQUFVLENBQUMsT0FBZ0M7SUFDbEQsTUFBTSxFQUFFLElBQUksRUFBRSxHQUFHLE9BQU8sQ0FBQztJQUV6QixNQUFNLFFBQVEsR0FBRztRQUNmLElBQUk7UUFDSixvQkFBb0IsRUFBRSxNQUFNO1FBQzVCLFNBQVMsRUFBRSxDQUFDLFFBQVEsRUFBRSxTQUFTLENBQUM7UUFDaEMsMkJBQTJCLEVBQUUscURBQTZCO1FBQzFELFVBQVUsRUFBRSxJQUFJO1FBQ2hCLCtFQUErRTtRQUMvRSxpQkFBaUIsRUFBRSxlQUFNLENBQUMsaUJBQWlCLENBQUMsT0FBTyxDQUFDLEVBQUUsQ0FBQztRQUN2RC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uY2hdLFxuICAgICAgICBsYW5ndWFnZXM6IFsnamF2YXNjcmlwdC10eXBlc2NyaXB0JywgJ2FjdGlvbnMnXSxcbiAgICAgIH0pO1xuICAgIH1cbiAgICBpZiAodGhpcy5hdXRvTWVyZ2UpIHtcbiAgICAgIGNvbmZpZ3VyZU1lcmdpZnkodGhpcywge1xuICAgICAgICBhcHByb3ZlZFJldmlld3M6IG1lcmdlZE9wdGlvbnMuYXV0b01lcmdlT3B0aW9ucz8uYXBwcm92ZWRSZXZpZXdzLFxuICAgICAgICB0cnVzdGVkQXV0aG9yczogbWVyZ2VkT3B0aW9ucy50cnVzdGVkQXV0aG9ycyxcbiAgICAgIH0pO1xuICAgIH1cbiAgfVxufVxuXG5leHBvcnQgKiBmcm9tICcuL2Nkay10eXBlc2NyaXB0LWFwcC1vcHRpb25zJztcbiJdfQ==
|
|
@@ -44,7 +44,7 @@ function getOptions(options) {
|
|
|
44
44
|
* @pjid jsii-project
|
|
45
45
|
*/
|
|
46
46
|
class JsiiProject extends projen_1.cdk.JsiiProject {
|
|
47
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.JsiiProject", version: "4.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.JsiiProject", version: "4.1.0" };
|
|
48
48
|
readme;
|
|
49
49
|
constructor(options) {
|
|
50
50
|
const mergedOptions = getOptions(options);
|
|
@@ -44,7 +44,7 @@ function getOptions(options) {
|
|
|
44
44
|
* @pjid npm-package
|
|
45
45
|
*/
|
|
46
46
|
class NpmPackage extends projen_1.typescript.TypeScriptProject {
|
|
47
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.NpmPackage", version: "4.
|
|
47
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.NpmPackage", version: "4.1.0" };
|
|
48
48
|
readme;
|
|
49
49
|
constructor(options) {
|
|
50
50
|
const mergedOptions = getOptions(options);
|
|
@@ -42,7 +42,7 @@ function getOptions(options) {
|
|
|
42
42
|
* @pjid python-package
|
|
43
43
|
*/
|
|
44
44
|
class PythonPackage extends python_1.PythonProject {
|
|
45
|
-
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.PythonPackage", version: "4.
|
|
45
|
+
static [JSII_RTTI_SYMBOL_1] = { fqn: "projen-modules.PythonPackage", version: "4.1.0" };
|
|
46
46
|
autoMerge;
|
|
47
47
|
readme;
|
|
48
48
|
constructor(options) {
|