Skip to content

Commit

Permalink
Move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
guillemcordoba committed Oct 29, 2024
1 parent 5d69660 commit a92470d
Show file tree
Hide file tree
Showing 11 changed files with 6,183 additions and 9,587 deletions.
45 changes: 23 additions & 22 deletions docs/package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"name": "docs",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"start": "npm run dev",
"dev": "npm run setup && vitepress dev",
"build": "npm run setup && vitepress build",
"setup": "npm run analyze -w @holochain-open-dev/profiles && cp ../ui/custom-elements.json elements && npm run cargo:docs",
"cargo:docs": "cargo doc --release --no-deps --target-dir public/backend",
"preview": "vitepress preview"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"api-viewer-element": "^1.0.0-pre.8",
"vitepress": "^1.0.1",
"vitepress-plugin-mermaid": "^2.0.16"
}
}
"name": "docs",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"start": "pnpm dev",
"dev": "pnpm setup:docs && vitepress dev",
"build": "pnpm setup:docs && vitepress build",
"setup:docs": "pnpm setup:custom-elements && pnpm setup:cargo",
"setup:custom-elements": "pnpm -F @holochain-open-dev/profiles analyze && mkdir -p public/elements && cp ../ui/custom-elements.json ./public/elements/custom-elements.json",
"setup:cargo": "cargo doc --release --no-deps --target-dir public/backend",
"preview": "vitepress preview"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"api-viewer-element": "^1.0.0-pre.8",
"vitepress": "^1.0.1",
"vitepress-plugin-mermaid": "^2.0.16"
}
}
8 changes: 5 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,11 @@
systems = builtins.attrNames inputs.holonix.devShells;
perSystem = { inputs', config, pkgs, system, lib, ... }: {
devShells.default = pkgs.mkShell {
inputsFrom = [ inputs'.holonix.devShells.default ];
packages = with pkgs; [
nodejs_20
inputsFrom = [
inputs'.hc-infra.devShells.synchronized-pnpm
inputs'.holonix.devShells.default
];
packages = [
inputs'.p2p-shipyard.packages.hc-pilot
inputs'.playground.packages.hc-playground
];
Expand Down
Loading

0 comments on commit a92470d

Please sign in to comment.