rsnext/examples/with-mongodb-mongoose/package.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
390 B
JSON
Raw Normal View History

[ EXAMPLES ] Added with-mongodb example (#13028) * created with-mongodb, Next.js + MongoDB Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Michelle Lucero <31500626+MichelleLucero@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> * Update examples/with-mongodb/README.md Co-authored-by: Tim Neutkens <tim@timneutkens.nl> * modified for dotenv and environment var setup * removed extra instructions on readme, linked it to the MongoDB guides * changes to environment var * replaced document with react logic * removed Pet header * removed isomorphic-unfetch * replaced getInitialProps with getStaticProps (SSG) * removed console log * deleted next.config.js file * fixed prettier styling * fixed link 404 server rendering issue * modified server path for delete/edit * fixed prettier styling * fixed a typo * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * fixed typo, change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * Update examples/with-mongodb/package.json Co-authored-by: Joe Haddad <timer150@gmail.com> * removed dotenv dev dependency Co-authored-by: Joe Haddad <timer150@gmail.com> * cleaned up code and instructions * Update examples/with-mongodb/.gitignore Co-authored-by: Luis Alvarez D. <luis@vercel.com> * minor changes to code style and logic * Updated index page and .env.local.example * Updated new page * Don't use SSG for the edit page * Fixed revalidation issue * Use es6 for the model * Updated edit page * Removed VERCEL_URL * Updated readme and renamed env * Added temporal vercel.json * Removed seed until added with a script * Updated package.json * Renamed example in readme * Renamed example * Lint fix Co-authored-by: liulanz <zhengliulan@gmail.com> Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: sdhani <shania.dhani46@myhunter.cuny.edu> Co-authored-by: liulanz <37808313+liulanz@users.noreply.github.com> Co-authored-by: Joe Haddad <timer150@gmail.com> Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2020-05-30 19:15:00 +02:00
{
"private": true,
[ EXAMPLES ] Added with-mongodb example (#13028) * created with-mongodb, Next.js + MongoDB Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Michelle Lucero <31500626+MichelleLucero@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> * Update examples/with-mongodb/README.md Co-authored-by: Tim Neutkens <tim@timneutkens.nl> * modified for dotenv and environment var setup * removed extra instructions on readme, linked it to the MongoDB guides * changes to environment var * replaced document with react logic * removed Pet header * removed isomorphic-unfetch * replaced getInitialProps with getStaticProps (SSG) * removed console log * deleted next.config.js file * fixed prettier styling * fixed link 404 server rendering issue * modified server path for delete/edit * fixed prettier styling * fixed a typo * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * fixed typo, change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * Update examples/with-mongodb/package.json Co-authored-by: Joe Haddad <timer150@gmail.com> * removed dotenv dev dependency Co-authored-by: Joe Haddad <timer150@gmail.com> * cleaned up code and instructions * Update examples/with-mongodb/.gitignore Co-authored-by: Luis Alvarez D. <luis@vercel.com> * minor changes to code style and logic * Updated index page and .env.local.example * Updated new page * Don't use SSG for the edit page * Fixed revalidation issue * Use es6 for the model * Updated edit page * Removed VERCEL_URL * Updated readme and renamed env * Added temporal vercel.json * Removed seed until added with a script * Updated package.json * Renamed example in readme * Renamed example * Lint fix Co-authored-by: liulanz <zhengliulan@gmail.com> Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: sdhani <shania.dhani46@myhunter.cuny.edu> Co-authored-by: liulanz <37808313+liulanz@users.noreply.github.com> Co-authored-by: Joe Haddad <timer150@gmail.com> Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2020-05-30 19:15:00 +02:00
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start"
},
"dependencies": {
deps updated for with-mongodb-mongoose example (#64928) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? dependencies updated for with-mongodb-mongoose example ### Why? i used this template and everytime its outdated and was not updated for some time so updated the deps ### How? installed the latest version of each outdated dependency and ran the project Closes NEXT- Fixes # --> Co-authored-by: Sam Ko <sam@vercel.com>
2024-04-23 22:05:21 +02:00
"@types/node": "^20.12.7",
"@types/react": "^18.2.79",
"@types/react-dom": "^18.2.25",
"mongoose": "^8.3.2",
"next": "latest",
"react": "^18.2.0",
"react-dom": "^18.2.0",
deps updated for with-mongodb-mongoose example (#64928) <!-- Thanks for opening a PR! Your contribution is much appreciated. To make sure your PR is handled as smoothly as possible we request that you follow the checklist sections below. Choose the right checklist for the change(s) that you're making: ## For Contributors ### Improving Documentation - Run `pnpm prettier-fix` to fix formatting issues before opening the PR. - Read the Docs Contribution Guide to ensure your contribution follows the docs guidelines: https://nextjs.org/docs/community/contribution-guide ### Adding or Updating Examples - The "examples guidelines" are followed from our contributing doc https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md - Make sure the linting passes by running `pnpm build && pnpm lint`. See https://github.com/vercel/next.js/blob/canary/contributing/repository/linting.md ### Fixing a bug - Related issues linked using `fixes #number` - Tests added. See: https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ### Adding a feature - Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. (A discussion must be opened, see https://github.com/vercel/next.js/discussions/new?category=ideas) - Related issues/discussions are linked using `fixes #number` - e2e tests added (https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs) - Documentation added - Telemetry added. In case of a feature if it's used or not. - Errors have a helpful link attached, see https://github.com/vercel/next.js/blob/canary/contributing.md ## For Maintainers - Minimal description (aim for explaining to someone not on the team to understand the PR) - When linking to a Slack thread, you might want to share details of the conclusion - Link both the Linear (Fixes NEXT-xxx) and the GitHub issues - Add review comments if necessary to explain to the reviewer the logic behind a change ### What? dependencies updated for with-mongodb-mongoose example ### Why? i used this template and everytime its outdated and was not updated for some time so updated the deps ### How? installed the latest version of each outdated dependency and ran the project Closes NEXT- Fixes # --> Co-authored-by: Sam Ko <sam@vercel.com>
2024-04-23 22:05:21 +02:00
"swr": "^2.2.5",
"typescript": "^5.4.5"
}
[ EXAMPLES ] Added with-mongodb example (#13028) * created with-mongodb, Next.js + MongoDB Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Michelle Lucero <31500626+MichelleLucero@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> * Update examples/with-mongodb/README.md Co-authored-by: Tim Neutkens <tim@timneutkens.nl> * modified for dotenv and environment var setup * removed extra instructions on readme, linked it to the MongoDB guides * changes to environment var * replaced document with react logic * removed Pet header * removed isomorphic-unfetch * replaced getInitialProps with getStaticProps (SSG) * removed console log * deleted next.config.js file * fixed prettier styling * fixed link 404 server rendering issue * modified server path for delete/edit * fixed prettier styling * fixed a typo * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * fixed typo, change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * change .env to .env.local Co-authored-by: Joe Haddad <timer150@gmail.com> * Update examples/with-mongodb/package.json Co-authored-by: Joe Haddad <timer150@gmail.com> * removed dotenv dev dependency Co-authored-by: Joe Haddad <timer150@gmail.com> * cleaned up code and instructions * Update examples/with-mongodb/.gitignore Co-authored-by: Luis Alvarez D. <luis@vercel.com> * minor changes to code style and logic * Updated index page and .env.local.example * Updated new page * Don't use SSG for the edit page * Fixed revalidation issue * Use es6 for the model * Updated edit page * Removed VERCEL_URL * Updated readme and renamed env * Added temporal vercel.json * Removed seed until added with a script * Updated package.json * Renamed example in readme * Renamed example * Lint fix Co-authored-by: liulanz <zhengliulan@gmail.com> Co-authored-by: Shania Dhani <31454777+sdhani@users.noreply.github.com> Co-authored-by: Chi Shing Lee <60354073+chislee0708@users.noreply.github.com> Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: sdhani <shania.dhani46@myhunter.cuny.edu> Co-authored-by: liulanz <37808313+liulanz@users.noreply.github.com> Co-authored-by: Joe Haddad <timer150@gmail.com> Co-authored-by: Luis Alvarez D. <luis@vercel.com>
2020-05-30 19:15:00 +02:00
}