Skip to content

Commit

Permalink
chore: rename ogs.yaml to backend.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 6, 2024
1 parent 818917e commit 86334bd
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions src/build/deno_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ import { Project } from "../project/mod.ts";
export async function generateDenoConfig(project: Project) {
// Build config
const config = {
"imports": {
"@ogs/runtime": "./_gen/runtime/src/runtime/mod.ts",
},
"lint": {
"include": ["src/"],
"exclude": ["tests/"],
Expand Down
2 changes: 1 addition & 1 deletion src/config/project.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const projectConfigAjv = new Ajv.default({
export async function readConfig(projectPath: string): Promise<ProjectConfig> {
// Read config
const configRaw = await Deno.readTextFile(
join(projectPath, "ogs.yaml"),
join(projectPath, "backend.yaml"),
);
const config = parse(configRaw) as ProjectConfig;

Expand Down
2 changes: 1 addition & 1 deletion src/template/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ errors: {}

// TODO: Write default schema

// TODO: Add to ogs.yaml
// TODO: Add to backend.yaml
}
File renamed without changes.
3 changes: 0 additions & 3 deletions tests/test_project/deno.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"imports": {
"@ogs/runtime": "./_gen/runtime/src/runtime/mod.ts"
},
"lint": {
"include": [
"src/"
Expand Down

0 comments on commit 86334bd

Please sign in to comment.