@gravity-ui/aikit 2.28.2-beta.d30a434db764c6f17ec0f96531aeb20dfc408798.0 → 2.28.2
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/build/cjs/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.28.2
|
|
1
|
+
{"version":"2.28.2","type":"commonjs","sideEffects":["*.css","*.scss"]}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
| Branch | Stable npm tag | PR preview tag | Dependencies |
|
|
4
4
|
| ------------ | -------------- | -------------- | ------------ |
|
|
5
5
|
| `main` | `latest` | `beta-v3` | UIKit 8 |
|
|
6
|
-
| `release/v2` | `v2`
|
|
6
|
+
| `release/v2` | `release-v2` | `beta-v2` | UIKit 7 |
|
|
7
7
|
|
|
8
8
|
Versions and changelogs advance independently. A shared feature can ship as 3.1.0 and 2.29.0. Releases are not an atomic operation across branches.
|
|
9
9
|
|
|
@@ -38,8 +38,13 @@ If cherry-picking fails, the backport workflow fails and the action reports the
|
|
|
38
38
|
|
|
39
39
|
## Operational notes
|
|
40
40
|
|
|
41
|
-
- The
|
|
41
|
+
- Release Please calculates versions and changelogs and creates draft GitHub releases. The workflow publishes each GitHub release with an explicit Latest policy, then publishes the npm package. Only release PRs from the configured bot, with the expected branch prefix and release label, changing only manifests and changelog are eligible for automatic merging.
|
|
42
|
+
- GitHub Latest and npm dist-tags are independent. Publish 3.x GitHub releases with `make_latest=true` and 2.x with `make_latest=false`. Use `release-v2` for npm: npm rejects `v2` because it is a valid SemVer range.
|
|
42
43
|
- Publishing runs are serialized per branch. A failure in one release line does not block the other.
|
|
43
44
|
- PR prereleases validate the base branch and stable package/lockfile versions before changing the version or publishing. Only PRs into `main` and `release/v2` publish previews. PR prereleases use separate `beta-v2` and `beta-v3` tags. Install the exact version from the PR for reproducible testing; each tag points to the most recently published preview in that release line.
|
|
44
|
-
- If npm publication fails after a GitHub release was created, inspect npm before retrying.
|
|
45
|
+
- If npm publication fails after a GitHub release was created, inspect npm before retrying. A rerun does not guarantee republication of an already-created release. Use the manual **Recover npm Release** workflow with the exact published tag (for example `v2.28.1`). It checks branch ancestry, package identity and version, and refuses versions already present on npm. It publishes 2.x under `release-v2` and 3.x under `latest`. Never bump merely to retry or republish an existing version. Before recovering an older 3.x version, ensure it is still the version intended for npm `latest`.
|
|
45
46
|
- To pause automatic merging, set `RELEASE_AUTOMERGE` to `false`. This does not cancel already-enabled GitHub auto-merge requests; disable those on the affected PRs as well.
|
|
47
|
+
|
|
48
|
+
## Repairing GitHub Latest
|
|
49
|
+
|
|
50
|
+
If a maintenance release was previously marked Latest, edit the intended stable 3.x GitHub release and mark it as Latest. This changes GitHub metadata only, not npm dist-tags. The explicit policy prevents future 2.x releases from taking the badge. If publication stops after draft creation, inspect the draft and its target commit before manually publishing it with the matching Latest policy; then recover npm publication from the resulting tag if necessary.
|
package/build/esm/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.28.2
|
|
1
|
+
{"version":"2.28.2","type":"module","sideEffects":["*.css","*.scss"]}
|
package/docs/releasing.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
| Branch | Stable npm tag | PR preview tag | Dependencies |
|
|
4
4
|
| ------------ | -------------- | -------------- | ------------ |
|
|
5
5
|
| `main` | `latest` | `beta-v3` | UIKit 8 |
|
|
6
|
-
| `release/v2` | `v2`
|
|
6
|
+
| `release/v2` | `release-v2` | `beta-v2` | UIKit 7 |
|
|
7
7
|
|
|
8
8
|
Versions and changelogs advance independently. A shared feature can ship as 3.1.0 and 2.29.0. Releases are not an atomic operation across branches.
|
|
9
9
|
|
|
@@ -38,8 +38,13 @@ If cherry-picking fails, the backport workflow fails and the action reports the
|
|
|
38
38
|
|
|
39
39
|
## Operational notes
|
|
40
40
|
|
|
41
|
-
- The
|
|
41
|
+
- Release Please calculates versions and changelogs and creates draft GitHub releases. The workflow publishes each GitHub release with an explicit Latest policy, then publishes the npm package. Only release PRs from the configured bot, with the expected branch prefix and release label, changing only manifests and changelog are eligible for automatic merging.
|
|
42
|
+
- GitHub Latest and npm dist-tags are independent. Publish 3.x GitHub releases with `make_latest=true` and 2.x with `make_latest=false`. Use `release-v2` for npm: npm rejects `v2` because it is a valid SemVer range.
|
|
42
43
|
- Publishing runs are serialized per branch. A failure in one release line does not block the other.
|
|
43
44
|
- PR prereleases validate the base branch and stable package/lockfile versions before changing the version or publishing. Only PRs into `main` and `release/v2` publish previews. PR prereleases use separate `beta-v2` and `beta-v3` tags. Install the exact version from the PR for reproducible testing; each tag points to the most recently published preview in that release line.
|
|
44
|
-
- If npm publication fails after a GitHub release was created, inspect npm before retrying.
|
|
45
|
+
- If npm publication fails after a GitHub release was created, inspect npm before retrying. A rerun does not guarantee republication of an already-created release. Use the manual **Recover npm Release** workflow with the exact published tag (for example `v2.28.1`). It checks branch ancestry, package identity and version, and refuses versions already present on npm. It publishes 2.x under `release-v2` and 3.x under `latest`. Never bump merely to retry or republish an existing version. Before recovering an older 3.x version, ensure it is still the version intended for npm `latest`.
|
|
45
46
|
- To pause automatic merging, set `RELEASE_AUTOMERGE` to `false`. This does not cancel already-enabled GitHub auto-merge requests; disable those on the affected PRs as well.
|
|
47
|
+
|
|
48
|
+
## Repairing GitHub Latest
|
|
49
|
+
|
|
50
|
+
If a maintenance release was previously marked Latest, edit the intended stable 3.x GitHub release and mark it as Latest. This changes GitHub metadata only, not npm dist-tags. The explicit policy prevents future 2.x releases from taking the badge. If publication stops after draft creation, inspect the draft and its target commit before manually publishing it with the matching Latest policy; then recover npm publication from the resulting tag if necessary.
|
package/package.json
CHANGED