updates
This commit is contained in:
parent
a04c1a7e36
commit
b21183f5ff
12
flake.lock
12
flake.lock
|
@ -18,11 +18,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709150264,
|
"lastModified": 1724224976,
|
||||||
"narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=",
|
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "9099616b93301d5cf84274b184a3a5ec69e94e08",
|
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -59,11 +59,11 @@
|
||||||
"systems": "systems"
|
"systems": "systems"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709126324,
|
"lastModified": 1710146030,
|
||||||
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
|
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
|
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
15
flake.nix
15
flake.nix
|
@ -29,22 +29,12 @@
|
||||||
|
|
||||||
doDist = false;
|
doDist = false;
|
||||||
|
|
||||||
# required for using system libsass, or else it tries to fetch new node headers
|
nativeBuildInputs = with final; [ nodePackages.node-gyp ];
|
||||||
|
|
||||||
yarnPreBuild = ''
|
yarnPreBuild = ''
|
||||||
export npm_config_nodedir=${final.pkgs.nodejs}
|
export npm_config_nodedir=${final.pkgs.nodejs}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
pkgConfig = {
|
|
||||||
node-sass = {
|
|
||||||
nativeBuildInputs = with final.pkgs; [pkg-config];
|
|
||||||
buildInputs = with final.pkgs; [libsass python3];
|
|
||||||
postInstall = ''
|
|
||||||
LIBSASS_EXT=auto yarn --offline run build
|
|
||||||
rm build/config.gypi
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
runHook preBuild
|
runHook preBuild
|
||||||
|
|
||||||
|
@ -75,7 +65,6 @@
|
||||||
packages.food-site = pkgs.food-site;
|
packages.food-site = pkgs.food-site;
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShell = pkgs.mkShell {
|
||||||
LIBSASS_EXT = "auto";
|
|
||||||
npm_config_nodedir = "${pkgs.nodejs}";
|
npm_config_nodedir = "${pkgs.nodejs}";
|
||||||
|
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
|
24
package.json
24
package.json
|
@ -5,24 +5,24 @@
|
||||||
"build": "webpack"
|
"build": "webpack"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"css-loader": "^6.10.0",
|
"css-loader": "^7.1.2",
|
||||||
"css-minimizer-webpack-plugin": "^6.0.0",
|
"css-minimizer-webpack-plugin": "^7.0.0",
|
||||||
"html-webpack-plugin": "^5.6.0",
|
"html-webpack-plugin": "^5.6.0",
|
||||||
"mini-css-extract-plugin": "^2.8.1",
|
"mini-css-extract-plugin": "^2.9.1",
|
||||||
"node-sass": "^9.0.0",
|
|
||||||
"postcss-loader": "^8.1.1",
|
"postcss-loader": "^8.1.1",
|
||||||
"sass-loader": "^14.1.1",
|
"sass": "^1.77.8",
|
||||||
"style-loader": "^3.3.4",
|
"sass-loader": "^16.0.1",
|
||||||
|
"style-loader": "^4.0.0",
|
||||||
"ts-loader": "^9.5.1",
|
"ts-loader": "^9.5.1",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.5.4",
|
||||||
"webpack": "^5.90.3",
|
"webpack": "^5.94.0",
|
||||||
"webpack-cli": "^5.1.4",
|
"webpack-cli": "^5.1.4",
|
||||||
"webpack-dev-server": "^5.0.2"
|
"webpack-dev-server": "^5.0.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fontsource/comic-neue": "^5.0.8",
|
"@fontsource/comic-neue": "^5.0.13",
|
||||||
"@fontsource/opendyslexic": "^5.0.7",
|
"@fontsource/opendyslexic": "^5.0.11",
|
||||||
"bootstrap": "^5.3.3",
|
"bootstrap": "^5.3.3",
|
||||||
"preact": "^10.19.6"
|
"preact": "^10.23.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue