Skip to content

highlight package freeze before deployment#2158

Merged
swaldmann merged 1 commit intomainfrom
package-freeze
Oct 24, 2025
Merged

highlight package freeze before deployment#2158
swaldmann merged 1 commit intomainfrom
package-freeze

Conversation

@Akatuoro
Copy link
Contributor

@Akatuoro Akatuoro commented Oct 20, 2025

The tip is quite easy to overlook because it does not look like an actionable item. The package-lock.json needs to be updated if there already is one... which is not uncommon, so I think we should include it as a regular step.

After a cds add mta we recommend to:

run npm update --package-lock-only to freeze dependencies

So I'd suggest we also document it here instead of the npm update. The npm update also changes all other versions which were not changed in the package.json.
Of course it is important to regularly run npm update to use the latest versions.

@swaldmann swaldmann merged commit 3c9dccb into main Oct 24, 2025
7 checks passed
@swaldmann swaldmann deleted the package-freeze branch October 24, 2025 08:58
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

Successfully merging this pull request may close these issues.

2 participants