易良 and Qwen-Coder
bab0e99d89
fix(build): re-apply the ink patch when install skipped lifecycle scripts ( #14170 )
...
packages/cli compiles against ink frame-controller types that only
patches/ink+7.0.3.patch adds; pristine [email protected] exports none of them. That
patch reaches node_modules through the root postinstall, so an install that
skipped lifecycle scripts (--ignore-scripts, or ignore-scripts=true in the
user's npm/pnpm config) leaves pristine ink in place and the build fails with
~50 errors that all blame ink -- which sends a reporter to compare ink
versions on npm instead of to the missing patch. Because noEmitOnError is
unset, tsc still emitted a dist that runs with text selection broken.
scripts/build.js already heals a missing node_modules; heal a missing patch
the same way. frame-controller.d.ts is created by that patch and absent from
pristine [email protected] , so its absence is the signal. If re-applying still does
not produce it, name the patch rather than letting tsc point at ink.
Fixes #14110
Co-authored-by: Qwen-Coder <[email protected] >
2026-10-14 10:03:12 +00:00
..
2026-08-22 12:39:08 +00:00
2026-09-20 02:11:25 +00:00
2026-08-05 12:14:42 +00:00
2026-09-25 05:41:25 +00:00
2026-09-21 15:38:36 +00:00
2026-09-01 17:41:00 +00:00
2026-09-02 11:38:33 +00:00
2026-08-11 05:47:39 +00:00
2026-08-29 13:22:34 +00:00
2026-10-10 05:43:18 +00:00
2026-10-10 05:43:18 +00:00
2026-09-06 11:21:50 +00:00
2026-10-14 06:50:19 +00:00
2026-10-14 00:58:38 +00:00
2026-10-14 00:58:38 +00:00
2026-07-11 00:07:03 +00:00
2026-09-20 02:11:25 +00:00
2026-09-14 11:17:19 +00:00
2026-06-29 11:54:11 +00:00
2026-08-16 03:27:00 +00:00
2026-09-03 03:21:03 +00:00
2026-10-13 09:38:47 +00:00
2026-07-10 06:39:52 +00:00
2026-10-12 16:00:23 +00:00
2026-10-03 13:48:26 +00:00
2026-08-04 03:48:24 +00:00
2026-09-10 03:33:27 +00:00
2026-09-20 09:10:36 +00:00
2026-09-22 05:28:28 +00:00
2026-09-22 05:28:28 +00:00
2026-09-10 03:13:05 +00:00
2026-09-02 09:13:49 +00:00
2026-09-28 02:31:36 +00:00
2026-10-13 16:14:52 +00:00
2026-09-25 05:41:25 +00:00
2026-09-29 16:04:14 +00:00
2026-09-08 15:45:07 +00:00
2026-10-10 09:04:02 +00:00
2026-08-26 07:11:15 +00:00
2026-10-14 06:50:19 +00:00
2026-09-05 23:40:57 +00:00
2026-09-10 06:33:33 +00:00
2026-09-10 07:15:32 +00:00
2026-08-17 00:12:04 +00:00
2026-08-17 00:12:04 +00:00
2026-05-05 19:25:00 +08:00
2026-10-02 06:49:12 +00:00
2026-10-14 02:25:32 +00:00
2026-10-10 16:52:23 +00:00
2026-09-06 11:21:50 +00:00
2026-08-31 01:20:35 +00:00
2026-10-08 09:09:39 +00:00
2026-08-03 10:20:42 +00:00
2026-09-23 02:54:57 +00:00
2026-09-29 03:45:46 +00:00
2026-10-05 12:44:27 +00:00
2026-09-20 02:11:25 +00:00
2026-10-06 14:05:24 +00:00
2026-10-11 16:42:22 +00:00
2026-10-14 00:58:38 +00:00
2026-10-12 11:16:36 +00:00
2026-10-03 12:02:48 +00:00
2026-09-30 06:50:21 +00:00
2026-08-27 12:28:08 +00:00
2026-08-27 12:28:08 +00:00
2026-09-14 04:49:03 +00:00
2026-09-06 11:21:50 +00:00
2026-09-06 11:21:50 +00:00
2026-08-23 14:41:49 +00:00
2026-08-23 14:41:49 +00:00
2026-10-13 14:44:35 +00:00
2026-10-14 10:03:12 +00:00
2026-07-03 07:40:07 +00:00
2026-08-15 17:32:23 +00:00
2026-08-22 18:47:00 +00:00
2026-10-08 00:59:56 +00:00
2026-09-20 01:01:40 +00:00
2026-09-15 07:24:21 +00:00
2026-09-20 02:11:25 +00:00
2026-09-06 05:51:06 +00:00
2026-10-13 06:12:21 +00:00
2026-07-26 15:51:22 +00:00
2026-10-11 06:57:17 +00:00
2026-10-08 09:09:39 +00:00
2026-05-05 10:15:17 +08:00
2026-09-09 12:59:56 +00:00
2026-09-23 02:54:57 +00:00
2026-10-10 01:23:55 +00:00
2026-08-31 07:37:15 +00:00
2026-08-23 14:41:49 +00:00
2026-09-23 00:26:17 +00:00
2026-10-14 06:50:19 +00:00
2026-10-03 12:02:48 +00:00
2026-09-20 23:41:24 +00:00
2026-10-03 12:02:48 +00:00
2026-10-14 08:23:43 +00:00
2026-08-21 07:43:32 +00:00
2026-09-25 05:41:25 +00:00
2026-09-20 02:11:25 +00:00
2026-08-30 14:38:54 +00:00
2026-09-16 07:24:11 +00:00
2026-10-14 06:50:19 +00:00
2026-08-29 13:22:34 +00:00
2026-09-25 10:13:38 +00:00
2026-10-03 12:02:48 +00:00
2026-08-26 07:11:15 +00:00
2026-09-06 11:21:50 +00:00
2026-09-10 07:15:32 +00:00
2026-10-11 12:58:55 +00:00
2026-09-05 01:08:43 +00:00
2026-09-02 12:21:31 +00:00
2026-09-06 08:46:27 +00:00
2026-08-18 13:19:09 +00:00
2026-10-14 06:50:19 +00:00
2026-08-29 16:37:47 +00:00
2026-10-13 09:38:47 +00:00
2026-09-13 09:50:26 +00:00
2026-08-05 12:14:42 +00:00
2026-10-10 09:07:05 +00:00
2026-09-25 05:41:25 +00:00