Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update jsii-rosetta, jsii-spec, jsii-reflect dependency to newer version 5.x.x #1019

Closed
Lock128 opened this issue May 25, 2023 · 2 comments
Closed

Comments

@Lock128
Copy link

Lock128 commented May 25, 2023

When using the dependency to jsii-docgen version 8.0.28 this pulls in "old" versions of jsii-spec, jsii-reflect and jsii-rosetta which then results in a warning when executing
image

jsii-docgen@^8.0.28:
version "8.0.28"
resolved "https://registry.yarnpkg.com/jsii-docgen/-/jsii-docgen-8.0.28.tgz#f327aa68a91ad7bce2af173809d72bcf2bf90174"
integrity sha512-h5+N5GKFHcydC87XeXcQjbmqM67zXqVx/iiAVQiUTNEhBkTW+j3sGL3TJ5pBRzNEev2MEJaAA9vlF0XS7iRhnQ==
dependencies:
"@jsii/spec" "^1.82.0"
case "^1.6.3"
fs-extra "^10.1.0"
glob "^8.1.0"
glob-promise "^6.0.2"
jsii-reflect "^1.82.0"
jsii-rosetta "^1.82.0"
semver "^7.5.1"
yargs "^16.2.0"

@webratz
Copy link

webratz commented Jun 9, 2023

When manually overriding it to use the latest 5.x version as described in aws/jsii#4098 jsii-docgen fails with

Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './lib/commands/transliterate' is not defined by "exports" in /Users/myuser/git/mycdklib/node_modules/jsii-rosetta/package.json

@mrgrain
Copy link
Contributor

mrgrain commented Dec 19, 2023

Yes we are doing this now. 😃

@mrgrain mrgrain closed this as completed Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants