Update configuration files
This commit is contained in:
parent
c3cf2f249a
commit
13b6653536
7 changed files with 58 additions and 36 deletions
|
@ -1 +1 @@
|
||||||
use flake
|
use flake .
|
||||||
|
|
|
@ -3,10 +3,8 @@
|
||||||
PATH="${PATH}:./vendor/bin"
|
PATH="${PATH}:./vendor/bin"
|
||||||
|
|
||||||
tmux new-window -dn scratch
|
tmux new-window -dn scratch
|
||||||
tmux new-window -dn sculpin
|
tmux new-window -dn server
|
||||||
tmux new-window -dn tailwind
|
|
||||||
|
|
||||||
tmux send-keys -t sculpin "sculpin generate --server --watch" Enter
|
tmux send-keys -t server "./watch" Enter
|
||||||
tmux send-keys -t tailwind "cd assets && tailwindcss --input css/tailwind.css --output ../source/build/tailwind.css --watch" Enter
|
|
||||||
|
|
||||||
nvim .
|
nvim .
|
||||||
|
|
|
@ -1,20 +1,27 @@
|
||||||
{
|
{
|
||||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
inputs = {
|
||||||
|
devshell.url = "github:numtide/devshell";
|
||||||
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
outputs = inputs:
|
outputs =
|
||||||
let
|
inputs:
|
||||||
system = "x86_64-linux";
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
pkgs = import inputs.nixpkgs { inherit system; };
|
imports = [ inputs.devshell.flakeModule ];
|
||||||
in
|
|
||||||
{
|
systems = [ "x86_64-linux" ];
|
||||||
devShells.${system}.default =
|
|
||||||
with pkgs;
|
perSystem =
|
||||||
mkShell {
|
{ pkgs, ... }:
|
||||||
buildInputs = [
|
{
|
||||||
nodePackages.browser-sync
|
devshells.default = {
|
||||||
php
|
packages = with pkgs; [
|
||||||
phpPackages.composer
|
nodePackages.browser-sync
|
||||||
];
|
php
|
||||||
|
phpPackages.composer
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
use flake
|
use flake .
|
||||||
|
|
10
storybook/.tmux-sessionizer
Executable file
10
storybook/.tmux-sessionizer
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
: "${NODE_ENV:=development}"
|
||||||
|
|
||||||
|
tmux new-window -dn scratch
|
||||||
|
tmux new-window -dn server
|
||||||
|
|
||||||
|
tmux send-keys -t server "./watch" Enter
|
||||||
|
|
||||||
|
nvim .
|
|
@ -1,19 +1,26 @@
|
||||||
{
|
{
|
||||||
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
inputs = {
|
||||||
|
devshell.url = "github:numtide/devshell";
|
||||||
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
|
};
|
||||||
|
|
||||||
outputs = inputs:
|
outputs =
|
||||||
let
|
inputs:
|
||||||
system = "x86_64-linux";
|
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
|
||||||
pkgs = import inputs.nixpkgs { inherit system; };
|
imports = [ inputs.devshell.flakeModule ];
|
||||||
in
|
|
||||||
{
|
systems = [ "x86_64-linux" ];
|
||||||
devShells.${system}.default =
|
|
||||||
with pkgs;
|
perSystem =
|
||||||
mkShell {
|
{ pkgs, ... }:
|
||||||
buildInputs = [
|
{
|
||||||
nodejs
|
devshells.default = {
|
||||||
nodePackages.npm
|
packages = with pkgs; [
|
||||||
];
|
nodejs
|
||||||
|
nodePackages.npm
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ set -euo pipefail
|
||||||
|
|
||||||
export PATH="$PATH:./node_modules/.bin"
|
export PATH="$PATH:./node_modules/.bin"
|
||||||
|
|
||||||
NODE_ENV="${NODE_ENV:-development}"
|
: "${NODE_ENV:=development}"
|
||||||
|
|
||||||
storybook dev \
|
storybook dev \
|
||||||
--exact-port \
|
--exact-port \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue