Files
0pt/pnpm-workspace.yaml
T
siax-bot 680fa7ee6b
CI (SIAX Cloud) / sonar (pull_request) Skipped
CI (SIAX Cloud) / Component conformance (blocking) (pull_request) Successful in 13s
CI (SIAX Cloud) / security (pull_request) Successful in 25s
masterplan-lock / check (pull_request) Successful in 8s
security / scan (pull_request) Failing after 51s
CI (SIAX Cloud) / integration (pull_request) Successful in 3m33s
CI (SIAX Cloud) / quality (pull_request) Successful in 4m30s
fix(ci): repair baseline typecheck and pnpm supply-chain config
- pnpm-workspace.yaml: blockExoticSubdeps, minimumReleaseAge=10080,
  trustPolicy=no-downgrade (Semgrep p/ci blocking rules)
- src/auth/{internal-service-tenant,internal-token}.ts: type-only view of
  process.env for narrow named-property defaults (@types/node 22 ProcessEnv)
- tests: typed mutable env view for NODE_ENV save/restore (readonly in
  @types/node 22). No auth check weakened, no runtime behaviour changed.

Verification: pnpm run typecheck EXIT 0 (was 8 errors); vitest 30/30 PASS.
2026-11-17 21:17:32 +01:00

27 lines
1.1 KiB
YAML

# SIAX Cloud 0pt workspace.
#
# The deployable Next.js app AND the 0pt capability code (src/, tests/) live at
# the repo ROOT — there are no separate member packages yet (packages/ holds
# JSON schemas only, no package.json). Previously this file carried only a
# placeholder `allowBuilds:` block and NO `packages:` field, which made pnpm
# abort with "packages field missing or empty" on any non-`--ignore-workspace`
# invocation. A present (non-empty) `packages:` field fixes that; the root
# package is included in `pnpm -r` runs via `include-workspace-root=true`
# (.npmrc), which is what lets `pnpm -r run typecheck` / `pnpm -r run test`
# execute the root package's scripts.
packages:
- "packages/*"
# Build scripts that are allowed to run during install (pnpm >= 9 approval gate).
onlyBuiltDependencies:
- sharp
- esbuild
# Supply-chain hardening (Semgrep p/ci blocking rules):
# - no transitive dependency from an untrusted/exotic source
# - wait 7 days (10080 min) for newly published versions
# - never accept a downgrade of security settings via a dependency update
blockExoticSubdeps: true
minimumReleaseAge: 10080
trustPolicy: no-downgrade