Skip to content

Convert from npm to pnpm #9

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

Merged
merged 2 commits into from
Mar 7, 2025
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
4 changes: 4 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node-linker=hoisted
strict-peer-dependencies=false
auto-install-peers=true
save-workspace-protocol=false
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This repository contains the official documentation for MyCoder, an AI-powered c
### Prerequisites

- Node.js version 18.0 or above
- npm or yarn
- pnpm (recommended), npm, or yarn

### Installation

Expand All @@ -24,14 +24,14 @@ git clone https://github.com/drivecore/mycoder-docs.git
cd mycoder-docs

# Install dependencies
yarn
pnpm install
```

### Local Development

```bash
# Start the development server
yarn start
pnpm start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Expand All @@ -40,7 +40,7 @@ This command starts a local development server and opens up a browser window. Mo

```bash
# Generate static content
yarn build
pnpm build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.
Expand All @@ -49,13 +49,13 @@ This command generates static content into the `build` directory and can be serv

```bash
# Deploy to GitHub Pages
USE_SSH=true yarn deploy
USE_SSH=true pnpm deploy
```

Or if not using SSH:

```bash
GIT_USER=<Your GitHub username> yarn deploy
GIT_USER=<Your GitHub username> pnpm deploy
```

The site is automatically deployed when changes are pushed to the main branch.
Expand Down
2 changes: 1 addition & 1 deletion blog/agentic-coding-guidelines.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Best Practices for Efficient Agentic Coding
subTitle: Agentic Coding Best Practices
shortTitle: Agentic Coding Best Practices
date: 2025-03-06
authors: [ben]
tags: [ai, coding]
Expand Down
7 changes: 6 additions & 1 deletion blog/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ ben:
image_url: https://github.com/bhouston.png
socials:
github: bhouston
twitter: BenHouston3D
x: BenHouston3D # Updated from twitter
bluesky: benhouston.bsky.social
mastodon: '@[email protected]'

mycoder_team:
name: MyCoder Team
title: MyCoder Development Team
url: https://github.com/drivecore
image_url: https://github.com/drivecore.png
socials:
github: drivecore
x: mycoderAI
48 changes: 37 additions & 11 deletions docs/getting-started/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,43 @@ This guide will help you set up MyCoder on Linux.
## Prerequisites

1. **Node.js**: Install Node.js version 20.0.0 or higher
- Using package manager (Ubuntu/Debian):
```bash
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
```
- Using package manager (Fedora/RHEL):
```bash
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
sudo yum install -y nodejs
```
- Verify installation with `node --version`

> **⚠️ Important:** MyCoder requires Node.js runtime to function properly.

**Recommended: Using NVM (Node Version Manager)**

NVM is the preferred way to install Node.js as it allows for easy version management and avoids permission issues:

```bash
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

# Reload shell configuration
source ~/.bashrc # or source ~/.zshrc

# Install latest LTS version of Node.js
nvm install --lts

# Set it as default
nvm use --lts

# Verify installation
node --version
```

**Alternative: Using package manager (Ubuntu/Debian):**
```bash
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt-get install -y nodejs
```

**Alternative: Using package manager (Fedora/RHEL):**
```bash
curl -fsSL https://rpm.nodesource.com/setup_20.x | sudo bash -
sudo yum install -y nodejs
```

Verify installation with `node --version`

2. **Git**: Install Git if not already available
- Ubuntu/Debian: `sudo apt-get install git`
Expand Down
36 changes: 33 additions & 3 deletions docs/getting-started/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,39 @@ This guide will help you set up MyCoder on macOS.
## Prerequisites

1. **Node.js**: Install Node.js version 20.0.0 or higher
- Using Homebrew: `brew install node`
- Or download from [nodejs.org](https://nodejs.org/)
- Verify installation with `node --version`

> **⚠️ Important:** MyCoder requires Node.js runtime to function properly.

**Recommended: Using NVM (Node Version Manager)**

NVM is the preferred way to install Node.js as it allows for easy version management and avoids permission issues:

```bash
# Install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash

# Reload shell configuration
source ~/.zshrc # or source ~/.bash_profile for older macOS versions

# Install latest LTS version of Node.js
nvm install --lts

# Set it as default
nvm use --lts

# Verify installation
node --version
```

**Alternative: Using Homebrew:**
```bash
brew install node
```

**Alternative: Direct download**
Download from [nodejs.org](https://nodejs.org/)

Verify installation with `node --version`

2. **Git**: macOS typically comes with Git pre-installed
- Verify with `git --version`
Expand Down
24 changes: 24 additions & 0 deletions docs/getting-started/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,31 @@ This guide will help you set up MyCoder on Windows.
## Prerequisites

1. **Node.js**: Install Node.js version 20.0.0 or higher

> **⚠️ Important:** MyCoder requires Node.js runtime to function properly.

**Recommended: Using NVM for Windows (Node Version Manager)**

NVM for Windows is the preferred way to install Node.js as it allows for easy version management:

```
# Download and install NVM for Windows
# Visit: https://github.com/coreybutler/nvm-windows/releases
# Download the nvm-setup.exe file from the latest release

# After installation, open a new Command Prompt and install Node.js
nvm install lts

# Set it as default
nvm use lts

# Verify installation
node --version
```

**Alternative: Direct download**
- Download from [nodejs.org](https://nodejs.org/)
- Run the installer and follow the prompts
- Verify installation with `node --version`

2. **Git**: Install Git for Windows
Expand Down
19 changes: 17 additions & 2 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,21 @@ const config: Config = {
onInlineTags: 'warn',
onInlineAuthors: 'warn',
onUntruncatedBlogPosts: 'warn',
// Use short titles in blog sidebar
blogSidebarTitle: 'Recent Posts',
blogSidebarCount: 10,
blogTitle: 'MyCoder Blog',
postsPerPage: 5,
blogListComponent: '@theme/BlogListPage',
blogPostComponent: '@theme/BlogPostPage',
blogTagsListComponent: '@theme/BlogTagsListPage',
blogTagsPostsComponent: '@theme/BlogTagsPostsPage',
rehypePlugins: [],
beforeDefaultRemarkPlugins: [],
beforeDefaultRehypePlugins: [],
truncateMarker: /<!-- truncate -->/,
// Custom sidebar item component is currently causing issues with the build
// blogSidebarItemComponent: require.resolve('./src/components/BlogSidebarItem'),
},
theme: {
customCss: './src/css/custom.css',
Expand Down Expand Up @@ -122,7 +137,7 @@ const config: Config = {
href: 'https://discord.gg/5K6TYrHGHt',
},
{
label: 'Twitter',
label: 'X (Twitter)',
href: 'https://twitter.com/mycoderAI',
},
],
Expand All @@ -145,7 +160,7 @@ const config: Config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} DriveCore, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://drivecore.ai">DriveCore, Inc.</a> Built with Docusaurus.`,
},
prism: {
theme: prismThemes.github,
Expand Down
Loading