Compare commits

..

No commits in common. "51d1a49abceb224d8e9d7122f54819904109d581" and "9e20a25c5d490916682da7a0d3151a68837c328f" have entirely different histories.

18 changed files with 33 additions and 45 deletions

View File

@ -313,13 +313,12 @@ jobs:
path: npm
- name: Create npm workspace tarball
run: tar -vcaf npm-workspace.tar.xz --directory npm --exclude=from-local-build.js .
- uses: actions/setup-node@v4
- name: Parse semver for tag
if: startsWith(github.ref, 'refs/tags/v')
uses: madhead/semver-utils@v4
id: semver
with:
node-version: "24"
- name: Create release notes
if: startsWith(github.ref, 'refs/tags/v')
run: npm run package-release-notes
version: ${{ github.ref_name }}
- name: Create GitHub release for tag
if: startsWith(github.ref, 'refs/tags/v')
uses: ncipollo/release-action@v1
@ -328,4 +327,4 @@ jobs:
artifactContentType: application/x-xz
prerelease: ${{ contains(github.ref, '-rc') }}
makeLatest: ${{ !contains(github.ref, '-rc') }}
bodyFile: release-notes.md
bodyFile: "docs/src/content/docs/changelog/v${{ steps.semver.outputs.major }}.${{ steps.semver.outputs.minor }}.${{ steps.semver.outputs.patch }}.md"

1
.gitignore vendored
View File

@ -16,4 +16,3 @@ package-lock.json
.firebase
.astro
docs/dist
release-notes.md

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-darwin-arm64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-darwin-x64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with macOS x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-arm",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (glibc) ARM (32-bit)",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-arm64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (glibc) 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-ppc64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (glibc) ppc64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-s390x",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (glibc) s390x",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linux-x64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (glibc) x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linuxmusl-arm64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (musl) 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-linuxmusl-x64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Linux (musl) x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"private": "true",
"workspaces": [
"darwin-arm64",

View File

@ -1,9 +0,0 @@
const { readFileSync, writeFileSync } = require('node:fs');
const { version } = require('./package.json');
const versionWithoutPreRelease = version.replace(/-rc\.\d+$/, '');
const markdown = readFileSync(`./docs/src/content/docs/changelog/v${versionWithoutPreRelease}.md`, 'utf8');
const markdownWithoutFrontmatter = markdown.replace(/---\n.*?\n---\n+/s, '');
writeFileSync('./release-notes.md', markdownWithoutFrontmatter);

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-wasm32",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with wasm32",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-arm64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Windows 64-bit ARM",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-ia32",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Windows x86 (32-bit)",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,6 +1,6 @@
{
"name": "@img/sharp-win32-x64",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"description": "Prebuilt sharp for use with Windows x64",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",

View File

@ -1,7 +1,7 @@
{
"name": "sharp",
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
"version": "0.34.4-rc.1",
"version": "0.34.4-rc.0",
"author": "Lovell Fuller <npm@lovell.info>",
"homepage": "https://sharp.pixelplumbing.com",
"contributors": [
@ -101,7 +101,6 @@
"test-leak": "./test/leak/leak.sh",
"test-types": "tsd",
"package-from-local-build": "node npm/from-local-build.js",
"package-release-notes": "node npm/release-notes.js",
"docs-build": "node docs/build.mjs",
"docs-serve": "cd docs && npm start",
"docs-publish": "cd docs && npm run build && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
@ -142,8 +141,8 @@
"semver": "^7.7.2"
},
"optionalDependencies": {
"@img/sharp-darwin-arm64": "0.34.4-rc.1",
"@img/sharp-darwin-x64": "0.34.4-rc.1",
"@img/sharp-darwin-arm64": "0.34.4-rc.0",
"@img/sharp-darwin-x64": "0.34.4-rc.0",
"@img/sharp-libvips-darwin-arm64": "1.2.1",
"@img/sharp-libvips-darwin-x64": "1.2.1",
"@img/sharp-libvips-linux-arm": "1.2.1",
@ -153,17 +152,17 @@
"@img/sharp-libvips-linux-x64": "1.2.1",
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1",
"@img/sharp-libvips-linuxmusl-x64": "1.2.1",
"@img/sharp-linux-arm": "0.34.4-rc.1",
"@img/sharp-linux-arm64": "0.34.4-rc.1",
"@img/sharp-linux-ppc64": "0.34.4-rc.1",
"@img/sharp-linux-s390x": "0.34.4-rc.1",
"@img/sharp-linux-x64": "0.34.4-rc.1",
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.1",
"@img/sharp-linuxmusl-x64": "0.34.4-rc.1",
"@img/sharp-wasm32": "0.34.4-rc.1",
"@img/sharp-win32-arm64": "0.34.4-rc.1",
"@img/sharp-win32-ia32": "0.34.4-rc.1",
"@img/sharp-win32-x64": "0.34.4-rc.1"
"@img/sharp-linux-arm": "0.34.4-rc.0",
"@img/sharp-linux-arm64": "0.34.4-rc.0",
"@img/sharp-linux-ppc64": "0.34.4-rc.0",
"@img/sharp-linux-s390x": "0.34.4-rc.0",
"@img/sharp-linux-x64": "0.34.4-rc.0",
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.0",
"@img/sharp-linuxmusl-x64": "0.34.4-rc.0",
"@img/sharp-wasm32": "0.34.4-rc.0",
"@img/sharp-win32-arm64": "0.34.4-rc.0",
"@img/sharp-win32-ia32": "0.34.4-rc.0",
"@img/sharp-win32-x64": "0.34.4-rc.0"
},
"devDependencies": {
"@emnapi/runtime": "^1.4.5",