From 00592dd96eb16236850a643c3df51e20348e8e12 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 06:08:02 +0000 Subject: [PATCH 1/8] Initial plan From ba8976690216c895da2d05424b4fe247a622cc72 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 06:22:41 +0000 Subject: [PATCH 2/8] chore: progress mdx link prop update --- mdx-components.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mdx-components.tsx b/mdx-components.tsx index 9d0b8e3..ff7bcb6 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -9,12 +9,13 @@ import { ComponentPreview } from "@/components/docs/component-preview"; export function useMDXComponents(components: MDXComponents): MDXComponents { return { a: ({ href, children, ...props }) => { + const { ref: _ref, ...anchorProps } = props; if (href?.startsWith("/")) { return ( {children} @@ -26,7 +27,7 @@ export function useMDXComponents(components: MDXComponents): MDXComponents { target="_blank" rel="noreferrer" className="text-zinc-200 underline underline-offset-4 decoration-white/20 hover:text-white hover:decoration-white/40" - {...props} + {...anchorProps} > {children} From 3719910da48e4dae48ba9da4a52a4f059e64495e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 06:23:36 +0000 Subject: [PATCH 3/8] chore: progress after typecheck --- packages/cli/node_modules/.bin/tsc | 41 ++++++++++++++++------ packages/cli/node_modules/.bin/tsserver | 41 ++++++++++++++++------ packages/cli/node_modules/.bin/tsup | 41 ++++++++++++++++------ packages/cli/node_modules/.bin/tsup-node | 41 ++++++++++++++++------ packages/react/node_modules/.bin/next | 41 ++++++++++++++++------ packages/react/node_modules/.bin/tsc | 41 ++++++++++++++++------ packages/react/node_modules/.bin/tsserver | 41 ++++++++++++++++------ packages/react/node_modules/.bin/tsup | 41 ++++++++++++++++------ packages/react/node_modules/.bin/tsup-node | 41 ++++++++++++++++------ 9 files changed, 279 insertions(+), 90 deletions(-) diff --git a/packages/cli/node_modules/.bin/tsc b/packages/cli/node_modules/.bin/tsc index ddf1441..b506e81 100755 --- a/packages/cli/node_modules/.bin/tsc +++ b/packages/cli/node_modules/.bin/tsc @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../typescript/bin/tsc" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../typescript/bin/tsc" "$@" else exec node "$basedir/../typescript/bin/tsc" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/typescript/bin/tsc +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/typescript/bin/tsc diff --git a/packages/cli/node_modules/.bin/tsserver b/packages/cli/node_modules/.bin/tsserver index 138c170..294fdb3 100755 --- a/packages/cli/node_modules/.bin/tsserver +++ b/packages/cli/node_modules/.bin/tsserver @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../typescript/bin/tsserver" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@" else exec node "$basedir/../typescript/bin/tsserver" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/typescript/bin/tsserver +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/typescript/bin/tsserver diff --git a/packages/cli/node_modules/.bin/tsup b/packages/cli/node_modules/.bin/tsup index a80e636..518a96e 100755 --- a/packages/cli/node_modules/.bin/tsup +++ b/packages/cli/node_modules/.bin/tsup @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-default.js" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-default.js" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../tsup/dist/cli-default.js" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../tsup/dist/cli-default.js" "$@" else exec node "$basedir/../tsup/dist/cli-default.js" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/tsup/dist/cli-default.js +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/tsup/dist/cli-default.js diff --git a/packages/cli/node_modules/.bin/tsup-node b/packages/cli/node_modules/.bin/tsup-node index 62c7b77..972c4c4 100755 --- a/packages/cli/node_modules/.bin/tsup-node +++ b/packages/cli/node_modules/.bin/tsup-node @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-node.js" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../tsup/dist/cli-node.js" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../tsup/dist/cli-node.js" "$@" else exec node "$basedir/../tsup/dist/cli-node.js" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/tsup/dist/cli-node.js +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/tsup/dist/cli-node.js diff --git a/packages/react/node_modules/.bin/next b/packages/react/node_modules/.bin/next index 2bda0c9..cac45b0 100755 --- a/packages/react/node_modules/.bin/next +++ b/packages/react/node_modules/.bin/next @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../next/dist/bin/next" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../next/dist/bin/next" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../next/dist/bin/next" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../next/dist/bin/next" "$@" else exec node "$basedir/../next/dist/bin/next" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/next/dist/bin/next +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/next/dist/bin/next diff --git a/packages/react/node_modules/.bin/tsc b/packages/react/node_modules/.bin/tsc index a878ead..d9abb41 100755 --- a/packages/react/node_modules/.bin/tsc +++ b/packages/react/node_modules/.bin/tsc @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../typescript/bin/tsc" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../typescript/bin/tsc" "$@" else exec node "$basedir/../typescript/bin/tsc" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/typescript/bin/tsc +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/typescript/bin/tsc diff --git a/packages/react/node_modules/.bin/tsserver b/packages/react/node_modules/.bin/tsserver index 8b71109..ace6899 100755 --- a/packages/react/node_modules/.bin/tsserver +++ b/packages/react/node_modules/.bin/tsserver @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../typescript/bin/tsserver" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@" else exec node "$basedir/../typescript/bin/tsserver" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/typescript/bin/tsserver +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/typescript/bin/tsserver diff --git a/packages/react/node_modules/.bin/tsup b/packages/react/node_modules/.bin/tsup index 36c5c50..b2745ba 100755 --- a/packages/react/node_modules/.bin/tsup +++ b/packages/react/node_modules/.bin/tsup @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-default.js" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-default.js" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../tsup/dist/cli-default.js" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../tsup/dist/cli-default.js" "$@" else exec node "$basedir/../tsup/dist/cli-default.js" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/tsup/dist/cli-default.js +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/tsup/dist/cli-default.js diff --git a/packages/react/node_modules/.bin/tsup-node b/packages/react/node_modules/.bin/tsup-node index d29cef4..7120753 100755 --- a/packages/react/node_modules/.bin/tsup-node +++ b/packages/react/node_modules/.bin/tsup-node @@ -1,22 +1,43 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") +basedir_win="$basedir" +exe="" +msys="" -case `uname` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir=`cygpath -w "$basedir"` - fi - ;; +case `uname -a` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir_win=`cygpath -w "$basedir"` + fi + exe=".exe" + msys="true" + ;; + *WSL2*) + if command -v wslpath > /dev/null 2>&1; then + basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" + if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then + basedir_win="$basedir" + else + exe=".exe" + fi + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -x "$basedir/node" ]; then +if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then + exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-node.js" "$@" +elif [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@" +elif command -v node >/dev/null 2>&1; then + exec node "$basedir/../tsup/dist/cli-node.js" "$@" +elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then + exec node.exe "$basedir_win/../tsup/dist/cli-node.js" "$@" else exec node "$basedir/../tsup/dist/cli-node.js" "$@" fi -# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/tsup/dist/cli-node.js +# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/tsup/dist/cli-node.js From f24232182ea66a4da6f903e07f4fd83cdd4382a8 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 06:25:24 +0000 Subject: [PATCH 4/8] fix(build): prevent legacy ref props from breaking mdx component types --- mdx-components.tsx | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/mdx-components.tsx b/mdx-components.tsx index ff7bcb6..94c3f37 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -1,7 +1,10 @@ import type { MDXComponents } from "mdx/types"; import Link from "next/link"; import CodeBlock from "@/components/ui/CodeBlock"; -import { CodeBlock as DocsCodeBlock, Dependencies } from "@/components/docs/component-installation"; +import { + CodeBlock as DocsCodeBlock, + Dependencies, +} from "@/components/docs/component-installation"; import { CLICommand } from "@/components/docs/cli-command"; import { PropsTable } from "@/components/docs/props-table"; import { ComponentPreview } from "@/components/docs/component-preview"; @@ -9,7 +12,8 @@ import { ComponentPreview } from "@/components/docs/component-preview"; export function useMDXComponents(components: MDXComponents): MDXComponents { return { a: ({ href, children, ...props }) => { - const { ref: _ref, ...anchorProps } = props; + const { ref: ignoredRef, ...anchorProps } = props; + void ignoredRef; if (href?.startsWith("/")) { return (
  • {children}
  • , hr: () =>
    , - section: ({ children, className, ...props }) => ( -
    - {children} -
    - ), + section: ({ children, className, ...props }) => { + const { ref: ignoredRef, ...sectionProps } = props; + void ignoredRef; + return ( +
    + {children} +
    + ); + }, CodeBlock: DocsCodeBlock, Dependencies, CLICommand, From 6776f79463554110f9258342a52a6ea72b96f168 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:09:02 +0000 Subject: [PATCH 5/8] Revert "fix(build): prevent legacy ref props from breaking mdx component types" This reverts commit f24232182ea66a4da6f903e07f4fd83cdd4382a8. --- mdx-components.tsx | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/mdx-components.tsx b/mdx-components.tsx index 94c3f37..ff7bcb6 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -1,10 +1,7 @@ import type { MDXComponents } from "mdx/types"; import Link from "next/link"; import CodeBlock from "@/components/ui/CodeBlock"; -import { - CodeBlock as DocsCodeBlock, - Dependencies, -} from "@/components/docs/component-installation"; +import { CodeBlock as DocsCodeBlock, Dependencies } from "@/components/docs/component-installation"; import { CLICommand } from "@/components/docs/cli-command"; import { PropsTable } from "@/components/docs/props-table"; import { ComponentPreview } from "@/components/docs/component-preview"; @@ -12,8 +9,7 @@ import { ComponentPreview } from "@/components/docs/component-preview"; export function useMDXComponents(components: MDXComponents): MDXComponents { return { a: ({ href, children, ...props }) => { - const { ref: ignoredRef, ...anchorProps } = props; - void ignoredRef; + const { ref: _ref, ...anchorProps } = props; if (href?.startsWith("/")) { return (
  • {children}
  • , hr: () =>
    , - section: ({ children, className, ...props }) => { - const { ref: ignoredRef, ...sectionProps } = props; - void ignoredRef; - return ( -
    - {children} -
    - ); - }, + section: ({ children, className, ...props }) => ( +
    + {children} +
    + ), CodeBlock: DocsCodeBlock, Dependencies, CLICommand, From 89417a8cadc3b32a64cd1eb5de533e2078f830ca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:09:02 +0000 Subject: [PATCH 6/8] Revert "chore: progress after typecheck" This reverts commit 3719910da48e4dae48ba9da4a52a4f059e64495e. --- packages/cli/node_modules/.bin/tsc | 41 ++++++---------------- packages/cli/node_modules/.bin/tsserver | 41 ++++++---------------- packages/cli/node_modules/.bin/tsup | 41 ++++++---------------- packages/cli/node_modules/.bin/tsup-node | 41 ++++++---------------- packages/react/node_modules/.bin/next | 41 ++++++---------------- packages/react/node_modules/.bin/tsc | 41 ++++++---------------- packages/react/node_modules/.bin/tsserver | 41 ++++++---------------- packages/react/node_modules/.bin/tsup | 41 ++++++---------------- packages/react/node_modules/.bin/tsup-node | 41 ++++++---------------- 9 files changed, 90 insertions(+), 279 deletions(-) diff --git a/packages/cli/node_modules/.bin/tsc b/packages/cli/node_modules/.bin/tsc index b506e81..ddf1441 100755 --- a/packages/cli/node_modules/.bin/tsc +++ b/packages/cli/node_modules/.bin/tsc @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../typescript/bin/tsc" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../typescript/bin/tsc" "$@" else exec node "$basedir/../typescript/bin/tsc" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/typescript/bin/tsc +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/typescript/bin/tsc diff --git a/packages/cli/node_modules/.bin/tsserver b/packages/cli/node_modules/.bin/tsserver index 294fdb3..138c170 100755 --- a/packages/cli/node_modules/.bin/tsserver +++ b/packages/cli/node_modules/.bin/tsserver @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../typescript/bin/tsserver" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@" else exec node "$basedir/../typescript/bin/tsserver" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/typescript/bin/tsserver +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/typescript/bin/tsserver diff --git a/packages/cli/node_modules/.bin/tsup b/packages/cli/node_modules/.bin/tsup index 518a96e..a80e636 100755 --- a/packages/cli/node_modules/.bin/tsup +++ b/packages/cli/node_modules/.bin/tsup @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-default.js" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-default.js" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../tsup/dist/cli-default.js" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../tsup/dist/cli-default.js" "$@" else exec node "$basedir/../tsup/dist/cli-default.js" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/tsup/dist/cli-default.js +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/tsup/dist/cli-default.js diff --git a/packages/cli/node_modules/.bin/tsup-node b/packages/cli/node_modules/.bin/tsup-node index 972c4c4..62c7b77 100755 --- a/packages/cli/node_modules/.bin/tsup-node +++ b/packages/cli/node_modules/.bin/tsup-node @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-node.js" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../tsup/dist/cli-node.js" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../tsup/dist/cli-node.js" "$@" else exec node "$basedir/../tsup/dist/cli-node.js" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/cli/node_modules/tsup/dist/cli-node.js +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/cli/node_modules/tsup/dist/cli-node.js diff --git a/packages/react/node_modules/.bin/next b/packages/react/node_modules/.bin/next index cac45b0..2bda0c9 100755 --- a/packages/react/node_modules/.bin/next +++ b/packages/react/node_modules/.bin/next @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/next@16.2.7_@babel+core@7.29.7_@opentelemetry+api@1.9.1_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../next/dist/bin/next" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../next/dist/bin/next" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../next/dist/bin/next" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../next/dist/bin/next" "$@" else exec node "$basedir/../next/dist/bin/next" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/next/dist/bin/next +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/next/dist/bin/next diff --git a/packages/react/node_modules/.bin/tsc b/packages/react/node_modules/.bin/tsc index d9abb41..a878ead 100755 --- a/packages/react/node_modules/.bin/tsc +++ b/packages/react/node_modules/.bin/tsc @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsc" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../typescript/bin/tsc" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../typescript/bin/tsc" "$@" else exec node "$basedir/../typescript/bin/tsc" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/typescript/bin/tsc +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/typescript/bin/tsc diff --git a/packages/react/node_modules/.bin/tsserver b/packages/react/node_modules/.bin/tsserver index ace6899..8b71109 100755 --- a/packages/react/node_modules/.bin/tsserver +++ b/packages/react/node_modules/.bin/tsserver @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/typescript@5.9.3/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../typescript/bin/tsserver" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../typescript/bin/tsserver" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../typescript/bin/tsserver" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../typescript/bin/tsserver" "$@" else exec node "$basedir/../typescript/bin/tsserver" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/typescript/bin/tsserver +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/typescript/bin/tsserver diff --git a/packages/react/node_modules/.bin/tsup b/packages/react/node_modules/.bin/tsup index b2745ba..36c5c50 100755 --- a/packages/react/node_modules/.bin/tsup +++ b/packages/react/node_modules/.bin/tsup @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-default.js" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-default.js" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../tsup/dist/cli-default.js" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../tsup/dist/cli-default.js" "$@" else exec node "$basedir/../tsup/dist/cli-default.js" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/tsup/dist/cli-default.js +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/tsup/dist/cli-default.js diff --git a/packages/react/node_modules/.bin/tsup-node b/packages/react/node_modules/.bin/tsup-node index 7120753..d29cef4 100755 --- a/packages/react/node_modules/.bin/tsup-node +++ b/packages/react/node_modules/.bin/tsup-node @@ -1,43 +1,22 @@ #!/bin/sh basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") -basedir_win="$basedir" -exe="" -msys="" -case `uname -a` in - *CYGWIN*|*MINGW*|*MSYS*) - if command -v cygpath > /dev/null 2>&1; then - basedir_win=`cygpath -w "$basedir"` - fi - exe=".exe" - msys="true" - ;; - *WSL2*) - if command -v wslpath > /dev/null 2>&1; then - basedir_win="$(wslpath -w "$basedir" 2> /dev/null)" - if [ $? -ne 0 ] || [ -z "$basedir_win" ]; then - basedir_win="$basedir" - else - exe=".exe" - fi - fi - ;; +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) + if command -v cygpath > /dev/null 2>&1; then + basedir=`cygpath -w "$basedir"` + fi + ;; esac if [ -z "$NODE_PATH" ]; then - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules" else - export NODE_PATH="/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/home/runner/work/Error404-UI/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" + export NODE_PATH="/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules/tsup/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/tsup@8.5.1_jiti@2.7.0_postcss@8.5.15_typescript@5.9.3_yaml@2.9.0/node_modules:/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/node_modules/.pnpm/node_modules:$NODE_PATH" fi -if [ -n "$exe" ] && [ -x "$basedir/node.exe" ]; then - exec "$basedir/node.exe" "$basedir_win/../tsup/dist/cli-node.js" "$@" -elif [ -x "$basedir/node" ]; then +if [ -x "$basedir/node" ]; then exec "$basedir/node" "$basedir/../tsup/dist/cli-node.js" "$@" -elif command -v node >/dev/null 2>&1; then - exec node "$basedir/../tsup/dist/cli-node.js" "$@" -elif [ -n "$exe" ] && command -v node.exe >/dev/null 2>&1; then - exec node.exe "$basedir_win/../tsup/dist/cli-node.js" "$@" else exec node "$basedir/../tsup/dist/cli-node.js" "$@" fi -# cmd-shim-target=/home/runner/work/Error404-UI/Error404-UI/packages/react/node_modules/tsup/dist/cli-node.js +# cmd-shim-target=/Users/manishpatel/Desktop/Purplle challange Round 2/Error404-UI/packages/react/node_modules/tsup/dist/cli-node.js From ba1f2a952303e052a56da7a592074a83a1924f4c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:09:02 +0000 Subject: [PATCH 7/8] Revert "chore: progress mdx link prop update" This reverts commit ba8976690216c895da2d05424b4fe247a622cc72. --- mdx-components.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/mdx-components.tsx b/mdx-components.tsx index ff7bcb6..9d0b8e3 100644 --- a/mdx-components.tsx +++ b/mdx-components.tsx @@ -9,13 +9,12 @@ import { ComponentPreview } from "@/components/docs/component-preview"; export function useMDXComponents(components: MDXComponents): MDXComponents { return { a: ({ href, children, ...props }) => { - const { ref: _ref, ...anchorProps } = props; if (href?.startsWith("/")) { return ( {children} @@ -27,7 +26,7 @@ export function useMDXComponents(components: MDXComponents): MDXComponents { target="_blank" rel="noreferrer" className="text-zinc-200 underline underline-offset-4 decoration-white/20 hover:text-white hover:decoration-white/40" - {...anchorProps} + {...props} > {children} From 632b73124cc4d9c385c16d8289c7c0f6e4972015 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 31 Jul 2026 10:09:10 +0000 Subject: [PATCH 8/8] chore: progress after reverting unrelated commits --- .github/workflows/security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml index e66ba8e..413d0c9 100644 --- a/.github/workflows/security.yml +++ b/.github/workflows/security.yml @@ -30,7 +30,7 @@ jobs: run: pnpm install --frozen-lockfile - name: Run security audit - run: pnpm audit --audit-level=moderate --ignore GHSA-92pp-h63x-v22m --ignore GHSA-qx2v-qp2m-jg93 + run: pnpm audit --audit-level=moderate - name: Check for vulnerabilities uses: aquasecurity/trivy-action@master