Skip to content

Commit

Permalink
feat: 0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Jul 17, 2023
1 parent 8555286 commit 0c5b817
Show file tree
Hide file tree
Showing 8 changed files with 984 additions and 728 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,11 @@ jobs:

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7

- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version: 18
node-version-file: .nvmrc
cache: pnpm
registry-url: "https://registry.npmjs.org"

Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, ubuntu-22.04]
node_version: [16, 18]

runs-on: ${{ matrix.os }}

Expand All @@ -23,13 +22,11 @@ jobs:

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7

- name: Setup node with cache
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
node-version-file: .nvmrc
cache: pnpm

- name: Install Dependencies
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notables change for @leomotors/config will be noted here

## [0.11.0] - 2023-07-17

- feat: bump prettier to v3 + eslint-plugin-prettier v5 and typescript-eslint v6

## [0.10.0] - 2023-03-19

- chore: bump dependencies
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ Install peer dependencies too (auto-install-peers might not work here in some ca

```bash
pnpm add -D @types/eslint @typescript-eslint/parser eslint-plugin-sort-destructure-keys \
@types/node eslint-config-prettier eslint \
@types/prettier eslint-plugin-import \
@types/node@18 eslint-config-prettier \
eslint eslint-plugin-import \
@typescript-eslint/eslint-plugin eslint-plugin-prettier
```

More peer dependencies are needed for some preset

```bash
pnpm add -D @ianvs/prettier-plugin-sort-imports eslint-config-next \
pnpm add -D @trivago/prettier-plugin-sort-imports eslint-config-next \
eslint-plugin-jsx-a11y eslint-plugin-react \
eslint-plugin-react-hooks prettier-plugin-tailwindcss
```
Expand Down
49 changes: 24 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "@leomotors/config",
"description": "My personal config for node projects, include ESLint Prettier and TSConfig",
"version": "0.10.0",
"version": "0.11.0",
"license": "MIT",
"packageManager": "pnpm@8.6.8",
"author": {
"name": "Nutthapat Pongtanyavichai",
"url": "https://github.com/Leomotors"
Expand Down Expand Up @@ -43,43 +44,41 @@
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/eslint": "^8.21.2",
"@types/node": "^18.15.3",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-next": "^13.2.4",
"eslint-config-prettier": "^8.7.0",
"@types/eslint": "^8.44.0",
"@types/node": "^18.16.19",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"eslint-config-next": "^13.4.10",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.5",
"typescript": "^5.0.2"
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"typescript": "^5.1.6"
},
"peerDependencies": {
"@trivago/prettier-plugin-sort-imports": "^4.1.1",
"@types/eslint": "^8.21.2",
"@types/node": "^18.15.3",
"@types/prettier": "^2.7.2",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-next": "^13.2.4",
"eslint-config-prettier": "^8.7.0",
"@types/eslint": "^8.44.0",
"@types/node": "^18.16.19",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.45.0",
"eslint-config-next": "^13.4.10",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-sort-destructure-keys": "^1.5.0",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.5",
"typescript": "^5.0.2"
"prettier": "^3.0.0",
"prettier-plugin-tailwindcss": "^0.4.1",
"typescript": "^5.1.6"
},
"peerDependenciesMeta": {
"@trivago/prettier-plugin-sort-imports": {
Expand Down
Loading

0 comments on commit 0c5b817

Please sign in to comment.