@surrealdb/ui 1.2.13 → 1.2.14
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/AGENTS.md +4 -0
- package/CLAUDE.md +111 -0
- package/dist/icons.d.ts +4 -0
- package/dist/icons.js +91 -89
- package/dist/icons.js.map +1 -1
- package/dist/ui.css +1 -1
- package/dist/ui.d.ts +25 -0
- package/dist/ui.js +8821 -12167
- package/dist/ui.js.map +1 -1
- package/doc/release.md +102 -0
- package/package.json +4 -3
- package/release-notes.md +0 -0
package/doc/release.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Release process
|
|
2
|
+
|
|
3
|
+
This document describes how to cut a release of `@surrealdb/ui`.
|
|
4
|
+
|
|
5
|
+
## 1. Determine the version bump
|
|
6
|
+
|
|
7
|
+
Releases follow [semantic versioning](https://semver.org/) (`x.y.z`).
|
|
8
|
+
|
|
9
|
+
- **Patch** (`x.y.Z`) — the default. Unless the release is explicitly stated
|
|
10
|
+
to be a minor or major, always assume it is a patch.
|
|
11
|
+
- **Minor** (`x.Y.0`) — only when explicitly stated (new backwards-compatible
|
|
12
|
+
features).
|
|
13
|
+
- **Major** (`X.0.0`) — only when explicitly stated (breaking changes).
|
|
14
|
+
|
|
15
|
+
## 2. Determine the next version
|
|
16
|
+
|
|
17
|
+
Read the current version from `package.json` (the `version` field) and apply
|
|
18
|
+
the bump from step 1.
|
|
19
|
+
|
|
20
|
+
For example, if the current version is `1.2.12`:
|
|
21
|
+
|
|
22
|
+
| Bump | Next version |
|
|
23
|
+
| ----- | ------------ |
|
|
24
|
+
| patch | `1.2.13` |
|
|
25
|
+
| minor | `1.3.0` |
|
|
26
|
+
| major | `2.0.0` |
|
|
27
|
+
|
|
28
|
+
The resulting `x.y.z` is used for the branch name, the `package.json` version,
|
|
29
|
+
and the pull request title below.
|
|
30
|
+
|
|
31
|
+
## 3. Create the release branch
|
|
32
|
+
|
|
33
|
+
Branch off the latest `main`:
|
|
34
|
+
|
|
35
|
+
```sh
|
|
36
|
+
git checkout main
|
|
37
|
+
git pull
|
|
38
|
+
git checkout -b release/x.y.z
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## 4. Bump the `package.json` version
|
|
42
|
+
|
|
43
|
+
Set the `version` field in `package.json` to the new `x.y.z`.
|
|
44
|
+
|
|
45
|
+
## 5. Format, test, and fix
|
|
46
|
+
|
|
47
|
+
1. Run the formatter and apply any fixes:
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
bun run qa
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
If this produces changes (formatting that was previously missing), commit
|
|
54
|
+
them.
|
|
55
|
+
|
|
56
|
+
2. Run the test suite:
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
bun run test
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
3. Iteratively fix any broken tests, re-running the suite until it passes.
|
|
63
|
+
Commit the fixes.
|
|
64
|
+
|
|
65
|
+
## 6. Commit and push
|
|
66
|
+
|
|
67
|
+
Commit the version bump (and any formatting/test fixes) and push the branch:
|
|
68
|
+
|
|
69
|
+
```sh
|
|
70
|
+
git push -u origin release/x.y.z
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## 7. Open the pull request
|
|
74
|
+
|
|
75
|
+
Open a pull request from `release/x.y.z` into `main`.
|
|
76
|
+
|
|
77
|
+
- **Title:** `Release x.y.z`
|
|
78
|
+
- **Description:** a bullet-point list of the PRs included in this release,
|
|
79
|
+
each linking to its PR. Format each entry as:
|
|
80
|
+
|
|
81
|
+
```md
|
|
82
|
+
- Did something (#100)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
where `#100` links to the corresponding pull request. Compile the list from
|
|
86
|
+
the PRs merged into `main` since the previous release.
|
|
87
|
+
|
|
88
|
+
> **The PR description becomes the release notes**, so make sure it is
|
|
89
|
+
> complete and well-formed before merging.
|
|
90
|
+
|
|
91
|
+
## 8. Merge the pull request
|
|
92
|
+
|
|
93
|
+
Merging the `release/x.y.z` branch into `main` is all that's required — the
|
|
94
|
+
[Publish workflow](../.github/workflows/publish.yml) takes over automatically:
|
|
95
|
+
|
|
96
|
+
1. It infers the tag `vx.y.z` from the branch name and asserts it matches the
|
|
97
|
+
`package.json` version.
|
|
98
|
+
2. It creates the GitHub release, using the PR description as the release notes.
|
|
99
|
+
3. It builds, packs, and publishes the package to npm.
|
|
100
|
+
|
|
101
|
+
No manual GitHub release or tag is needed. (Publishing a GitHub release by hand
|
|
102
|
+
still works as a fallback — it triggers the same build-and-publish steps.)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@surrealdb/ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.14",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -43,9 +43,7 @@
|
|
|
43
43
|
"@codemirror/legacy-modes": "^6.4.2",
|
|
44
44
|
"@fontsource-variable/geist": "^5.2.9",
|
|
45
45
|
"@fontsource-variable/jetbrains-mono": "^5.2.8",
|
|
46
|
-
"@lezer/common": "^1.2.1",
|
|
47
46
|
"@lezer/go": "^1.0.0",
|
|
48
|
-
"@lezer/highlight": "^1.2.1",
|
|
49
47
|
"@lezer/html": "^1.3.10",
|
|
50
48
|
"@lezer/javascript": "^1.4.17",
|
|
51
49
|
"@lezer/json": "^1.0.3",
|
|
@@ -105,6 +103,9 @@
|
|
|
105
103
|
"@codemirror/search": "^6.5.6",
|
|
106
104
|
"@codemirror/state": "^6.4.1",
|
|
107
105
|
"@codemirror/view": "^6.24.1",
|
|
106
|
+
"@lezer/common": "^1.2.1",
|
|
107
|
+
"@lezer/highlight": "^1.2.1",
|
|
108
|
+
"@lezer/lr": "^1.4.2",
|
|
108
109
|
"@mantine/core": "^9.2.2",
|
|
109
110
|
"@mantine/hooks": "^9.2.2",
|
|
110
111
|
"mermaid": "^11",
|
package/release-notes.md
ADDED
|
File without changes
|