Skip to content

[Feat]: Align the dependencies for binary and NPM artifact releases #4927

Closed
@edvincent

Description

@edvincent

This issue is to continue the discussion from #4918 regarding the different release methods of code-server, and how NPM artifacts work.

What is your suggestion?

  • Be in a state where the builds and installs are both deterministic when it comes to dependencies.
  • Avoid having the dependencies being figured out at install time of the NPM package.

Why do you want this feature?

Right now, there's inconsistency on what dependencies might get used for the binaries generated (because they get generated after installing and building the package - which is an action that does respect the yarn.lock file) and the NPM artifacts (because the lockfiles are not published, nor the lockfiles for dependencies gets respected even if published).

This causes problems of dependency drifts like what was seen in #4900 - where releases might use different versions or worse, something working on release stops working because of newer versions being published.

Are there any workarounds to get this functionality today?

Not for the end-user. Specific versions can be pinned under the package.json file in this repo, but not something controlled by the end-user.

Are you interested in submitting a PR for this?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions