Skip to content

Commit

Permalink
prepare for review
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan-Arrowood committed Dec 2, 2024
1 parent 4270782 commit 4371ab3
Show file tree
Hide file tree
Showing 32 changed files with 275 additions and 1,073 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
node_modules/
node_modules/
.next/
test-results/
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
## How publishing this module works

HarperDB Components require the `config.yaml` to be in the root of the project; however, in order for the Docker
HarperDB Components require the `config.yaml` to be in the root of the project; however, in order for the Docker
1 change: 1 addition & 0 deletions fixtures/next-13/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
2 changes: 1 addition & 1 deletion fixtures/next-13/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const metadata = {
title: 'HarperDB - Next.js v15 App',
title: 'HarperDB - Next.js v13 App',
};

export default function RootLayout({ children }) {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/next-13/app/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default async function Page() {
return (
<div>
<h1>Next.js v15</h1>
<h1>Next.js v13</h1>
</div>
);
}
9 changes: 6 additions & 3 deletions fixtures/next-13/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"postinstall": "npm link @harperdb/nextjs"
},
"dependencies": {
"@harperdb/nextjs": "file:/@harperdb/nextjs",
"next": "13.5.7"
"@harperdb/nextjs": "*",
"react": "^18",
"react-dom": "^18",
"next": "^13"
}
}
1 change: 1 addition & 0 deletions fixtures/next-14/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
2 changes: 1 addition & 1 deletion fixtures/next-14/app/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export const metadata = {
title: 'HarperDB - Next.js v15 App',
title: 'HarperDB - Next.js v14 App',
};

export default function RootLayout({ children }) {
Expand Down
2 changes: 1 addition & 1 deletion fixtures/next-14/app/page.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export default async function Page() {
return (
<div>
<h1>Next.js v15</h1>
<h1>Next.js v14</h1>
</div>
);
}
7 changes: 4 additions & 3 deletions fixtures/next-14/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint"
"lint": "next lint",
"postinstall": "npm link @harperdb/nextjs"
},
"dependencies": {
"@harperdb/nextjs": "file:/@harperdb/nextjs",
"@harperdb/nextjs": "*",
"react": "^18",
"react-dom": "^18",
"next": "14.2.18"
"next": "^14"
}
}
1 change: 1 addition & 0 deletions fixtures/next-15/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
Loading

0 comments on commit 4371ab3

Please sign in to comment.