Lovell Fuller
de9bdcba0a
Prerelease 0.33.0-alpha.9
v0.33.0-alpha.9
2023-10-13 14:32:21 +01:00
Lovell Fuller
f8b6cb6d5b
Update package names to use 'img' npm organisation
2023-10-12 17:03:37 +01:00
Thomas
e6942805b4
TypeScript: withMetadata accepts boolean ( #3823 )
2023-10-11 20:38:13 +01:00
Lovell Fuller
47e76c9981
Ensure all Error objects contain a stack prop #3653
2023-10-11 14:59:21 +01:00
Lovell Fuller
68fa84ef6f
Remove unused gitattributes
2023-10-11 14:48:40 +01:00
Lovell Fuller
ff2fb18c76
Remove extranous quote from help text
2023-10-11 10:03:07 +01:00
Lovell Fuller
28a9b1e9fa
CI: Split npm package smoke tests into a matrix
2023-10-11 10:02:20 +01:00
Lovell Fuller
6377d5a73a
Prerelease 0.33.0-alpha.8
v0.33.0-alpha.8
2023-10-10 20:24:07 +01:00
Lovell Fuller
80e4707af1
Revert "Package managers cannot handle nested optionalDependencies"
...
This partially reverts commit 51e56f994ce1332f77daf625e23820a895de074d.
Ignoring plug'n'play, it looks like yarn and pnpm do get the
filesystem layout right for this scenario, which is good news.
It also looks like npm 10 will get it right too.
2023-10-10 19:34:36 +01:00
Lovell Fuller
ab00e34d0d
Prerelease 0.33.0-alpha.7
v0.33.0-alpha.7
2023-10-10 14:47:13 +01:00
Lovell Fuller
7c2f883b67
CI: add pnpm and yarn to npm smoke tests
2023-10-10 11:15:55 +01:00
Lovell Fuller
9b5eecba8f
Yarn pnp unsupported, use alternative nodeLinker
2023-10-10 11:14:39 +01:00
Lovell Fuller
4b028edfe9
Revert "Remove extraneous rpath"
...
This reverts commit 3f54ef7525ed357ce64bf375ef7ce3d70a52ba61.
The filesystem layout used by pnpm means that a nesting of 2
directories deep is used in the wild and must remain.
2023-10-10 09:56:07 +01:00
Lovell Fuller
7e25dd7be1
Ensure versions prop detects use of global libvips
2023-10-10 09:18:25 +01:00
Lovell Fuller
09460d7af4
CI: use correct version of write-file action
2023-10-09 13:36:03 +01:00
Lovell Fuller
3b22640077
Use std::snprintf to concat libvips version parts
2023-10-09 13:35:20 +01:00
Lovell Fuller
946976ba8f
Prerelease 0.33.0-alpha.6
v0.33.0-alpha.6
2023-10-09 10:46:16 +01:00
Lovell Fuller
29a83250a4
CI: Add smoke test for npm-published package
...
These tests will fail on their first run as a tag will exist but
the matching packages will not yet have been published.
The workflow can be manually re-run after publishing to npm.
Eventually, when there's some form of automated publishing, this
logic can become part of the post-publish checks.
2023-10-09 07:59:47 +01:00
Lovell Fuller
3f54ef7525
Remove extraneous rpath
...
The sharp.node shared library should now always end up being
nested either 3 subdirectories deep into the package root or exist
within same namespace of the node_modules tree.
2023-10-09 07:58:14 +01:00
Lovell Fuller
4dc2467f49
CI: simplify prebuild file copying
2023-10-08 23:07:02 +01:00
Lovell Fuller
f54ceb0973
CI: create prebuilds in src directory
2023-10-08 21:49:58 +01:00
Lovell Fuller
8d033ae341
Prerelease 0.33.0-alpha.5
v0.33.0-alpha.5
2023-10-08 20:27:42 +01:00
Lovell Fuller
f7da2e5970
Building from source now requires node-addon-api in dependencies
...
If you want to build sharp from source against a globally-installed
libvips then you will now need to add both node-addon-api and
node-gyp to the dependencies section of your package.json file.
The binding.gyp file is "hidden" inside the src directory to
prevent various build and package manager tooling from assuming
that everyone is going to build from source every time.
2023-10-08 15:39:02 +01:00
Lovell Fuller
51e56f994c
Package managers cannot handle nested optionalDependencies
2023-10-07 11:09:45 +01:00
Lovell Fuller
68ac12292c
Prerelease 0.33.0-alpha.4
v0.33.0-alpha.4
2023-10-06 15:02:19 +01:00
Lovell Fuller
a9aa7339ce
Prerelease 0.33.0-alpha.3
v0.33.0-alpha.3
2023-10-06 09:48:44 +01:00
Lovell Fuller
08108f5fad
Use std::once for vips_init call
2023-10-06 09:44:57 +01:00
Lovell Fuller
58e3c4c70e
Ensure all package files make use of commonjs explicit
2023-10-05 20:00:32 +01:00
Lovell Fuller
f8cf25ca56
Ensure correct interp of 16-bit raw input #3808
2023-10-05 14:05:36 +01:00
Lovell Fuller
ca95979ecc
Prefix node builtins, skips cache lookup
2023-10-05 12:09:19 +01:00
Lovell Fuller
392f6afb5e
Commit fcc7e84 but do it properly this time
2023-10-04 21:30:05 +01:00
Lovell Fuller
7c97aabaf8
Ensure win32 packages contain version/notice files
2023-10-04 21:12:16 +01:00
Lovell Fuller
fcc7e84bee
Revert target names as these are used for DLLs
2023-10-04 20:46:25 +01:00
Lovell Fuller
226a9a13ef
Packaging: prerelease version bump
2023-10-04 15:48:23 +01:00
Lovell Fuller
4d3c9ae3d1
Packaging: clear existing lib directories
2023-10-04 15:47:57 +01:00
Lovell Fuller
f31011d759
CI: increase linux-arm timeout
2023-10-04 15:47:35 +01:00
Lovell Fuller
7cf4ae5648
Prerelease 0.33.0-alpha.2
v0.33.0-alpha.2
2023-10-04 10:16:35 +01:00
Lovell Fuller
9161c605e1
Clarify extract-resize-extract operation ordering
2023-10-03 19:28:18 +01:00
Lovell Fuller
70ac6905c7
Use std::atomic for counters
2023-09-30 14:01:04 +01:00
Lovell Fuller
265d70111a
Add licensing info to npm readme files
2023-09-28 15:42:13 +01:00
Lovell Fuller
59327bdd53
Install: libvips check takes precedence over flag
v0.33.0-alpha.1
2023-09-27 16:20:04 +01:00
Lovell Fuller
3043e01171
Make heif compression option mandatory #3740
2023-09-27 11:55:42 +01:00
Lovell Fuller
36feb7551b
Docs: changelog entry for removal of sharp.vendor
2023-09-27 11:50:55 +01:00
Lovell Fuller
a41c62be2b
Upgrade semistandard, appease new linter rules
2023-09-26 21:25:15 +01:00
Lovell Fuller
854ed65016
Test: remove saliency directory
...
These scripts were originally used to help determine
some of the logic that is now part of the 'attention'
crop strategy in libvips itself.
2023-09-26 21:22:54 +01:00
Lovell Fuller
8f63d131a4
Upgrade exif-reader devDep to v2
2023-09-26 21:19:24 +01:00
Lovell Fuller
70a3067963
Test: update bench deps, use physical CPU core count
2023-09-26 21:16:46 +01:00
Lovell Fuller
aabbe1fa08
Distribute prebuilt binaries via the npm registry #3750
...
- Remove all custom download logic for prebuilt binaries
- Add scripts to populate package contents
- Specify minimum versions of common package managers
- Remove sharp.vendor runtime API as no-longer relevant
- Update installation docs and issue templates
2023-09-26 20:26:39 +01:00
Lovell Fuller
0f8bb9196e
CI: merge all jobs that use GitHub runners
2023-09-24 16:08:56 +01:00
Lovell Fuller
efee9f1779
CI: Add linux-arm (v6, 32-bit)
2023-09-24 15:49:46 +01:00