-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(treewide): native CommonJS (#176)
- Loading branch information
Showing
20 changed files
with
1,272 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
"@livekit/agents": minor | ||
"@livekit/agents-plugin-deepgram": minor | ||
"@livekit/agents-plugin-elevenlabs": minor | ||
"@livekit/agents-plugin-openai": minor | ||
"@livekit/agents-plugin-silero": minor | ||
--- | ||
|
||
support native CommonJS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,42 +3,52 @@ | |
"version": "0.4.6", | ||
"description": "LiveKit Agents - Node.js", | ||
"main": "dist/index.js", | ||
"require": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"author": "LiveKit", | ||
"type": "module", | ||
"repository": "[email protected]:livekit/agents-js.git", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"dist", | ||
"src" | ||
"src", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"", | ||
"clean": "rm -rf dist", | ||
"clean:build": "pnpm clean && pnpm build", | ||
"lint": "eslint -f unix \"src/**/*.ts\"", | ||
"api:check": "api-extractor run --typescript-compiler-folder ../node_modules/typescript", | ||
"api:update": "api-extractor run --local --typescript-compiler-folder ../node_modules/typescript --verbose" | ||
}, | ||
"devDependencies": { | ||
"@livekit/rtc-node": "^0.12.1", | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@livekit/rtc-node": "^0.11.1", | ||
"@types/node": "^22.5.5", | ||
"@types/ws": "^8.5.10", | ||
"tsup": "^8.3.5", | ||
"typescript": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"@livekit/mutex": "^1.1.0", | ||
"@livekit/protocol": "^1.27.1", | ||
"@livekit/mutex": "^1.1.1", | ||
"@livekit/protocol": "^1.29.1", | ||
"@livekit/typed-emitter": "^3.0.0", | ||
"commander": "^12.0.0", | ||
"livekit-server-sdk": "^2.8.1", | ||
"livekit-server-sdk": "^2.9.2", | ||
"pino": "^8.19.0", | ||
"pino-pretty": "^11.0.0", | ||
"ws": "^8.16.0", | ||
"zod": "^3.23.8" | ||
}, | ||
"peerDependencies": { | ||
"@livekit/rtc-node": "^0.11.1" | ||
"@livekit/rtc-node": "^0.12.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
import defaults from '../tsup.config'; | ||
|
||
export default defineConfig({ | ||
...defaults, | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,35 +3,45 @@ | |
"version": "0.4.6", | ||
"description": "Deepgram plugin for LiveKit Agents for Node.js", | ||
"main": "dist/index.js", | ||
"require": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"author": "LiveKit", | ||
"type": "module", | ||
"repository": "[email protected]:livekit/agents-js.git", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"dist", | ||
"src" | ||
"src", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"", | ||
"clean": "rm -rf dist", | ||
"clean:build": "pnpm clean && pnpm build", | ||
"lint": "eslint -f unix \"src/**/*.{ts,js}\"", | ||
"api:check": "api-extractor run --typescript-compiler-folder ../../node_modules/typescript", | ||
"api:update": "api-extractor run --local --typescript-compiler-folder ../../node_modules/typescript --verbose" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@livekit/agents": "workspace:^", | ||
"@livekit/rtc-node": "^0.11.1", | ||
"@livekit/rtc-node": "^0.12.1", | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@types/ws": "^8.5.10", | ||
"tsup": "^8.3.5", | ||
"typescript": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"ws": "^8.16.0" | ||
}, | ||
"peerDependencies": { | ||
"@livekit/agents": "workspace:^", | ||
"@livekit/rtc-node": "^0.11.1" | ||
"@livekit/rtc-node": "^0.12.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
import defaults from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
...defaults, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,35 +3,45 @@ | |
"version": "0.4.6", | ||
"description": "ElevenLabs plugin for LiveKit Node Agents", | ||
"main": "dist/index.js", | ||
"require": "dist/index.cjs", | ||
"types": "dist/index.d.ts", | ||
"exports": { | ||
".": { | ||
"types": "./dist/index.d.ts", | ||
"import": "./dist/index.js", | ||
"require": "./dist/index.cjs" | ||
} | ||
}, | ||
"author": "LiveKit", | ||
"type": "module", | ||
"repository": "[email protected]:livekit/agents-js.git", | ||
"license": "Apache-2.0", | ||
"files": [ | ||
"dist", | ||
"src" | ||
"src", | ||
"README.md" | ||
], | ||
"scripts": { | ||
"build": "tsc", | ||
"build": "tsup --onSuccess \"tsc --declaration --emitDeclarationOnly\"", | ||
"clean": "rm -rf dist", | ||
"clean:build": "pnpm clean && pnpm build", | ||
"lint": "eslint -f unix \"src/**/*.{ts,js}\"", | ||
"api:check": "api-extractor run --typescript-compiler-folder ../../node_modules/typescript", | ||
"api:update": "api-extractor run --local --typescript-compiler-folder ../../node_modules/typescript --verbose" | ||
}, | ||
"devDependencies": { | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@livekit/agents": "workspace:^", | ||
"@livekit/rtc-node": "^0.11.1", | ||
"@livekit/rtc-node": "^0.12.1", | ||
"@microsoft/api-extractor": "^7.35.0", | ||
"@types/ws": "^8.5.10", | ||
"tsup": "^8.3.5", | ||
"typescript": "^5.0.0" | ||
}, | ||
"dependencies": { | ||
"ws": "^8.16.0" | ||
}, | ||
"peerDependencies": { | ||
"@livekit/agents": "workspace:^", | ||
"@livekit/rtc-node": "^0.11.1" | ||
"@livekit/rtc-node": "^0.12.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { defineConfig } from 'tsup'; | ||
|
||
import defaults from '../../tsup.config'; | ||
|
||
export default defineConfig({ | ||
...defaults, | ||
}); |
Oops, something went wrong.