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
|
node_modules
|
||||||
outputs
|
outputs
|
||||||
pid
|
pid
|
||||||
|
result
|
||||||
|
22
flake.nix
22
flake.nix
@ -15,11 +15,11 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, flake-utils, systems, ide }:
|
outputs = { self, nixpkgs, flake-utils, systems, ide }:
|
||||||
flake-utils.lib.eachDefaultSystem (system:
|
|
||||||
let
|
let
|
||||||
|
system = "x86_64-linux";
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
pname = "cv";
|
pname = "cv";
|
||||||
version = "0.0.1";
|
version = "0.1.0";
|
||||||
src = ./.;
|
src = ./.;
|
||||||
nvim = ide.nvim.${system}.standalone {
|
nvim = ide.nvim.${system}.standalone {
|
||||||
plugins = {
|
plugins = {
|
||||||
@ -32,11 +32,10 @@
|
|||||||
};
|
};
|
||||||
buildInputs = with pkgs; [
|
buildInputs = with pkgs; [
|
||||||
nvim
|
nvim
|
||||||
|
inotify-tools
|
||||||
];
|
];
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
nodejs_20
|
|
||||||
bun
|
bun
|
||||||
inotify-tools
|
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo "$$" > ./pid
|
echo "$$" > ./pid
|
||||||
@ -54,11 +53,14 @@
|
|||||||
devShells.default = pkgs.mkShell {
|
devShells.default = pkgs.mkShell {
|
||||||
inherit pname buildInputs nativeBuildInputs shellHook;
|
inherit pname buildInputs nativeBuildInputs shellHook;
|
||||||
};
|
};
|
||||||
packages.default = pkgs.stdenv.mkDerivation {
|
packages.${system}.default = pkgs.buildNpmPackage rec {
|
||||||
inherit buildInputs nativeBuildInputs pname version src;
|
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
|
default: all
|
||||||
all:
|
all:
|
||||||
-bun $(main)
|
bun $(main)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(pname)
|
rm -f $(pname)
|
||||||
|
|
||||||
install: $(pname)
|
install: $(pname)
|
||||||
mkdir -p $(out)/bin
|
mkdir -p $(out)
|
||||||
install $(pname).pdf $(out)/bin/$(pname)
|
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",
|
"name": "cv",
|
||||||
|
"version": "0.1.0",
|
||||||
"module": "cv.tsx",
|
"module": "cv.tsx",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"bun-types": "latest"
|
"bun-types": "latest"
|
||||||
},
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "bun cv.tsx"
|
||||||
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.0.0"
|
"typescript": "latest"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@react-pdf/renderer": "^3.1.14",
|
"@react-pdf/renderer": "latest",
|
||||||
"@types/node": "^20.9.0",
|
"@types/node": "latest",
|
||||||
"@types/react": "^18.2.37",
|
"@types/react": "latest",
|
||||||
"react": "^18.2.0",
|
"react": "latest",
|
||||||
"react-pdf-tailwind": "^2.1.0"
|
"react-pdf-tailwind": "latest"
|
||||||
},
|
},
|
||||||
"prettier": {
|
"prettier": {
|
||||||
"trailingComma": "es5",
|
"trailingComma": "es5",
|
||||||
|
Loading…
Reference in New Issue
Block a user