mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-16 04:27:21 +00:00
fix test, adjust node adapter, bump version to 0.1
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -17,6 +17,8 @@ packages/media/.env
|
||||
**/*/vite.config.ts.timestamp*
|
||||
.history
|
||||
**/*/.db/*
|
||||
**/*/*.db-shm
|
||||
**/*/*.db-wal
|
||||
.npmrc
|
||||
/.verdaccio
|
||||
.idea
|
||||
|
||||
@@ -15,8 +15,8 @@ const { dummyConnection, afterAllCleanup } = getDummyConnection();
|
||||
* Node writefile
|
||||
* data: string | NodeJS.ArrayBufferView | Iterable<string | NodeJS.ArrayBufferView> | AsyncIterable<string | NodeJS.ArrayBufferView> | Stream,
|
||||
*/
|
||||
|
||||
describe("MediaController", () => {
|
||||
const ALL_TESTS = !!process.env.ALL_TESTS;
|
||||
describe.skipIf(ALL_TESTS)("MediaController", () => {
|
||||
test("..", async () => {
|
||||
const ctx: any = {
|
||||
em: new EntityManager([], dummyConnection, []),
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "module",
|
||||
"sideEffects": false,
|
||||
"bin": "./dist/cli/index.js",
|
||||
"version": "0.0.14",
|
||||
"version": "0.1.0",
|
||||
"scripts": {
|
||||
"build:all": "bun run build && bun run build:cli",
|
||||
"dev": "vite",
|
||||
|
||||
@@ -12,9 +12,11 @@ const config = {
|
||||
};
|
||||
|
||||
serve(config, {
|
||||
relativeDistPath: "../../node_modules/bknd/dist",
|
||||
port: 1337,
|
||||
listener: ({ port }) => {
|
||||
console.log(`Server is running on http://localhost:${port}`);
|
||||
}
|
||||
},
|
||||
// this is only required to run inside the same workspace
|
||||
// leave blank if you're running this from a different project
|
||||
relativeDistPath: "../../app/dist"
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user