Skip to content
Merged
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
2 changes: 1 addition & 1 deletion src/cli/commands/project/show-project.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Command } from "commander";
import { log } from "@clack/prompts";
import { readProjectConfig } from "@core/config/project.js";
import { readProjectConfig } from "@core/project/config.js";
import { runCommand, runTask } from "../../utils/index.js";

async function showProject(): Promise<void> {
Expand Down
3 changes: 0 additions & 3 deletions src/core/config/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/core/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export * from "./auth/index.js";
export * from "./resources/index.js";
export * from "./config/index.js";
export * from "./project/index.js";
export * from "./utils/index.js";
export * from "./errors.js";
File renamed without changes.
File renamed without changes.
3 changes: 3 additions & 0 deletions src/core/project/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export type * from "./baseResource.js";
export * from "./config.js";
export * from "./schema.js";
File renamed without changes.
2 changes: 1 addition & 1 deletion src/core/resources/entity/resource.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Resource } from "@core/config/baseResource.js";
import type { Resource } from "@core/project/baseResource.js";
import type { Entity } from "./schema.js";
import { readAllEntities } from "./config.js";
import { pushEntities } from "./api.js";
Expand Down
2 changes: 1 addition & 1 deletion src/core/resources/function/resource.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { Resource } from "@core/config/baseResource.js";
import type { Resource } from "@core/project/baseResource.js";
import type { FunctionConfig } from "./schema.js";
import { readAllFunctions } from "./config.js";

Expand Down
2 changes: 1 addition & 1 deletion tests/core/project.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { describe, it, expect } from "vitest";
import { readProjectConfig } from "../../src/core/config/project.js";
import { readProjectConfig } from "../../src/core/project/config.js";
import { resolve } from "path";

const FIXTURES_DIR = resolve(__dirname, "../fixtures");
Expand Down