diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c6a1bce..2cbaa46 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,6 +7,6 @@ jobs: steps: - uses: actions/checkout@v2.4.2 - - { name: Setup Node.js environment, uses: actions/setup-node@v3.1.1, with: { node-version: ">=14" } } + - { name: Setup Node.js environment, uses: actions/setup-node@v3.1.1, with: { node-version: ">=18" } } - { name: Setup PNPM, uses: pnpm/action-setup@v2.2.1, with: { version: 8, run_install: true } } - run: pnpm lint diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f48f4ad..f62b00a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -8,7 +8,7 @@ jobs: steps: - uses: actions/checkout@v2.4.2 - - { name: Setup Node.js environment, uses: actions/setup-node@v3.1.1, with: { node-version: ">=16" } } + - { name: Setup Node.js environment, uses: actions/setup-node@v3.1.1, with: { node-version: ">=18" } } - { name: Setup PNPM, uses: pnpm/action-setup@v2.2.1, with: { version: 8, run_install: true } } - run: git config --global user.email github-action@users.noreply.github.com - run: git config --global user.name "Github Action" diff --git a/package.json b/package.json index 94d1181..c84679f 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "@types/babel__core": "^7.20.1", "@types/babel__generator": "^7.6.4", "@types/babel__traverse": "^7.20.1", - "@types/node": "^16.18.50", + "@types/node": "^18.17.15", "@types/semver": "^7.5.1", "@typescript-eslint/eslint-plugin": "^6.7.0", "@typescript-eslint/parser": "^6.7.0", @@ -99,7 +99,7 @@ "typescript": "^5.2.2" }, "engines": { - "node": ">=16" + "node": ">=18" }, "private": true, "types": "index.d.ts", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 487dafc..57c9f06 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -149,8 +149,8 @@ devDependencies: specifier: ^7.20.1 version: 7.20.1 '@types/node': - specifier: ^16.18.50 - version: 16.18.50 + specifier: ^18.17.15 + version: 18.17.15 '@types/semver': specifier: ^7.5.1 version: 7.5.1 @@ -1816,8 +1816,8 @@ packages: resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} dev: true - /@types/node@16.18.50: - resolution: {integrity: sha512-OiDU5xRgYTJ203v4cprTs0RwOCd5c5Zjv+K5P8KSqfiCsB1W3LcamTUMcnQarpq5kOYbhHfSOgIEJvdPyb5xyw==} + /@types/node@18.17.15: + resolution: {integrity: sha512-2yrWpBk32tvV/JAd3HNHWuZn/VDN1P+72hWirHnvsvTGSqbANi+kSeuQR9yAHnbvaBvHDsoTdXV0Fe+iRtHLKA==} dev: true /@types/normalize-package-data@2.4.1: diff --git a/rollup.config.js b/rollup.config.js index a964a65..d19fd2d 100755 --- a/rollup.config.js +++ b/rollup.config.js @@ -32,7 +32,7 @@ export default findFiles(SourceFolder).then(foundFiles => /** @type {import("rol babelHelpers: "bundled", extensions: [ ".ts" ], presets: [ - [ "@babel/preset-env", { targets: { node: "14" } } ], + [ "@babel/preset-env", { targets: { node: "18" } } ], [ "@babel/preset-typescript", { allowDeclareFields: true } ] ], plugins: [ babelPluginHere() ]