Skip to content

Commit

Permalink
chore: staged changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rayriffy committed Feb 10, 2024
1 parent 84f23f1 commit 6f3ff04
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 2 deletions.
Binary file modified bun.lockb
Binary file not shown.
22 changes: 20 additions & 2 deletions commons/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
{
"name": "@riffyh/commons",
"version": "1.0.0",
"main": "src/index.ts",
"private": true
}
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rayriffy/rayriffy-h.git"
},
"files": [
"src/"
],
"dependencies": {
"lodash": "4.17.21"
},
"devDependencies": {
"@types/lodash": "4.14.202",
"tsup": "8.0.2"
}
}
15 changes: 15 additions & 0 deletions commons/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "es2016",
"module": "commonjs",
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"strict": true,
"skipLibCheck": true,
"outDir": "dist",
"types": ["bun-types"]
},
"include": [
"src/**/*.ts"
]
}
10 changes: 10 additions & 0 deletions commons/tsup.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { defineConfig } from 'tsup'

export default defineConfig({
entry: ['src/index.ts'],
splitting: false,
sourcemap: true,
dts: true,
outDir: 'dist',
clean: true,
})

0 comments on commit 6f3ff04

Please sign in to comment.