Skip to content

Commit

Permalink
fix: change export type
Browse files Browse the repository at this point in the history
  • Loading branch information
tassioFront committed Apr 4, 2023
1 parent 9a28a8d commit 593e32c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/storagefy/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# 1.0.0 (2023-02-16)


### Features

* add new lib ([91cf67a](https://github.com/open-ish/utility/commit/91cf67ab0e510950e2ff539b2bc31ced89991ef6))
- add new lib ([91cf67a](https://github.com/open-ish/utility/commit/91cf67ab0e510950e2ff539b2bc31ced89991ef6))
2 changes: 1 addition & 1 deletion packages/storagefy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Have you needed to create a localStorage service? I guess you have. The`storagef
### get data

```TS
import { storageService } from './storagefy';
import { storageService } from '@open-ish/utility-storagefy';

// JS
const data = storageService.get('myObjetct')
Expand Down
5 changes: 4 additions & 1 deletion packages/storagefy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,8 @@
},
"publishConfig": {
"registry": "https://npm.pkg.github.com"
}
},
"main": "src/index.js",
"types": "src/index.d.ts",
"license": "MIT"
}
7 changes: 4 additions & 3 deletions packages/storagefy/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "commonjs",
"outDir": "../../dist/out-tsc",
"declaration": true,
"lib": [
"dom"
]
"suppressImplicitAnyIndexErrors": true,
"sourceMap": false,
"lib": ["dom"]
},
"include": ["src/**/*.ts"],
"exclude": ["jest.config.ts", "src/**/*.spec.ts"]
Expand Down
5 changes: 3 additions & 2 deletions packages/trycatchfy/tsconfig.spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"**/*.test.jsx",
"**/*.spec.jsx",
"**/*.d.ts",
"jest.config.ts"
, "src/lib/models/index.ts" ]
"jest.config.ts",
"src/lib/models/index.ts"
]
}

0 comments on commit 593e32c

Please sign in to comment.