@all-the.rest/astro-image-cdn 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 +2 -2
- package/package.json +8 -9
package/README.md
CHANGED
|
@@ -121,9 +121,9 @@ ratchet check
|
|
|
121
121
|
|
|
122
122
|
The tests include real Astro static builds using `Image`, `Picture`, and `getImage()`, a real dev-server request served from local output, unrequested-image checks, a repeated warm build, and assertions that optimized variants remain outside `dist/`.
|
|
123
123
|
|
|
124
|
-
The npm workflow publishes only pushed `vMAJOR.MINOR.PATCH` version tags whose version matches `package.json`; verification and packaging use pnpm in a separate job without OIDC, while the minimal publishing job downloads the verified tarball and uses npm CLI only for OIDC publishing.
|
|
124
|
+
The npm workflow publishes only pushed `vMAJOR.MINOR.PATCH` version tags whose version matches `package.json`; verification and packaging use pnpm in a separate job without OIDC, while the minimal publishing job downloads the verified tarball and uses npm CLI only for OIDC publishing. The package's npm Trusted Publisher is configured for this repository's `.github/workflows/publish.yml` and the `npm publish` action.
|
|
125
125
|
|
|
126
|
-
npm requires a package to exist before a trusted publisher can be configured ([`npm trust` prerequisites](https://docs.npmjs.com/cli/v12/commands/npm-trust/#prerequisites)).
|
|
126
|
+
Version 0.1.0 was bootstrapped manually because npm requires a package to exist before a trusted publisher can be configured ([`npm trust` prerequisites](https://docs.npmjs.com/cli/v12/commands/npm-trust/#prerequisites)). Subsequent version-tag releases use GitHub Actions OIDC and npm provenance, without a long-lived publish token. A new trusted-publisher configuration must complete its first successful publish within two days or it expires.
|
|
127
127
|
|
|
128
128
|
## Provenance and license
|
|
129
129
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@all-the.rest/astro-image-cdn",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Persistent, incremental image variants for Astro's native image components",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "ISC",
|
|
@@ -31,16 +31,15 @@
|
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"sharp": "^0.35.5"
|
|
33
33
|
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"test": "node --test",
|
|
36
|
-
"test:astro": "node --test tests/astro-build.test.js",
|
|
37
|
-
"check": "node --check src/index.js && node --check src/processor.js && node --check src/service.js && node --check src/dev-server.js && pnpm typecheck && pnpm test",
|
|
38
|
-
"typecheck": "tsc --noEmit"
|
|
39
|
-
},
|
|
40
34
|
"devDependencies": {
|
|
41
35
|
"@types/node": "^22.19.3",
|
|
42
36
|
"astro": "7.4.1",
|
|
43
37
|
"typescript": "5.9.3"
|
|
44
38
|
},
|
|
45
|
-
"
|
|
46
|
-
|
|
39
|
+
"scripts": {
|
|
40
|
+
"test": "node --test",
|
|
41
|
+
"test:astro": "node --test tests/astro-build.test.js",
|
|
42
|
+
"check": "node --check src/index.js && node --check src/processor.js && node --check src/service.js && node --check src/dev-server.js && pnpm typecheck && pnpm test",
|
|
43
|
+
"typecheck": "tsc --noEmit"
|
|
44
|
+
}
|
|
45
|
+
}
|