Skip to content
This repository was archived by the owner on Jun 6, 2025. It is now read-only.

Conversation

@octonato
Copy link
Member

@github-actions github-actions bot added kalix-runtime Runtime and SDKs sub-team typescript-sdk labels May 26, 2023
"types": "dist/index.d.ts",
"peerDependencies": {
"@kalix-io/kalix-javascript-sdk": "1.x"
"@kalix-io/kalix-javascript-sdk": "file:../sdk/kalix-io-kalix-javascript-sdk-0.0.0.tgz"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks wrong?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Absolutely. No idea how that happened though. Especially because it's on the package.json file.

I will check/revert/whatever needed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was looking around to understand how this got updated and it comes from ./bin/create-local-dependencies.sh script. This scripts seems to force the update in testkit/package.json. Not sure if this is intentional or desirable.

I will revert back to 1.x, but looking for guidance from someone with knowledge in the JS space.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I remember Andrea saying something about the semantics of a lib file with 0.0.0 version. But I can recall the details. There was some trick/hack around it, but I'm not sure if that's what we need here.

Maybe @pvlugter or @katsutoxin can shed a light?

Copy link
Contributor

@katsutoxin katsutoxin Jun 1, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The file create-local-dependencies.sh is created by @franciscolopezsancho , maybe he has better idea? I "guess" that file is only for local development, maybe we should not check in the change created by that file? (it is my personal guess)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, will just be for testing locally. Means that it's best to make changes and commit them, then run tests and discard the changes.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wow, totally missed this comment. Sorry @katsutoxin. Yes, that file is only for local development.

@octonato octonato force-pushed the octonato/bump-to-node-v18.16 branch 3 times, most recently from 4c87074 to 46e215b Compare June 2, 2023 07:25
@octonato octonato force-pushed the octonato/bump-to-node-v18.16 branch from 46e215b to 6349d2a Compare June 2, 2023 12:29
@octonato
Copy link
Member Author

octonato commented Jun 2, 2023

It seems that I managed to make it green! 🎉

@johanandren johanandren merged commit db46d65 into main Jun 15, 2023
@johanandren johanandren deleted the octonato/bump-to-node-v18.16 branch June 15, 2023 07:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

kalix-runtime Runtime and SDKs sub-team typescript-sdk

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants