Skip to content

Commit

Permalink
Merge pull request #1 from ndragun92/version/1.0.3
Browse files Browse the repository at this point in the history
feat: Add types to TSUP config and update package version
  • Loading branch information
ndragun92 committed Mar 11, 2024
2 parents 91964dd + 955c99b commit 1a1e6d1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "file-sys-cache",
"version": "1.0.2",
"version": "1.0.3",
"description": "A Node.js package providing efficient caching using the file system for storage.",
"type": "module",
"main": "./dist/file-sys-cache.cjs",
Expand Down
3 changes: 2 additions & 1 deletion tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import { defineConfig } from 'tsup'

export default defineConfig({
entry: {
'file-sys-cache': 'src/index.ts'
'file-sys-cache': 'src/index.ts',
'file-sys-cache.types': 'src/types/index.type.ts'
},
format: ['cjs', 'esm'], // Build for commonJS and ESmodules
dts: true, // Generate declaration file (.d.ts)
Expand Down

0 comments on commit 1a1e6d1

Please sign in to comment.