Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Update npm dependencies and package versions #123

Merged
merged 1 commit into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ After the repository is created, you will need to do the following steps to get

## Requirements

- Git, [Node.js Active LTS](https://nodejs.org/en/about/releases/), Yarn installed for local development.
- Git, [Node.js Active LTS](https://nodejs.org/en/about/releases/), and pnpm installed for local development.

Set up the .env file:

Expand All @@ -46,16 +46,20 @@ NEXTAUTH_SECRET=***

Install the project's dependencies:

> [!NOTE]
> [Do you know the best package manager for Node.js?](https://www.ssw.com.au/rules/best-package-manager-for-node/) Using the right package manager can greatly enhance your development workflow. We recommend using pnpm for its speed and efficient handling of dependencies. Learn more about why pnpm might be the best choice for your projects by checking out this rule from SSW.


```
yarn install
pnpm install
```

Run the project locally:

> This will start TinaCMS in "Local Mode", meaning all changes will be made to the local file system and no auth is required.

```
yarn dev
pnpm dev
```

Run the project locally with Vercel KV:
Expand All @@ -65,15 +69,15 @@ Run the project locally with Vercel KV:
First add the following environment variables to your `.env` file:

```env
# Get these from vercel if you want to run yarn dev:prod
# Get these from vercel if you want to run pnpm dev:prod
KV_REST_API_URL=***
KV_REST_API_TOKEN=***
```

Then run the following command:

```
yarn dev:prod
pnpm dev:prod
```

## Environment Variables
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@
"lint": "next lint"
},
"devDependencies": {
"@types/node": "^22.1.0",
"@types/react": "^18.3.3",
"@types/node": "^22.5.1",
"@types/react": "^18.3.4",
"@types/react-dom": "^18.3.0",
"autoprefixer": "^10.4.20",
"eslint": "^9.8.0",
"eslint-config-next": "^14.2.5",
"eslint": "^9.9.1",
"eslint-config-next": "^14.2.7",
"postcss": "^8.4.41",
"tailwindcss": "^3.4.7"
"tailwindcss": "^3.4.10"
},
"dependencies": {
"@tinacms/cli": "^1.5.52",
"@tinacms/datalayer": "^1.2.39",
"@tinacms/cli": "^1.6.1",
"@tinacms/datalayer": "^1.3.1",
"next": "14.2.1",
"next-auth": "^4.24.7",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tinacms": "^2.1.0",
"tinacms-authjs": "^4.0.0",
"tinacms-gitprovider-github": "^1.0.10",
"tinacms": "^2.2.1",
"tinacms-authjs": "^5.0.1",
"tinacms-gitprovider-github": "^2.0.1",
"typescript": "^5.5.4",
"upstash-redis-level": "^1.1.1"
}
Expand Down
Loading
Loading