aivee 0.1.0-dev.7025438 → 0.1.0-patch.cd5013d
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 +9 -7
- package/docs/releasing.md +10 -10
- package/package.json +1 -1
- package/src/timeline/caption-layouts.mjs +1 -0
package/README.md
CHANGED
|
@@ -64,10 +64,10 @@ aivee doctor
|
|
|
64
64
|
|
|
65
65
|
The CLI command is `aivee`. The release workflow publishes the unscoped npm
|
|
66
66
|
package `aivee` and the owner-scoped GitHub Packages package
|
|
67
|
-
`@warengonzaga/aivee`.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
67
|
+
`@warengonzaga/aivee`. npm publishing uses trusted publishing through GitHub
|
|
68
|
+
Actions OIDC, so no `NPM_TOKEN` secret is needed. Package artifacts are also
|
|
69
|
+
published for pull requests, `dev` pushes, and manual workflow runs. See the
|
|
70
|
+
[release guide](docs/releasing.md) for the one-time setup.
|
|
71
71
|
|
|
72
72
|
## 📖 Usage
|
|
73
73
|
|
|
@@ -90,9 +90,11 @@ npm run test:render-smoke
|
|
|
90
90
|
npm audit --omit=dev
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
Build Flow runs on pull requests targeting `dev` or `main`, pushes to `dev` or
|
|
94
|
+
`main`, and manual dispatch. Its package artifacts publish on pull requests,
|
|
95
|
+
`dev` pushes, and manual runs. The separate platform-validation workflow is
|
|
96
|
+
manual-trigger only; use its selector for Linux, Windows, macOS, or the full
|
|
97
|
+
matrix. A native macOS run is still required before claiming Mac support.
|
|
96
98
|
|
|
97
99
|
## 🤝 Contributing
|
|
98
100
|
|
package/docs/releasing.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# Releasing AIVEE
|
|
2
2
|
|
|
3
|
-
The `Build Flow` workflow validates pull requests targeting `dev` or `main
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
3
|
+
The `Build Flow` workflow validates pull requests targeting `dev` or `main` and
|
|
4
|
+
publishes package artifacts on pull requests, pushes to `dev`, and manual runs.
|
|
5
|
+
These preview artifacts go to npm and GitHub Packages. A push to `main` after
|
|
6
|
+
merging a release PR publishes the release versions and creates a GitHub Release
|
|
7
|
+
after both registries report success. Container publishing is disabled.
|
|
8
8
|
|
|
9
9
|
## One-time setup
|
|
10
10
|
|
|
11
|
-
1.
|
|
12
|
-
`
|
|
13
|
-
|
|
14
|
-
2.
|
|
15
|
-
|
|
11
|
+
1. Configure npm trusted publishing for this GitHub repository and the
|
|
12
|
+
`build-flow.yml` workflow. The workflow uses OIDC; no `NPM_TOKEN` secret is
|
|
13
|
+
required.
|
|
14
|
+
2. Allow GitHub Actions to write packages. The workflow uses `GITHUB_TOKEN` to
|
|
15
|
+
publish the GitHub Packages copy.
|
|
16
16
|
|
|
17
17
|
After setup, release promotion from `dev` to `main` runs the version, package,
|
|
18
18
|
and GitHub Release flow. Check both registries after the first automated release;
|
package/package.json
CHANGED
|
@@ -46,6 +46,7 @@ export const CAPTION_LAYOUT_PRESETS = Object.freeze(Object.fromEntries(
|
|
|
46
46
|
...layout,
|
|
47
47
|
...(layout.textOutline ? { textOutline: Object.freeze({ ...layout.textOutline }) } : {}),
|
|
48
48
|
...(layout.textShadow ? { textShadow: Object.freeze({ ...layout.textShadow }) } : {}),
|
|
49
|
+
...(layout.bubble ? { bubble: Object.freeze({ ...layout.bubble }) } : {}),
|
|
49
50
|
})]),
|
|
50
51
|
));
|
|
51
52
|
|