Skip to content

Commit

Permalink
fix: removed ipx
Browse files Browse the repository at this point in the history
  • Loading branch information
zsilbi committed Apr 25, 2023
1 parent 5df24eb commit 99f5721
Show file tree
Hide file tree
Showing 11 changed files with 108 additions and 402 deletions.
6 changes: 1 addition & 5 deletions build.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import { defineBuildConfig } from 'unbuild'

export default defineBuildConfig({
externals: [
'ipx'
]
})
export default defineBuildConfig()
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@
"standard-version": "latest",
"typescript": "5.0.4"
},
"optionalDependencies": {
"ipx": "1.0.0"
},
"engines": {
"node": "^14.16.0 || ^16.11.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
}
Expand Down
3 changes: 3 additions & 0 deletions playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ export default defineNuxtConfig({
cloudflare: {
baseURL: 'https://that-test.site'
},
cloudflareImage: {
baseURL: 'https://that-test.site'
},
cloudinary: {
baseURL: 'https://res.cloudinary.com/nuxt/image/upload/'
},
Expand Down
39 changes: 5 additions & 34 deletions playground/providers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,40 +11,6 @@ export interface Provider {
}

export const providers: Provider[] = [
// IPX
{
name: 'ipx',
samples: [
{
src: '/images/colors.jpg',
from: 'Jeremy Thomas',
width: 300,
height: 300,
link: 'https://unsplash.com/@jeremythomasphoto?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText'
},
{
src: '/images/everest.jpg',
from: 'Mount Everest Wikipedia page (alias)',
width: 300,
height: 300,
link: 'https://en.wikipedia.org/wiki/Mount_Everest'
},
{
src: '/images/tacos.svg',
from: 'Illustration from Icons8',
width: 300,
height: 300,
link: 'https://icons8.com/illustrations/illustration/abstract-1419'
},
{
src: '/unsplash/photo-1606112219348-204d7d8b94ee',
from: 'Photo by Omid Armin',
width: 300,
height: 300,
link: 'https://unsplash.com/@omidarmin?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText'
}
]
},
// Cloudflare
{
name: 'cloudflare',
Expand All @@ -56,6 +22,11 @@ export const providers: Provider[] = [
}
]
},
// Cloudflare image
{
name: 'cloudflareImage',
samples: []
},
// Cloudinary
{
name: 'cloudinary',
Expand Down
Loading

0 comments on commit 99f5721

Please sign in to comment.