Fix module building
This commit is contained in:
10
README.md
10
README.md
@@ -17,6 +17,16 @@ bun install github:pygmyapp/ipc-client
|
|||||||
- Clone this repository
|
- Clone this repository
|
||||||
- Install dependencies with `bun install`
|
- Install dependencies with `bun install`
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
```sh
|
||||||
|
bun run build
|
||||||
|
```
|
||||||
|
|
||||||
|
## Scripts
|
||||||
|
|
||||||
|
- `bun run lint`: runs Biome's linting, applies safe fixes, suggests fixes to errors, and auto-organizes imports
|
||||||
|
|
||||||
## Licence
|
## Licence
|
||||||
Copyright (c) 2025 Pygmy & contributors
|
Copyright (c) 2025 Pygmy & contributors
|
||||||
All code & assets are licensed under GNU GPL v3 unless stated otherwise.
|
All code & assets are licensed under GNU GPL v3 unless stated otherwise.
|
||||||
|
|||||||
2
bun.lock
2
bun.lock
@@ -11,7 +11,7 @@
|
|||||||
"@tsconfig/bun": "^1.0.8",
|
"@tsconfig/bun": "^1.0.8",
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
"@types/node-ipc": "^9.2.3",
|
"@types/node-ipc": "^9.2.3",
|
||||||
"typescript": "^5",
|
"typescript": "^5.9.2",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,10 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "ipc-client",
|
"name": "ipc-client",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"module": "src/index.ts",
|
"module": "dist/index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"files": ["dist/**/*"],
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"build": "bunx tsc",
|
||||||
"lint": "bunx biome check --write src/"
|
"lint": "bunx biome check --write src/"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -12,7 +14,7 @@
|
|||||||
"@tsconfig/bun": "^1.0.8",
|
"@tsconfig/bun": "^1.0.8",
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
"@types/node-ipc": "^9.2.3",
|
"@types/node-ipc": "^9.2.3",
|
||||||
"typescript": "^5"
|
"typescript": "^5.9.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"node-ipc": "npm:@achrinza/node-ipc@^10.1.11"
|
"node-ipc": "npm:@achrinza/node-ipc@^10.1.11"
|
||||||
|
|||||||
@@ -1,3 +1,11 @@
|
|||||||
{
|
{
|
||||||
"extends": "@tsconfig/bun/tsconfig.json"
|
"extends": "@tsconfig/bun/tsconfig.json",
|
||||||
|
"compilerOptions": {
|
||||||
|
"outDir": "./dist",
|
||||||
|
"allowImportingTsExtensions": false,
|
||||||
|
"noEmit": false
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"./src/**/*.ts"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user