Skip to content

Commit

Permalink
chore(ci): give runner more ram (#1555)
Browse files Browse the repository at this point in the history
  • Loading branch information
huntabyte authored Dec 13, 2024
1 parent 9abaa83 commit 7f18a00
Show file tree
Hide file tree
Showing 49 changed files with 1,056 additions and 390 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ jobs:
run: pnpm install

- name: Build site
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: pnpm build

- name: Upload build artifact
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
run: pnpm install

- name: Build site
env:
NODE_OPTIONS: "--max-old-space-size=8192"
run: pnpm build

- name: Deploy to Cloudflare Pages
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ package-lock.json
yarn.lock
CHANGELOG.md

.github/



# docs site specific
Expand Down
4 changes: 2 additions & 2 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import config from "@huntabyte/eslint-config";
import config, { DEFAULT_IGNORES } from "@huntabyte/eslint-config";

export default config({ svelte: true });
export default config({ svelte: true, ignorePatterns: [...DEFAULT_IGNORES, ".github/**/*"] });
1,310 changes: 1,002 additions & 308 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions sites/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"devDependencies": {
"@playwright/test": "^1.42.1",
"@prettier/sync": "0.3.0",
"@sveltejs/adapter-cloudflare": "4.1.0",
"@sveltejs/enhanced-img": "^0.2.0",
"@sveltejs/kit": "^2.5.2",
"@sveltejs/adapter-cloudflare": "4.8.0",
"@sveltejs/enhanced-img": "^0.3.10",
"@sveltejs/kit": "^2.11.1",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"@types/d3-scale": "^4.0.8",
"@types/hast": "^3.0.4",
Expand Down Expand Up @@ -66,13 +66,13 @@
"@internationalized/date": "^3.5.2",
"@unovis/svelte": "1.3.6-beta.1",
"@unovis/ts": "1.3.6-beta.1",
"bits-ui": "0.21.4",
"bits-ui": "0.21.15",
"clsx": "^2.1.0",
"cmdk-sv": "^0.0.15",
"d3-scale": "^4.0.2",
"embla-carousel-autoplay": "8.0.0-rc19",
"embla-carousel-svelte": "8.0.0-rc19",
"formsnap": "^0.5.1",
"formsnap": "^1.0.1",
"lucide-svelte": "^0.447.0",
"mode-watcher": "^0.2.2",
"nanoid": "^5.0.6",
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@
{
"name": "form",
"dependencies": [
"formsnap",
"formsnap@1.0.1",
"zod",
"sveltekit-superforms"
],
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/default-js/form.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "form",
"dependencies": [
"formsnap",
"formsnap@1.0.1",
"zod",
"sveltekit-superforms"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"name": "pagination-ellipsis.svelte",
"content": "<script>\n\timport Ellipsis from \"lucide-svelte/icons/ellipsis\";\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<Ellipsis class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
"content": "<script>\n\timport Ellipsis from \"lucide-svelte/icons/ellipsis\";\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden=\"true\"\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<Ellipsis class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
},
{
"name": "pagination-item.svelte",
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/default-js/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
{
"name": "table-footer.svelte",
"content": "<script>\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-primary text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
"content": "<script>\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-muted/50 text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
},
{
"name": "table-head.svelte",
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/default/form.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "form",
"dependencies": [
"formsnap",
"formsnap@1.0.1",
"zod",
"sveltekit-superforms"
],
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/default/pagination.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"name": "pagination-ellipsis.svelte",
"content": "<script lang=\"ts\">\n\timport Ellipsis from \"lucide-svelte/icons/ellipsis\";\n\timport type { HTMLAttributes } from \"svelte/elements\";\n\timport { cn } from \"$lib/utils.js\";\n\n\ttype $$Props = HTMLAttributes<HTMLSpanElement>;\n\n\tlet className: $$Props[\"class\"] = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<Ellipsis class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
"content": "<script lang=\"ts\">\n\timport Ellipsis from \"lucide-svelte/icons/ellipsis\";\n\timport type { HTMLAttributes } from \"svelte/elements\";\n\timport { cn } from \"$lib/utils.js\";\n\n\ttype $$Props = HTMLAttributes<HTMLSpanElement>;\n\n\tlet className: $$Props[\"class\"] = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden=\"true\"\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<Ellipsis class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
},
{
"name": "pagination-item.svelte",
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/default/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
{
"name": "table-footer.svelte",
"content": "<script lang=\"ts\">\n\timport type { HTMLAttributes } from \"svelte/elements\";\n\timport { cn } from \"$lib/utils.js\";\n\n\ttype $$Props = HTMLAttributes<HTMLTableSectionElement>;\n\n\tlet className: $$Props[\"class\"] = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-primary text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
"content": "<script lang=\"ts\">\n\timport type { HTMLAttributes } from \"svelte/elements\";\n\timport { cn } from \"$lib/utils.js\";\n\n\ttype $$Props = HTMLAttributes<HTMLTableSectionElement>;\n\n\tlet className: $$Props[\"class\"] = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-muted/50 text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
},
{
"name": "table-head.svelte",
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/accordion.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "accordion",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"name": "breadcrumb",
"dependencies": [
"svelte-radix"
],
"dependencies": [],
"registryDependencies": [],
"files": [
{
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/calendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "calendar",
"dependencies": [
"bits-ui",
"@internationalized/date",
"svelte-radix"
"@internationalized/date"
],
"registryDependencies": [
"button"
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/carousel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "carousel",
"dependencies": [
"embla-carousel-svelte",
"svelte-radix"
"embla-carousel-svelte"
],
"registryDependencies": [
"button"
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/checkbox.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "checkbox",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/command.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "command",
"dependencies": [
"cmdk-sv",
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [
"dialog"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "context-menu",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/dialog.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "dialog",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "dropdown-menu",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/new-york-js/form.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "form",
"dependencies": [
"formsnap",
"formsnap@1.0.1",
"zod",
"sveltekit-superforms"
],
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/menubar.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "menubar",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "pagination",
"dependencies": [
"svelte-radix",
"bits-ui"
],
"registryDependencies": [
Expand All @@ -18,7 +17,7 @@
},
{
"name": "pagination-ellipsis.svelte",
"content": "<script>\n\timport DotsHorizontal from \"svelte-radix/DotsHorizontal.svelte\";\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<DotsHorizontal class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
"content": "<script>\n\timport DotsHorizontal from \"svelte-radix/DotsHorizontal.svelte\";\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<span\n\taria-hidden=\"true\"\n\tclass={cn(\"flex h-9 w-9 items-center justify-center\", className)}\n\t{...$$restProps}\n>\n\t<DotsHorizontal class=\"h-4 w-4\" />\n\t<span class=\"sr-only\">More pages</span>\n</span>\n"
},
{
"name": "pagination-item.svelte",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "radio-group",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "range-calendar",
"dependencies": [
"bits-ui",
"@internationalized/date",
"svelte-radix"
"@internationalized/date"
],
"registryDependencies": [
"button"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "resizable",
"dependencies": [
"svelte-radix",
"paneforge"
],
"registryDependencies": [],
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/select.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "select",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york-js/sheet.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "sheet",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
2 changes: 1 addition & 1 deletion sites/docs/static/registry/styles/new-york-js/table.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
{
"name": "table-footer.svelte",
"content": "<script>\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-primary text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
"content": "<script>\n\timport { cn } from \"$lib/utils.js\";\n\tlet className = undefined;\n\texport { className as class };\n</script>\n\n<tfoot class={cn(\"bg-muted/50 text-primary-foreground font-medium\", className)} {...$$restProps}>\n\t<slot />\n</tfoot>\n"
},
{
"name": "table-head.svelte",
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/accordion.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "accordion",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
4 changes: 1 addition & 3 deletions sites/docs/static/registry/styles/new-york/breadcrumb.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{
"name": "breadcrumb",
"dependencies": [
"svelte-radix"
],
"dependencies": [],
"registryDependencies": [],
"files": [
{
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/calendar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "calendar",
"dependencies": [
"bits-ui",
"@internationalized/date",
"svelte-radix"
"@internationalized/date"
],
"registryDependencies": [
"button"
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/carousel.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "carousel",
"dependencies": [
"embla-carousel-svelte",
"svelte-radix"
"embla-carousel-svelte"
],
"registryDependencies": [
"button"
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/checkbox.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "checkbox",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/command.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "command",
"dependencies": [
"cmdk-sv",
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [
"dialog"
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/context-menu.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "context-menu",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
3 changes: 1 addition & 2 deletions sites/docs/static/registry/styles/new-york/dialog.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "dialog",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "dropdown-menu",
"dependencies": [
"bits-ui",
"svelte-radix"
"bits-ui"
],
"registryDependencies": [],
"files": [
Expand Down
Loading

0 comments on commit 7f18a00

Please sign in to comment.