Skip to content

Commit

Permalink
chore: next example
Browse files Browse the repository at this point in the history
  • Loading branch information
bradens committed Oct 16, 2024
1 parent 654235b commit 514b69f
Show file tree
Hide file tree
Showing 10 changed files with 21 additions and 16 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
.DS_Store
node_modules
coverage
.env
.next
dist
yarn-error.log
Expand Down
4 changes: 3 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
node_modules
.env
examples
.next
!dist
!dist
Binary file modified bun.lockb
Binary file not shown.
4 changes: 2 additions & 2 deletions examples/codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"license": "ISC",
"description": "",
"dependencies": {
"@codex-data/sdk": "../../",
"@codex-data/sdk": "0.6.2",
"@graphql-codegen/typescript-document-nodes": "^4.0.1",
"graphql": "^16.8.0",
"typescript": "^5.2.2"
Expand All @@ -20,4 +20,4 @@
"@graphql-codegen/client-preset": "^4.1.0",
"@graphql-codegen/typescript": "4.0.1"
}
}
}
Binary file removed examples/next/bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/next/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
6 changes: 0 additions & 6 deletions examples/next/next.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions examples/next/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
reactCompiler: true,
},
};

export default nextConfig;
10 changes: 5 additions & 5 deletions examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
"lint": "next lint"
},
"dependencies": {
"@codex-data/sdk": "=0.6.2",
"@types/node": "20.5.7",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
"next": "14",
"react": "18.2.0",
"react-dom": "18.2.0",
"typescript": "5.2.2",
"@codex-data/sdk": "../../"
"next": "^15.0.0-rc.1",
"react": "^19.0.0-rc-83825814-20241015",
"react-dom": "^19.0.0-rc-83825814-20241015",
"typescript": "5.2.2"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@codex-data/sdk",
"version": "1.0.0",
"version": "1.0.0-rc1",
"engines": {
"node": ">=17.5.0"
},
Expand Down

0 comments on commit 514b69f

Please sign in to comment.