Skip to content

Commit e257add

Browse files
committed
Switch to Yarn
1 parent 19efc71 commit e257add

File tree

14 files changed

+9153
-5913
lines changed

14 files changed

+9153
-5913
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,11 @@ jobs:
2020
with:
2121
node-version: 'lts/*'
2222

23-
- name: Setup pnpm
24-
uses: pnpm/action-setup@v4
25-
2623
- name: Install dependencies
27-
run: pnpm install
24+
run: yarn install
2825

2926
- name: Run tests
30-
run: pnpm test
27+
run: yarn test
3128

3229
release:
3330
needs: test
@@ -48,19 +45,16 @@ jobs:
4845
node-version: 'lts/*'
4946
registry-url: 'https://registry.npmjs.org'
5047

51-
- name: Setup pnpm
52-
uses: pnpm/action-setup@v4
53-
5448
- name: Install dependencies
55-
run: pnpm install
49+
run: yarn install
5650

5751
- name: Verify provenance
5852
run: npm audit signatures
5953

6054
- name: Build
61-
run: pnpm build
55+
run: yarn build
6256

6357
- name: Publish
64-
run: pnpm semantic-release
58+
run: yarn semantic-release
6559
env:
6660
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/test.yml

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,34 @@
11
name: Test
2+
23
on:
34
push:
45
branches: [main]
56
pull_request:
67
branches: [main]
8+
79
jobs:
810
test:
911
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
node-version: [20.x, 22.x, 24.x]
1312
steps:
14-
- name: Setup Node.js ${{ matrix.node-version }}
15-
uses: mskelton/setup-pnpm@v2
13+
- name: Checkout
14+
uses: actions/checkout@v4
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v4
1618
with:
17-
node-version: ${{ matrix.node-version }}
18-
- run: pnpm format:check
19-
- run: pnpm lint
20-
- run: pnpm test
21-
- run: pnpm ts
19+
node-version: 'lts/*'
20+
21+
- name: Install dependencies
22+
run: yarn install
23+
24+
- name: Check formatting
25+
run: yarn format:check
26+
27+
- name: Lint
28+
run: yarn lint
29+
30+
- name: Test
31+
run: yarn test
32+
33+
- name: Type check
34+
run: yarn ts

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
11
node_modules/
2+
.yarn/*
3+
!.yarn/patches
4+
!.yarn/plugins
5+
!.yarn/releases
6+
!.yarn/sdks
7+
!.yarn/versions
8+
29
dist/
310
*.tgz

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
dist/
2-
pnpm-lock.yaml
2+
.yarn/
3+
.yarnrc.yml

.yarn/plugins/@yarnpkg/plugin-outdated.cjs

Lines changed: 35 additions & 0 deletions
Large diffs are not rendered by default.

.yarn/releases/yarn-4.12.0.cjs

Lines changed: 942 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
nodeLinker: node-modules
2+
3+
plugins:
4+
- checksum: c13ed363e15a826d9f779e7e7aca9dbee1d6d54813261d6f495da2fa94b01fa7579e516587ae2df5834f5d63d5d90cb392135190e8878b81dbd830c3c9f57809
5+
path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
6+
spec: "https://go.mskelton.dev/yarn-outdated/v4"
7+
8+
yarnPath: .yarn/releases/yarn-4.12.0.cjs

.cursor/rules/eslint-plugin-playwright.mdc renamed to AGENTS.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ runRuleTester('{rule-name}', rule, {
216216
3. **Create a plan**: Step-by-step approach to solving the issue
217217
4. **Write tests first**: Implement failing tests that demonstrate the problem
218218
5. **Implement the solution**: Write the rule or fix the bug
219-
6. **Verify with tests**: Run `pnpm test` to ensure all tests pass
219+
6. **Verify with tests**: Run `yarn test` to ensure all tests pass
220220
7. **Create branch and PR**: Use semantic commit messages and add `ai` label
221221

222222
### Common Issue Types
@@ -230,12 +230,12 @@ runRuleTester('{rule-name}', rule, {
230230

231231
### Development Commands
232232

233-
- `pnpm install` - Install dependencies
234-
- `pnpm test` - Run all tests
235-
- `pnpm test:watch` - Run tests in watch mode
236-
- `pnpm build` - Build the plugin
237-
- `pnpm lint` - Run ESLint
238-
- `pnpm format` - Format code with Prettier
233+
- `yarn install` - Install dependencies
234+
- `yarn test` - Run all tests
235+
- `yarn test:watch` - Run tests in watch mode
236+
- `yarn build` - Build the plugin
237+
- `yarn lint` - Run ESLint
238+
- `yarn format` - Format code with Prettier
239239

240240
### Release Process
241241

CLAUDE.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## Installing Dependencies
44

5-
We use [pnpm](https://pnpm.io) for managing dependencies. You can install the
5+
We use [yarn](https://yarnpkg.com) for managing dependencies. You can install the
66
necessary dependencies using the following command:
77

88
```bash
9-
pnpm install
9+
yarn install
1010
```
1111

1212
## Running Tests
@@ -15,13 +15,13 @@ When making changes to lint rules, you can re-run the tests with the following
1515
command:
1616

1717
```bash
18-
pnpm test
18+
yarn test
1919
```
2020

2121
Or run it in watch mode like so:
2222

2323
```bash
24-
pnpm test -- --watch
24+
yarn test --watch
2525
```
2626

2727
## Adding new rules

0 commit comments

Comments
 (0)