Skip to content

Commit

Permalink
feat: report dependency missing for class and factory (#18)
Browse files Browse the repository at this point in the history
* feat: report dependency missing for class and factory

* fix: fix types

* test: add test for factory item

* fix: update dependencies and fix type error

* fix: update lint
  • Loading branch information
wzhudev authored Feb 8, 2024
1 parent d9f39c8 commit 195c751
Show file tree
Hide file tree
Showing 14 changed files with 3,403 additions and 4,485 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18

- name: Install pnpm
uses: pnpm/action-setup@v2
Expand Down
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
.DS_Store
2

# test
coverage/

# node.js
node_modules
yarn.lock
yarn-error.log

publish/

pnpm-lock.yaml

2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"editor.formatOnSave": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
"editor.defaultFormatter": "vscode.typescript-language-features"
}
}
4,405 changes: 0 additions & 4,405 deletions package-lock.json

This file was deleted.

19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"$schema": "https://raw.githubusercontent.com/wzhudev/squirrel/master/src/schema/package.schema.json",
"name": "@wendellhu/redi",
"version": "0.12.13",
"version": "0.13.0",
"description": "A dependency library for TypeScript and JavaScript, along with a binding for React.",
"scripts": {
"test": "vitest run --coverage",
"watch": "vitest",
"lint": "eslint --fix 'src/**/*.ts'",
"lint:prettier": "prettier --write '{src,test}/**/*.{ts,tsx}'",
"build": "squirrel",
Expand All @@ -21,19 +22,19 @@
"devDependencies": {
"@testing-library/dom": "^8.5.0",
"@testing-library/react": "^14.0.0",
"@types/node": "^16.0.0",
"@types/react": "^18.0.0",
"@typescript-eslint/eslint-plugin": "^4.30.0",
"@typescript-eslint/parser": "^4.30.0",
"@types/node": "^20.11.7",
"@types/react": "^18.2.48",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@wendellhu/squirrel": "^0.1.7",
"c8": "^7.11.2",
"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": "^4.5.0",
"vitest": "^0.10.0"
"typescript": "^5.3.3",
"vitest": "^1.2.1",
"@vitest/coverage-istanbul": "^1.2.2"
}
}
}
Loading

0 comments on commit 195c751

Please sign in to comment.