aivee 0.1.0-dev.7025438 → 0.1.0-dev.d34a6ba

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 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`. Neither package has been published yet. The first release
68
- requires a repository `NPM_TOKEN` with npm publish access and GitHub Actions
69
- package-write permission.
70
- See the [release guide](docs/releasing.md) for the one-time setup.
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
- GitHub Actions are manual-trigger only. Use the platform selector for Linux,
94
- Windows, macOS, or the full matrix. A native macOS run is still required before
95
- claiming Mac support.
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
- Merging the release pull request to `main` publishes `aivee` to npm and
5
- `@warengonzaga/aivee` to GitHub Packages, then creates a GitHub Release after
6
- both registries report success. Development, pull-request, and manual runs do
7
- not publish packages.
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. Add an npm automation token with publish access as the repository secret
12
- `NPM_TOKEN`. The workflow uses it to create the initial npm package and to
13
- publish later versions.
14
- 2. Enable GitHub Actions package write access for the repository. The workflow
15
- uses `GITHUB_TOKEN` to publish the GitHub Packages copy.
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aivee",
3
- "version": "0.1.0-dev.7025438",
3
+ "version": "0.1.0-dev.d34a6ba",
4
4
  "license": "MIT",
5
5
  "author": "Waren Gonzaga",
6
6
  "repository": {
@@ -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