Skip to content

Commit

Permalink
refactor: rename the package folder as well, fix copy-files.mjs paths
Browse files Browse the repository at this point in the history
  • Loading branch information
TeemuKoivisto committed Jun 4, 2024
1 parent 77dbae6 commit ef7f5c3
Show file tree
Hide file tree
Showing 16 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions packages/db/copy-files.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ async function copyFiles() {
fs.readFile('./generated/runtime/library.d.ts')
])
await fs
.access('../types/prisma')
.catch(() => fs.mkdir('../types/prisma'))
.then(() => fs.writeFile('../types/prisma/index.d.ts', indexDts))
.access('../lib/prisma')
.catch(() => fs.mkdir('../lib/prisma'))
.then(() => fs.writeFile('../lib/prisma/index.d.ts', indexDts))
await fs
.access('../types/prisma/runtime')
.catch(() => fs.mkdir('../types/prisma/runtime'))
.then(() => fs.writeFile('../types/prisma/runtime/library.d.ts', library))
.access('../lib/prisma/runtime')
.catch(() => fs.mkdir('../lib/prisma/runtime'))
.then(() => fs.writeFile('../lib/prisma/runtime/library.d.ts', library))
}

copyFiles()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ef7f5c3

Please sign in to comment.