File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ use flake
2+ dotenv_if_exists
3+ PATH_add ./node_modules/.bin
Original file line number Diff line number Diff line change @@ -12,4 +12,5 @@ dist-dts
1212rollup.config- * .mjs
1313* .log
1414.DS_Store
15- drizzle-seed /src /dev
15+ drizzle-seed /src /dev
16+ .direnv
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ pnpm install && pnpm build
99```
1010
1111#### Development
12- Make any changes you require to the ` drizzle-kit/api ` file ([ see here] ( ./drizzle-kit/src/api.ts ) ), then run:
12+ Make any changes you require to the ` drizzle-kit/api ` file ([ see here] ( ./drizzle-kit/src/api.ts ) ), then run (from ` drizzle-kit ` ) :
1313``` bash
1414pnpm build
1515```
Original file line number Diff line number Diff line change 11{
22 "name" : " @drizzle-team/drizzle-kit" ,
3- "version" : " 0.31.11 " ,
3+ "version" : " 0.32.0 " ,
44 "homepage" : " https://orm.drizzle.team" ,
55 "keywords" : [
66 " drizzle" ,
Original file line number Diff line number Diff line change 1+ {
2+ inputs . nixpkgs . url = "github:NixOS/nixpkgs/master" ;
3+ inputs . flake-utils . url = "github:numtide/flake-utils" ;
4+
5+ outputs = { self , nixpkgs , flake-utils } :
6+ flake-utils . lib . eachDefaultSystem ( system : let
7+ pkgs = nixpkgs . legacyPackages . ${ system } ;
8+ in {
9+ devShell = pkgs . mkShell {
10+ nativeBuildInputs = [ pkgs . bashInteractive ] ;
11+ buildInputs = with pkgs ; [
12+ nodePackages . prisma
13+ ] ;
14+ shellHook = with pkgs ; ''
15+ export PRISMA_MIGRATION_ENGINE_BINARY="${ prisma-engines } /bin/migration-engine"
16+ export PRISMA_QUERY_ENGINE_BINARY="${ prisma-engines } /bin/query-engine"
17+ export PRISMA_QUERY_ENGINE_LIBRARY="${ prisma-engines } /lib/libquery_engine.node"
18+ export PRISMA_INTROSPECTION_ENGINE_BINARY="${ prisma-engines } /bin/introspection-engine"
19+ export PRISMA_FMT_BINARY="${ prisma-engines } /bin/prisma-fmt"
20+ '' ;
21+ } ;
22+ } ) ;
23+ }
You can’t perform that action at this time.
0 commit comments