You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second part builds the go utils. It doesn't import any node code from @pkg/
The third part is the existing postinstall.ts
The first part is running any code that generates Go files used by the second part, which so far is scripts/generateCliCode.ts, and its only dependency on the node code is importing CURRENT_SETTINGS_VERSION from pkg/rancher-desktop/config/settings.ts
Because we can't import pkg/rancher-desktop/config/settings.ts until the Go files are built, the new postinstall.ts will need a differrent approach to find the value for CURRENT_SETTINGS_VERSION
Try to use dependencies.yaml to keep CURRENT_SETTINGS_VERSION in exactly one place.
The text was updated successfully, but these errors were encountered:
The Plan
The second part builds the go utils. It doesn't import any node code from
@pkg/
The third part is the existing
postinstall.ts
The first part is running any code that generates Go files used by the second part, which so far is
scripts/generateCliCode.ts
, and its only dependency on the node code is importingCURRENT_SETTINGS_VERSION
frompkg/rancher-desktop/config/settings.ts
Because we can't import
pkg/rancher-desktop/config/settings.ts
until the Go files are built, the newpostinstall.ts
will need a differrent approach to find the value forCURRENT_SETTINGS_VERSION
Try to use dependencies.yaml to keep
CURRENT_SETTINGS_VERSION
in exactly one place.The text was updated successfully, but these errors were encountered: