@sempods/apps 0.7.0 → 0.7.1
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/CHANGELOG.md +13 -0
- package/package.json +1 -1
- package/skills/update/SKILL.md +15 -8
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,19 @@ Each release lists what changed and **upgrade notes** for the assistant that
|
|
|
4
4
|
applies it. The notes cover what an update cannot decide alone: owner files,
|
|
5
5
|
configuration choices and the SDK migration.
|
|
6
6
|
|
|
7
|
+
## 0.7.1
|
|
8
|
+
|
|
9
|
+
### Changes
|
|
10
|
+
|
|
11
|
+
- The update skill starts the installed tooling directly on the branch of a
|
|
12
|
+
version pull request, where pnpm refuses `pnpm run` until the new version
|
|
13
|
+
is installed. It merges the default branch first when the branch is
|
|
14
|
+
behind, and commits the result to the version pull request.
|
|
15
|
+
|
|
16
|
+
### Upgrade notes
|
|
17
|
+
|
|
18
|
+
None.
|
|
19
|
+
|
|
7
20
|
## 0.7.0
|
|
8
21
|
|
|
9
22
|
### Changes
|
package/package.json
CHANGED
package/skills/update/SKILL.md
CHANGED
|
@@ -17,15 +17,21 @@ instead.
|
|
|
17
17
|
1. **Start clean.** The working tree must have no uncommitted changes, so the
|
|
18
18
|
update is one reviewable diff. Work on a new branch, for example
|
|
19
19
|
`tooling-update-<version>`, or on the branch of the version pull request.
|
|
20
|
+
If that branch is behind the default branch, for example after an SDK
|
|
21
|
+
pull request was merged, merge the default branch first: keep the newer
|
|
22
|
+
version of each package and let `pnpm install` rewrite a conflicting
|
|
23
|
+
`pnpm-lock.yaml`.
|
|
20
24
|
2. **Update.** `pnpm run update` installs the newest version and migrates;
|
|
21
25
|
`pnpm run update <version>` a specific one. It first checks that Node and
|
|
22
26
|
pnpm suit that version; if not, it changes nothing and prints a numbered
|
|
23
|
-
order to follow before running it again. On the branch of a version pull
|
|
24
|
-
`
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
order to follow before running it again. On the branch of a version pull
|
|
28
|
+
request, `package.json` already names the new version but `node_modules`
|
|
29
|
+
does not have it, so pnpm refuses `pnpm run`. Start the installed tooling
|
|
30
|
+
directly with the version the pull request names; it runs the same check
|
|
31
|
+
before it installs anything:
|
|
28
32
|
`node node_modules/@sempods/apps/bin/sempods-apps.mjs update <version>`.
|
|
33
|
+
Without `node_modules`, run `pnpm install` first, then
|
|
34
|
+
`pnpm run update <version>`.
|
|
29
35
|
3. **Read the upgrade notes** for every version after the old one, including
|
|
30
36
|
skipped ones, in `node_modules/@sempods/apps/CHANGELOG.md`. They name what
|
|
31
37
|
the migration cannot do alone, such as changes the owner's apps need.
|
|
@@ -62,8 +68,9 @@ instead.
|
|
|
62
68
|
`node node_modules/@sempods/apps/bin/sempods-apps.mjs migrate --done`.
|
|
63
69
|
Without manual cases, `pnpm run migrate` finishes on its own.
|
|
64
70
|
6. **Check.** Run `pnpm run check` until it passes.
|
|
65
|
-
7. **Hand over.** With a GitHub remote,
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
7. **Hand over.** With a GitHub remote, commit the result to the version pull
|
|
72
|
+
request's branch, or open a pull request "Update the tooling to <version>",
|
|
73
|
+
with the migration report, each manual case and how it was decided, and
|
|
74
|
+
what to try. Tell the owner what changed in plain words and
|
|
68
75
|
what they should try. App code, app notes and the owner's entries in
|
|
69
76
|
`package.json` are never rewritten by the migration.
|