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: use pnpm for publish again #251

Merged
merged 3 commits into from
Apr 21, 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
6 changes: 0 additions & 6 deletions .changeset/cool-wolves-sniff.md

This file was deleted.

22 changes: 17 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,27 @@ jobs:
with:
token: ${{ secrets.API_TOKEN_GITHUB }}
- uses: oven-sh/setup-bun@v1

- name: Install Node.js
uses: actions/setup-node@v2
with:
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
id: pnpm-install
with:
version: 8.12.1
run_install: true

- name: Install dependencies
run: bun install
- name: Install turbo globally
run: pnpm install -g turbo

- name: Build packages
run: bun run build
run: rm bun.lockb && pnpm turbo run build

- name: Apply version changes to packages
run: bun run changeset:version
run: pnpm run changeset:version

- name: Commit package.json changes
uses: EndBug/add-and-commit@v9
Expand All @@ -31,7 +43,7 @@ jobs:
push: true

- name: Recursive Release
run: bun turbo run release --continue
run: pnpm recursive publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coverage/
packages/api/preserve/**
.turbo

pnpm-*.yaml
pnpm-lock.yaml
*.tsbuildinfo
*.log
*.env
Expand Down
Binary file removed bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@guildedjs/api",
"version": "0.3.2",
"version": "0.3.3",
"description": "Multi-use wrapper over the entire Guilded API. Utilities for making REST requests to the Guilded API with ratelimit handling. Also contains utilities for connecting to Guilded's WebSocket gateway and receiving events.",
"author": "Zaid \"Nico\" <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/gil/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@guildedjs/gil",
"version": "0.5.1",
"version": "0.5.2",
"description": "Framework for guilded.js that allows you to build bots with ease.",
"author": "Zaid \"Nico\" <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/guilded.js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "guilded.js",
"version": "0.24.1",
"version": "0.24.2",
"description": "A Node.js library for the Guilded.gg (https://www.guilded.gg/) API written in TypeScript, usable in either JavaScript or TypeScript projects.",
"author": "Zaid \"Nico\" <[email protected]>",
"license": "MIT",
Expand Down
5 changes: 5 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
packages:
- "packages/**"
- "services/**"
- "apps/**"
- "!packages/create-guilded-app/templates/**"
Loading