Skip to content

Commit

Permalink
feat: show resolution chain on resolving error (#19)
Browse files Browse the repository at this point in the history
* feat: show resolution chain on resolving error

* ci: remove type check from CI
  • Loading branch information
wzhudev authored Apr 24, 2024
1 parent d348eee commit b803be9
Show file tree
Hide file tree
Showing 14 changed files with 392 additions and 312 deletions.
13 changes: 0 additions & 13 deletions .eslintrc.js

This file was deleted.

17 changes: 1 addition & 16 deletions .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,23 +41,8 @@ jobs:
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Setup ESLint cache
uses: actions/cache@v3
with:
path: .eslintcache
key: |
${{ runner.os }}-eslint-${{ hashFiles('.eslintrc.cjs') }}
restore-keys: |
${{ runner.os }}-eslint-
- name: Install dependencies
run: pnpm install

- name: 🩺 Run Test
- name: 🩺 Run test
run: pnpm run test

- name: 🌡️ Run ESLint
run: pnpm run lint

- name: 🧼 Type checking
run: pnpm typeCheck
6 changes: 0 additions & 6 deletions .prettierrc

This file was deleted.

18 changes: 6 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"$schema": "https://raw.githubusercontent.com/wzhudev/squirrel/master/src/schema/package.schema.json",
"name": "@wendellhu/redi",
"version": "0.13.1",
"version": "0.13.2",
"description": "A dependency library for TypeScript and JavaScript, along with a binding for React.",
"scripts": {
"test": "vitest run --coverage",
"test": "vitest run",
"coverage": "vitest run --coverage",
"watch": "vitest",
"lint": "eslint --fix 'src/**/*.ts'",
"lint:prettier": "prettier --write '{src,test}/**/*.{ts,tsx}'",
"build": "squirrel",
"typeCheck": "tsc -p tsconfig.check.json --noEmit"
"build": "squirrel"
},
"squirrel": {
"copyFiles": [
Expand All @@ -24,17 +22,13 @@
"@testing-library/react": "^14.0.0",
"@types/node": "^20.11.7",
"@types/react": "^18.2.48",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vitest/coverage-istanbul": "^1.5.0",
"@wendellhu/squirrel": "^0.1.7",
"eslint": "^7.32.0",
"jsdom": "^19.0.0",
"prettier": "^2.3.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rxjs": "^6.2.1",
"typescript": "^5.3.3",
"vitest": "^1.2.1",
"@vitest/coverage-istanbul": "^1.2.2"
"vitest": "^1.5.0"
}
}
Loading

0 comments on commit b803be9

Please sign in to comment.