# Build Scripts Approval - Manual Steps

## Status

The `pnpm approve-builds` command requires interactive approval. The following packages need build script approval:

- `esbuild@0.27.2` - Build tool (required for Vite)
- `sharp@0.34.5` - Image processing library
- `unrs-resolver@1.11.1` - Resolver library

## Manual Approval Steps

To approve build scripts, run:

```bash
cd /home/intlc/projects/proxmox/smom-dbis-138/frontend-dapp
pnpm approve-builds
```

Then in the interactive prompt:
1. Press `a` to select all packages
2. Press `Enter` to confirm selection
3. Type `y` to approve building the packages
4. Press `Enter` to complete

## Alternative: Config File

The `.npmrc` file has been updated with:
```
enable-pre-post-scripts=true
```

This should allow build scripts to run automatically.

## Verify Installation

After approval, verify packages are built:

```bash
# Check if esbuild was built
pnpm list esbuild

# Rebuild all packages
pnpm rebuild

# Test build
pnpm run build
```

## Workspace Structure

This project is part of a pnpm workspace. Dependencies are managed at the workspace root level. To work with this specific package:

```bash
# From workspace root
pnpm --filter "./smom-dbis-138/frontend-dapp" <command>

# From package directory
cd smom-dbis-138/frontend-dapp
pnpm <command>
```

---

**Last Updated**: 2025-01-22
