feat: TS support to views fs I/O (#18419)
* feat(internals): add error-safe fp-ts utilities to deal with fs I/O
* feat(internals): handle fs I/O when receiving view definitions
* feat(migrate): plug in views I/O fs handling in "prisma db pull"
* test(migrate): start testing "postgresql views fs I/O"
* test removal of extraneous files
* test deletion with file perms
* add cli snapshot for views fs
* test without views previewFeature
* remove perms test
* test: assert "views" shape when no views are retrieved
* fix: update IntrospectResult type signature
* fix(tests): postgres views on Windows
* chore: udpate comments
* test(migrate): view fs in several paths, both standard and non-standard
* fix: remove path.posix from globby
* test: complete postgres views fs I/O
* fix: windows support in globby
* fix: globby on windows
* fix: globby on windows
* chore: cannot use replaceAll on Node.js 14
* chore: skip win32
* fix(migrate): update snapshots
---------
Co-authored-by: Sophie Atkins <atkins@prisma.io>
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com>
Co-authored-by: Alexey Orlenko <alex@aqrln.net>
base
096f7f0
8 months ago by jkomyno
-68%
chore(deps): update engines to 4.12.0-67.659ef412370fa3b41cd7bf6e94587c1dfb7f67e7