Skip to content

Commit 6283ab9

Browse files
fix: Switch back to pnpm
1 parent 7e12f4e commit 6283ab9

File tree

154 files changed

+6866
-2016
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

154 files changed

+6866
-2016
lines changed

.changeset/bitter-ducks-chew.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@tcd-devkit/commitlint-config': patch
3+
'@tcd-devkit/eslint-preset-next': patch
4+
'@tcd-devkit/eslint-preset-node': patch
5+
'@tcd-devkit/eslint-preset-react': patch
6+
'@tcd-devkit/eslint-config': patch
7+
'@tcd-devkit/eslint-config-a11y': patch
8+
'@tcd-devkit/eslint-config-import': patch
9+
'@tcd-devkit/eslint-config-import-ts': patch
10+
'@tcd-devkit/eslint-config-next': patch
11+
'@tcd-devkit/eslint-config-react': patch
12+
'@tcd-devkit/eslint-config-react-hooks': patch
13+
'@tcd-devkit/eslint-config-ts': patch
14+
'@tcd-devkit/internal-utils': patch
15+
'@tcd-devkit/prettier-config': patch
16+
'@tcd-devkit/prettier-config-react': patch
17+
'@tcd-devkit/scripts': patch
18+
'@tcd-devkit/tsconfig': patch
19+
'@tcd-devkit/tsup-config': patch
20+
---
21+
22+
Fix publishing

.changeset/tiny-moose-find.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
'@tcd-devkit/eslint-preset-react': patch
3+
'@tcd-devkit/eslint-preset-next': patch
4+
'@tcd-devkit/eslint-preset-node': patch
5+
'@tcd-devkit/eslint-config-react-hooks': patch
6+
'@tcd-devkit/eslint-config-import-ts': patch
7+
'@tcd-devkit/prettier-config-react': patch
8+
'@tcd-devkit/eslint-config-import': patch
9+
'@tcd-devkit/eslint-config-react': patch
10+
'@tcd-devkit/eslint-config-a11y': patch
11+
'@tcd-devkit/eslint-config-next': patch
12+
'@tcd-devkit/prettier-config': patch
13+
'@tcd-devkit/eslint-config-ts': patch
14+
'@tcd-devkit/eslint-config': patch
15+
'@tcd-devkit/commitlint-config': patch
16+
'@tcd-devkit/internal-utils': patch
17+
'@tcd-devkit/tsup-config': patch
18+
'@tcd-devkit/tsconfig': patch
19+
'@tcd-devkit/scripts': patch
20+
---
21+
22+
Switch back to PNPM

.github/workflows/main.yml

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,34 @@ jobs:
2626
- name: Setup Environment
2727
uses: jdx/mise-action@v3
2828

29-
- uses: actions/cache@v4
29+
- name: Get PNPM store
30+
id: pnpm-cache
31+
shell: bash
32+
run: |
33+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
34+
35+
- name: Setup pnpm cache
36+
uses: actions/cache@v4
3037
with:
31-
path: ~/.bun/install/cache
32-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lockb') }}
38+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
39+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
3340
restore-keys: |
34-
${{ runner.os }}-bun-
41+
${{ runner.os }}-pnpm-store-
3542
3643
- name: Install dependencies
37-
run: bun install --frozen-lockfile
38-
39-
- name: Link scripts package binary
40-
run: |
41-
cd packages/scripts
42-
bun link
43-
cd ../..
44-
bun link @tcd-devkit/scripts
44+
run: pnpm install --frozen-lockfile
4545

4646
- name: Run types
47-
run: bun turbo lint:types --affected
47+
run: pnpm turbo lint:types --affected
4848

4949
- name: Run prettier
50-
run: bun turbo root-lint:prettier
50+
run: pnpm turbo root-lint:prettier
5151

5252
- name: Run eslint
53-
run: bun turbo root-lint:eslint
53+
run: pnpm turbo root-lint:eslint
5454

5555
- name: Run tests
56-
run: bun turbo unit --affected
56+
run: pnpm turbo unit --affected
5757

5858
- name: Run build
59-
run: bun turbo build --affected
59+
run: pnpm turbo build --affected

.github/workflows/release.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,26 +22,32 @@ jobs:
2222
- name: Setup Environment
2323
uses: jdx/mise-action@v3
2424

25-
- uses: actions/cache@v4
25+
- name: Get PNPM store
26+
id: pnpm-cache
27+
shell: bash
28+
run: |
29+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
30+
31+
- name: Setup pnpm cache
32+
uses: actions/cache@v4
2633
with:
27-
path: ~/.bun/install/cache
28-
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
34+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
35+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
2936
restore-keys: |
30-
${{ runner.os }}-bun-
37+
${{ runner.os }}-pnpm-store-
3138
3239
- name: Install dependencies
33-
run: bun install --frozen-lockfile
40+
run: pnpm install --frozen-lockfile
3441

3542
- name: Run build
36-
run: bun turbo build
43+
run: pnpm turbo build
3744

3845
- name: Create Release Pull Request or Publish to npm
3946
id: changesets
4047
uses: changesets/action@v1
4148
with:
42-
publish: bun release
49+
publish: pnpm release
4350
commit: 'chore: Version Packages'
44-
version: bun run version
4551
env:
4652
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4753
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.husky/commit-msg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun commitlint --edit $1
1+
pnpm commitlint --edit $1

.prettierignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
bun.lock
1+
pnpm-lock.yaml
22
.changeset/*.md

0 commit comments

Comments
 (0)