Skip to content

Commit 2e71dbd

Browse files
authored
Migrate back to npm (#19)
* migrate to npm
1 parent a42ec54 commit 2e71dbd

File tree

9 files changed

+12529
-20
lines changed

9 files changed

+12529
-20
lines changed

.changeset/khaki-clouds-teach.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@zemd/eslint-flat-config": patch
3+
---
4+
5+
Migrating to npm, fixing dependencies issues

.github/workflows/release.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,24 +20,22 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: Checkout Repo
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424

2525
- name: Setup Node.js 20.x
26-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2727
with:
2828
node-version: 20.x
29-
30-
- name: Setup bun
31-
uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2.0.1
29+
cache: 'npm'
3230

3331
- name: Install Dependencies
34-
run: bun install
32+
run: npm ci
3533

3634
- name: Create Release Pull Request or Publish to npm
3735
id: changesets
3836
uses: changesets/action@c8bada60c408975afd1a20b3db81d6eee6789308 # v1.4.9
3937
with:
40-
publish: bun run release
38+
publish: npm run release
4139
env:
4240
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4341
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
bun run format
1+
npm run format

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Each feature can be used separately and available in the exports of the package.
150150
- `storybook` - recommended and csf-strict rules from `eslint-plugin-storybook`
151151
- `tailwind` - recommended rules from `eslint-plugin-tailwindcss` except `tailwindcss/classnames-order`, since the official prettier plugin sorts classes differently.
152152
- `turbo` - recommended rules from `eslint-config-turbo`
153-
- `vitest` - recommended rules from `eslint-plugin-vitest`
153+
- `vitest` - recommended rules from `@vitest/eslint-plugin`
154154

155155
## Inspirations and alternatives
156156

bun.lockb

-354 KB
Binary file not shown.

0 commit comments

Comments
 (0)