Skip to content

Commit

Permalink
Drop unused files, pass linter
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Sep 5, 2024
1 parent b1c8c53 commit f79b2d9
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 122 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { createSharedSchemaFiles } from "./sharedSchema.js"
import { CodeFacts, FieldFacts } from "./typeFacts.js"
import { RedwoodPaths } from "./types.js"

export * from "./main.js"
export * from "./types.js"

import { basename, join } from "node:path"
Expand Down
3 changes: 0 additions & 3 deletions src/main.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/prismaModeller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const prismaModeller = (schema: PrismaSchemaBlocks) => {
leadingFieldComments.push(p.text.replace("/// ", "").replace("// ", ""))
} else if (p.type === "break") {
leadingFieldComments.push("")
} else if (p.type === "attribute" || p.type === "field") {
} else {
properties.set(p.name, {
leadingComments: leadingFieldComments.join("\n"),
property: p,
Expand Down
116 changes: 0 additions & 116 deletions src/run.ts

This file was deleted.

2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ export interface RedwoodPaths {
// }
}
scripts: string
web: any
web: object
}

0 comments on commit f79b2d9

Please sign in to comment.