Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
300 changes: 130 additions & 170 deletions bun.lock

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@
},
"dependencies": {
"@clack/prompts": "^1.0.1",
"@enbox/agent": "^0.3.1",
"@enbox/api": "^0.4.2",
"@enbox/auth": "^0.3.1",
"@enbox/crypto": "0.0.6",
"@enbox/dids": "0.0.7",
"@enbox/dwn-sdk-js": "0.1.0",
"@enbox/dwn-sql-store": "0.0.9",
"@enbox/agent": "0.5.0",
"@enbox/api": "0.5.0",
"@enbox/auth": "0.6.0",
"@enbox/crypto": "0.1.0",
"@enbox/dids": "0.1.0",
"@enbox/dwn-sdk-js": "0.2.0",
"@enbox/dwn-sql-store": "0.0.12",
"kysely": "0.26.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion tests/bundle-restore.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ describe('restoreFromBundles', () => {
expect(existsSync(`${RESTORE_PATH}/should-not-exist.git`)).toBe(false);

rmSync(freshDataPath, { recursive: true, force: true });
});
}, 30_000);

it('should restore the tip commit matching the original', async () => {
const restoredRepoPath = `${RESTORE_PATH}/restored-tip.git`;
Expand Down
2 changes: 1 addition & 1 deletion tests/cli.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe('gitd CLI commands', () => {
did, repo, refs, issues, patches, ci, releases,
registry, social, notifications, wiki, org, enbox,
};
});
}, 30_000);

afterAll(() => {
delete process.env.GITD_REPO;
Expand Down
2 changes: 1 addition & 1 deletion tests/daemon.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ describe('Unified daemon', () => {
data : { name: 'daemon-test', description: 'Test repo', defaultBranch: 'main', dwnEndpoints: [] },
tags : { name: 'daemon-test', visibility: 'public' },
});
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/github-shim.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ describe('GitHub API compatibility shim', () => {
tags : { tagName: 'v2.0.0-beta', prerelease: true },
parentContextId : repoContextId,
} as any);
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/indexer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ describe('gitd indexer', () => {

store = new IndexerStore();
crawler = new IndexerCrawler(ctx, store);
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/push-authorizer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ describe('createDwnPushAuthorizer', () => {
tags : { name: 'test-repo', visibility: 'public' },
});
repoContextId = record.contextId!;
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/resolver.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ describe('Package resolver, attestation, and trust chain', () => {
data : { name: 'empty-pkg' },
tags : { name: 'empty-pkg', ecosystem: 'npm' },
});
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/shims.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ describe('Package manager shims', () => {
tags : { filename: 'manifest.json', contentType: 'application/octet-stream', size: OCI_MANIFEST_BYTES.byteLength },
parentContextId : ociV1Ctx,
} as any);
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
2 changes: 1 addition & 1 deletion tests/web.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ describe('gitd web UI', () => {
tags : { slug: 'getting-started', title: 'Getting Started' },
parentContextId : repoContextId,
} as any);
});
}, 30_000);

afterAll(() => {
rmSync(DATA_PATH, { recursive: true, force: true });
Expand Down
Loading