Skip to content

Extract jsii-rosetta samples from the unstable modules #15825

@skinny85

Description

@skinny85

In the current build of unstable modules implemented in #15722, the rosetta:extract task is not being executed by the scripts/transform.sh script, even if you pass the --extract flag to it. That's because the jsii-rosetta tool can't be found in the inner monorepo in packages/individual-packages for some reason. We need to investigate why, and find a solution that makes it work, and then update scripts/transform.sh to execute the build+test+extract task on the unstable modules if --extract is passed to it.

Things that have been tried, and rejected:

  • Adding jsii-rosetta as a dependency in packages/individual-packages/package.json (doesn't work, the binary still can't be found).
  • Adding jsii-rosetta as a dependency to each copied unstable module (this works, but @nija-at rejected it, because it requires changing a pkglint rule to allow direct JSII dependencies).

Metadata

Metadata

Assignees

Labels

aws-cdk-libRelated to the aws-cdk-lib packageeffort/mediumMedium work item – several days of effortfeature-requestA feature should be added or improved.p1

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions