From 80ea396156fc581b78ec66f9daf8e537f5696512 Mon Sep 17 00:00:00 2001 From: "omegent-app[bot]" <306514130+omegent-app[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 10:25:07 +0000 Subject: [PATCH 1/2] chore: depend on the workspace @effect-app/cli The root devDependency was still the published 2.1.0-beta.35 tarball, which did not match the workspace package. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com> --- .changeset/pin-workspace-cli.md | 5 + package.json | 2 +- pnpm-lock.yaml | 291 +------------------------------- 3 files changed, 8 insertions(+), 290 deletions(-) create mode 100644 .changeset/pin-workspace-cli.md diff --git a/.changeset/pin-workspace-cli.md b/.changeset/pin-workspace-cli.md new file mode 100644 index 000000000..5078b3e73 --- /dev/null +++ b/.changeset/pin-workspace-cli.md @@ -0,0 +1,5 @@ +--- + +--- + +Pin the root devDependency on `@effect-app/cli` to the workspace package. diff --git a/package.json b/package.json index 957a67a38..7e2797eb6 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "devDependencies": { "@changesets/cli": "^2.31.0", - "@effect-app/cli": "2.1.0-beta.35", + "@effect-app/cli": "workspace:*", "@effect-app/eslint-codegen-model": "workspace:*", "@effect-app/infra": "workspace:*", "@effect/language-service": "0.87.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 10c319114..25a573957 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -33,8 +33,8 @@ importers: specifier: ^2.31.0 version: 2.31.0(patch_hash=95925d75f7717446362cdc612dba13b5c4df074f3ca64d90c068ff405c8e1b27)(@types/node@25.9.1) "@effect-app/cli": - specifier: 2.1.0-beta.35 - version: 2.1.0-beta.35(ioredis@5.9.3(supports-color@8.1.1)) + specifier: workspace:* + version: link:packages/cli "@effect-app/eslint-codegen-model": specifier: workspace:* version: link:packages/eslint-codegen-model @@ -1182,12 +1182,6 @@ packages: cpu: [x64] os: [win32] - "@effect-app/cli@2.1.0-beta.35": - resolution: { - integrity: sha512-L5PbxKXtGEooy+q57OVDp2g6+N36FD9EbxB1vAC6rWR3mrQkt4CHn4LBQ2tXUPEHi9RAGJaDLrBd/gD91i9JEA==, - } - hasBin: true - "@effect/atom-vue@4.0.1": resolution: { integrity: sha512-pYSTQv0/W/UkZasvV51B5MmNfYmkWJALUBsbVAHd0tNqALRAE3K5M6wGks7N29gnl6swQz3UkMYX9XWqHiMcCg==, @@ -1209,14 +1203,6 @@ packages: peerDependencies: effect: ^4.0.1 - "@effect/platform-node-shared@4.0.0-beta.86": - resolution: { - integrity: sha512-QNixdacCFZ001duRVZTIRUa6BS1YkU9cbC8yN7NnAMc0upUiIuLI6YO9jKMG3HetW1MjZ3PeSOzMM6nneUYPow==, - } - engines: { node: ">=18.0.0" } - peerDependencies: - effect: ^4.0.0-beta.86 - "@effect/platform-node-shared@4.0.1": resolution: { integrity: sha512-VanaejudEhKJ4mpmqnEzdncVUhN6sGSO9ZDND54mRxAlZxj+4dYAWjDTYAy9o4tJo9aALeP2U8cVcOFzEdSeLg==, @@ -1225,15 +1211,6 @@ packages: peerDependencies: effect: ^4.0.1 - "@effect/platform-node@4.0.0-beta.86": - resolution: { - integrity: sha512-K9omw3cICZAHV4caMD9ZVixmnMYZ97+5A8d11orza0VcJiSLoHmwiC9X9nxL+mAcFIUTMvKt4EVR7mCk5hbUzg==, - } - engines: { node: ">=18.0.0" } - peerDependencies: - effect: ^4.0.0-beta.86 - ioredis: ^5.7.0 - "@effect/platform-node@4.0.1": resolution: { integrity: sha512-FT0Fu5LO0/XP9zBpj0HqrtJNLluK4StNKqf6TSulUsjp8FPBsDVXGJiDuyoN5J2yVMT7tgvhxSwaDcObWVRIaQ==, @@ -2092,11 +2069,6 @@ packages: "@types/node": optional: true - "@ioredis/commands@1.5.0": - resolution: { - integrity: sha512-eUgLqrMf8nJkZxT24JvVRrQya1vZkQh8BBeYNwGDqa5I0VUi8ACx7uFvAaLxintokpTenkK6DASvo/bvNbBGow==, - } - "@isaacs/cliui@8.0.2": resolution: { integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==, @@ -2160,48 +2132,6 @@ packages: integrity: sha512-p7X/ytJDIdwUfFL/CLOhKgdfJe1Fa8uw9seJYvdOmnP9JBWGWHW69HkOixXS6Wy9yvGf1MbhcS6lVmrhy4jm2g==, } - "@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.4": - resolution: { - integrity: sha512-LCkGo6JDfaBhgST7UpPWgNgLINpcpabaHfyz5OBx75nUYxBsaEPxjnyNjWpeb/xBup/682QnBfRBy2/LvPutZQ==, - } - cpu: [arm64] - os: [darwin] - - "@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.4": - resolution: { - integrity: sha512-zExlW9zUJKZH/tOtVMttwjKa4Xm/3KcNjnE3dPN92uCktwavMxpgCA3MoJK/DOnTWsQgo224OaST27/mPNAf+w==, - } - cpu: [x64] - os: [darwin] - - "@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.4": - resolution: { - integrity: sha512-dgX0P/9wGPJeHFBG+ZmhgE6bmtMt7NP5CRBGyyktpopdk/mW4POnrpQsSLtKI1dwpc+pPLuXHDh6vvskyQE/sw==, - } - cpu: [arm64] - os: [linux] - - "@msgpackr-extract/msgpackr-extract-linux-arm@3.0.4": - resolution: { - integrity: sha512-Tg3yX65f5GbtXLkrYEHE5oibZG9epyYWas7FogTTEJeDEF9JlXJzKgXaNhT3UXlTOeA+AfZpYZYZ0uPj7Cfquw==, - } - cpu: [arm] - os: [linux] - - "@msgpackr-extract/msgpackr-extract-linux-x64@3.0.4": - resolution: { - integrity: sha512-8TNXMEjJc3QEy7R/x1INhgiU+XakDAFUzBhaz7+Rbrs8NH5UQeHQxxmzsSBJGyV6I1jW79undiQm8tOI+D+8FQ==, - } - cpu: [x64] - os: [linux] - - "@msgpackr-extract/msgpackr-extract-win32-x64@3.0.4": - resolution: { - integrity: sha512-CmCXPQrkbwExx3j946/PtHWHbYJiCRBRDl4BlkRQcJB/YOwQxJRTpoo7aTsortjgoJ1x7opzTSxn7C+ASSLVjQ==, - } - cpu: [x64] - os: [win32] - "@napi-rs/wasm-runtime@1.1.4": resolution: { integrity: sha512-3NQNNgA1YSlJb/kMH1ildASP9HW7/7kYnRI2szWJaofaS1hWmbGI4H+d3+22aGzXXN9IJ+n+GiFVcGipJP18ow==, @@ -5571,12 +5501,6 @@ packages: } engines: { node: ">=0.10" } - denque@2.1.0: - resolution: { - integrity: sha512-HVQE3AAb/pxF8fQAoiqpvg9i3evqug3hoiwakOyZAwJm+6vZehbkYXZ0l4JxS+I3QxM97v5aaRNhj8v5oBhekw==, - } - engines: { node: ">=0.10" } - dependency-tree@11.2.0: resolution: { integrity: sha512-+C1H3mXhcvMCeu5i2Jpg9dc0N29TWTuT6vJD7mHLAfVmAbo9zW8NlkvQ1tYd3PDMab0IRQM0ccoyX68EZtx9xw==, @@ -5734,11 +5658,6 @@ packages: engines: { node: ">=14" } hasBin: true - effect@4.0.0-beta.86: - resolution: { - integrity: sha512-+Y16hy3LhAju/FM3dz3Xp+aGi8dw9AtEzswcvwxREpeEPq+rL8TFS1PgWAO1+/3kKKH4bq9NdBGtfhHzM2K7Ow==, - } - effect@4.0.1: resolution: { integrity: sha512-b1VlQG9g8fwxE5QnIZuPoOP/0MsqHJSRKxUijjoM80E5q95FXrX5yWtY5XI8G+GJsBQAVSDbLS458z9a++uVvw==, @@ -6180,11 +6099,6 @@ packages: } engines: { node: ">=14.16" } - find-my-way-ts@0.1.6: - resolution: { - integrity: sha512-a85L9ZoXtNAey3Y6Z+eBWW658kO/MwR7zIafkIUPUMf3isZG0NCs2pjW2wtjxAKuJPxMAsHUIP4ZPGv0o5gyTA==, - } - find-up@4.1.0: resolution: { integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==, @@ -6588,12 +6502,6 @@ packages: integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==, } - ini@7.0.0: - resolution: { - integrity: sha512-ifK0CgjALofS5bkrcTy4RaQ9Vx2Knf/eLeIO+NaswQEpH1UblrtTSCIvN71qQDMq0PeQ/SSPojvEJp9vvvfr+w==, - } - engines: { node: ^22.22.2 || ^24.15.0 || >=26.0.0 } - internal-slot@1.1.0: resolution: { integrity: sha512-4gd7VpWNQNB4UKKCFFVcp1AVv+FMOgs9NKzjHKusc8jTMhd5eL1NqQqOpE0KzMds804/yHlglp3uxgluOqAPLw==, @@ -6605,12 +6513,6 @@ packages: integrity: sha512-+q6Ktg119nULZEpZ8YTuGOst9MyEzFtjD63FTGBlN1mLz0Z/MOUYDIvnpVKwq17eezIEh+cfJIebfJoCetpiNw==, } - ioredis@5.9.3: - resolution: { - integrity: sha512-VI5tMCdeoxZWU5vjHWsiE/Su76JGhBvWF1MJnV9ZtGltHk9BmD48oDq8Tj8haZ85aceXZMxLNDQZRVo5QKNgXA==, - } - engines: { node: ">=12.22.0" } - is-arguments@1.2.0: resolution: { integrity: sha512-7bVbi0huj/wrIAOzb8U1aszg9kdi3KN/CyU19CTI7tAoZYEZoL9yCDXpbXN+uPsuWnP02cyug1gleqq+TU+YCA==, @@ -7032,11 +6934,6 @@ packages: integrity: sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==, } - kubernetes-types@1.30.0: - resolution: { - integrity: sha512-Dew1okvhM/SQcIa2rcgujNndZwU8VnSapDgdxlYoB84ZlpAD43U6KLAFqYo17ykSFGHNPrg0qry0bP+GJd9v7Q==, - } - levn@0.4.1: resolution: { integrity: sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==, @@ -7172,16 +7069,6 @@ packages: } engines: { node: ">=10" } - lodash.defaults@4.2.0: - resolution: { - integrity: sha512-qjxPLHd3r5DnsdGacqOMU6pb/avJzdh9tFX2ymgoZE27BmjXrNy/y4LoaiTeAb+O3gL8AfpJGtqfX/ae2leYYQ==, - } - - lodash.isarguments@3.1.0: - resolution: { - integrity: sha512-chi4NHZlZqZD18a0imDHnZPrDeBbTtVN7GXMwuGdRH9qotxAjYs3aVLKc7zNOG9eddR5Ksd8rvFEBc9SsggPpg==, - } - lodash.startcase@4.4.0: resolution: { integrity: sha512-+WKqsK294HMSc2jEbNgpHpd0JfIBhp7rEV4aqXWqFr6AlXov+SlcgB1Fv01y2kGe3Gc8nMW7VA0SrGuSkRfIEg==, @@ -7340,13 +7227,6 @@ packages: } engines: { node: ">= 0.6" } - mime@4.1.0: - resolution: { - integrity: sha512-X5ju04+cAzsojXKes0B/S4tcYtFAJ6tTMuSPBEn9CPGlrWr8Fiw7qYeLT0XyH80HSoAoqWCaz+MWKh22P7G1cw==, - } - engines: { node: ">=16" } - hasBin: true - mimic-fn@2.1.0: resolution: { integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==, @@ -7484,27 +7364,11 @@ packages: integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==, } - msgpackr-extract@3.0.4: - resolution: { - integrity: sha512-4kmO/MdyUIkLIvTPr8VHLil4AtoKIoniWPIEk5+CDy0xnWC84azhSFmuJ7PxZdsYtiP5kEeQsORAVIeMgxT+Hw==, - } - hasBin: true - - msgpackr@2.1.0: - resolution: { - integrity: sha512-p/pBCVO63CsvvpkomUnNNag6+n38rULuDA6HHe70o2gtC8ODI52foF/4ko2qQcp6OiErJXTmrZeXmsGGHsIQNQ==, - } - muggle-string@0.4.1: resolution: { integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==, } - multipasta@0.2.8: - resolution: { - integrity: sha512-ZPWuMKyv0cSO29f7hozp+k6+crZbQijV8ipMvxNxRf2SwtYGTX1ZX89Kd20VV4H9Znonx+EQn+iy1wGQsJ+b+Q==, - } - nanoid@3.3.12: resolution: { integrity: sha512-ZB9RH/39qpq5Vu6Y+NmUaFhQR6pp+M2Xt76XBnEwDaGcVAqhlvxrl3B2bKS5D3NH3QR76v3aSrKaF/Kiy7lEtQ==, @@ -7550,12 +7414,6 @@ packages: integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==, } - node-gyp-build-optional-packages@5.2.2: - resolution: { - integrity: sha512-s+w+rBWnpTMwSFbaE0UXsRlg7hU4FjekKU4eyAih5T8nJuNZT1nNsskXpxmeqSK9UzkBl6UgRlnKc8hz8IEqOw==, - } - hasBin: true - node-releases@2.0.27: resolution: { integrity: sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA==, @@ -8633,11 +8491,6 @@ packages: integrity: sha512-1XMJE5fQo1jGH6Y/7ebnwPOBEkIEnT4QF32d5R1+VXdXveM0IBMJt8zfaxX1P3QhVwrYe+576+jkANtSS2mBbw==, } - standard-as-callback@2.1.0: - resolution: { - integrity: sha512-qoRRSyROncaz1z0mvYqIE4lCd9p2R90i6GxW3uZv5ucSu8tU7B5HXUP1gG8pVZsYNVaXjk8ClXHPttLyxAL48A==, - } - std-env@4.0.0: resolution: { integrity: sha512-zUMPtQ/HBY3/50VbpkupYHbRroTRZJPRLvreamgErJVys0ceuzMkD44J/QjqhHjOzK42GQ3QZIeFG1OYfOtKqQ==, @@ -8935,12 +8788,6 @@ packages: integrity: sha512-VSsyNPPW74RpHwR8Fc21uubwHY7wMDeJLys2IX5zJNih+OnAnaifKHo+1LHT7DAdloQ7apeaaWg8l7qnf/TnEg==, } - toml@4.3.0: - resolution: { - integrity: sha512-lVb8X9BsPVuH0M4BKeS91tXAmJvCjQ5UIyAbQFaxkKGyUFK2RPkhwaFSQH8vbpl1d23eu/IBH+dwVMHWaq9A5A==, - } - engines: { node: ">=20" } - tough-cookie@6.0.1: resolution: { integrity: sha512-LktZQb3IeoUWB9lqR5EWTHgW/VTITCXg4D21M+lvybRVdylLrRMnqaIONLVb5mav8vM19m44HIcGq4qASeu2Qw==, @@ -9115,12 +8962,6 @@ packages: } engines: { node: ">=22.19.0" } - undici@8.3.0: - resolution: { - integrity: sha512-TkUDgb6tl7KOGZ+7e8E3d2FYgUQgF6z5YypqjWmixVQSQERFcVrVg0ySADm2LVLRh5ljAaHTCR5Fmz3Q34rB7Q==, - } - engines: { node: ">=22.19.0" } - unist-util-is@6.0.1: resolution: { integrity: sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==, @@ -9200,12 +9041,6 @@ packages: integrity: sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==, } - uuid@14.0.2: - resolution: { - integrity: sha512-xZe/16rV4aa+HGSOCiY2YeLT1OybRLrrkL/Rqaq7p7GMVXjFh+6wN4oMYgjFmnSnhY8t6Xpdl2l9qmnHYuMHwQ==, - } - hasBin: true - validator@13.15.35: resolution: { integrity: sha512-TQ5pAGhd5whStmqWvYF4OjQROlmv9SMFVt37qoCBdqRffuuklWYQlCNnEs2ZaIBD1kZRNnikiZOS1eqgkar0iw==, @@ -10309,16 +10144,6 @@ snapshots: "@dprint/win32-x64@0.54.0": optional: true - "@effect-app/cli@2.1.0-beta.35(ioredis@5.9.3(supports-color@8.1.1))": - dependencies: - "@effect/platform-node": 4.0.0-beta.86(effect@4.0.0-beta.86)(ioredis@5.9.3(supports-color@8.1.1)) - effect: 4.0.0-beta.86 - js-yaml: 4.2.0 - transitivePeerDependencies: - - bufferutil - - ioredis - - utf-8-validate - "@effect/atom-vue@4.0.1(effect@4.0.1)(vue@3.5.35(typescript@6.0.3(patch_hash=6a20b8df080eb8a9c34008e1802ecfd839f4e90e07f1ee97f78694dbd95a520e)))": dependencies: effect: 4.0.1 @@ -10330,15 +10155,6 @@ snapshots: dependencies: effect: 4.0.1 - "@effect/platform-node-shared@4.0.0-beta.86(effect@4.0.0-beta.86)": - dependencies: - "@types/ws": 8.18.1 - effect: 4.0.0-beta.86 - ws: 8.22.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - "@effect/platform-node-shared@4.0.1(effect@4.0.1)": dependencies: "@types/ws": 8.18.1 @@ -10348,17 +10164,6 @@ snapshots: - bufferutil - utf-8-validate - "@effect/platform-node@4.0.0-beta.86(effect@4.0.0-beta.86)(ioredis@5.9.3(supports-color@8.1.1))": - dependencies: - "@effect/platform-node-shared": 4.0.0-beta.86(effect@4.0.0-beta.86) - effect: 4.0.0-beta.86 - ioredis: 5.9.3(supports-color@8.1.1) - mime: 4.1.0 - undici: 8.3.0 - transitivePeerDependencies: - - bufferutil - - utf-8-validate - "@effect/platform-node@4.0.1(effect@4.0.1)(redis@6.2.1(@opentelemetry/api@1.9.1))": dependencies: "@effect/platform-node-shared": 4.0.1(effect@4.0.1) @@ -10758,8 +10563,6 @@ snapshots: optionalDependencies: "@types/node": 25.9.1 - "@ioredis/commands@1.5.0": {} - "@isaacs/cliui@8.0.2": dependencies: string-width: 5.1.2 @@ -10818,24 +10621,6 @@ snapshots: dependencies: sparse-bitfield: 3.0.3 - "@msgpackr-extract/msgpackr-extract-darwin-arm64@3.0.4": - optional: true - - "@msgpackr-extract/msgpackr-extract-darwin-x64@3.0.4": - optional: true - - "@msgpackr-extract/msgpackr-extract-linux-arm64@3.0.4": - optional: true - - "@msgpackr-extract/msgpackr-extract-linux-arm@3.0.4": - optional: true - - "@msgpackr-extract/msgpackr-extract-linux-x64@3.0.4": - optional: true - - "@msgpackr-extract/msgpackr-extract-win32-x64@3.0.4": - optional: true - "@napi-rs/wasm-runtime@1.1.4(@emnapi/core@1.10.0)(@emnapi/runtime@1.10.0)": dependencies: "@emnapi/core": 1.10.0 @@ -12913,8 +12698,6 @@ snapshots: denque@1.5.1: {} - denque@2.1.0: {} - dependency-tree@11.2.0(supports-color@8.1.1): dependencies: commander: 12.1.0 @@ -13039,19 +12822,6 @@ snapshots: minimatch: 9.0.1 semver: 7.7.3 - effect@4.0.0-beta.86: - dependencies: - "@standard-schema/spec": 1.1.0 - fast-check: 4.9.0 - find-my-way-ts: 0.1.6 - ini: 7.0.0 - kubernetes-types: 1.30.0 - msgpackr: 2.1.0 - multipasta: 0.2.8 - toml: 4.3.0 - uuid: 14.0.2 - yaml: 2.9.0 - effect@4.0.1: {} electron-to-chromium@1.5.267: @@ -13506,8 +13276,6 @@ snapshots: filter-obj@5.1.0: {} - find-my-way-ts@0.1.6: {} - find-up@4.1.0: dependencies: locate-path: 5.0.0 @@ -13798,8 +13566,6 @@ snapshots: ini@1.3.8: {} - ini@7.0.0: {} - internal-slot@1.1.0: dependencies: es-errors: 1.3.0 @@ -13811,20 +13577,6 @@ snapshots: "@formatjs/fast-memoize": 3.1.5 "@formatjs/icu-messageformat-parser": 3.5.10 - ioredis@5.9.3(supports-color@8.1.1): - dependencies: - "@ioredis/commands": 1.5.0 - cluster-key-slot: 1.1.2 - debug: 4.4.3(supports-color@8.1.1) - denque: 2.1.0 - lodash.defaults: 4.2.0 - lodash.isarguments: 3.1.0 - redis-errors: 1.2.0 - redis-parser: 3.0.0 - standard-as-callback: 2.1.0 - transitivePeerDependencies: - - supports-color - is-arguments@1.2.0: dependencies: call-bound: 1.0.4 @@ -14102,8 +13854,6 @@ snapshots: dependencies: json-buffer: 3.0.1 - kubernetes-types@1.30.0: {} - levn@0.4.1: dependencies: prelude-ls: 1.2.1 @@ -14183,10 +13933,6 @@ snapshots: dependencies: p-locate: 5.0.0 - lodash.defaults@4.2.0: {} - - lodash.isarguments@3.1.0: {} - lodash.startcase@4.4.0: {} log-symbols@4.1.0: @@ -14292,8 +14038,6 @@ snapshots: dependencies: mime-db: 1.52.0 - mime@4.1.0: {} - mimic-fn@2.1.0: {} mimic-response@3.1.0: {} @@ -14362,26 +14106,8 @@ snapshots: ms@2.1.3: {} - msgpackr-extract@3.0.4: - dependencies: - node-gyp-build-optional-packages: 5.2.2 - optionalDependencies: - "@msgpackr-extract/msgpackr-extract-darwin-arm64": 3.0.4 - "@msgpackr-extract/msgpackr-extract-darwin-x64": 3.0.4 - "@msgpackr-extract/msgpackr-extract-linux-arm": 3.0.4 - "@msgpackr-extract/msgpackr-extract-linux-arm64": 3.0.4 - "@msgpackr-extract/msgpackr-extract-linux-x64": 3.0.4 - "@msgpackr-extract/msgpackr-extract-win32-x64": 3.0.4 - optional: true - - msgpackr@2.1.0: - optionalDependencies: - msgpackr-extract: 3.0.4 - muggle-string@0.4.1: {} - multipasta@0.2.8: {} - nanoid@3.3.12: {} nanoid@5.1.11: {} @@ -14402,11 +14128,6 @@ snapshots: node-addon-api@7.1.1: optional: true - node-gyp-build-optional-packages@5.2.2: - dependencies: - detect-libc: 2.1.2 - optional: true - node-releases@2.0.27: optional: true @@ -15352,8 +15073,6 @@ snapshots: stackback@0.0.2: {} - standard-as-callback@2.1.0: {} - std-env@4.0.0: {} stop-iteration-iterator@1.1.0: @@ -15563,8 +15282,6 @@ snapshots: token-stream@1.0.0: {} - toml@4.3.0: {} - tough-cookie@6.0.1: dependencies: tldts: 7.0.19 @@ -15690,8 +15407,6 @@ snapshots: undici@8.11.2: {} - undici@8.3.0: {} - unist-util-is@6.0.1: dependencies: "@types/unist": 3.0.3 @@ -15760,8 +15475,6 @@ snapshots: is-typed-array: 1.1.15 which-typed-array: 1.1.20 - uuid@14.0.2: {} - validator@13.15.35: {} vfile-message@4.0.3: From b2a6d64fdae56e15a0be08cdfc6a832f776d60f5 Mon Sep 17 00:00:00 2001 From: "omegent-app[bot]" <306514130+omegent-app[bot]@users.noreply.github.com> Date: Tue, 6 Oct 2026 10:45:22 +0000 Subject: [PATCH 2/2] chore: run the workspace CLI from TypeScript source Node 24 strips types, so the workspace entry loads packages/cli/src and the root build no longer compiles the CLI before the other packages. The published manifest still points at dist JavaScript, because Node will not run TypeScript inside node_modules. Co-authored-by: Patrick Roza <42661+patroza@users.noreply.github.com> --- .changeset/pin-workspace-cli.md | 2 +- package.json | 3 +- packages/cli/bin.js | 2 +- packages/cli/package.json | 90 ++++++++++++++++----- packages/cli/src/gist.ts | 2 +- packages/cli/src/index.ts | 21 ++--- packages/cli/src/sync-effect-app-subtree.ts | 2 +- packages/cli/src/sync-effect-subtree.ts | 2 +- packages/cli/src/sync-shared.ts | 2 +- packages/cli/tsconfig.json | 1 + 10 files changed, 90 insertions(+), 37 deletions(-) diff --git a/.changeset/pin-workspace-cli.md b/.changeset/pin-workspace-cli.md index 5078b3e73..0130e63cb 100644 --- a/.changeset/pin-workspace-cli.md +++ b/.changeset/pin-workspace-cli.md @@ -2,4 +2,4 @@ --- -Pin the root devDependency on `@effect-app/cli` to the workspace package. +Pin the root devDependency on `@effect-app/cli` to the workspace package, and run that package from TypeScript source so the monorepo does not have to compile it first. diff --git a/package.json b/package.json index 7e2797eb6..9ba85d25b 100644 --- a/package.json +++ b/package.json @@ -2,6 +2,7 @@ "private": true, "packageManager": "pnpm@11.18.0", "engines": { + "node": ">=24", "pnpm": ">= 11.0.0" }, "scripts": { @@ -32,7 +33,7 @@ "build:tsc": "pnpm check && node scripts/rewrite-dist-declaration-imports.mjs", "check": "tsgo --build ./tsconfig.all.json", "watch": "pnpm build:tsc --watch", - "build": "cd packages/eslint-shared-config && pnpm build && cd ../.. && cd packages/cli && pnpm build && cd .. && pnpm build:tsc && cd vue-components && pnpm build", + "build": "cd packages/eslint-shared-config && pnpm build && cd ../.. && pnpm build:tsc && cd packages/vue-components && pnpm build", "rbuild": "pnpm clean && pnpm build", "nnm": "find . -name 'node_modules' -type d -prune -exec rm -rf '{}' + && pnpm i", "prepare": "node -e \"const v=require('typescript/package.json').version;if(v.startsWith('6.')){require('child_process').execSync('effect-language-service patch',{stdio:'inherit'})}else{console.log('Skipping effect-language-service patch for TypeScript '+v)}\" && effect-tsgo patch --no-typescript --oxlint && node scripts/install-git-hooks.mjs", diff --git a/packages/cli/bin.js b/packages/cli/bin.js index 9c4ff2202..c37c4113d 100755 --- a/packages/cli/bin.js +++ b/packages/cli/bin.js @@ -1,2 +1,2 @@ #!/usr/bin/env node -import "@effect-app/cli" +import "./src/index.ts" diff --git a/packages/cli/package.json b/packages/cli/package.json index e1ffcdc76..d82334393 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -27,46 +27,46 @@ "typesVersions": { "*": { "*": [ - "dist/*" + "src/*" ] } }, "exports": { ".": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" + "types": "./src/index.ts", + "default": "./src/index.ts" }, "./argv-patch": { - "types": "./dist/argv-patch.d.ts", - "default": "./dist/argv-patch.js" + "types": "./src/argv-patch.ts", + "default": "./src/argv-patch.ts" }, "./extract": { - "types": "./dist/extract.d.ts", - "default": "./dist/extract.js" + "types": "./src/extract.ts", + "default": "./src/extract.ts" }, "./gist": { - "types": "./dist/gist.d.ts", - "default": "./dist/gist.js" + "types": "./src/gist.ts", + "default": "./src/gist.ts" }, "./os-command": { - "types": "./dist/os-command.d.ts", - "default": "./dist/os-command.js" + "types": "./src/os-command.ts", + "default": "./src/os-command.ts" }, "./shared": { - "types": "./dist/shared.d.ts", - "default": "./dist/shared.js" + "types": "./src/shared.ts", + "default": "./src/shared.ts" }, "./sync-effect-subtree": { - "types": "./dist/sync-effect-subtree.d.ts", - "default": "./dist/sync-effect-subtree.js" + "types": "./src/sync-effect-subtree.ts", + "default": "./src/sync-effect-subtree.ts" }, "./sync-effect-app-subtree": { - "types": "./dist/sync-effect-app-subtree.d.ts", - "default": "./dist/sync-effect-app-subtree.js" + "types": "./src/sync-effect-app-subtree.ts", + "default": "./src/sync-effect-app-subtree.ts" }, "./sync-shared": { - "types": "./dist/sync-shared.d.ts", - "default": "./dist/sync-shared.js" + "types": "./src/sync-shared.ts", + "default": "./src/sync-shared.ts" } }, "scripts": { @@ -103,6 +103,56 @@ ], "publishConfig": { "directory": ".publish", - "linkDirectory": false + "linkDirectory": false, + "bin": { + "effect-app": "./dist/index.js", + "effa": "./dist/index.js", + "effect-app-cli": "./dist/index.js" + }, + "typesVersions": { + "*": { + "*": [ + "dist/*" + ] + } + }, + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + }, + "./argv-patch": { + "types": "./dist/argv-patch.d.ts", + "default": "./dist/argv-patch.js" + }, + "./extract": { + "types": "./dist/extract.d.ts", + "default": "./dist/extract.js" + }, + "./gist": { + "types": "./dist/gist.d.ts", + "default": "./dist/gist.js" + }, + "./os-command": { + "types": "./dist/os-command.d.ts", + "default": "./dist/os-command.js" + }, + "./shared": { + "types": "./dist/shared.d.ts", + "default": "./dist/shared.js" + }, + "./sync-effect-subtree": { + "types": "./dist/sync-effect-subtree.d.ts", + "default": "./dist/sync-effect-subtree.js" + }, + "./sync-effect-app-subtree": { + "types": "./dist/sync-effect-app-subtree.d.ts", + "default": "./dist/sync-effect-app-subtree.js" + }, + "./sync-shared": { + "types": "./dist/sync-shared.d.ts", + "default": "./dist/sync-shared.js" + } + } } } diff --git a/packages/cli/src/gist.ts b/packages/cli/src/gist.ts index 929cf41f8..f1c5ca7bb 100644 --- a/packages/cli/src/gist.ts +++ b/packages/cli/src/gist.ts @@ -20,7 +20,7 @@ import * as SynchronizedRef from "effect/SynchronizedRef" import * as yaml from "js-yaml" import path from "path" -import { RunCommandService } from "./os-command.js" +import { RunCommandService } from "./os-command.ts" export class GistError extends Data.TaggedError("GistError")<{ message: string }> {} diff --git a/packages/cli/src/index.ts b/packages/cli/src/index.ts index 53c2c2f7e..3f5e0177a 100644 --- a/packages/cli/src/index.ts +++ b/packages/cli/src/index.ts @@ -1,3 +1,4 @@ +#!/usr/bin/env node /* eslint-disable no-constant-binary-expression */ /* eslint-disable no-empty-pattern */ // import necessary modules from the libraries @@ -10,16 +11,16 @@ import * as Layer from "effect/Layer" import * as Option from "effect/Option" import * as Path from "effect/Path" import * as Stream from "effect/Stream" -import { ExtractExportMappingsService } from "./extract.js" -import { GistHandler } from "./gist.js" -import { RunCommandService } from "./os-command.js" -import { packages } from "./shared.js" - -import { patchArgvForWrapCommands } from "./argv-patch.js" -import { syncEffectAppSubtree } from "./sync-effect-app-subtree.js" -import { syncEffectSubtree } from "./sync-effect-subtree.js" -import { syncDiff, syncPush, syncShared } from "./sync-shared.js" -import { makeNcuUpdateCommand } from "./update-packages.js" +import { ExtractExportMappingsService } from "./extract.ts" +import { GistHandler } from "./gist.ts" +import { RunCommandService } from "./os-command.ts" +import { packages } from "./shared.ts" + +import { patchArgvForWrapCommands } from "./argv-patch.ts" +import { syncEffectAppSubtree } from "./sync-effect-app-subtree.ts" +import { syncEffectSubtree } from "./sync-effect-subtree.ts" +import { syncDiff, syncPush, syncShared } from "./sync-shared.ts" +import { makeNcuUpdateCommand } from "./update-packages.ts" patchArgvForWrapCommands(process.argv) diff --git a/packages/cli/src/sync-effect-app-subtree.ts b/packages/cli/src/sync-effect-app-subtree.ts index 59e9cbb56..00aa657ec 100644 --- a/packages/cli/src/sync-effect-app-subtree.ts +++ b/packages/cli/src/sync-effect-app-subtree.ts @@ -3,7 +3,7 @@ import * as Effect from "effect/Effect" import * as FileSystem from "effect/FileSystem" import * as Option from "effect/Option" import * as Path from "node:path" -import { RunCommandService } from "./os-command.js" +import { RunCommandService } from "./os-command.ts" export interface SyncEffectAppConfig { readonly manifestPaths: ReadonlyArray diff --git a/packages/cli/src/sync-effect-subtree.ts b/packages/cli/src/sync-effect-subtree.ts index a307fb643..a87d823d3 100644 --- a/packages/cli/src/sync-effect-subtree.ts +++ b/packages/cli/src/sync-effect-subtree.ts @@ -1,7 +1,7 @@ import * as Effect from "effect/Effect" import * as FileSystem from "effect/FileSystem" import * as Option from "effect/Option" -import { RunCommandService } from "./os-command.js" +import { RunCommandService } from "./os-command.ts" export interface SyncEffectConfig { readonly manifestPaths: ReadonlyArray diff --git a/packages/cli/src/sync-shared.ts b/packages/cli/src/sync-shared.ts index 978374a38..2ad967a93 100644 --- a/packages/cli/src/sync-shared.ts +++ b/packages/cli/src/sync-shared.ts @@ -1,7 +1,7 @@ import * as Effect from "effect/Effect" import * as FileSystem from "effect/FileSystem" import * as Path from "effect/Path" -import { RunCommandService } from "./os-command.js" +import { RunCommandService } from "./os-command.ts" /** * Project-side lockfile shape (`.shared.json`). diff --git a/packages/cli/tsconfig.json b/packages/cli/tsconfig.json index 069b63731..6326ef26c 100644 --- a/packages/cli/tsconfig.json +++ b/packages/cli/tsconfig.json @@ -7,6 +7,7 @@ "moduleResolution": "Node16", "outDir": "./dist", "rootDir": "./src", + "verbatimModuleSyntax": true, "tsBuildInfoFile": "./dist/.tsbuildinfo" }, "include": [