Skip to content

Commit 6b40586

Browse files
committed
migrated to pnpm again
1 parent 453c531 commit 6b40586

14 files changed

Lines changed: 9918 additions & 2358 deletions

File tree

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ body:
6464
id: environment
6565
attributes:
6666
label: Environment
67-
description: Include OS, architecture, Node/Bun version, database, and other relevant details.
67+
description: Include OS, architecture, Node/PNPM version, database, and other relevant details.
6868
placeholder: |
6969
OS:
7070
Architecture:
71-
Bun version:
71+
Node/PNPM version:
7272
Database:
7373
7474
- type: textarea

.github/PULL_REQUEST_TEMPLATE/feature.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Pull Request
22

3-
Thank you for contributing to Orbit! 🐈
3+
Thank you for contributing to Orbit!
44

55
Before submitting, please make sure you have read the [Contributing Guide](https://github.com/PlanetaryOrbit/orbit/blob/main/CONTRIBUTING.md).
66

.github/pull_request_template.md

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,57 @@
1-
# Orbit Pull Request
1+
# Pull Request
22

3-
Please select the appropriate pull request template:
3+
Looking for the [RFC Pull Request](?expand=1&template=rfc.md)?
44

5-
- [Normal Pull Request](?expand=1&template=feature.md)
6-
- [RFC Pull Request](?expand=1&template=rfc.md)
5+
Thank you for contributing to Orbit!
76

8-
If you are unsure which template to use, please read the [Contributing Guide](https://github.com/PlanetaryOrbit/orbit/blob/main/CONTRIBUTING.md).
7+
Before submitting, please make sure you have read the [Contributing Guide](https://github.com/PlanetaryOrbit/orbit/blob/main/CONTRIBUTING.md).
98

10-
After selecting a template, go to the **Preview** tab and click the link above.
9+
## Description
10+
11+
<!--
12+
Describe what this PR changes and why.
13+
-->
14+
15+
## Related Issues
16+
17+
<!--
18+
Examples:
19+
Closes #123
20+
Fixes #123
21+
Related to #123
22+
-->
23+
24+
## Type of Change
25+
26+
- [ ] Bug fix
27+
- [ ] New feature
28+
- [ ] Enhancement
29+
- [ ] Documentation
30+
- [ ] Refactor
31+
- [ ] Performance improvement
32+
- [ ] Dependency update
33+
- [ ] Other
34+
35+
## Testing
36+
37+
Describe how you tested your changes.
38+
39+
- [ ] Tested locally
40+
- [ ] Tested using Docker
41+
- [ ] Tested database changes (if applicable)
42+
43+
## Screenshots / Videos
44+
45+
<!-- Required for UI changes -->
46+
47+
## Checklist
48+
49+
- [ ] I have read the contributing guidelines.
50+
- [ ] My changes follow the project's style guidelines.
51+
- [ ] I have tested my changes.
52+
- [ ] I have updated documentation if needed.
53+
- [ ] This PR does not contain unrelated changes.
54+
55+
## Additional Notes
56+
57+
<!-- Anything maintainers should know -->

.github/workflows/lint.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v5
1717

18-
- name: Setup Bun
19-
uses: oven-sh/setup-bun@v2
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 10
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v5
25+
with:
26+
node-version: 24
27+
cache: pnpm
2028

2129
- name: Install dependencies
22-
run: bun install --frozen-lockfile
30+
run: pnpm install --frozen-lockfile
2331

2432
- name: Run ESLint
25-
run: bun run lint
33+
run: pnpm run lint

.github/workflows/security.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,19 @@ jobs:
1515
- name: Checkout code
1616
uses: actions/checkout@v5
1717

18-
- name: Setup Bun
19-
uses: oven-sh/setup-bun@v2
18+
- name: Setup pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 10
22+
23+
- name: Setup Node.js
24+
uses: actions/setup-node@v5
25+
with:
26+
node-version: 24
27+
cache: pnpm
2028

2129
- name: Install dependencies
22-
run: bun install --frozen-lockfile
30+
run: pnpm install --frozen-lockfile
2331

2432
- name: Audit dependencies
25-
run: bun audit
33+
run: pnpm audit

.github/workflows/typeCheck.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,22 @@ jobs:
1717
- name: Checkout code
1818
uses: actions/checkout@v5
1919

20-
- name: Setup Bun
21-
uses: oven-sh/setup-bun@v2
20+
- name: Setup pnpm
21+
uses: pnpm/action-setup@v4
22+
with:
23+
version: 10
24+
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v5
27+
with:
28+
node-version: 24
29+
cache: pnpm
2230

2331
- name: Install dependencies
24-
run: bun install --frozen-lockfile
32+
run: pnpm install --frozen-lockfile
2533

2634
- name: Generate Prisma client
27-
run: bunx prisma generate
35+
run: pnpm exec prisma generate
2836

2937
- name: Run type check
30-
run: bun run typecheck
38+
run: pnpm run typecheck

CONTRIBUTING.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ Large feature suggestions may require an [RFC](#request-for-comment-rfc) before
228228
Before contributing code, make sure you have:
229229

230230
- [Node.js](https://nodejs.org/)
231-
- [Bun](https://bun.sh/)
231+
- [PNPM](https://pnpm.io/)
232232
- [Docker](https://www.docker.com/)
233233
- Git
234234
- A Prisma-compatible database (PostgreSQL recommended)
@@ -249,7 +249,7 @@ cd orbit
249249
### 2. Install Dependencies
250250

251251
```bash
252-
bun install
252+
pnpm install
253253
```
254254

255255
### 3. Configure Environment Variables
@@ -261,8 +261,8 @@ Copy `.env.example` to `.env` and configure the required variables.
261261
Generate the Prisma client and apply the database schema:
262262

263263
```bash
264-
bunx prisma db push
265-
bunx prisma generate
264+
pnpm exec prisma db push
265+
pnpm exec prisma generate
266266
```
267267

268268
Alternatively, you can start the database container:
@@ -274,7 +274,7 @@ docker compose up -d db
274274
### 5. Start Orbit
275275

276276
```bash
277-
bun run dev
277+
pnpm run dev
278278
```
279279

280280
Orbit should now be available at:

Dockerfile

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
1-
FROM oven/bun:1-alpine
1+
FROM node:24-alpine
22

33
ARG NODE_OPTIONS="--max-old-space-size=1536"
44
ENV NODE_OPTIONS="${NODE_OPTIONS}"
55
ENV NEXT_TELEMETRY_DISABLED=1
66

77
WORKDIR /usr/src/app
88

9-
# Install dependencies
10-
COPY package.json bun.lock ./
9+
RUN corepack enable
10+
11+
COPY package.json pnpm-lock.yaml ./
1112
COPY prisma ./prisma/
1213

13-
RUN bun install --frozen-lockfile
14+
RUN pnpm install --frozen-lockfile
1415

15-
# Generate Prisma client
16-
RUN bunx prisma generate
16+
RUN pnpm exec prisma generate
1717

18-
# Copy application source
1918
COPY . .
2019

21-
# Build Next.js app
2220
RUN --mount=type=cache,target=/usr/src/app/.next/cache \
23-
bun run build
21+
pnpm run build
2422

2523
EXPOSE 3000
2624

27-
CMD ["bun", "run", "start"]
25+
CMD ["pnpm", "run", "start"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Orbit is built with a modern, fully TypeScript stack:
235235
- **Frontend:** [Next.js](https://nextjs.org), [TailwindCSS](https://tailwindcss.com)
236236
- **Backend:** [Next.js API Routes](https://nextjs.org/docs/api-routes/introduction), [Prisma ORM](https://www.prisma.io)
237237
- **Database:** Any Prisma-compatible database (PostgreSQL recommended)
238-
- **Bun** is used as the package manager and build tool.
238+
- **PNPM** is used as the package manager and build tool.
239239

240240
---
241241

0 commit comments

Comments
 (0)