Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
RoelLeijser committed Nov 12, 2024
1 parent 6f1e533 commit 315109f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions browser/create-template/templates/nextjs-site/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Atomic Next.js Template

This repository is a [Next.js](https://nextjs.org/) 15 website starter template to be used with [AtomicServer](https://github.com/atomicdata-dev/atomic-server).
This repository is a [Next.js](https://nextjs.org/) 15 website starter template to be used with [AtomicServer](https://github.com/atomicdata-dev/atomic-server). For specific steps on how to deploy this template, see [DEPLOYING](./README/deploying.md).

## Getting started

Expand All @@ -21,7 +21,7 @@ $ cd my-project
```

```bash
$ npx ad-generate
$ npx ad-generate ontologies
$ pnpm exec ad-generate ontologies
$ yarn ad-generate ontologies
```
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Deploying

## Deploying to Netlify
4 changes: 2 additions & 2 deletions browser/create-template/templates/nextjs-site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"private": true,
"scripts": {
"dev": "next dev --turbopack",
"build": "next build",
"build": "ad-generate ontologies && next build",
"start": "next start",
"lint": "next lint",
"postinstall": "ad-generate ontologies"
"generate-ontologies": "ad-generate ontologies"
},
"dependencies": {
"@t3-oss/env-nextjs": "^0.11.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const FullPageView = async ({
}: {
subject: string;
searchParams?: {
[key: string]: string | string[] | undefined;
[key: string]: Record<string, string | string[] | undefined>;
};
}) => {
const resource = await store.getResource(subject);
Expand Down

0 comments on commit 315109f

Please sign in to comment.