In the spirit of Marie Kondo, I'm tidying up!
TL;DR:
- Prefer .envrc `use_nix` and delete all dir-locals.nix files
- Remove ~all references to <nixpkgs>, <unstable>, <depot> and prefer
referencing each with briefcase.third_party.{pkgs,unstable,depot}
- Delete nixBufferFromShell function since I was only using that in
dir-locals.nix files
|
||
|---|---|---|
| .. | ||
| clojure | ||
| elm | ||
| typescript | ||
| README.md | ||
Boilerplate
Storing some boilerplate code to help me reduce the time it takes me to develop and deploy applications.
Usage
Let's say that you would like to create a game for
sandbox.wpcarro.dev/game. We will create a new TypeScript project with the
following:
$ cp ~/briefcase/boilerplate/typescript ~/briefcase/website/sandbox/game
This initializes the project. To start developing, run:
$ nix-shell
$ yarn run dev