Skip to content

Update lib package dependencies using yarn #40

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 3 commits into from
May 16, 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
52 changes: 40 additions & 12 deletions devconnect/README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,56 @@
# DevConnect

This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).

## Prerequisites

- Node.js 18.x or later (required for Next.js 13.4.9 and other dependencies)
- Yarn package manager
- Access to the shared library

## Getting Started

First, run the development server:
1. First, install the shared library:

```bash
cd ../lib
yarn install
```

2. Install project dependencies:

```bash
cd ../devconnect
yarn install
```

3. Run the development server:

```bash
npm run dev
# or
yarn dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
## Project Structure

- `cms/` - Content management system files for translations
- `src/` - Main source code directory
- `ai/` - AI-related functionality
- `common/components` - Project specific components
- `pages/` - Next.js pages and API routes
- `store/` - State management
- `styles/` - Main style files
- `types/` - TypeScript type definitions
- `public/` - Public static assets
- `styles/` - Global styles and Tailwind configuration
- `tina/` - TinaCMS configuration and templates

[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
## Development

The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
- The page auto-updates as you edit files
- API routes can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello)
- The `pages/api` directory is mapped to `/api/*`

## Learn More

Expand All @@ -26,9 +60,3 @@ To learn more about Next.js, take a look at the following resources:
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
25 changes: 24 additions & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
Remember to npm install here to keep typescript happy!
# Shared Library

This directory contains shared code and utilities used across the project.

## Setup

```bash
# Install dependencies
yarn install
```

## Development

- This library is used as a dependency in other parts of the project
- Make sure to run `yarn install` here to keep TypeScript happy
- Any changes to this library may require rebuilding dependent projects

## Usage

This library is automatically linked to other projects in the monorepo. Import components and utilities as needed:

```typescript
import { Button } from 'lib/components/button'
```
152 changes: 0 additions & 152 deletions lib/package-lock.json

This file was deleted.

Loading
Loading