backend-manager 5.7.2 → 5.7.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -14,6 +14,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
14
14
  - `Fixed` for any bug fixes.
15
15
  - `Security` in case of vulnerabilities.
16
16
 
17
+ # [5.7.3] - 2026-06-18
18
+
19
+ ### Changed
20
+ - **Root proxy preinstall forwards to functions/.** `npm install` at the project root now runs `cd functions && npm install` (forwarding deps to where they live) instead of just rejecting. Still exits 1 afterward to prevent npm from creating root-level artifacts.
21
+
17
22
  # [5.7.2] - 2026-06-18
18
23
 
19
24
  ### Fixed
package/PROGRESS.md CHANGED
@@ -6,7 +6,7 @@
6
6
  * **Current Phase:** Implementation complete, untested in consumer
7
7
  * **Priority:** Medium
8
8
  * **Last Updated:** 2026-06-17 7:40 PM PDT
9
- * **Notes:** New setup test `root-package-json` generates a root `package.json` with proxy scripts so `npm test`/`npm start`/etc. work from the Firebase project root (not just `functions/`). Includes `preinstall` guard to block accidental `npm install` at root. Prior audit fixes still pending commit.
9
+ * **Notes:** v5.7.2 shipped (npm + GitHub release). New setup test `root-package-json` generates a root `package.json` with proxy scripts so `npm test`/`npm start`/etc. work from the Firebase project root (not just `functions/`). Includes `preinstall` guard to block accidental `npm install` at root.
10
10
 
11
11
  ## 📌 Active Task List
12
12
  * [ ] Phase 3: Post-audit bug fixes
@@ -20,7 +20,7 @@
20
20
  * [x] Fix: `cancel-too-young` account `timestampUNIX` uses seconds (was ms)
21
21
  * [x] Fix: auth on-delete race condition — `deleteTestUsers` uses emulator bulk-clear REST API instead of individual `deleteUser()` calls (eliminates async on-delete triggers that clobbered freshly-created accounts)
22
22
  * [x] Diagnostic: auth-delete-race test — proved the race condition (80-100% clobber rate without mitigation), removed after fix verified
23
- * [ ] Commit + publish framework fixes
23
+ * [x] Commit + publish framework fixes (v5.7.2)
24
24
  * [ ] Deploy somiibo-backend + advance stuck sendAt
25
25
  * [ ] Phase 4: Root package.json proxy scripts
26
26
  * [x] Task 4.1: Create `root-package-json.js` setup test (proxies `projectScripts` with `cd functions &&` prefix + `preinstall` guard)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "backend-manager",
3
- "version": "5.7.2",
3
+ "version": "5.7.3",
4
4
  "description": "Quick tools for developing Firebase functions",
5
5
  "main": "src/manager/index.js",
6
6
  "bin": {
@@ -48,7 +48,7 @@ class RootPackageJsonTest extends BaseTest {
48
48
  scripts[name] = `cd functions && ${command}`;
49
49
  }
50
50
 
51
- scripts.preinstall = `echo "\\n Dependencies live in functions/ run:\\n cd functions && npm install\\n" && exit 1`;
51
+ scripts.preinstall = `cd functions && npm install && echo "\\n Dependencies installed in functions/ (not project root)\\n" && exit 1`;
52
52
 
53
53
  return scripts;
54
54
  }