Skip to content

Commit a23261b

Browse files
committed
feat: move to pnpm
1 parent 41749e6 commit a23261b

File tree

6 files changed

+10990
-28330
lines changed

6 files changed

+10990
-28330
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
node-version: 16
2323

2424
- name: Install ⚙️
25-
run: npm ci
25+
run: pnpm install --frozen-lockfile
2626

2727
- name: Build 🛠
2828
run: npm run build-full
@@ -45,7 +45,7 @@ jobs:
4545
node-version: 16
4646

4747
- name: Install ⚙️
48-
run: npm ci
48+
run: pnpm install --frozen-lockfile
4949

5050
- name: Build 🛠
5151
run: npm run build-full
@@ -75,7 +75,7 @@ jobs:
7575
node-version: 16
7676

7777
- name: Install Docusaurus ⚙️
78-
run: npm ci
78+
run: pnpm install --frozen-lockfile
7979

8080
- name: Build 🛠
8181
run: npm run build-full

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.18.1
1+
20.11

flake.lock

Lines changed: 27 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
description = "Flake to develop the CDapp using nix(OS)";
3+
4+
inputs = {
5+
# node 20.11.0
6+
nixpkgs_node.url = "github:NixOS/nixpkgs/97b17f32362e475016f942bbdfda4a4a72a8a652";
7+
};
8+
9+
outputs = {
10+
self,
11+
nixpkgs_node
12+
}: {
13+
devShell.x86_64-linux = with nixpkgs_node.legacyPackages.x86_64-linux;
14+
mkShell {
15+
buildInputs = [nodejs_20 nodePackages.pnpm zsh];
16+
shellHook = ''
17+
if [ -n "$SHELL" ]; then
18+
exec $SHELL
19+
fi
20+
'';
21+
};
22+
};
23+
}

0 commit comments

Comments
 (0)