Skip to content

Commit

Permalink
website: update to 0.28
Browse files Browse the repository at this point in the history
  • Loading branch information
terrablue committed Feb 1, 2024
1 parent 4e09dd9 commit 7ef055f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
1 change: 0 additions & 1 deletion packages/website/components/blog.rss.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
<description>Primate - Polymorphic development platform</description>

{{#each entries}}
<li>{{this}}</li>
<item>
<title>{{this.title}}</title>
<link>{{this.link}}</link>
Expand Down
10 changes: 5 additions & 5 deletions packages/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"name": "@primate/website",
"private": true,
"dependencies": {
"@primate/build": "^0.2.0",
"@primate/frontend": "^0.9.4",
"@primate/liveview": "^0.10.0",
"@primate/build": "^0.3.1",
"@primate/frontend": "^0.11.0",
"@primate/liveview": "^0.11.0",
"esbuild": "^0.20.0",
"handlebars": "^4.7.8",
"highlight.js": "^11.9.0",
"marked": "^11.2.0",
"primate": "^0.27.3",
"rcompat": "^0.5.1",
"primate": "^0.28.0",
"rcompat": "^0.7.2",
"svelte": "^4.2.9"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/website/primate.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Path } from "rcompat/fs";
import { File } from "rcompat/fs";
import { esbuild } from "@primate/build";
import liveview from "@primate/liveview";
import { svelte, markdown, handlebars } from "@primate/frontend";
Expand Down Expand Up @@ -109,7 +109,7 @@ export default {
blog: true,
title: "Primate",
description: "Polymorphic development platform",
root: new Path("components", "content"),
root: File.join("components", "content"),
theme: master({
navbar: [
{ label: "Guide", link: "/guide/getting-started" },
Expand Down
4 changes: 2 additions & 2 deletions packages/website/routes/blog.rss.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Path } from "rcompat/fs";
import { File } from "rcompat/fs";
import { MediaType } from "rcompat/http";
import { view } from "primate";

const entries_path = ["blog", "entries.json"];
const entries = new Path(import.meta.url).up(2).join(...entries_path);
const entries = new File(import.meta.url).up(2).join(...entries_path);

export default {
async get() {
Expand Down

0 comments on commit 7ef055f

Please sign in to comment.