File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ import { FilesDB } from '@kieranwv/utils'
17
17
const db = new FilesDB ()
18
18
```
19
19
20
+ ## Utils
21
+
22
+ | name | description |
23
+ | -------------------------------- | -------------------------------------- |
24
+ | [ ` FilesDB ` ] ( ./src/files-db.ts ) | The CRUD class for indexDB in browser. |
25
+
20
26
## License
21
27
22
28
[ MIT License] ( ./LICENSE ) © 2024 [ Kieran Wang] ( https://github.com/kieranwv/ )
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @kieranwv/utils" ,
3
3
"type" : " module" ,
4
- "version" : " 1.0 .0" ,
4
+ "version" : " 0.1 .0" ,
5
5
"packageManager" : " pnpm@9.10.0" ,
6
6
"description" : " Collection of common JavaScript / TypeScript utils by @kieranwv." ,
7
7
"author" : " Kieran Wang <kieranwme@gmail.com> (https://github.com/kieranwv/)" ,
49
49
"release" : " bumpp && pnpm build && pnpm publish"
50
50
},
51
51
"devDependencies" : {
52
- "@antfu/eslint-config" : " ^2.27.3 " ,
53
- "bumpp" : " ^9.5.2 " ,
54
- "eslint" : " ^8.57 .0" ,
52
+ "@antfu/eslint-config" : " ^3.8.0 " ,
53
+ "bumpp" : " ^9.8.1 " ,
54
+ "eslint" : " ^9.14 .0" ,
55
55
"jsdom" : " ^24.1.3" ,
56
- "lint-staged" : " ^15.2.9 " ,
56
+ "lint-staged" : " ^15.2.10 " ,
57
57
"rimraf" : " ^5.0.10" ,
58
58
"simple-git-hooks" : " ^2.11.1" ,
59
- "tsup" : " ^8.2.4 " ,
60
- "typescript" : " ^5.5.4 " ,
61
- "vitest" : " ^2.0 .5"
59
+ "tsup" : " ^8.3.5 " ,
60
+ "typescript" : " ^5.6.3 " ,
61
+ "vitest" : " ^2.1 .5"
62
62
},
63
63
"simple-git-hooks" : {
64
64
"pre-commit" : " pnpm lint-staged"
Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ import { defineConfig } from 'tsup'
3
3
export default defineConfig ( {
4
4
entry : [ 'src/index.ts' ] ,
5
5
clean : true ,
6
- format : [ 'cjs' , 'esm' ] ,
6
+ format : [ 'cjs' , 'esm' , 'iife' ] ,
7
+ globalName : 'KieranwvUtils' ,
7
8
dts : true ,
8
9
minify : true ,
9
10
} )
You can’t perform that action at this time.
0 commit comments