Skip to content

Commit

Permalink
fix: update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Argeare5 committed Feb 2, 2024
1 parent 58694fb commit eb06ea1
Show file tree
Hide file tree
Showing 4 changed files with 299 additions and 145 deletions.
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
"files": [
"dist"
],
"type": "module",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"module": "dist/index.js",
Expand All @@ -61,40 +60,40 @@
"peerDependencies": {
"immer": "^10.0.3",
"react": "^18.2.0",
"viem": "^2.1.1",
"wagmi": "^2.2.1",
"zustand": "^4.4.7"
"viem": "^2.7.1",
"wagmi": "^2.5.5",
"zustand": "^4.5.0"
},
"devDependencies": {
"@size-limit/preset-small-lib": "^11.0.1",
"@size-limit/preset-small-lib": "^11.0.2",
"@types/lodash": "^4.14.202",
"@types/react": "^18.2.48",
"@types/react": "^18.2.51",
"@types/react-dom": "^18.2.18",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"husky": "^9.0.10",
"immer": "^10.0.3",
"lodash": "^4.17.21",
"lodash-es": "^4.17.21",
"prettier": "^3.2.2",
"prettier": "^3.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"size-limit": "^11.0.1",
"size-limit": "^11.0.2",
"tsup": "^8.0.1",
"typescript": "^5.3.3",
"viem": "^2.1.1",
"wagmi": "^2.2.1",
"zustand": "^4.4.7"
"viem": "^2.7.1",
"wagmi": "^2.5.5",
"zustand": "^4.5.0"
},
"dependencies": {
"@tanstack/react-query": "^5.17.12",
"@tanstack/react-query": "^5.18.1",
"dayjs": "^1.11.10"
}
}
10 changes: 0 additions & 10 deletions tsup.config.js

This file was deleted.

21 changes: 21 additions & 0 deletions tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Options } from 'tsup';

const config: Options = {
entry: ['src/index.tsx'],
sourcemap: true,
clean: true,
// bundle: true,
format: ['iife', 'cjs', 'esm'],
dts: {
compilerOptions: {
moduleResolution: 'node',
allowSyntheticDefaultImports: true,
strict: true,
},
},
// otherwise .env is ordered wrongly
// https://github.com/evanw/esbuild/issues/399
splitting: false,
};

export default config;
Loading

0 comments on commit eb06ea1

Please sign in to comment.