svelora 2.1.1 → 2.2.0
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/README.md +13 -15
- package/package.json +10 -1
package/README.md
CHANGED
|
@@ -131,15 +131,14 @@ Release checklist: [RELEASE_CHECKLIST.md](./RELEASE_CHECKLIST.md)
|
|
|
131
131
|
bun run release:verify
|
|
132
132
|
```
|
|
133
133
|
|
|
134
|
-
One command
|
|
134
|
+
One command publish:
|
|
135
135
|
|
|
136
136
|
```bash
|
|
137
|
-
bun run
|
|
137
|
+
bun run public
|
|
138
138
|
```
|
|
139
139
|
|
|
140
|
-
The
|
|
141
|
-
It groups commit messages into `Added`, `Changed`, and `Fixed`, writes the next version section,
|
|
142
|
-
If you still have local changes that are not committed yet, pass a work commit message and the script will create that commit before publishing.
|
|
140
|
+
The publish command generates `CHANGELOG.md` automatically from unreleased git commits.
|
|
141
|
+
It groups commit messages into `Added`, `Changed`, and `Fixed`, writes the next version section, resets `## [Unreleased]` back to the template automatically, commits local changes if needed, publishes to npm, tags the release, and pushes everything.
|
|
143
142
|
|
|
144
143
|
Refresh the template manually if needed:
|
|
145
144
|
|
|
@@ -147,29 +146,28 @@ Refresh the template manually if needed:
|
|
|
147
146
|
bun run changelog:template
|
|
148
147
|
```
|
|
149
148
|
|
|
150
|
-
Release with a work commit message for uncommitted changes:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
bun run release:patch -- "feat(button): improve loading state"
|
|
154
|
-
```
|
|
155
|
-
|
|
156
149
|
Other version bumps:
|
|
157
150
|
|
|
158
151
|
```bash
|
|
159
|
-
bun run
|
|
160
|
-
# bun run
|
|
152
|
+
bun run public:minor
|
|
153
|
+
# bun run public:major
|
|
161
154
|
```
|
|
162
155
|
|
|
163
156
|
Full verification before publish:
|
|
164
157
|
|
|
165
158
|
```bash
|
|
166
|
-
bun run
|
|
159
|
+
bun run public:full
|
|
167
160
|
```
|
|
168
161
|
|
|
169
162
|
Dry run:
|
|
170
163
|
|
|
171
164
|
```bash
|
|
172
|
-
bun run
|
|
165
|
+
bun run public:dry
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
```bash
|
|
169
|
+
bun run public:minor:dry
|
|
170
|
+
# bun run public:major:dry
|
|
173
171
|
```
|
|
174
172
|
|
|
175
173
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "svelora",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Modern primitive-based UI component library for Svelte 5",
|
|
5
5
|
"author": "asphum",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,6 +39,15 @@
|
|
|
39
39
|
"release:minor:full": "node ./scripts/release.mjs minor --full",
|
|
40
40
|
"release:major:full": "node ./scripts/release.mjs major --full",
|
|
41
41
|
"release:patch:dry": "node ./scripts/release.mjs patch --dry-run",
|
|
42
|
+
"public": "node ./scripts/release.mjs public",
|
|
43
|
+
"public:minor": "node ./scripts/release.mjs public minor",
|
|
44
|
+
"public:major": "node ./scripts/release.mjs public major",
|
|
45
|
+
"public:full": "node ./scripts/release.mjs public --full",
|
|
46
|
+
"public:dry": "node ./scripts/release.mjs public --dry-run",
|
|
47
|
+
"public:minor:full": "node ./scripts/release.mjs public minor --full",
|
|
48
|
+
"public:major:full": "node ./scripts/release.mjs public major --full",
|
|
49
|
+
"public:minor:dry": "node ./scripts/release.mjs public minor --dry-run",
|
|
50
|
+
"public:major:dry": "node ./scripts/release.mjs public major --dry-run",
|
|
42
51
|
"clean": "rm -rf dist node_modules build .svelte-kit"
|
|
43
52
|
},
|
|
44
53
|
"files": [
|