Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}
- uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3
bun-version: latest
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should still pin, just to whichever version works for our setup

- name: Install dependencies
run: bun install --frozen-lockfile
- name: Optimize assets
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"clean": "rm -rf node_modules && rm -rf .svelte_kit && bun install",
"dev": "vite dev",
"format": "prettier --write .",
"format": "prettier --write --cache .",
"format:check": "prettier --check .",
"generate:icons": "bun ./src/icons/optimize.js",
"icons:build": "bun ./src/icons/build.js",
Expand Down
4 changes: 3 additions & 1 deletion src/lib/utils/references.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,12 @@ export const serviceMap: Record<ServiceValue, string> = {
};

export const preferredVersion = writable<Version | null>(
globalThis?.localStorage?.getItem('preferredVersion') as Version
browser ? (globalThis?.localStorage?.getItem('preferredVersion') as Version) : null
);

function getInitialPlatform(): Platform {
if (!browser) return Platform.ClientWeb;

const stored = globalThis?.localStorage?.getItem('preferredPlatform') ?? Platform.ClientWeb;
// return if this platform is valid
if (VALID_PLATFORMS.has(stored as Platform)) {
Expand Down
2 changes: 1 addition & 1 deletion src/routes/(marketing)/(components)/pricing.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
<div
class="border-smooth divide-smooth grid min-h-75 w-full grid-cols-1 divide-y divide-dashed rounded-3xl border bg-white/2 backdrop-blur-lg md:grid-cols-2 md:gap-y-12 md:divide-y-0 md:px-4 md:py-8 {gridCols} lg:divide-x"
>
{#each visiblePlans as { name, price, tag: label, subtitle, description, event }}
{#each visiblePlans as { name, price, tag: label, subtitle, description, event }, index (`${name},${label},${index}`)}
{@const isEnterprise = name === 'Enterprise'}
<div class="flex h-full w-full grow flex-col gap-1 px-5 py-5 md:py-0">
<div class="flex items-center gap-2.5">
Expand Down
8 changes: 8 additions & 0 deletions src/routes/pricing/compare-plans.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@
pro: '3.5M / month',
scale: '3.5M / month',
enterprise: 'Custom'
},
{
title: 'Execution logs',
free: '100',
pro: '1000',
scale: 'Unlimited',
enterprise: 'Custom',
info: 'Number of execution logs retained per function/site'
}
Comment thread
coderabbitai[bot] marked this conversation as resolved.
]
},
Expand Down