Skip to content

Commit 52a781d

Browse files
Copilotjulien-c
andcommitted
Fix quote style and remove unnecessary files
Co-authored-by: julien-c <[email protected]>
1 parent 2cde019 commit 52a781d

File tree

151 files changed

+469
-651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

151 files changed

+469
-651
lines changed

packages/agents/src/lib/evalBuilder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { InferenceClient } from "@huggingface/inference";
2-
import type { Data, Tool } from '../types.js';
2+
import type { Data, Tool } from "../types.js";
33

44
// this function passes the tools & files to the context before calling eval
55
export async function evalBuilder(

packages/agents/src/lib/examples.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Example } from '../types.js';
1+
import type { Example } from "../types.js";
22

33
const examples: Example[] = [
44
{

packages/agents/src/lib/generateCode.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

3-
import { generatePrompt } from './promptGeneration.js';
4-
import { messageTool } from '../tools/message.js';
3+
import { generatePrompt } from "./promptGeneration.js";
4+
import { messageTool } from "../tools/message.js";
55

66
export async function generateCode(
77
prompt: string,

packages/agents/src/lib/promptGeneration.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { Inputs, Tool } from '../types.js';
2-
import examples from './examples.js';
1+
import type { Inputs, Tool } from "../types.js";
2+
import examples from "./examples.js";
33

44
function toolDescription(tool: Tool) {
55
let prompt = `name: ${tool.name} \ndescription: ${tool.description}`;

packages/agents/src/llms/LLMHF.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { LLM } from '../types.js';
1+
import type { LLM } from "../types.js";
22
import { InferenceClient } from "@huggingface/inference";
33

44
export function LLMFromHub(accessToken?: string, model?: string): LLM {

packages/agents/src/tools/imageToText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const imageToTextTool: Tool = {
44
name: "imageToText",

packages/agents/src/tools/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { textToImageTool } from './textToImage.js';
2-
import { imageToTextTool } from './imageToText.js';
3-
import { textToSpeechTool } from './textToSpeech.js';
4-
import { speechToTextTool } from './speechToText.js';
5-
import type { Tool } from '../types.js';
1+
import { textToImageTool } from "./textToImage.js";
2+
import { imageToTextTool } from "./imageToText.js";
3+
import { textToSpeechTool } from "./textToSpeech.js";
4+
import { speechToTextTool } from "./speechToText.js";
5+
import type { Tool } from "../types.js";
66

77
export const defaultTools: Array<Tool> = [textToImageTool, imageToTextTool, textToSpeechTool, speechToTextTool];
88

packages/agents/src/tools/message.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const messageTool: Tool = {
44
name: "message",

packages/agents/src/tools/speechToText.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const speechToTextTool: Tool = {
44
name: "speechToText",

packages/agents/src/tools/textToImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const textToImageTool: Tool = {
44
name: "textToImage",

packages/agents/src/tools/textToSpeech.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Tool } from '../types.js';
1+
import type { Tool } from "../types.js";
22

33
export const textToSpeechTool: Tool = {
44
name: "textToSpeech",

packages/agents/test/HfAgent.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { describe, expect, it } from "vitest";
2-
import { HfAgent } from '../src/HfAgent.js';
3-
import { defaultTools } from '../src/tools/index.js';
4-
import { LLMFromHub, LLMFromEndpoint } from '../src/llms/LLMHF.js';
5-
import type { Data } from '../src/types.js';
2+
import { HfAgent } from "../src/HfAgent.js";
3+
import { defaultTools } from "../src/tools/index.js";
4+
import { LLMFromHub, LLMFromEndpoint } from "../src/llms/LLMHF.js";
5+
import type { Data } from "../src/types.js";
66
import type { InferenceClient } from "@huggingface/inference";
77

88
const env = import.meta.env;

packages/blob/src/utils/FileBlob.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { open, stat } from "node:fs/promises";
22
import { TextDecoder } from "node:util";
33
import { describe, expect, it } from "vitest";
4-
import { FileBlob } from './FileBlob.js';
4+
import { FileBlob } from "./FileBlob.js";
55

66
describe("FileBlob", () => {
77
it("should create a FileBlob with a slice on the entire file", async () => {

packages/blob/src/utils/WebBlob.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it, beforeAll } from "vitest";
2-
import { WebBlob } from './WebBlob.js';
2+
import { WebBlob } from "./WebBlob.js";
33

44
describe("WebBlob", () => {
55
const resourceUrl = new URL("https://huggingface.co/spaces/aschen/push-model-from-web/raw/main/mobilenet/model.json");

packages/blob/src/utils/createBlob.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { WebBlob } from './WebBlob.js';
2-
import { isFrontend } from './isFrontend.js';
1+
import { WebBlob } from "./WebBlob.js";
2+
import { isFrontend } from "./isFrontend.js";
33

44
/**
55
* This function allow to retrieve either a FileBlob or a WebBlob from a URL.

packages/blob/src/utils/isFrontend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
import { isBackend } from './isBackend.js';
1+
import { isBackend } from "./isBackend.js";
22

33
export const isFrontend = !isBackend;

packages/dduf/src/check-dduf.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { describe, expect, it } from "vitest";
2-
import { checkDDUF, type DDUFFileEntry } from './check-dduf.js';
2+
import { checkDDUF, type DDUFFileEntry } from "./check-dduf.js";
33

44
describe("check-dduf", () => {
55
it("should work", async () => {

packages/dduf/src/check-dduf.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { checkFilename } from './check-filename.js';
1+
import { checkFilename } from "./check-filename.js";
22
import { createBlob } from "@huggingface/blob";
33

44
export interface DDUFFileEntry {

packages/gguf/scripts/generate-llm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const DEST_FILE_PATH = "./src/transformer-llm.ts";
1313
const DEST_COMMON_SOURCE = `
1414
/** This file is auto-generated by generate-llm.ts */
1515
16-
import type { ModelBase, GGUFGeneralInfo } from './types.js';
16+
import type { ModelBase, GGUFGeneralInfo } from "./types.js";
1717
1818
type LLMBase<TArchitecture extends string> = Partial<Record<
1919
\`\${TArchitecture}.vocab_size\`

packages/gguf/src/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/usr/bin/env node
22

3-
import type { GGUFParseOutput } from '..js';
4-
import { GGMLQuantizationType, ggufAllShards } from '..js';
5-
import { GGML_QUANT_SIZES } from './quant-descriptions.js';
3+
import type { GGUFParseOutput } from "..js";
4+
import { GGMLQuantizationType, ggufAllShards } from "..js";
5+
import { GGML_QUANT_SIZES } from "./quant-descriptions.js";
66

77
interface PrintColumnHeader {
88
name: string;

packages/gguf/src/gguf.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { beforeAll, describe, expect, it } from "vitest";
2-
import type { GGUFParseOutput } from './gguf.js';
2+
import type { GGUFParseOutput } from "./gguf.js";
33
import {
44
GGMLFileQuantizationType,
55
GGMLQuantizationType,

packages/gguf/src/gguf.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import type { MetadataValue, Version, GGUFMetadata, GGUFTensorInfo, GGUFParseOutput } from './types.js';
2-
import { GGUFValueType } from './types.js';
3-
import { isBackend } from './utils/isBackend.js';
4-
import { promisesQueue } from './utils/promisesQueue.js';
1+
import type { MetadataValue, Version, GGUFMetadata, GGUFTensorInfo, GGUFParseOutput } from "./types.js";
2+
import { GGUFValueType } from "./types.js";
3+
import { isBackend } from "./utils/isBackend.js";
4+
import { promisesQueue } from "./utils/promisesQueue.js";
55

66
export type { MetadataBaseValue, MetadataValue, Version, GGUFMetadata, GGUFTensorInfo, GGUFParseOutput } from "./types";
77
export { GGUFValueType, GGMLQuantizationType, Architecture } from "./types";

packages/gguf/src/quant-descriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { GGMLQuantizationType } from './types.js';
1+
import { GGMLQuantizationType } from "./types.js";
22

33
export const GGUF_QUANT_DESCRIPTIONS: Record<GGMLQuantizationType, { txt: string; src_url?: string }> = {
44
[GGMLQuantizationType.F32]: {

packages/gguf/src/transformer-llm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/** This file is auto-generated by generate-llm.ts */
22

3-
import type { ModelBase, GGUFGeneralInfo } from './types.js';
3+
import type { ModelBase, GGUFGeneralInfo } from "./types.js";
44

55
type LLMBase<TArchitecture extends string> = Partial<
66
Record<

packages/gguf/src/types.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { describe, it } from "vitest";
2-
import type { gguf } from './gguf.js';
3-
import type { GGUFMetadata, GGUFParseOutput } from './types.js';
2+
import type { gguf } from "./gguf.js";
3+
import type { GGUFMetadata, GGUFParseOutput } from "./types.js";
44

55
describe("gguf-types", () => {
66
it("gguf() type can be casted between STRICT and NON_STRICT (at compile time)", async () => {

packages/gguf/src/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { TransformerLLM } from './transformer-llm.js';
2-
import { LLM_ARCHITECTURES } from './transformer-llm.js';
1+
import type { TransformerLLM } from "./transformer-llm.js";
2+
import { LLM_ARCHITECTURES } from "./transformer-llm.js";
33
import type { GGMLQuantizationType, GGMLFileQuantizationType } from "@huggingface/tasks";
44
export { GGMLQuantizationType } from "@huggingface/tasks";
55

packages/hub/cli.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#! /usr/bin/env node
22

33
import { parseArgs } from "node:util";
4-
import { typedEntries } from './src/utils/typedEntries.js';
5-
import { createBranch, createRepo, deleteBranch, repoExists, uploadFilesWithProgress } from './index.js';
4+
import { typedEntries } from "./src/utils/typedEntries.js";
5+
import { createBranch, createRepo, deleteBranch, repoExists, uploadFilesWithProgress } from "./index.js";
66
import { pathToFileURL } from "node:url";
77
import { stat } from "node:fs/promises";
88
import { basename, join } from "node:path";
9-
import { HUB_URL } from './src/consts.js';
9+
import { HUB_URL } from "./src/consts.js";
1010
import { version } from "./package.json";
1111

1212
// Didn't find the import from "node:util", so duplicated it here

packages/hub/src/error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { JsonObject } from './vendor/type-fest/basic.js';
1+
import type { JsonObject } from "./vendor/type-fest/basic.js";
22

33
export async function createApiError(
44
response: Response,

packages/hub/src/lib/cache-management.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { homedir } from "node:os";
22
import { join, basename } from "node:path";
33
import { stat, readdir, readFile, realpath, lstat } from "node:fs/promises";
44
import type { Stats } from "node:fs";
5-
import type { RepoType, RepoId } from '../types/public.js';
5+
import type { RepoType, RepoId } from "../types/public.js";
66

77
function getDefaultHome(): string {
88
return join(homedir(), ".cache");

packages/hub/src/lib/check-repo-access.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { assert, describe, expect, it } from "vitest";
2-
import { checkRepoAccess } from './check-repo-access.js';
3-
import { HubApiError } from '../error.js';
4-
import { TEST_ACCESS_TOKEN, TEST_HUB_URL } from '../test/consts.js';
2+
import { checkRepoAccess } from "./check-repo-access.js";
3+
import { HubApiError } from "../error.js";
4+
import { TEST_ACCESS_TOKEN, TEST_HUB_URL } from "../test/consts.js";
55

66
describe("checkRepoAccess", () => {
77
it("should throw 401 when accessing unexisting repo unauthenticated", async () => {

packages/hub/src/lib/check-repo-access.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import { HUB_URL } from '../consts.js';
1+
import { HUB_URL } from "../consts.js";
22
// eslint-disable-next-line @typescript-eslint/no-unused-vars
3-
import { createApiError, type HubApiError } from '../error.js';
4-
import type { CredentialsParams, RepoDesignation } from '../types/public.js';
5-
import { checkCredentials } from '../utils/checkCredentials.js';
6-
import { toRepoId } from '../utils/toRepoId.js';
3+
import { createApiError, type HubApiError } from "../error.js";
4+
import type { CredentialsParams, RepoDesignation } from "../types/public.js";
5+
import { checkCredentials } from "../utils/checkCredentials.js";
6+
import { toRepoId } from "../utils/toRepoId.js";
77

88
/**
99
* Check if we have read access to a repository.

packages/hub/src/lib/commit.spec.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import { assert, it, describe } from "vitest";
22

3-
import { TEST_HUB_URL, TEST_ACCESS_TOKEN, TEST_USER } from '../test/consts.js';
4-
import type { RepoId } from '../types/public.js';
5-
import type { CommitFile } from './commit.js';
6-
import { commit } from './commit.js';
7-
import { createRepo } from './create-repo.js';
8-
import { deleteRepo } from './delete-repo.js';
9-
import { downloadFile } from './download-file.js';
10-
import { fileDownloadInfo } from './file-download-info.js';
11-
import { insecureRandomString } from '../utils/insecureRandomString.js';
12-
import { isFrontend } from '../utils/isFrontend.js';
3+
import { TEST_HUB_URL, TEST_ACCESS_TOKEN, TEST_USER } from "../test/consts.js";
4+
import type { RepoId } from "../types/public.js";
5+
import type { CommitFile } from "./commit.js";
6+
import { commit } from "./commit.js";
7+
import { createRepo } from "./create-repo.js";
8+
import { deleteRepo } from "./delete-repo.js";
9+
import { downloadFile } from "./download-file.js";
10+
import { fileDownloadInfo } from "./file-download-info.js";
11+
import { insecureRandomString } from "../utils/insecureRandomString.js";
12+
import { isFrontend } from "../utils/isFrontend.js";
1313

1414
const lfsContent = "O123456789".repeat(100_000);
1515

packages/hub/src/lib/commit.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { HUB_URL } from '../consts.js';
2-
import { HubApiError, createApiError, InvalidApiResponseFormatError } from '../error.js';
1+
import { HUB_URL } from "../consts.js";
2+
import { HubApiError, createApiError, InvalidApiResponseFormatError } from "../error.js";
33
import type {
44
ApiCommitHeader,
55
ApiCommitLfsFile,
@@ -10,18 +10,18 @@ import type {
1010
ApiPreuploadRequest,
1111
ApiPreuploadResponse,
1212
} from "../types/api/api-commit";
13-
import type { CredentialsParams, RepoDesignation } from '../types/public.js';
14-
import { checkCredentials } from '../utils/checkCredentials.js';
15-
import { chunk } from '../utils/chunk.js';
16-
import { promisesQueue } from '../utils/promisesQueue.js';
17-
import { promisesQueueStreaming } from '../utils/promisesQueueStreaming.js';
18-
import { sha256 } from '../utils/sha256.js';
19-
import { toRepoId } from '../utils/toRepoId.js';
20-
import { WebBlob } from '../utils/WebBlob.js';
21-
import { eventToGenerator } from '../utils/eventToGenerator.js';
22-
import { base64FromBytes } from '../utils/base64FromBytes.js';
23-
import { isFrontend } from '../utils/isFrontend.js';
24-
import { createBlobs } from '../utils/createBlobs.js';
13+
import type { CredentialsParams, RepoDesignation } from "../types/public.js";
14+
import { checkCredentials } from "../utils/checkCredentials.js";
15+
import { chunk } from "../utils/chunk.js";
16+
import { promisesQueue } from "../utils/promisesQueue.js";
17+
import { promisesQueueStreaming } from "../utils/promisesQueueStreaming.js";
18+
import { sha256 } from "../utils/sha256.js";
19+
import { toRepoId } from "../utils/toRepoId.js";
20+
import { WebBlob } from "../utils/WebBlob.js";
21+
import { eventToGenerator } from "../utils/eventToGenerator.js";
22+
import { base64FromBytes } from "../utils/base64FromBytes.js";
23+
import { isFrontend } from "../utils/isFrontend.js";
24+
import { createBlobs } from "../utils/createBlobs.js";
2525

2626
const CONCURRENT_SHAS = 5;
2727
const CONCURRENT_LFS_UPLOADS = 5;

packages/hub/src/lib/count-commits.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { assert, it, describe } from "vitest";
2-
import { countCommits } from './count-commits.js';
2+
import { countCommits } from "./count-commits.js";
33

44
describe("countCommits", () => {
55
it("should fetch paginated commits from the repo", async () => {

packages/hub/src/lib/count-commits.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { HUB_URL } from '../consts.js';
2-
import { createApiError } from '../error.js';
3-
import type { CredentialsParams, RepoDesignation } from '../types/public.js';
4-
import { checkCredentials } from '../utils/checkCredentials.js';
5-
import { toRepoId } from '../utils/toRepoId.js';
1+
import { HUB_URL } from "../consts.js";
2+
import { createApiError } from "../error.js";
3+
import type { CredentialsParams, RepoDesignation } from "../types/public.js";
4+
import { checkCredentials } from "../utils/checkCredentials.js";
5+
import { toRepoId } from "../utils/toRepoId.js";
66

77
export async function countCommits(
88
params: {

packages/hub/src/lib/create-branch.spec.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import { assert, it, describe } from "vitest";
2-
import { TEST_ACCESS_TOKEN, TEST_HUB_URL, TEST_USER } from '../test/consts.js';
3-
import type { RepoId } from '../types/public.js';
4-
import { insecureRandomString } from '../utils/insecureRandomString.js';
5-
import { createRepo } from './create-repo.js';
6-
import { deleteRepo } from './delete-repo.js';
7-
import { createBranch } from './create-branch.js';
8-
import { uploadFile } from './upload-file.js';
9-
import { downloadFile } from './download-file.js';
2+
import { TEST_ACCESS_TOKEN, TEST_HUB_URL, TEST_USER } from "../test/consts.js";
3+
import type { RepoId } from "../types/public.js";
4+
import { insecureRandomString } from "../utils/insecureRandomString.js";
5+
import { createRepo } from "./create-repo.js";
6+
import { deleteRepo } from "./delete-repo.js";
7+
import { createBranch } from "./create-branch.js";
8+
import { uploadFile } from "./upload-file.js";
9+
import { downloadFile } from "./download-file.js";
1010

1111
describe("createBranch", () => {
1212
it("should create a new branch from the default branch", async () => {

packages/hub/src/lib/create-branch.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { HUB_URL } from '../consts.js';
2-
import { createApiError } from '../error.js';
3-
import type { AccessToken, RepoDesignation } from '../types/public.js';
4-
import { toRepoId } from '../utils/toRepoId.js';
1+
import { HUB_URL } from "../consts.js";
2+
import { createApiError } from "../error.js";
3+
import type { AccessToken, RepoDesignation } from "../types/public.js";
4+
import { toRepoId } from "../utils/toRepoId.js";
55

66
export async function createBranch(params: {
77
repo: RepoDesignation;

packages/hub/src/lib/create-repo.spec.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
import { assert, it, describe, expect } from "vitest";
22

3-
import { TEST_HUB_URL, TEST_ACCESS_TOKEN, TEST_USER } from '../test/consts.js';
4-
import { insecureRandomString } from '../utils/insecureRandomString.js';
5-
import { createRepo } from './create-repo.js';
6-
import { deleteRepo } from './delete-repo.js';
7-
import { downloadFile } from './download-file.js';
3+
import { TEST_HUB_URL, TEST_ACCESS_TOKEN, TEST_USER } from "../test/consts.js";
4+
import { insecureRandomString } from "../utils/insecureRandomString.js";
5+
import { createRepo } from "./create-repo.js";
6+
import { deleteRepo } from "./delete-repo.js";
7+
import { downloadFile } from "./download-file.js";
88

99
describe("createRepo", () => {
1010
it("should create a repo", async () => {

0 commit comments

Comments
 (0)