Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/gentle-webs-play.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@code-obos/i18n-tools': major
---

legger til punktum seperator for å håndtere kryssplatform av windows og mac.

WHAT: Oppdaterer pakken med avhengigheter, node 24.

WHY: Utdaterte pakker.

HOW: Pakken endrer ting internt fra '/' til '.' i selve seperator i lut.ts, burde ikke ha noen praktisk betydning for bruk.
2 changes: 1 addition & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ 18, 20, 22 ]
node: [ 24 ]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ The project uses tools from [FormatJS](https://formatjs.io/), if your project us
**Install in project:**
`npm install @code-obos/i18n-tools --save-dev`

## Breaking Changes (Dependency Modernization)

The latest dependency upgrade introduces breaking changes that must be treated as a major release:

1. The package now runs as ESM (`"type": "module"`).
2. Node.js must be modern enough for the upgraded dependency set (recommended: active LTS).
3. `@formatjs/intl` peer dependency is upgraded from `^2.8.0` to `^4.1.12`.

These changes do not alter the expected CLI output behavior in this repository (verified by tests), but they can affect downstream integrations that depend on CommonJS behavior or older FormatJS versions.

## Usage

```shell
Expand Down
2 changes: 1 addition & 1 deletion i18n-tool
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/usr/bin/env node
require('./lib/index.js');
import './lib/index.js';
Loading