Skip to content

Different props order in exported configs #191

@radoslavzeman

Description

@radoslavzeman

Bug report

Describe the bug

A list property is moving up and down in the exported config files, depending on from which machine it was exported.
Maybe it takes machine's locale during sorting with localeCompare 🤷?
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/localeCompare#locales

Steps to reproduce the behavior

Export updated configs on different machines.

Expected behavior

Only relevant changes are made to config files during the export.

Screenshots

Image

System

  • Node.js version: 20.19.0
  • NPM version: 10.8.1
  • Strapi version: v5.18.0
  • Plugin version: 3.1.2
  • Database: PostgreSQL
  • Operating system: macOS, Windows, Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions