From d833b6a6741abfa71a6dac4be4782932b52c482f Mon Sep 17 00:00:00 2001 From: Jeremy Scheff Date: Fri, 18 Oct 2024 09:52:02 -0400 Subject: [PATCH] Fix for Node 22 --- .github/workflows/nodejs.yml | 2 +- package.json | 2 +- pnpm-lock.yaml | 11 ++++++----- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index abf17b16b8..b621d695e2 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -13,7 +13,7 @@ jobs: version: 9 - uses: actions/setup-node@v3 with: - node-version: '20.x' + node-version: '22.x' cache: 'pnpm' - name: Install dependencies run: pnpm install diff --git a/package.json b/package.json index 4245e8d61b..76e80bfff7 100644 --- a/package.json +++ b/package.json @@ -141,7 +141,7 @@ "globals": "^15.11.0", "html-minifier-terser": "^7.2.0", "husky": "^9.1.6", - "import-jsx": "^5.0.0", + "import-jsx": "github:dumbmatter/import-jsx#import-attributes", "ink": "^5.0.1", "ink-spinner": "^5.0.0", "jest": "^29.7.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9b0e83abb3..254c13e2bc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -334,8 +334,8 @@ importers: specifier: ^9.1.6 version: 9.1.6 import-jsx: - specifier: ^5.0.0 - version: 5.0.0 + specifier: github:dumbmatter/import-jsx#import-attributes + version: https://codeload.github.com/dumbmatter/import-jsx/tar.gz/b4f37a508f7b73d86a59dd77118eb31993ea7d08 ink: specifier: ^5.0.1 version: 5.0.1(@types/react@18.3.11)(react@18.3.1) @@ -3406,8 +3406,9 @@ packages: resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} engines: {node: '>=6'} - import-jsx@5.0.0: - resolution: {integrity: sha512-IovW6KNUJDAJCuzvG8Y3+srknbwgdLMCScqKe51Z0lrHogDu+Zw4g2wJQeV1KMLDwB4S6EGEXCFphconrrY4qg==} + import-jsx@https://codeload.github.com/dumbmatter/import-jsx/tar.gz/b4f37a508f7b73d86a59dd77118eb31993ea7d08: + resolution: {tarball: https://codeload.github.com/dumbmatter/import-jsx/tar.gz/b4f37a508f7b73d86a59dd77118eb31993ea7d08} + version: 5.0.0 engines: {node: '>=14.16'} import-local@3.2.0: @@ -9142,7 +9143,7 @@ snapshots: parent-module: 1.0.1 resolve-from: 4.0.0 - import-jsx@5.0.0: + import-jsx@https://codeload.github.com/dumbmatter/import-jsx/tar.gz/b4f37a508f7b73d86a59dd77118eb31993ea7d08: dependencies: '@babel/core': 7.25.8 '@babel/preset-react': 7.25.7(@babel/core@7.25.8)