1
0
Fork 0
This commit is contained in:
chaos 2024-08-22 15:28:49 +01:00
parent a04c1a7e36
commit b21183f5ff
No known key found for this signature in database
5 changed files with 2722 additions and 4801 deletions

View file

@ -18,11 +18,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1709150264,
"narHash": "sha256-HofykKuisObPUfj0E9CJVfaMhawXkYx3G8UIFR/XQ38=",
"lastModified": 1724224976,
"narHash": "sha256-Z/ELQhrSd7bMzTO8r7NZgi9g5emh+aRKoCdaAv5fiO0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9099616b93301d5cf84274b184a3a5ec69e94e08",
"rev": "c374d94f1536013ca8e92341b540eba4c22f9c62",
"type": "github"
},
"original": {
@ -59,11 +59,11 @@
"systems": "systems"
},
"locked": {
"lastModified": 1709126324,
"narHash": "sha256-q6EQdSeUZOG26WelxqkmR7kArjgWCdw5sfJVHPH/7j8=",
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "d465f4819400de7c8d874d50b982301f28a84605",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {

View file

@ -29,22 +29,12 @@
doDist = false;
# required for using system libsass, or else it tries to fetch new node headers
nativeBuildInputs = with final; [ nodePackages.node-gyp ];
yarnPreBuild = ''
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 = ''
runHook preBuild
@ -75,7 +65,6 @@
packages.food-site = pkgs.food-site;
devShell = pkgs.mkShell {
LIBSASS_EXT = "auto";
npm_config_nodedir = "${pkgs.nodejs}";
nativeBuildInputs = with pkgs; [

View file

@ -5,24 +5,24 @@
"build": "webpack"
},
"devDependencies": {
"css-loader": "^6.10.0",
"css-minimizer-webpack-plugin": "^6.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"html-webpack-plugin": "^5.6.0",
"mini-css-extract-plugin": "^2.8.1",
"node-sass": "^9.0.0",
"mini-css-extract-plugin": "^2.9.1",
"postcss-loader": "^8.1.1",
"sass-loader": "^14.1.1",
"style-loader": "^3.3.4",
"sass": "^1.77.8",
"sass-loader": "^16.0.1",
"style-loader": "^4.0.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.90.3",
"typescript": "^5.5.4",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.2"
"webpack-dev-server": "^5.0.4"
},
"dependencies": {
"@fontsource/comic-neue": "^5.0.8",
"@fontsource/opendyslexic": "^5.0.7",
"@fontsource/comic-neue": "^5.0.13",
"@fontsource/opendyslexic": "^5.0.11",
"bootstrap": "^5.3.3",
"preact": "^10.19.6"
"preact": "^10.23.2"
}
}

3172
yarn.lock

File diff suppressed because it is too large Load diff

4300
yarn.nix

File diff suppressed because it is too large Load diff