-
-
Notifications
You must be signed in to change notification settings - Fork 232
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1098 from japgolly/custom-routes
Allow custom route parsers
- Loading branch information
Showing
11 changed files
with
194 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
use flake | ||
layout node | ||
eval "$shellHook" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ metals.sbt | |
node_modules/ | ||
package-lock.json | ||
target | ||
.direnv/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
inputs = { | ||
typelevel-nix.url = "github:typelevel/typelevel-nix"; | ||
nixpkgs.follows = "typelevel-nix/nixpkgs"; | ||
flake-utils.follows = "typelevel-nix/flake-utils"; | ||
}; | ||
|
||
outputs = { self, nixpkgs, flake-utils, typelevel-nix }: | ||
flake-utils.lib.eachDefaultSystem (system: | ||
let | ||
pkgs-x86_64 = import nixpkgs { system = "x86_64-darwin"; }; | ||
scala-cli-overlay = final: prev: { scala-cli = pkgs-x86_64.scala-cli; }; | ||
pkgs = import nixpkgs { | ||
inherit system; | ||
overlays = [ typelevel-nix.overlays.default scala-cli-overlay]; | ||
}; | ||
in | ||
{ | ||
devShell = pkgs.devshell.mkShell { | ||
imports = [ typelevel-nix.typelevelShell ]; | ||
packages = [ | ||
pkgs.nodePackages.typescript-language-server | ||
pkgs.nodePackages.vscode-langservers-extracted | ||
pkgs.nodePackages.prettier | ||
pkgs.nodePackages.typescript | ||
pkgs.nodePackages.graphqurl | ||
pkgs.hasura-cli | ||
]; | ||
typelevelShell = { | ||
nodejs.enable = true; | ||
jdk.package = pkgs.jdk11; | ||
}; | ||
env = [ | ||
{ | ||
name = "NODE_OPTIONS"; | ||
value = "--max-old-space-size=8192"; | ||
} | ||
]; | ||
}; | ||
} | ||
|
||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters