From 0fa853fbb981e7af37a358e2ed9109aa101a8963 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 12:33:48 -0600 Subject: [PATCH 01/13] package.json yarn.lock --- package.json | 1 + yarn.lock | 183 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 184 insertions(+) diff --git a/package.json b/package.json index 17c04fdb1..68bdc0c64 100644 --- a/package.json +++ b/package.json @@ -51,6 +51,7 @@ "prettier": "3.5.1", "prettier-plugin-packagejson": "2.5.8", "ts-node": "10.9.2", + "tsx": "4.19.3", "turbo": "2.4.2", "typescript": "5.7.3", "typescript-eslint": "8.24.1" diff --git a/yarn.lock b/yarn.lock index 7f97cd9ed..00583e3e7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -278,6 +278,131 @@ dependencies: tslib "^2.4.0" +"@esbuild/aix-ppc64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.25.0.tgz#499600c5e1757a524990d5d92601f0ac3ce87f64" + integrity sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ== + +"@esbuild/android-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.25.0.tgz#b9b8231561a1dfb94eb31f4ee056b92a985c324f" + integrity sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g== + +"@esbuild/android-arm@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.25.0.tgz#ca6e7888942505f13e88ac9f5f7d2a72f9facd2b" + integrity sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g== + +"@esbuild/android-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.25.0.tgz#e765ea753bac442dfc9cb53652ce8bd39d33e163" + integrity sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg== + +"@esbuild/darwin-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.25.0.tgz#fa394164b0d89d4fdc3a8a21989af70ef579fa2c" + integrity sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw== + +"@esbuild/darwin-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.25.0.tgz#91979d98d30ba6e7d69b22c617cc82bdad60e47a" + integrity sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg== + +"@esbuild/freebsd-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.25.0.tgz#b97e97073310736b430a07b099d837084b85e9ce" + integrity sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w== + +"@esbuild/freebsd-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.25.0.tgz#f3b694d0da61d9910ec7deff794d444cfbf3b6e7" + integrity sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A== + +"@esbuild/linux-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.25.0.tgz#f921f699f162f332036d5657cad9036f7a993f73" + integrity sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg== + +"@esbuild/linux-arm@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.25.0.tgz#cc49305b3c6da317c900688995a4050e6cc91ca3" + integrity sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg== + +"@esbuild/linux-ia32@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.25.0.tgz#3e0736fcfab16cff042dec806247e2c76e109e19" + integrity sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg== + +"@esbuild/linux-loong64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.25.0.tgz#ea2bf730883cddb9dfb85124232b5a875b8020c7" + integrity sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw== + +"@esbuild/linux-mips64el@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.25.0.tgz#4cababb14eede09248980a2d2d8b966464294ff1" + integrity sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ== + +"@esbuild/linux-ppc64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.25.0.tgz#8860a4609914c065373a77242e985179658e1951" + integrity sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw== + +"@esbuild/linux-riscv64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.25.0.tgz#baf26e20bb2d38cfb86ee282dff840c04f4ed987" + integrity sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA== + +"@esbuild/linux-s390x@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.25.0.tgz#8323afc0d6cb1b6dc6e9fd21efd9e1542c3640a4" + integrity sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA== + +"@esbuild/linux-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.25.0.tgz#08fcf60cb400ed2382e9f8e0f5590bac8810469a" + integrity sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw== + +"@esbuild/netbsd-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.25.0.tgz#935c6c74e20f7224918fbe2e6c6fe865b6c6ea5b" + integrity sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw== + +"@esbuild/netbsd-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.25.0.tgz#414677cef66d16c5a4d210751eb2881bb9c1b62b" + integrity sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA== + +"@esbuild/openbsd-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.25.0.tgz#8fd55a4d08d25cdc572844f13c88d678c84d13f7" + integrity sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw== + +"@esbuild/openbsd-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.25.0.tgz#0c48ddb1494bbc2d6bcbaa1429a7f465fa1dedde" + integrity sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg== + +"@esbuild/sunos-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.25.0.tgz#86ff9075d77962b60dd26203d7352f92684c8c92" + integrity sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg== + +"@esbuild/win32-arm64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.25.0.tgz#849c62327c3229467f5b5cd681bf50588442e96c" + integrity sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw== + +"@esbuild/win32-ia32@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.25.0.tgz#f62eb480cd7cca088cb65bb46a6db25b725dc079" + integrity sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA== + +"@esbuild/win32-x64@0.25.0": + version "0.25.0" + resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.25.0.tgz#c8e119a30a7c8d60b9d2e22d2073722dde3b710b" + integrity sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ== + "@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": version "4.4.1" resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz#d1145bf2c20132d6400495d6df4bf59362fd9d56" @@ -2558,6 +2683,37 @@ es-set-tostringtag@^2.1.0: has-tostringtag "^1.0.2" hasown "^2.0.2" +esbuild@~0.25.0: + version "0.25.0" + resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.25.0.tgz#0de1787a77206c5a79eeb634a623d39b5006ce92" + integrity sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw== + optionalDependencies: + "@esbuild/aix-ppc64" "0.25.0" + "@esbuild/android-arm" "0.25.0" + "@esbuild/android-arm64" "0.25.0" + "@esbuild/android-x64" "0.25.0" + "@esbuild/darwin-arm64" "0.25.0" + "@esbuild/darwin-x64" "0.25.0" + "@esbuild/freebsd-arm64" "0.25.0" + "@esbuild/freebsd-x64" "0.25.0" + "@esbuild/linux-arm" "0.25.0" + "@esbuild/linux-arm64" "0.25.0" + "@esbuild/linux-ia32" "0.25.0" + "@esbuild/linux-loong64" "0.25.0" + "@esbuild/linux-mips64el" "0.25.0" + "@esbuild/linux-ppc64" "0.25.0" + "@esbuild/linux-riscv64" "0.25.0" + "@esbuild/linux-s390x" "0.25.0" + "@esbuild/linux-x64" "0.25.0" + "@esbuild/netbsd-arm64" "0.25.0" + "@esbuild/netbsd-x64" "0.25.0" + "@esbuild/openbsd-arm64" "0.25.0" + "@esbuild/openbsd-x64" "0.25.0" + "@esbuild/sunos-x64" "0.25.0" + "@esbuild/win32-arm64" "0.25.0" + "@esbuild/win32-ia32" "0.25.0" + "@esbuild/win32-x64" "0.25.0" + escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -2987,6 +3143,11 @@ fsevents@~2.3.2: resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== +fsevents@~2.3.3: + version "2.3.3" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6" + integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw== + function-bind@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" @@ -3064,6 +3225,13 @@ get-stream@^9.0.1: "@sec-ant/readable-stream" "^0.4.1" is-stream "^4.0.1" +get-tsconfig@^4.7.5: + version "4.10.0" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.10.0.tgz#403a682b373a823612475a4c2928c7326fc0f6bb" + integrity sha512-kGzZ3LWWQcGIAmg6iWvXn0ei6WDtV26wzHRMwDSzmAbcXrTEXxHy6IehI6/4eT6VRKyMP1eF1VqwrVUmE/LR7A== + dependencies: + resolve-pkg-maps "^1.0.0" + git-hooks-list@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/git-hooks-list/-/git-hooks-list-3.2.0.tgz#ffe5d5895e29d24f930f9a98dd604b7e407d2f5f" @@ -5520,6 +5688,11 @@ resolve-from@^4.0.0: resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== +resolve-pkg-maps@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz#616b3dc2c57056b5588c31cdf4b3d64db133720f" + integrity sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw== + resolve-pkg@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/resolve-pkg/-/resolve-pkg-2.0.0.tgz#ac06991418a7623edc119084edc98b0e6bf05a41" @@ -6205,6 +6378,16 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" +tsx@^4.19.3: + version "4.19.3" + resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.19.3.tgz#2bdbcb87089374d933596f8645615142ed727666" + integrity sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ== + dependencies: + esbuild "~0.25.0" + get-tsconfig "^4.7.5" + optionalDependencies: + fsevents "~2.3.3" + tuf-js@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/tuf-js/-/tuf-js-2.2.1.tgz#fdd8794b644af1a75c7aaa2b197ddffeb2911b56" From b4c0116a1b0464dcf686ec52c631f667a50cfd56 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 12:34:13 -0600 Subject: [PATCH 02/13] package.json yarn.lock --- package.json | 1 - yarn.lock | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 68bdc0c64..adbe78edc 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "mocha": "11.1.0", "prettier": "3.5.1", "prettier-plugin-packagejson": "2.5.8", - "ts-node": "10.9.2", "tsx": "4.19.3", "turbo": "2.4.2", "typescript": "5.7.3", diff --git a/yarn.lock b/yarn.lock index 00583e3e7..9dceb4009 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6378,7 +6378,7 @@ tsutils@^3.21.0: dependencies: tslib "^1.8.1" -tsx@^4.19.3: +tsx@4.19.3: version "4.19.3" resolved "https://registry.yarnpkg.com/tsx/-/tsx-4.19.3.tgz#2bdbcb87089374d933596f8645615142ed727666" integrity sha512-4H8vUNGNjQ4V2EOoGw005+c+dGuPSnhpPBPHBtsZdGZBk/iJb4kguGlPWaZTZ3q5nMtFOEsY0nRDlh9PJyd6SQ== From 97556450f923bef63eb651232f6e883f34d5ac29 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 12:42:09 -0600 Subject: [PATCH 03/13] .depcheckrc package.json --- .depcheckrc | 1 - package.json | 3 --- 2 files changed, 4 deletions(-) diff --git a/.depcheckrc b/.depcheckrc index e935af0aa..2132f4f44 100644 --- a/.depcheckrc +++ b/.depcheckrc @@ -18,4 +18,3 @@ ignores: - textrun-repo - textrun-shell - textrun-workspace - - ts-node diff --git a/package.json b/package.json index adbe78edc..fadcde543 100644 --- a/package.json +++ b/package.json @@ -55,8 +55,5 @@ "typescript": "5.7.3", "typescript-eslint": "8.24.1" }, - "peerDependencies": { - "ts-node": ">10.9.0" - }, "packageManager": "yarn@1.22.22" } From 3d93aeda0d0154f529cbcdd666ba0f5e4fdaaac4 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 12:46:32 -0600 Subject: [PATCH 04/13] installation package.json package.json package.json package.json .mocharc.yml --- documentation/installation.md | 4 ++-- documentation/package.json | 2 +- examples/custom-action-commonjs/package.json | 2 +- examples/custom-action-esm/package.json | 2 +- examples/custom-action-typescript/package.json | 2 +- shared/cucumber-steps/.mocharc.yml | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/documentation/installation.md b/documentation/installation.md index 3fcdf46fc..185a9349d 100644 --- a/documentation/installation.md +++ b/documentation/installation.md @@ -13,7 +13,7 @@ including macOS, Windows, and Linux. To get started: "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.1" + "tsx": "4.19.3" } } ``` @@ -23,7 +23,7 @@ including macOS, Windows, and Linux. To get started: - install TextRunner:
-  npm install -D text-runner ts-node
+  npm install -D text-runner tsx
   
