Skip to content

Commit 3c2fdec

Browse files
authored
fix: fix issues on beta for CldImage (#15)
# Description <!-- Include a summary of the change made and also list the dependencies that are required if any --> ## Issue Ticket Number Fixes #11 #13 #12 #10 Also update doc examples <!-- Specify above which issue this fixes by referencing the issue number (`#<ISSUE_NUMBER>`) or issue URL. --> <!-- Example: Fixes https://github.com/cloudinary-community/svelte-cloudinary/issues/<ISSUE_NUMBER> --> ## Type of change <!-- Please select all options that are applicable. --> - [X] Bug fix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) - [X] Fix or improve the documentation - [ ] This change requires a documentation update # Checklist <!-- These must all be followed and checked. --> - [ ] I have followed the contributing guidelines of this project as mentioned in [CONTRIBUTING.md](/CONTRIBUTING.md) - [ ] I have created an [issue](https://github.com/cloudinary-community/svelte-cloudinary/issues) ticket for this PR - [ ] I have checked to ensure there aren't other open [Pull Requests](https://github.com/cloudinary-community/svelte-cloudinary/pulls) for the same update/change? - [ ] I have performed a self-review of my own code - [ ] I have run tests locally to ensure they all pass - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes needed to the documentation
1 parent b320091 commit 3c2fdec

File tree

10 files changed

+301
-196
lines changed

10 files changed

+301
-196
lines changed

.github/workflows/test_and_release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
node: [ '16', '18' ]
11+
node: ['18' ]
1212
steps:
1313
- uses: actions/checkout@v2
1414
- uses: pnpm/action-setup@v2
@@ -34,22 +34,22 @@ jobs:
3434
- uses: pnpm/action-setup@v2
3535
with:
3636
version: 7
37-
37+
3838
- uses: actions/setup-node@v3
3939
with:
40-
node-version: '16'
40+
node-version: '18'
4141
cache: 'pnpm'
4242
# https://github.com/pnpm/pnpm/issues/3141
4343
registry-url: 'https://registry.npmjs.org'
44-
44+
4545
- name: Install dependencies
4646
run: pnpm install
4747
working-directory: ./svelte-cloudinary
48-
48+
4949
- name: Build package
5050
run: pnpm package
5151
working-directory: ./svelte-cloudinary
52-
52+
5353
- name: Release
5454
run: npx semantic-release
5555
env:

docs/src/routes/+page.svx

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Getting Started
2+
title: Getting Started
33
order: 1
44
---
55

@@ -9,17 +9,17 @@ order: 1
99
</script>
1010

1111

12-
# Svelte Cloudinary
12+
# Svelte Cloudinary
1313

1414
High-performance image delivery and uploading at scale in Svelte/SvelteKit powered by
15-
Cloudinary.
15+
Cloudinary.
1616
* Automatically optimize images and deliver in modern formats * Remove backgrounds from
17-
images
18-
* Dynamically add image and text overlays to images
19-
* AI-based cropping and resizing
20-
* Transform images using color and effects
21-
* Generate Open Graph Social Media cards on the fly
22-
* Drop-in Upload Widget
17+
images
18+
* Dynamically add image and text overlays to images
19+
* AI-based cropping and resizing
20+
* Transform images using color and effects
21+
* Generate Open Graph Social Media cards on the fly
22+
* Drop-in Upload Widget
2323
* ...all at scale with Cloudinary
2424
<ImageGrid>
2525
<li>
@@ -38,7 +38,9 @@ images
3838
sizes="50vw"
3939
crop="thumb"
4040
gravity="faces"
41-
tint="40:253f8c"
41+
removeBackground
42+
tint="40:253f8c"
43+
underlay="images/city-skyline"
4244
overlays={[
4345
{
4446
position: {

0 commit comments

Comments
 (0)