We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b299af2 commit fefaaf6Copy full SHA for fefaaf6
projenrc/type-package.ts
@@ -92,7 +92,10 @@ export class CloudFormationTypeProject extends Component {
92
93
new License(project, { spdx });
94
95
- const description = options.type.Description ?? `Constructs for ${typeName}`;
+ // Force trim the description to keep the char limit as per core-metadata specification for python packaging
96
+ // Ref: https://packaging.python.org/en/latest/specifications/core-metadata/#summary
97
+ const description: string = options.type.Description ? options.type.Description.slice(0, 512) : `Constructs for ${typeName}`;
98
+
99
const npmName = `${npmScope}/${typeNameKebab}`;
100
101
new Readme(project, {
0 commit comments