switch to pnpm

This commit is contained in:
2023-10-17 17:34:07 +05:30
parent 42cddb207a
commit 2430512353
4 changed files with 1404 additions and 2351 deletions

1
.npmrc Normal file
View File

@@ -0,0 +1 @@
store-dir=/usr/local/share/pnpm/

View File

@@ -10,6 +10,8 @@ PACKAGE_SCRIPTS = { "scripts": { "dev": "eleventy --serve", "build": "eleventy"
POD_MOUNTS = \
-w /app \
-v $(PWD):/app:z \
-v pnpm-global:/usr/local:Z \
-v pnpm-store:/usr/local/share/pnpm:Z \
-v $(PROJ)_modules:/app/node_modules:z
POD_OPTIONS_TEMPLATE = \
@@ -28,7 +30,7 @@ build: run
run: CONTAINER_TAG = $(firstword $(SCRIPT))
run:
podman run $(POD_OPTIONS_TEMPLATE) npm run $(SCRIPT)
podman run $(POD_OPTIONS_TEMPLATE) pnpm run $(SCRIPT)
sh: CONTAINER_TAG = sh

2350
package-lock.json generated

File diff suppressed because it is too large Load Diff

1400
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff