@imfusion/web-ui 0.10.0 → 0.10.1-dev.2.gb6347f49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -10,8 +10,8 @@ allowed-tools: Bash Read Grep Skill
|
|
|
10
10
|
|
|
11
11
|
# Update Web UI
|
|
12
12
|
|
|
13
|
-
This workflow has two possible commits: the package/tooling update
|
|
14
|
-
Never overwrite user changes or commit without fresh approval.
|
|
13
|
+
This workflow has two possible commits: the package/tooling update with the fixes its `Breaking` entries require, then an
|
|
14
|
+
optional consumer migration. Keep them separate. Never overwrite user changes or commit without fresh approval.
|
|
15
15
|
|
|
16
16
|
## Before you start
|
|
17
17
|
|
|
@@ -20,7 +20,8 @@ Invoke `imf-web-ui-user-profile` first and explain at its levels throughout.
|
|
|
20
20
|
Open with a short orientation, before any command runs, so the person knows the route and when they will be asked:
|
|
21
21
|
|
|
22
22
|
1. **Preflight**: check the project and stop on uncommitted work.
|
|
23
|
-
2. **Base update**: install the new package, refresh the skills and hooks,
|
|
23
|
+
2. **Base update**: install the new package, refresh the skills and hooks, fix what the `Breaking` entries require, verify,
|
|
24
|
+
then ask to commit.
|
|
24
25
|
3. **Migration check**: read what the new releases changed and report what this project needs; changes and their separate
|
|
25
26
|
commit wait for approval.
|
|
26
27
|
4. **Full audit**: offer `imf-web-ui-audit full`, a read-only check of the whole project against the conventions, wider than
|
|
@@ -88,16 +89,23 @@ installer-owned entries idempotently into the registration file for the chosen h
|
|
|
88
89
|
do not stack an event the project already covers.
|
|
89
90
|
|
|
90
91
|
After the installer command, inspect the installed skill diffs and briefly report any guidance changes; version-marker
|
|
91
|
-
changes alone do not count.
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
changes alone do not count.
|
|
93
|
+
|
|
94
|
+
Then re-read, in full, every changed skill and reference the remaining work uses, starting with this update skill when it
|
|
95
|
+
changed. A diff shows what moved, not the step order you continue under, so it does not replace the re-read. Continue from
|
|
96
|
+
the current step using the updated guidance, keeping the original baseline, user choices, and completed changes in mind.
|
|
97
|
+
Check for newly required steps without repeating completed mutations or expanding the approved scope.
|
|
95
98
|
|
|
96
99
|
## Verify the base update
|
|
97
100
|
|
|
98
101
|
After every mutating command, compare the status with the preflight snapshot. Stop on an unexpected path or overlapping
|
|
99
102
|
change.
|
|
100
103
|
|
|
104
|
+
Read every `Breaking` entry and migration step in `node_modules/@imfusion/web-ui/CHANGELOG.md` between the pre-update and the
|
|
105
|
+
new version, keeping for a prerelease baseline only the ones the dist diff in the migration check confirms, and map each to
|
|
106
|
+
its call sites here. Fix the ones with matching code in the base update, so the update commit leaves the app consistent;
|
|
107
|
+
tests do not catch a removed custom property or a moved scroll container.
|
|
108
|
+
|
|
101
109
|
Run the consumer's documented full verification. Read its scripts first; prefer an aggregate check, otherwise run the
|
|
102
110
|
non-watch format, lint, typecheck, test, and build commands that exist.
|
|
103
111
|
|
|
@@ -110,8 +118,10 @@ Report before the first commit:
|
|
|
110
118
|
@imfusion/web-ui update report
|
|
111
119
|
Package : <old> -> <new>
|
|
112
120
|
Skills : <status>
|
|
121
|
+
Re-read : <changed skills read in full, or none changed>
|
|
113
122
|
Hooks : <status>
|
|
114
123
|
Verification : <status>
|
|
124
|
+
Breaking : <entries fixed here, not applicable, or none>
|
|
115
125
|
Update files : <paths>
|
|
116
126
|
Held back : <paths or none>
|
|
117
127
|
Conflicts : <paths or none>
|
|
@@ -137,9 +147,9 @@ diff was already in the baseline; report it as present.
|
|
|
137
147
|
This phase reads and reports: every file stays as it is until the person approves the migration. Open the report with the
|
|
138
148
|
releases read, then report separately:
|
|
139
149
|
|
|
140
|
-
- migrations: every `Breaking` entry and migration step, mapped to the call sites it affects here
|
|
141
|
-
shows; a step with no matching code is reported as not applicable. A style-only change, such as a
|
|
142
|
-
type error: find its call sites by component usage;
|
|
150
|
+
- migrations: every `Breaking` entry and migration step the base update left open, mapped to the call sites it affects here
|
|
151
|
+
and the fix the changelog shows; a step with no matching code is reported as not applicable. A style-only change, such as a
|
|
152
|
+
removed margin, raises no type error: find its call sites by component usage;
|
|
143
153
|
- compatibility fixes required by changed imports or types that the changelog does not cover;
|
|
144
154
|
- existing uses affected by a changed API or documented behavior;
|
|
145
155
|
- suggestions: new features from the highlights and `Added` entries that fit what the project already builds, each with the
|