version 0.1.0
This commit is contained in:
parent
59e5d22a5a
commit
54bd70ddc5
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,3 +1,4 @@
|
||||
node_modules
|
||||
outputs
|
||||
pid
|
||||
result
|
||||
|
22
flake.nix
22
flake.nix
@ -15,11 +15,11 @@
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, systems, ide }:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
pname = "cv";
|
||||
version = "0.0.1";
|
||||
version = "0.1.0";
|
||||
src = ./.;
|
||||
nvim = ide.nvim.${system}.standalone {
|
||||
plugins = {
|
||||
@ -32,11 +32,10 @@
|
||||
};
|
||||
buildInputs = with pkgs; [
|
||||
nvim
|
||||
inotify-tools
|
||||
];
|
||||
nativeBuildInputs = with pkgs; [
|
||||
nodejs_20
|
||||
bun
|
||||
inotify-tools
|
||||
];
|
||||
shellHook = ''
|
||||
echo "$$" > ./pid
|
||||
@ -54,11 +53,14 @@
|
||||
devShells.default = pkgs.mkShell {
|
||||
inherit pname buildInputs nativeBuildInputs shellHook;
|
||||
};
|
||||
packages.default = pkgs.stdenv.mkDerivation {
|
||||
inherit buildInputs nativeBuildInputs pname version src;
|
||||
packages.${system}.default = pkgs.buildNpmPackage rec {
|
||||
inherit nativeBuildInputs pname version src;
|
||||
npmDepsHash = "sha256-1fqP3HFhziup3U97t+Kx8JMAd+ZpJmz5WZATR1CaQZY=";
|
||||
postInstall = ''
|
||||
ls -alh
|
||||
mkdir -p $out
|
||||
rm -rf $out/lib
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
6
makefile
6
makefile
@ -2,12 +2,12 @@ main = $(pname).tsx
|
||||
|
||||
default: all
|
||||
all:
|
||||
-bun $(main)
|
||||
bun $(main)
|
||||
|
||||
clean:
|
||||
rm -f $(pname)
|
||||
|
||||
install: $(pname)
|
||||
mkdir -p $(out)/bin
|
||||
install $(pname).pdf $(out)/bin/$(pname)
|
||||
mkdir -p $(out)
|
||||
install $(pname).pdf $(out)/$(pname)
|
||||
|
||||
|
1531
package-lock.json
generated
Normal file
1531
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -1,19 +1,23 @@
|
||||
{
|
||||
"name": "cv",
|
||||
"version": "0.1.0",
|
||||
"module": "cv.tsx",
|
||||
"type": "module",
|
||||
"devDependencies": {
|
||||
"bun-types": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "bun cv.tsx"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"typescript": "^5.0.0"
|
||||
"typescript": "latest"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-pdf/renderer": "^3.1.14",
|
||||
"@types/node": "^20.9.0",
|
||||
"@types/react": "^18.2.37",
|
||||
"react": "^18.2.0",
|
||||
"react-pdf-tailwind": "^2.1.0"
|
||||
"@react-pdf/renderer": "latest",
|
||||
"@types/node": "latest",
|
||||
"@types/react": "latest",
|
||||
"react": "latest",
|
||||
"react-pdf-tailwind": "latest"
|
||||
},
|
||||
"prettier": {
|
||||
"trailingComma": "es5",
|
||||
|
Loading…
Reference in New Issue
Block a user