Skip to content

Commit fb2bf55

Browse files
committed
escm+cjs cross compat 🙏
1 parent 9e550c9 commit fb2bf55

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/node.js.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- name: setup node
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: 20
22+
node-version: 22
2323

2424
- name: cache dependencies
2525
uses: actions/cache@v4
2626
with:
2727
path: ~/.npm
28-
key: ${{ runner.os }}-node20-${{ hashFiles('**/package-lock.json') }}
28+
key: ${{ runner.os }}-node22-${{ hashFiles('**/package-lock.json') }}
2929
restore-keys: |
30-
${{ runner.os }}-node20-
30+
${{ runner.os }}-node22-
3131
- run: npm ci --legacy-peer-deps
3232
- run: npm run lint
3333

@@ -37,7 +37,7 @@ jobs:
3737
needs: [lintjs]
3838
strategy:
3939
matrix:
40-
node: [18, 20, 22]
40+
node: [22, 24]
4141
steps:
4242
- name: Checkout ${{ matrix.node }}
4343
uses: actions/checkout@v5
@@ -51,9 +51,9 @@ jobs:
5151
uses: actions/cache@v4
5252
with:
5353
path: ~/.npm
54-
key: ${{ runner.os }}-node20-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
54+
key: ${{ runner.os }}-node22-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
5555
restore-keys: |
56-
${{ runner.os }}-node20-${{ matrix.node }}
56+
${{ runner.os }}-node22-${{ matrix.node }}
5757
- run: npm ci --legacy-peer-deps
5858
- run: npm run test:coverage
5959

@@ -63,7 +63,7 @@ jobs:
6363
needs: [unittest]
6464
strategy:
6565
matrix:
66-
node: [18, 20, 22]
66+
node: [22, 24]
6767
steps:
6868
- uses: actions/checkout@v5
6969
- name: Use Node.js ${{ matrix.node-version }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
Connect your React Native app to your Meteor server, and take advantage of Meteor-specific features like accounts, reactive data trackers, etc. Compatible with the latest version of React Native.
2626
</p>
2727

28+
> Please note: this repo will migrate to ESM-only end of 2025. Please prepare your projects accordingly.
29+
2830
<p align="center">
2931
<a href="https://guide.meteor.com/react-native.html">Meteor Guide</a>
3032
<span>·</span>

0 commit comments

Comments
 (0)