@musallam/aio-libs-local 0.1.0 → 1.0.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 +14 -15
- package/package.json +2 -3
package/README.md
CHANGED
|
@@ -162,27 +162,26 @@ npm equivalents: `npm test`, `npm run test:unit`, etc.
|
|
|
162
162
|
|
|
163
163
|
## Releasing
|
|
164
164
|
|
|
165
|
-
Releases are automated with [semantic-release](https://semantic-release.gitbook.io/) on push to `main` / `master` (see [.github/workflows/release.yml](.github/workflows/release.yml)).
|
|
165
|
+
Releases are automated with [semantic-release](https://semantic-release.gitbook.io/) on every push to `main` / `master` (same pattern as [adobe-firefly-sdk](https://github.com/ahmed-musallam/adobe-firefly-client); see [.github/workflows/release.yml](.github/workflows/release.yml) and [.releaserc.json](.releaserc.json)).
|
|
166
166
|
|
|
167
|
-
1. Use [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `chore:`, etc.) — enforced by commitlint
|
|
168
|
-
2. Merge to `main`; the Release workflow runs tests, then:
|
|
169
|
-
- Bumps `package.json`
|
|
170
|
-
- Updates `CHANGELOG.md`
|
|
167
|
+
1. Use [Conventional Commits](https://www.conventionalcommits.org/) (`feat:`, `fix:`, `chore:`, etc.) — enforced by commitlint.
|
|
168
|
+
2. Merge to `main`; the Release workflow runs build, format check, lint, tests, then:
|
|
169
|
+
- Bumps `package.json` and commits `CHANGELOG.md`
|
|
171
170
|
- Creates a [GitHub Release](https://github.com/ahmed-musallam/aio-libs-local/releases)
|
|
172
|
-
- Publishes `@musallam/aio-libs-local` to npm with [provenance](https://docs.npmjs.com/generating-provenance-statements)
|
|
171
|
+
- Publishes `@musallam/aio-libs-local` to npm with [provenance](https://docs.npmjs.com/generating-provenance-statements) via trusted publishing (OIDC)
|
|
173
172
|
|
|
174
|
-
### npm trusted publishing (
|
|
173
|
+
### npm trusted publishing (required — no `NPM_TOKEN`)
|
|
175
174
|
|
|
176
|
-
|
|
175
|
+
Same setup as other `@musallam` packages: configure [trusted publishing](https://docs.npmjs.com/trusted-publishers) on the **`@musallam`** npm org (or user). Do **not** add `NPM_TOKEN` to GitHub — it overrides OIDC.
|
|
177
176
|
|
|
178
|
-
| Field | Value
|
|
179
|
-
| ----------------- |
|
|
180
|
-
| Provider | GitHub Actions
|
|
181
|
-
| Repository | `ahmed-musallam/aio-libs-local`
|
|
182
|
-
| Workflow filename | `release.yml`
|
|
183
|
-
| Environment | _(
|
|
177
|
+
| Field | Value |
|
|
178
|
+
| ----------------- | ------------------------------- |
|
|
179
|
+
| Provider | GitHub Actions |
|
|
180
|
+
| Repository | `ahmed-musallam/aio-libs-local` |
|
|
181
|
+
| Workflow filename | `release.yml` |
|
|
182
|
+
| Environment | _(empty)_ |
|
|
184
183
|
|
|
185
|
-
|
|
184
|
+
If this repo is new, an org-level publisher (already used for `@musallam/ffs-*` packages) is enough. Otherwise add the table above for this repository. Do **not** set `registry-url` on `setup-node` in the release workflow.
|
|
186
185
|
|
|
187
186
|
## License
|
|
188
187
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@musallam/aio-libs-local",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Local/in-memory stand-ins for @adobe/aio-lib-files and @adobe/aio-lib-state",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"adobe-io",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"lint:fix": "oxlint --fix .",
|
|
61
61
|
"fmt": "oxfmt .",
|
|
62
62
|
"fmt:check": "oxfmt --check .",
|
|
63
|
-
"prepare": "husky",
|
|
63
|
+
"prepare": "node -e \"if(process.env.CI||process.env.HUSKY==='0')process.exit(0)\" && husky",
|
|
64
64
|
"prepublishOnly": "pnpm run build"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
@@ -71,7 +71,6 @@
|
|
|
71
71
|
"@commitlint/config-conventional": "21.0.1",
|
|
72
72
|
"@semantic-release/changelog": "6.0.3",
|
|
73
73
|
"@semantic-release/commit-analyzer": "13.0.1",
|
|
74
|
-
"@semantic-release/exec": "7.1.0",
|
|
75
74
|
"@semantic-release/git": "10.0.1",
|
|
76
75
|
"@semantic-release/github": "12.0.8",
|
|
77
76
|
"@semantic-release/npm": "13.1.5",
|