mirror of
https://github.com/lovell/sharp.git
synced 2025-08-25 05:51:41 +02:00
Compare commits
No commits in common. "51d1a49abceb224d8e9d7122f54819904109d581" and "9e20a25c5d490916682da7a0d3151a68837c328f" have entirely different histories.
51d1a49abc
...
9e20a25c5d
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
@ -313,13 +313,12 @@ jobs:
|
|||||||
path: npm
|
path: npm
|
||||||
- name: Create npm workspace tarball
|
- name: Create npm workspace tarball
|
||||||
run: tar -vcaf npm-workspace.tar.xz --directory npm --exclude=from-local-build.js .
|
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')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
|
uses: madhead/semver-utils@v4
|
||||||
|
id: semver
|
||||||
with:
|
with:
|
||||||
node-version: "24"
|
version: ${{ github.ref_name }}
|
||||||
- name: Create release notes
|
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
|
||||||
run: npm run package-release-notes
|
|
||||||
- name: Create GitHub release for tag
|
- name: Create GitHub release for tag
|
||||||
if: startsWith(github.ref, 'refs/tags/v')
|
if: startsWith(github.ref, 'refs/tags/v')
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
@ -328,4 +327,4 @@ jobs:
|
|||||||
artifactContentType: application/x-xz
|
artifactContentType: application/x-xz
|
||||||
prerelease: ${{ contains(github.ref, '-rc') }}
|
prerelease: ${{ contains(github.ref, '-rc') }}
|
||||||
makeLatest: ${{ !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
1
.gitignore
vendored
@ -16,4 +16,3 @@ package-lock.json
|
|||||||
.firebase
|
.firebase
|
||||||
.astro
|
.astro
|
||||||
docs/dist
|
docs/dist
|
||||||
release-notes.md
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-darwin-arm64",
|
"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",
|
"description": "Prebuilt sharp for use with macOS 64-bit ARM",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-darwin-x64",
|
"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",
|
"description": "Prebuilt sharp for use with macOS x64",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linux-arm",
|
"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)",
|
"description": "Prebuilt sharp for use with Linux (glibc) ARM (32-bit)",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linux-arm64",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (glibc) 64-bit ARM",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linux-ppc64",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (glibc) ppc64",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linux-s390x",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (glibc) s390x",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linux-x64",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (glibc) x64",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linuxmusl-arm64",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (musl) 64-bit ARM",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-linuxmusl-x64",
|
"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",
|
"description": "Prebuilt sharp for use with Linux (musl) x64",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp",
|
"name": "@img/sharp",
|
||||||
"version": "0.34.4-rc.1",
|
"version": "0.34.4-rc.0",
|
||||||
"private": "true",
|
"private": "true",
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"darwin-arm64",
|
"darwin-arm64",
|
||||||
|
@ -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);
|
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-wasm32",
|
"name": "@img/sharp-wasm32",
|
||||||
"version": "0.34.4-rc.1",
|
"version": "0.34.4-rc.0",
|
||||||
"description": "Prebuilt sharp for use with wasm32",
|
"description": "Prebuilt sharp for use with wasm32",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-win32-arm64",
|
"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",
|
"description": "Prebuilt sharp for use with Windows 64-bit ARM",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-win32-ia32",
|
"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)",
|
"description": "Prebuilt sharp for use with Windows x86 (32-bit)",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@img/sharp-win32-x64",
|
"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",
|
"description": "Prebuilt sharp for use with Windows x64",
|
||||||
"author": "Lovell Fuller <npm@lovell.info>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
|
29
package.json
29
package.json
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "sharp",
|
"name": "sharp",
|
||||||
"description": "High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, GIF, AVIF and TIFF images",
|
"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>",
|
"author": "Lovell Fuller <npm@lovell.info>",
|
||||||
"homepage": "https://sharp.pixelplumbing.com",
|
"homepage": "https://sharp.pixelplumbing.com",
|
||||||
"contributors": [
|
"contributors": [
|
||||||
@ -101,7 +101,6 @@
|
|||||||
"test-leak": "./test/leak/leak.sh",
|
"test-leak": "./test/leak/leak.sh",
|
||||||
"test-types": "tsd",
|
"test-types": "tsd",
|
||||||
"package-from-local-build": "node npm/from-local-build.js",
|
"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-build": "node docs/build.mjs",
|
||||||
"docs-serve": "cd docs && npm start",
|
"docs-serve": "cd docs && npm start",
|
||||||
"docs-publish": "cd docs && npm run build && npx firebase-tools deploy --project pixelplumbing --only hosting:pixelplumbing-sharp"
|
"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"
|
"semver": "^7.7.2"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"@img/sharp-darwin-arm64": "0.34.4-rc.1",
|
"@img/sharp-darwin-arm64": "0.34.4-rc.0",
|
||||||
"@img/sharp-darwin-x64": "0.34.4-rc.1",
|
"@img/sharp-darwin-x64": "0.34.4-rc.0",
|
||||||
"@img/sharp-libvips-darwin-arm64": "1.2.1",
|
"@img/sharp-libvips-darwin-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-darwin-x64": "1.2.1",
|
"@img/sharp-libvips-darwin-x64": "1.2.1",
|
||||||
"@img/sharp-libvips-linux-arm": "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-linux-x64": "1.2.1",
|
||||||
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1",
|
"@img/sharp-libvips-linuxmusl-arm64": "1.2.1",
|
||||||
"@img/sharp-libvips-linuxmusl-x64": "1.2.1",
|
"@img/sharp-libvips-linuxmusl-x64": "1.2.1",
|
||||||
"@img/sharp-linux-arm": "0.34.4-rc.1",
|
"@img/sharp-linux-arm": "0.34.4-rc.0",
|
||||||
"@img/sharp-linux-arm64": "0.34.4-rc.1",
|
"@img/sharp-linux-arm64": "0.34.4-rc.0",
|
||||||
"@img/sharp-linux-ppc64": "0.34.4-rc.1",
|
"@img/sharp-linux-ppc64": "0.34.4-rc.0",
|
||||||
"@img/sharp-linux-s390x": "0.34.4-rc.1",
|
"@img/sharp-linux-s390x": "0.34.4-rc.0",
|
||||||
"@img/sharp-linux-x64": "0.34.4-rc.1",
|
"@img/sharp-linux-x64": "0.34.4-rc.0",
|
||||||
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.1",
|
"@img/sharp-linuxmusl-arm64": "0.34.4-rc.0",
|
||||||
"@img/sharp-linuxmusl-x64": "0.34.4-rc.1",
|
"@img/sharp-linuxmusl-x64": "0.34.4-rc.0",
|
||||||
"@img/sharp-wasm32": "0.34.4-rc.1",
|
"@img/sharp-wasm32": "0.34.4-rc.0",
|
||||||
"@img/sharp-win32-arm64": "0.34.4-rc.1",
|
"@img/sharp-win32-arm64": "0.34.4-rc.0",
|
||||||
"@img/sharp-win32-ia32": "0.34.4-rc.1",
|
"@img/sharp-win32-ia32": "0.34.4-rc.0",
|
||||||
"@img/sharp-win32-x64": "0.34.4-rc.1"
|
"@img/sharp-win32-x64": "0.34.4-rc.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@emnapi/runtime": "^1.4.5",
|
"@emnapi/runtime": "^1.4.5",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user