* Add status property to content item structure This commit introduces a new `status` property to the content item structure, allowing content items to maintain a status such as 'draft', 'published', 'review', 'pending'. This status is mapped to the corresponding status in Wordpress and Keystatic clients to ensure consistent usage across platforms. Content retrieval methods now also include a status filter. * Refactor code for style and readability improvements This commit includes changes in various files across different packages to improve code readability, including adjusting spacing and breaking down complex lines into simpler parts. In addition, the switch statement in `wp-client.ts` has been refactored and status values are now held in variables, and the CSS classes in `global-loader.tsx` have been reorganized.
22 lines
508 B
Plaintext
22 lines
508 B
Plaintext
---
|
|
title: "Installing Dependencies"
|
|
description: "Learn how to install dependencies for your project."
|
|
publishedAt: 2024-04-11
|
|
parent: "getting-started/getting-started"
|
|
order: 0
|
|
status: "published"
|
|
---
|
|
|
|
To install dependencies in your project, please install `pnpm` by running the following command:
|
|
|
|
```bash
|
|
npm install -g pnpm
|
|
```
|
|
|
|
Next, navigate to your project directory and run the following command:
|
|
|
|
```bash
|
|
pnpm install
|
|
```
|
|
|
|
This will install all the dependencies listed in your `package.json` file. |