@webflare/ui 0.1.0 → 0.1.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/README.md +4 -4
- package/dist/nuxt/module.json +1 -1
- package/dist/panda/lib.json +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -206,14 +206,14 @@ Publish the root package only. The GitHub Action uses [npm trusted publishing](h
|
|
|
206
206
|
|
|
207
207
|
`prepublishOnly` runs `bun run build`. The Action already builds and tests with Bun, then runs `npm publish --ignore-scripts` so that script does not rebuild. `bun publish` cannot authenticate with OIDC.
|
|
208
208
|
|
|
209
|
-
The Action runs on a published GitHub Release or a manual start, and only from the tag
|
|
209
|
+
The Action runs on a published GitHub Release or a manual start, and only from the tag `<version>` that matches `package.json`. Tags have no `v` prefix.
|
|
210
210
|
|
|
211
211
|
### First publish (0.1.0)
|
|
212
212
|
|
|
213
213
|
Trusted publishing can only be attached to a package that already exists, so 0.1.0 is published by hand.
|
|
214
214
|
|
|
215
215
|
1. `npm login` in a browser session (interactive 2FA). Do not create a bypass-2FA granular token.
|
|
216
|
-
2. Tag `
|
|
216
|
+
2. Tag `0.1.0` on the release commit, then from a clean checkout of that tag:
|
|
217
217
|
|
|
218
218
|
```bash
|
|
219
219
|
bun install --frozen-lockfile
|
|
@@ -222,7 +222,7 @@ bun run test
|
|
|
222
222
|
npm publish --access public --ignore-scripts
|
|
223
223
|
```
|
|
224
224
|
|
|
225
|
-
3.
|
|
225
|
+
3. The GitHub Release uses tag `0.1.0` on the published commit `8ac428b`. Publishing it runs the workflow stored on that commit, which still expects a `v` prefix and would publish again. Disable **Publish to npm** before publishing the release, then enable it again.
|
|
226
226
|
4. On npmjs.com → `@webflare/ui` → Settings → Trusted Publisher → GitHub Actions:
|
|
227
227
|
- Organization or user: `webflare-sh`
|
|
228
228
|
- Repository: `ui`
|
|
@@ -232,4 +232,4 @@ npm publish --access public --ignore-scripts
|
|
|
232
232
|
|
|
233
233
|
### Later publishes
|
|
234
234
|
|
|
235
|
-
Bump the version in all four `package.json` files and run `bun run changelog`. It adds the entry generated from the previous release tag. Run it from a full clone: in a shallow clone it stops with git's error and asks for `git fetch --unshallow --tags`. After the pull request is merged, tag
|
|
235
|
+
Bump the version in all four `package.json` files and run `bun run changelog`. It adds the entry generated from the previous `X.Y.Z` release tag. Run it from a full clone: in a shallow clone it stops with git's error and asks for `git fetch --unshallow --tags`. After the pull request is merged, tag `<version>` on `master` and publish a GitHub Release for that tag (or start the **Publish to npm** Action from the tag). After the first OIDC publish succeeds, you can set the package to require 2FA and disallow tokens.
|
package/dist/nuxt/module.json
CHANGED
package/dist/panda/lib.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webflare/ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Webflare design system: Panda CSS preset, Vue components, and Nuxt module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Webflare OÜ",
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"eslint-plugin-unused-imports": "^4.4.1",
|
|
142
142
|
"nuxt": "^4.6.3",
|
|
143
143
|
"reka-ui": "^2.11.0",
|
|
144
|
-
"typescript": "
|
|
144
|
+
"typescript": "~6.0.3",
|
|
145
145
|
"@vitejs/plugin-vue": "^6.0.10",
|
|
146
146
|
"ajv": "^8.20.0",
|
|
147
147
|
"vite": "^8.2.1",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"reka-ui": "^2.11.0",
|
|
156
156
|
"nuxt": "^4.6.3",
|
|
157
157
|
"@nuxt/kit": "^4.6.3",
|
|
158
|
-
"typescript": "^5.9.3"
|
|
158
|
+
"typescript": "^5.9.3 || ^6.0.0"
|
|
159
159
|
},
|
|
160
160
|
"dependencies": {
|
|
161
161
|
"@pandacss/preset-base": "^2.4.0"
|