vibetunnel/web/.npmignore
Alex Mazanov 5fac9e5e2b fix: resolve PAM module and npm_config_prefix issues on Ubuntu (issue 380)
This commit addresses the Ubuntu installation issues reported in issue 380:

  **PAM Module Fix:** - Fix .npmignore to include authenticate-pam module in npm package - Previously node_modules/ exclusion prevented
  authenticate-pam from being packaged - Resolves \"PAM Authentication Warning: The native authenticate-pam module isn't found\"

  **npm_config_prefix Conflict Detection:** - Add detection for npm_config_prefix conflicts with NVM in postinstall script - Warn users when
  npm_config_prefix overrides NVM's per-version configuration - Provide clear instructions to resolve the conflict - Document
  troubleshooting steps in docs/npm.md
2025-07-17 03:34:36 +02:00

66 lines
No EOL
1.1 KiB
Text

# Development and build files
src/
scripts/
docs/
test/
playwright/
coverage/
.husky/
# Config files not needed in production
.gitignore
.prettierignore
.prettierrc
biome.json
vitest.config.ts
playwright.config.ts
playwright.config.skip-failing.ts
tsconfig.*.json
tsconfig.json
postcss.config.js
tailwind.config.js
# Build artifacts and temp files
build/
*.log
*.tmp
.DS_Store
node_modules/
!node_modules/authenticate-pam/
pnpm-lock.yaml
# Native build scripts - not needed for npm package
build-native.js
build-native-clean.sh
build-custom-node.js
custom-node.md
native/
# Development files
CLAUDE.md
DEVELOPMENT.md
LOGGING_STYLE_GUIDE.md
SECURITY.md
fwd-test.ts
spec.md
# Only include the built node-pty, not source
node-pty/src/
node-pty/tsconfig.json
node-pty/*.ts
node-pty/node_modules/
# Test files
public/bundle/test.js
public/bundle/screencap.js
public/test/
public/test.cast
# Keep:
# - dist/ (compiled server code)
# - public/ (web interface)
# - bin/ (CLI entry points)
# - node-pty/build/ (native module)
# - node-pty/lib/ (JS files)
# - package.json
# - README.md