diff --git a/.changeset/cuddly-mayflies-type.md b/.changeset/cuddly-mayflies-type.md new file mode 100644 index 00000000..31d3c88c --- /dev/null +++ b/.changeset/cuddly-mayflies-type.md @@ -0,0 +1,11 @@ +--- +'@hypermod/initializer': minor +'@codeshift/cli': minor +'@hypermod/validator': minor +'@hypermod/fetcher': minor +'@hypermod/utils': minor +'@hypermod/core': minor +'@hypermod/cli': minor +--- + +Require node 20.17 in support of moving from CJS to ESM diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 40a1b0e2..bf5cfecc 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: '18.x' + node-version: '20.17.*' - name: Generate docs run: | yarn install --frozen-lockfile @@ -32,7 +32,7 @@ jobs: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: - node-version: '18.x' + node-version: '20.17.*' - uses: webfactory/ssh-agent@v0.5.0 with: ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0d0fd7f..0cca0113 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,10 +16,10 @@ jobs: # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits fetch-depth: 0 - - name: Setup Node.js 18.x + - name: Setup Node.js 20.17.* uses: actions/setup-node@master with: - node-version: 18.x + node-version: 20.17.* - name: Install Dependencies run: yarn diff --git a/.github/workflows/test-integration.yml b/.github/workflows/test-integration.yml index 1d837ea4..01bef723 100644 --- a/.github/workflows/test-integration.yml +++ b/.github/workflows/test-integration.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.17.*] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 10ac8775..cf2ffbaf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.17.*] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 7490c194..815f20ec 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: - node-version: [18.x] + node-version: [20.17.*] steps: - uses: actions/checkout@v2 diff --git a/.nvmrc b/.nvmrc index 3f430af8..8cfab175 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v18 +v20.17 diff --git a/packages/cli-alias/package.json b/packages/cli-alias/package.json index 3f2cb49c..c8c268be 100644 --- a/packages/cli-alias/package.json +++ b/packages/cli-alias/package.json @@ -19,6 +19,6 @@ "ts-node": "^10.9.1" }, "engines": { - "node": ">=14" + "node": ">=20.17" } } diff --git a/packages/cli/package.json b/packages/cli/package.json index 0d4b9a08..c1a69868 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -36,6 +36,6 @@ "ts-node": "^10.9.1" }, "engines": { - "node": ">=14" + "node": ">=20.17" } } diff --git a/packages/core/package.json b/packages/core/package.json index 9d821a82..c6ecca4f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -28,6 +28,6 @@ "temp": "^0.8.4" }, "engines": { - "node": ">=14" + "node": ">=20.17" } } diff --git a/packages/fetcher/package.json b/packages/fetcher/package.json index 0900b60d..e77daa5b 100644 --- a/packages/fetcher/package.json +++ b/packages/fetcher/package.json @@ -22,6 +22,6 @@ "live-plugin-manager": "^0.18.1" }, "engines": { - "node": ">=14" + "node": ">=20.17" } } diff --git a/packages/initializer/package.json b/packages/initializer/package.json index f1b5d4cb..6b3830b3 100644 --- a/packages/initializer/package.json +++ b/packages/initializer/package.json @@ -14,6 +14,6 @@ "semver": "^7.3.5" }, "engines": { - "node": ">=14" + "node": ">=20.17" } } diff --git a/packages/utils/package.json b/packages/utils/package.json index 67f45592..96cd8554 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -7,7 +7,7 @@ "license": "MIT", "repository": "https://github.com/hypermod-io/hypermod-community/tree/main/packages/utils", "engines": { - "node": ">=14" + "node": ">=20.17" }, "dependencies": { "jscodeshift": "^0.13.1" diff --git a/packages/validator/package.json b/packages/validator/package.json index 4ca612d2..8b5bc603 100644 --- a/packages/validator/package.json +++ b/packages/validator/package.json @@ -15,6 +15,6 @@ "@types/lodash": "^4.14.176" }, "engines": { - "node": ">=14" + "node": ">=20.17" } }