- make sure it works by running: diff --git a/documentation/package.json b/documentation/package.json index 5a03431ee..39068e1fd 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -21,6 +21,6 @@ "textrun-npm": "0.2.0", "textrun-shell": "0.2.0", "textrun-workspace": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/examples/custom-action-commonjs/package.json b/examples/custom-action-commonjs/package.json index f974410b6..01a742ad8 100644 --- a/examples/custom-action-commonjs/package.json +++ b/examples/custom-action-commonjs/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/examples/custom-action-esm/package.json b/examples/custom-action-esm/package.json index 82224781c..8c0eb991c 100644 --- a/examples/custom-action-esm/package.json +++ b/examples/custom-action-esm/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/examples/custom-action-typescript/package.json b/examples/custom-action-typescript/package.json index e18d10c53..3830ecdb4 100644 --- a/examples/custom-action-typescript/package.json +++ b/examples/custom-action-typescript/package.json @@ -10,6 +10,6 @@ }, "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/shared/cucumber-steps/.mocharc.yml b/shared/cucumber-steps/.mocharc.yml index a0aa74703..cb72e34df 100644 --- a/shared/cucumber-steps/.mocharc.yml +++ b/shared/cucumber-steps/.mocharc.yml @@ -1,3 +1,3 @@ -loader: "ts-node/esm" +node-option: ["import=tsx"] recursive: true ui: tdd From d5509c7f8ea52d7ff7a301949d0e0f1f80d6cdb3 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 12:52:46 -0600 Subject: [PATCH 05/13] .mocharc.yml README package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json --- shared/cucumber-steps/.mocharc.yml | 3 --- test/README.md | 2 +- test/extension/package.json | 2 +- test/features_0/package.json | 2 +- test/features_1/package.json | 2 +- test/features_10/package.json | 2 +- test/features_11/package.json | 2 +- test/features_12/package.json | 2 +- test/features_13/package.json | 2 +- test/features_14/package.json | 2 +- test/features_15/package.json | 2 +- test/features_2/package.json | 2 +- test/features_3/package.json | 2 +- test/features_4/package.json | 2 +- test/features_5/package.json | 2 +- test/features_6/package.json | 2 +- test/features_7/package.json | 2 +- test/features_8/package.json | 2 +- test/features_9/package.json | 2 +- test/javascript/package.json | 2 +- test/make/package.json | 2 +- test/npm/package.json | 2 +- test/repo/package.json | 2 +- test/shell/package.json | 2 +- test/workspace/package.json | 2 +- 25 files changed, 24 insertions(+), 27 deletions(-) delete mode 100644 shared/cucumber-steps/.mocharc.yml diff --git a/shared/cucumber-steps/.mocharc.yml b/shared/cucumber-steps/.mocharc.yml deleted file mode 100644 index cb72e34df..000000000 --- a/shared/cucumber-steps/.mocharc.yml +++ /dev/null @@ -1,3 +0,0 @@ -node-option: ["import=tsx"] -recursive: true -ui: tdd diff --git a/test/README.md b/test/README.md index ac2229726..054c1679c 100644 --- a/test/README.md +++ b/test/README.md @@ -1,5 +1,5 @@ This folder contains workspaces for end-to-end tests. The current ESM -implementation requires `text-runner`, `ts-node`, and `typescript` installed +implementation requires `text-runner`, `tsx`, and `typescript` installed into a `node_modules` folder. Since it takes too much time to `yarn install` this for every end-to-end test, the workspaces in which tests happen are now part of the Yarn multi-workspace setup in this monorepo. diff --git a/test/extension/package.json b/test/extension/package.json index cf87ddb94..c9a77e1af 100644 --- a/test/extension/package.json +++ b/test/extension/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_0/package.json b/test/features_0/package.json index 33b2ba3e8..e3c4bf4c0 100644 --- a/test/features_0/package.json +++ b/test/features_0/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_1/package.json b/test/features_1/package.json index 8bb98d218..b81979026 100644 --- a/test/features_1/package.json +++ b/test/features_1/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_10/package.json b/test/features_10/package.json index 74c169523..e5af32fa7 100644 --- a/test/features_10/package.json +++ b/test/features_10/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_11/package.json b/test/features_11/package.json index bb369dc69..ce8b9379c 100644 --- a/test/features_11/package.json +++ b/test/features_11/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_12/package.json b/test/features_12/package.json index bec516a6f..1776bde77 100644 --- a/test/features_12/package.json +++ b/test/features_12/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_13/package.json b/test/features_13/package.json index 5d6883a43..4b70dea18 100644 --- a/test/features_13/package.json +++ b/test/features_13/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_14/package.json b/test/features_14/package.json index 3f2d542eb..8fa3d2272 100644 --- a/test/features_14/package.json +++ b/test/features_14/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_15/package.json b/test/features_15/package.json index 09383db12..d86d1c9fd 100644 --- a/test/features_15/package.json +++ b/test/features_15/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_2/package.json b/test/features_2/package.json index c4788edda..cfc853107 100644 --- a/test/features_2/package.json +++ b/test/features_2/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_3/package.json b/test/features_3/package.json index c83617f1c..d639e169f 100644 --- a/test/features_3/package.json +++ b/test/features_3/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_4/package.json b/test/features_4/package.json index a20870402..a4da7e645 100644 --- a/test/features_4/package.json +++ b/test/features_4/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_5/package.json b/test/features_5/package.json index 1b3588025..052fd9eb5 100644 --- a/test/features_5/package.json +++ b/test/features_5/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_6/package.json b/test/features_6/package.json index e6486ff4e..405518f99 100644 --- a/test/features_6/package.json +++ b/test/features_6/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_7/package.json b/test/features_7/package.json index 12d98986e..49047c299 100644 --- a/test/features_7/package.json +++ b/test/features_7/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_8/package.json b/test/features_8/package.json index 88c69c6e9..bd3292873 100644 --- a/test/features_8/package.json +++ b/test/features_8/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/features_9/package.json b/test/features_9/package.json index e1e03a7b6..382def8a3 100644 --- a/test/features_9/package.json +++ b/test/features_9/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/javascript/package.json b/test/javascript/package.json index e03f5573e..e3b94c7c9 100644 --- a/test/javascript/package.json +++ b/test/javascript/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/make/package.json b/test/make/package.json index e48b82195..71fdf3eda 100644 --- a/test/make/package.json +++ b/test/make/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/npm/package.json b/test/npm/package.json index fdae5a956..fab09c41e 100644 --- a/test/npm/package.json +++ b/test/npm/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/repo/package.json b/test/repo/package.json index cc992e2d6..00dbaaee0 100644 --- a/test/repo/package.json +++ b/test/repo/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/shell/package.json b/test/shell/package.json index b3fd93372..6df4ceb63 100644 --- a/test/shell/package.json +++ b/test/shell/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } diff --git a/test/workspace/package.json b/test/workspace/package.json index 269fea2a9..a4c7981e2 100644 --- a/test/workspace/package.json +++ b/test/workspace/package.json @@ -5,7 +5,7 @@ "type": "module", "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "typescript": "5.7.3" } } From 1acf787a196b55e6a644ba63d6f9d177b84f0465 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:07:19 -0600 Subject: [PATCH 06/13] .mocharc.json .mocharc.json .mocharc.json .mocharc.json .mocharc.json .mocharc.json .mocharc.json .mocharc.json .mocharc.json --- text-runner-cli/.mocharc.json | 2 +- text-runner-core/.mocharc.json | 2 +- textrun-extension/.mocharc.json | 2 +- textrun-javascript/.mocharc.json | 2 +- textrun-make/.mocharc.json | 2 +- textrun-npm/.mocharc.json | 2 +- textrun-repo/.mocharc.json | 2 +- textrun-shell/.mocharc.json | 2 +- textrun-workspace/.mocharc.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/text-runner-cli/.mocharc.json b/text-runner-cli/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/text-runner-cli/.mocharc.json +++ b/text-runner-cli/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/text-runner-core/.mocharc.json b/text-runner-core/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/text-runner-core/.mocharc.json +++ b/text-runner-core/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-extension/.mocharc.json b/textrun-extension/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-extension/.mocharc.json +++ b/textrun-extension/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-javascript/.mocharc.json b/textrun-javascript/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-javascript/.mocharc.json +++ b/textrun-javascript/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-make/.mocharc.json b/textrun-make/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-make/.mocharc.json +++ b/textrun-make/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-npm/.mocharc.json b/textrun-npm/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-npm/.mocharc.json +++ b/textrun-npm/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-repo/.mocharc.json b/textrun-repo/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-repo/.mocharc.json +++ b/textrun-repo/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-shell/.mocharc.json b/textrun-shell/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-shell/.mocharc.json +++ b/textrun-shell/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } diff --git a/textrun-workspace/.mocharc.json b/textrun-workspace/.mocharc.json index 0963413fd..ec1e359f7 100644 --- a/textrun-workspace/.mocharc.json +++ b/textrun-workspace/.mocharc.json @@ -1,6 +1,6 @@ { "$schema": "https://json.schemastore.org/mocharc", - "loader": "ts-node/esm", + "node-option": ["import=tsx"], "recursive": true, "ui": "tdd" } From d66d5c0904a74439e17810fcaf462a56415387c1 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:09:42 -0600 Subject: [PATCH 07/13] package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json package.json yarn.lock --- examples/global-tool/package.json | 2 +- text-runner-cli/package.json | 2 +- text-runner-core/package.json | 2 +- textrun-action/package.json | 2 +- textrun-extension/package.json | 2 +- textrun-javascript/package.json | 2 +- textrun-make/package.json | 2 +- textrun-npm/package.json | 2 +- textrun-repo/package.json | 2 +- textrun-shell/package.json | 2 +- textrun-workspace/package.json | 2 +- yarn.lock | 94 ------------------------------- 12 files changed, 11 insertions(+), 105 deletions(-) diff --git a/examples/global-tool/package.json b/examples/global-tool/package.json index b5b6c16ee..bf1f0caad 100644 --- a/examples/global-tool/package.json +++ b/examples/global-tool/package.json @@ -13,6 +13,6 @@ "textrun-shell": "0.2.0" }, "devDependencies": { - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/text-runner-cli/package.json b/text-runner-cli/package.json index c6fa6f1ee..727988638 100644 --- a/text-runner-cli/package.json +++ b/text-runner-cli/package.json @@ -35,7 +35,7 @@ "end-child-processes": "1.0.3", "minimist": "1.2.8", "text-runner-core": "6.0.0", - "ts-node": "10.9.2", + "tsx": "4.19.3", "yamljs": "0.3.0" }, "devDependencies": { diff --git a/text-runner-core/package.json b/text-runner-core/package.json index 5fa9cd33a..dfdf2d31f 100644 --- a/text-runner-core/package.json +++ b/text-runner-core/package.json @@ -39,6 +39,6 @@ "@types/got": "9.6.12", "@types/is-glob": "4.0.4", "@types/markdown-it": "14.1.2", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-action/package.json b/textrun-action/package.json index 254180158..331529380 100644 --- a/textrun-action/package.json +++ b/textrun-action/package.json @@ -19,6 +19,6 @@ }, "devDependencies": { "text-runner": "6.0.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-extension/package.json b/textrun-extension/package.json index e11d51361..9d791f257 100644 --- a/textrun-extension/package.json +++ b/textrun-extension/package.json @@ -25,6 +25,6 @@ "shared-cucumber-steps": "*", "text-runner": "6.0.0", "textrun-action": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-javascript/package.json b/textrun-javascript/package.json index d8f7f29ed..76e10e1f2 100644 --- a/textrun-javascript/package.json +++ b/textrun-javascript/package.json @@ -24,6 +24,6 @@ "text-runner": "6.0.0", "textrun-extension": "0.2.0", "textrun-npm": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-make/package.json b/textrun-make/package.json index 59b3cf94c..6ebfbc958 100644 --- a/textrun-make/package.json +++ b/textrun-make/package.json @@ -27,6 +27,6 @@ "textrun-extension": "0.2.0", "textrun-npm": "0.2.0", "textrun-workspace": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-npm/package.json b/textrun-npm/package.json index cc3f67441..83b4535e2 100644 --- a/textrun-npm/package.json +++ b/textrun-npm/package.json @@ -26,6 +26,6 @@ "textrun-action": "0.2.0", "textrun-extension": "0.2.0", "textrun-workspace": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-repo/package.json b/textrun-repo/package.json index 2d2dac585..ad12c892f 100644 --- a/textrun-repo/package.json +++ b/textrun-repo/package.json @@ -28,6 +28,6 @@ "textrun-action": "0.2.0", "textrun-extension": "0.2.0", "textrun-npm": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-shell/package.json b/textrun-shell/package.json index 1a9ae84bf..6c03ea01f 100644 --- a/textrun-shell/package.json +++ b/textrun-shell/package.json @@ -31,6 +31,6 @@ "textrun-action": "0.2.0", "textrun-extension": "0.2.0", "textrun-workspace": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/textrun-workspace/package.json b/textrun-workspace/package.json index 2f7176927..9e96a4c09 100644 --- a/textrun-workspace/package.json +++ b/textrun-workspace/package.json @@ -26,6 +26,6 @@ "text-runner": "6.0.0", "textrun-action": "0.2.0", "textrun-extension": "0.2.0", - "ts-node": "10.9.2" + "tsx": "4.19.3" } } diff --git a/yarn.lock b/yarn.lock index 9dceb4009..f217fd6b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -95,13 +95,6 @@ resolved "https://registry.yarnpkg.com/@colors/colors/-/colors-1.5.0.tgz#bb504579c1cae923e6576a4f5da43d25f97bdbd9" integrity sha512-ooWCrlZP11i8GImSjTHYHLkvFDP48nS4+204nGb1RiX/WXYHmJA2III9/e2DWVabCESdW7hBAEzHRqUn9OUVvQ== -"@cspotcode/source-map-support@^0.8.0": - version "0.8.1" - resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" - integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== - dependencies: - "@jridgewell/trace-mapping" "0.3.9" - "@cucumber/ci-environment@10.0.1": version "10.0.1" resolved "https://registry.yarnpkg.com/@cucumber/ci-environment/-/ci-environment-10.0.1.tgz#c8584f1d4a619e4318cf60c01b838db096d72ccd" @@ -537,11 +530,6 @@ "@jridgewell/sourcemap-codec" "^1.4.10" "@jridgewell/trace-mapping" "^0.3.24" -"@jridgewell/resolve-uri@^3.0.3": - version "3.1.0" - resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.0.tgz#2203b118c157721addfe69d47b70465463066d78" - integrity sha512-F2msla3tad+Mfht5cJq7LSXcdudKTWCVYUgw6pLFOOHSTtZlj6SWNYAp+AhuqLmWdBO2X5hPrLcu8cVP8fy28w== - "@jridgewell/resolve-uri@^3.1.0": version "3.1.2" resolved "https://registry.yarnpkg.com/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz#7a0ee601f60f99a20c7c7c5ff0c80388c1189bd6" @@ -562,14 +550,6 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz#3188bcb273a414b0d215fd22a58540b989b9409a" integrity sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ== -"@jridgewell/trace-mapping@0.3.9": - version "0.3.9" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" - integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== - dependencies: - "@jridgewell/resolve-uri" "^3.0.3" - "@jridgewell/sourcemap-codec" "^1.4.10" - "@jridgewell/trace-mapping@^0.3.24", "@jridgewell/trace-mapping@^0.3.25": version "0.3.25" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz#15f190e98895f3fc23276ee14bc76b675c2e50f0" @@ -1152,26 +1132,6 @@ resolved "https://registry.yarnpkg.com/@teppeis/multimaps/-/multimaps-3.0.0.tgz#bb9c3f8d569f589e548586fa0bbf423010ddfdc5" integrity sha512-ID7fosbc50TbT0MK0EG12O+gAP3W3Aa/Pz4DaTtQtEvlc9Odaqi0de+xuZ7Li2GtK4HzEX7IuRWS/JmZLksR3Q== -"@tsconfig/node10@^1.0.7": - version "1.0.9" - resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" - integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== - -"@tsconfig/node12@^1.0.7": - version "1.0.11" - resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" - integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== - -"@tsconfig/node14@^1.0.0": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" - integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== - -"@tsconfig/node16@^1.0.2": - version "1.0.3" - resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" - integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== - "@tufjs/canonical-json@2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@tufjs/canonical-json/-/canonical-json-2.0.0.tgz#a52f61a3d7374833fca945b2549bc30a2dd40d0a" @@ -1576,21 +1536,11 @@ acorn-jsx@^5.3.2: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn-walk@^8.1.1: - version "8.2.0" - resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" - integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== - acorn@^8.14.0: version "8.14.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.14.0.tgz#063e2c70cac5fb4f6467f0b11152e04c682795b0" integrity sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA== -acorn@^8.4.1: - version "8.8.0" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" - integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== - add-stream@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/add-stream/-/add-stream-1.0.0.tgz#6a7990437ca736d5e1288db92bd3266d5f5cb2aa" @@ -1696,11 +1646,6 @@ aproba@2.0.0: resolved "https://registry.yarnpkg.com/aproba/-/aproba-2.0.0.tgz#52520b8ae5b569215b354efc0caa3fe1e45a8adc" integrity sha512-lYe4Gx7QT+MKGbDsA+Z+he/Wtef0BiwDOlK/XkBrdfsh9J/jPPXbX0tE9x9cl27Tmu5gg3QUbUrQYa/y+KOHPQ== -arg@^4.1.0: - version "4.1.3" - resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" - integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== - argparse@^1.0.7: version "1.0.10" resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" @@ -2321,11 +2266,6 @@ cosmiconfig@^7.1.0: path-type "^4.0.0" yaml "^1.10.0" -create-require@^1.1.0: - version "1.1.1" - resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" - integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== - cross-spawn@^7.0.0, cross-spawn@^7.0.6: version "7.0.6" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.6.tgz#8a58fe78f00dcd70c370451759dfbfaf03e8ee9f" @@ -4329,11 +4269,6 @@ make-dir@^2.1.0: pify "^4.0.1" semver "^5.6.0" -make-error@^1.1.1: - version "1.3.6" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" - integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== - make-fetch-happen@^13.0.0, make-fetch-happen@^13.0.1: version "13.0.1" resolved "https://registry.yarnpkg.com/make-fetch-happen/-/make-fetch-happen-13.0.1.tgz#273ba2f78f45e1f3a6dca91cede87d9fa4821e36" @@ -6328,25 +6263,6 @@ ts-api-utils@^2.0.1: resolved "https://registry.yarnpkg.com/ts-api-utils/-/ts-api-utils-2.0.1.tgz#660729385b625b939aaa58054f45c058f33f10cd" integrity sha512-dnlgjFSVetynI8nzgJ+qF62efpglpWRk8isUEWZGWlJYySCTD6aKvbUDu+zbPeDakk3bg5H4XpitHukgfL1m9w== -ts-node@10.9.2: - version "10.9.2" - resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" - integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ== - dependencies: - "@cspotcode/source-map-support" "^0.8.0" - "@tsconfig/node10" "^1.0.7" - "@tsconfig/node12" "^1.0.7" - "@tsconfig/node14" "^1.0.0" - "@tsconfig/node16" "^1.0.2" - acorn "^8.4.1" - acorn-walk "^8.1.1" - arg "^4.1.0" - create-require "^1.1.0" - diff "^4.0.1" - make-error "^1.1.1" - v8-compile-cache-lib "^3.0.1" - yn "3.1.1" - tsconfig-paths@^4.1.2: version "4.2.0" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.2.0.tgz#ef78e19039133446d244beac0fd6a1632e2d107c" @@ -6588,11 +6504,6 @@ uuid@9.0.1: resolved "https://registry.yarnpkg.com/uuid/-/uuid-9.0.1.tgz#e188d4c8853cc722220392c424cd637f32293f30" integrity sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA== -v8-compile-cache-lib@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" - integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== - validate-npm-package-license@3.0.4, validate-npm-package-license@^3.0.1, validate-npm-package-license@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -6828,11 +6739,6 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yn@3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" - integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" From cc69c3203269fc07e4d5634cea4615dd8972b997 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:10:13 -0600 Subject: [PATCH 08/13] cmdline.ts --- text-runner-cli/src/cmdline.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/text-runner-cli/src/cmdline.ts b/text-runner-cli/src/cmdline.ts index 6f8614e41..552ba936e 100644 --- a/text-runner-cli/src/cmdline.ts +++ b/text-runner-cli/src/cmdline.ts @@ -18,8 +18,8 @@ export function parse(argv: string[]): { if ( path.basename(argv[0] || "") === "node" || path.win32.basename(argv[0] || "") === "node.exe" || - argv[0]?.includes("node_modules/ts-node") || - argv[0]?.includes("node_modules\\ts-node") || + argv[0]?.includes("node_modules/tsx") || + argv[0]?.includes("node_modules\\tsx") || argv[0]?.startsWith("/usr/bin/node") ) { argv.splice(0, 1) From 1e23d841178e961ec3697b9b910b6c85fe9f3817 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:40:03 -0600 Subject: [PATCH 09/13] package.json index.ts --- documentation/package.json | 3 +-- text-runner-core/src/configuration/index.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/documentation/package.json b/documentation/package.json index 39068e1fd..a2608af95 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -20,7 +20,6 @@ "textrun-make": "0.2.0", "textrun-npm": "0.2.0", "textrun-shell": "0.2.0", - "textrun-workspace": "0.2.0", - "tsx": "4.19.3" + "textrun-workspace": "0.2.0" } } diff --git a/text-runner-core/src/configuration/index.ts b/text-runner-core/src/configuration/index.ts index 5c0af62f9..2d40883e3 100644 --- a/text-runner-core/src/configuration/index.ts +++ b/text-runner-core/src/configuration/index.ts @@ -1,4 +1,4 @@ -export { APIData, CompleteAPIData, Data } from "./data.js" +export type { APIData, CompleteAPIData, Data } from "./data.js" export { addDefaults, defaults } from "./defaults.js" export { Publication } from "./publication.js" export { Publications } from "./publications.js" From 884a2b06833ffc2444cdeb41e2c2d1dde864dce9 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:42:12 -0600 Subject: [PATCH 10/13] .depcheckrc --- .depcheckrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.depcheckrc b/.depcheckrc index 2132f4f44..8335c7682 100644 --- a/.depcheckrc +++ b/.depcheckrc @@ -18,3 +18,4 @@ ignores: - textrun-repo - textrun-shell - textrun-workspace + - tsx From 2dde353e1b3dc6aee92c9cb502747ce5ce644405 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 13:50:31 -0600 Subject: [PATCH 11/13] text-run --- text-runner-cli/bin/text-run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text-runner-cli/bin/text-run b/text-runner-cli/bin/text-run index 782ab8481..839dab903 100755 --- a/text-runner-cli/bin/text-run +++ b/text-runner-cli/bin/text-run @@ -1,4 +1,4 @@ -#!/usr/bin/env node +#!/usr/bin/env -S npx tsx import { start } from "../dist/start.js" start() From 6ebec72a7aa2c9c62ad5ce2375821a99c306af0b Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 14:29:49 -0600 Subject: [PATCH 12/13] nthnth --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index fadcde543..2264ef921 100644 --- a/package.json +++ b/package.json @@ -50,7 +50,6 @@ "mocha": "11.1.0", "prettier": "3.5.1", "prettier-plugin-packagejson": "2.5.8", - "tsx": "4.19.3", "turbo": "2.4.2", "typescript": "5.7.3", "typescript-eslint": "8.24.1" From 21f39442cbba1dfd9529231a7cb8c3d962175426 Mon Sep 17 00:00:00 2001 From: Kevin Goslar Date: Fri, 21 Feb 2025 14:38:34 -0600 Subject: [PATCH 13/13] Makefile --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index bd74c074e..cbc434ba1 100644 --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ rebuild: # rebuilds all codebases even if their already exist clean: # remove all build artifacts env $(YARN_ARGS) yarn exec --silent -- turbo run clean $(TURBO_ARGS) + find . -name .turbo -type d | xargs rm -rf find . -name node_modules -type d | xargs rm -rf cuke: # runs all E2E tests