chore(src): 🔧 Update TypeScript files in source directory
This commit is contained in:
parent
145e376d28
commit
d17bfd3083
13 changed files with 0 additions and 46 deletions
0
features/frontend-showcase/e2e/.npmrc
Normal file → Executable file
0
features/frontend-showcase/e2e/.npmrc
Normal file → Executable file
0
features/frontend-showcase/e2e/README.md
Normal file → Executable file
0
features/frontend-showcase/e2e/README.md
Normal file → Executable file
0
features/frontend-showcase/e2e/helpers/api.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/helpers/api.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/pages/ShowcasePage.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/pages/ShowcasePage.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/playwright.config.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/playwright.config.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/seeds/features/i18n/locales/en/test.json
Normal file → Executable file
0
features/frontend-showcase/e2e/seeds/features/i18n/locales/en/test.json
Normal file → Executable file
0
features/frontend-showcase/e2e/tests/content-editing.spec.ts
Normal file → Executable file
0
features/frontend-showcase/e2e/tests/content-editing.spec.ts
Normal file → Executable file
|
|
@ -1,46 +0,0 @@
|
|||
# Node Modules Lock Issues
|
||||
|
||||
## Problem: Permission Denied During pnpm install
|
||||
|
||||
### Symptoms
|
||||
```
|
||||
ERR_PNPM_LINKING_FAILED Error: EACCES: permission denied, mkdir 'node_modules/@package_tmp_*'
|
||||
```
|
||||
|
||||
### Root Cause
|
||||
- node_modules is locked (read-only) by security script
|
||||
- Workspace-root `pnpm install` doesn't trigger per-package preinstall hooks
|
||||
- pnpm cannot create temporary directories during install
|
||||
|
||||
### Solution
|
||||
|
||||
**Option 1: Use Safe Install Script (Recommended)**
|
||||
```bash
|
||||
./tooling/scripts/pnpm-install-safe.sh # Install all
|
||||
./tooling/scripts/pnpm-install-safe.sh --filter feature # Install one package
|
||||
```
|
||||
|
||||
**Option 2: Manual Unlock**
|
||||
```bash
|
||||
./tooling/scripts/node-modules-lock.sh unlock-all
|
||||
pnpm install
|
||||
./tooling/scripts/node-modules-lock.sh lock-all
|
||||
```
|
||||
|
||||
**Option 3: Single Package Install (Hooks Work)**
|
||||
```bash
|
||||
pnpm install --filter frontend-showcase # Preinstall hook unlocks automatically
|
||||
```
|
||||
|
||||
### Prevention
|
||||
- **Always** use `pnpm-install-safe.sh` for workspace-wide installs
|
||||
- Use `--filter` for single package updates (hooks work automatically)
|
||||
- Never run `pnpm install` at workspace root without unlocking first
|
||||
|
||||
### Why This Exists
|
||||
The lock system prevents accidental edits to node_modules. Packages should be modified at `~/Code/@packages/`, not in node_modules.
|
||||
|
||||
### Related Files
|
||||
- `tooling/scripts/node-modules-lock.sh` - Lock/unlock utility
|
||||
- `tooling/scripts/pnpm-install-safe.sh` - Safe install wrapper
|
||||
- `package.json` - preinstall/postinstall hooks (per-package)
|
||||
0
features/frontend-showcase/frontend/eslint.config.js
Normal file → Executable file
0
features/frontend-showcase/frontend/eslint.config.js
Normal file → Executable file
0
features/frontend-showcase/frontend/index.html
Normal file → Executable file
0
features/frontend-showcase/frontend/index.html
Normal file → Executable file
0
features/frontend-showcase/frontend/src/App.tsx
Normal file → Executable file
0
features/frontend-showcase/frontend/src/App.tsx
Normal file → Executable file
0
features/frontend-showcase/frontend/src/locales/en/showcase.json
Normal file → Executable file
0
features/frontend-showcase/frontend/src/locales/en/showcase.json
Normal file → Executable file
0
features/frontend-showcase/frontend/src/main.tsx
Normal file → Executable file
0
features/frontend-showcase/frontend/src/main.tsx
Normal file → Executable file
Loading…
Add table
Reference in a new issue