Skip to content

Commit 25ea554

Browse files
author
Daniel Del Core
committed
lock to node 20.17 for __dirname
1 parent 68b11b2 commit 25ea554

File tree

8 files changed

+12
-10
lines changed

8 files changed

+12
-10
lines changed

.github/workflows/documentation.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v1
1515
- uses: actions/setup-node@v1
1616
with:
17-
node-version: '20.x'
17+
node-version: '20.17.x'
1818
- name: Generate docs
1919
run: |
2020
yarn install --frozen-lockfile
@@ -32,7 +32,7 @@ jobs:
3232
- uses: actions/checkout@v1
3333
- uses: actions/setup-node@v1
3434
with:
35-
node-version: '20.x'
35+
node-version: '20.17.x'
3636
- uses: webfactory/[email protected]
3737
with:
3838
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}

.github/workflows/release.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
1717
fetch-depth: 0
1818

19-
- name: Setup Node.js 20.x
19+
- name: Setup Node.js 20.17.x
2020
uses: actions/setup-node@master
2121
with:
22-
node-version: 20.x
22+
node-version: 20.17.x
2323

2424
- name: Install Dependencies
2525
run: yarn

.github/workflows/test-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111

1212
strategy:
1313
matrix:
14-
node-version: [20.x]
14+
node-version: [20.17.x]
1515

1616
steps:
1717
- uses: actions/checkout@v2

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20.x]
15+
node-version: [20.17.x]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.github/workflows/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20.x]
15+
node-version: [20.17.x]
1616

1717
steps:
1818
- uses: actions/checkout@v2

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v20
1+
v20.17.0

packages/core/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"name": "@hypermod/core",
33
"version": "0.3.0",
4+
"type": "module",
45
"source": "src/index.ts",
56
"main": "dist/index.js",
67
"types": "dist/index.d.ts",
@@ -21,6 +22,7 @@
2122
"graceful-fs": "^4.2.4",
2223
"jscodeshift": "^0.13.1",
2324
"neo-async": "^2.5.0",
25+
"tsx": "^4.19.1",
2426
"write-file-atomic": "^2.3.0"
2527
},
2628
"devDependencies": {

packages/core/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export type { Flags } from './types';
2-
export { run } from './runner';
1+
export type { Flags } from './types.js';
2+
export { run } from './runner.js';

0 commit comments

Comments
 (0)