diff --git a/.gitignore b/.gitignore index 95465d4..5b35190 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ node_modules package-lock.json dist -coverage \ No newline at end of file +coverage +.DS_Store \ No newline at end of file diff --git a/package.json b/package.json index 87e11b8..511158c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "zustand-di", "version": "0.0.14", + "private": false, "description": "initialize zustand stores with react context", "keywords": [ "zustand", diff --git a/tests/package.json b/tests/package.json index b9c20ef..931b630 100644 --- a/tests/package.json +++ b/tests/package.json @@ -12,6 +12,7 @@ "devDependencies": { "@testing-library/react": "15.0.7", "@vitest/coverage-v8": "1.6.0", + "@vitest/ui": "1.6.0", "happy-dom": "14.12.0", "vitest": "1.6.0", "zustand": "4.5.2" diff --git a/tests/vitest.config.ts b/tests/vitest.config.ts index e60a2c8..17a996b 100644 --- a/tests/vitest.config.ts +++ b/tests/vitest.config.ts @@ -1,4 +1,3 @@ -// eslint-disable-next-line import/extensions import { defineConfig } from 'vitest/config' export default defineConfig({ diff --git a/tsconfig.json b/tsconfig.json index 8c6f569..b6ccda0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,13 @@ { + "$schema": "https://json.schemastore.org/tsconfig", "compilerOptions": { - "allowJs": true, "baseUrl": ".", + "composite": false, "declaration": true, + "declarationMap": true, "esModuleInterop": true, "exactOptionalPropertyTypes": true, + "forceConsistentCasingInFileNames": true, "isolatedModules": true, "jsx": "react-jsx", "module": "esnext", @@ -13,13 +16,16 @@ "noEmit": true, "noImplicitOverride": true, "noUncheckedIndexedAccess": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "outDir": "dist", - "resolveJsonModule": true, + "rootDir": ".", "skipLibCheck": true, "strict": true, "target": "esnext", "verbatimModuleSyntax": true }, + "display": "zustand-di", "exclude": [ "node_modules", "dist"