Skip to content

Commit 370e88f

Browse files
authored
chore: bump deps, use pnpm instead (#568)
1 parent 6878434 commit 370e88f

21 files changed

+7079
-10076
lines changed

.changeset/pre.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"mode": "pre",
2+
"mode": "exit",
33
"tag": "alpha",
44
"initialVersions": {
55
"eslint-plugin-prettier": "4.2.2"

.commitlintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"extends": "@1stg"
2+
"extends": "@commitlint/config-conventional"
33
}

.eslintrc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"root": true,
3+
"parserOptions": {
4+
"ecmaVersion": "latest",
5+
"sourceType": "module"
6+
},
7+
"env": {
8+
"mocha": true,
9+
"node": true
10+
},
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@eslint-community/eslint-comments/recommended",
14+
"plugin:eslint-plugin/recommended",
15+
"plugin:n/recommended",
16+
"plugin:mdx/recommended",
17+
"plugin:prettier/recommended"
18+
],
19+
"rules": {
20+
"eslint-plugin/report-message-format": ["error", "^[^a-z].*\\.$"]
21+
}
22+
}

.eslintrc.json

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

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,24 @@ jobs:
1616
- 14
1717
- 16
1818
- 18
19+
- 20
1920

2021
steps:
2122
- uses: actions/checkout@v3
2223

24+
- uses: pnpm/action-setup@v2
25+
2326
- name: Use Node.js ${{ matrix.node-version }}
2427
uses: actions/setup-node@v3
2528
with:
2629
node-version: ${{ matrix.node-version }}
27-
cache: yarn
30+
cache: pnpm
2831

2932
- name: Install
30-
run: yarn --frozen-lockfile
33+
run: pnpm install
3134

3235
- name: Test
33-
run: yarn mocha
36+
run: pnpm mocha
3437

3538
- name: Perf
36-
run: TIMING=1 yarn lint
39+
run: TIMING=1 pnpm lint

.github/workflows/pkg-size.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- name: Checkout
15-
uses: actions/checkout@v3
14+
- uses: actions/checkout@v3
1615

17-
- name: Setup Node.js
18-
uses: actions/setup-node@v3
16+
- uses: pnpm/action-setup@v2
17+
18+
- uses: actions/setup-node@v3
1919
with:
2020
node-version: 16
21-
cache: yarn
21+
cache: pnpm
2222

2323
- name: Package Size Report
2424
uses: pkg-size/action@v1

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ jobs:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout Repo
14-
uses: actions/checkout@v3
13+
- uses: actions/checkout@v3
1514

16-
- name: Setup Node.js 16
17-
uses: actions/setup-node@v3
15+
- uses: pnpm/action-setup@v2
16+
17+
- uses: actions/setup-node@v3
1818
with:
1919
node-version: 16
20-
cache: yarn
20+
cache: pnpm
2121

2222
- name: Install Dependencies
23-
run: yarn --frozen-lockfile
23+
run: pnpm install
2424

2525
- name: Create Release Pull Request or Publish to npm
2626
id: changesets

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
node_modules
22
*.log
33
.*cache
4+
.yarn/*
5+
!.yarn/plugins
6+
!.yarn/releases

.lintstagedrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"*.{js,md,ts}": ["eslint --cache -f friendly --fix"],
3+
"*.{json,yml}": ["prettier --write"]
4+
}

.lintstagedrc.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)