Skip to content

chore(deps-dev): bump nx from 20.8.4 to 22.7.7 - #36

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nx-22.7.7
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/nx-22.7.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 8, 2026 •

Copy link
Copy Markdown
Contributor

Bumps nx from 20.8.4 to 22.7.7.

Release notes

Sourced from nx's releases.

22.7.7 (2026-07-10)

🩹 Fixes

  • core: prevent path traversal / zip-slip in self-hosted remote cache (#36116)
  • core: warn when the self-hosted remote cache disables TLS verification (NXC-4593) (#36132, #36116)
  • dotnet: declare obj as a publish output to fix sandbox violation (#35858)
  • dotnet: declare directory build props input for analyzer dotnet tasks (df7540195a)
  • dotnet: declare directory build props on the separate release build target (6545ee2222)
  • dotnet: declare directory build props on the analyzer tests dotnet targets (e72ee0dd79)

❤️ Thank You

22.7.6 (2026-06-23)

🩹 Fixes

  • misc: bump happy-dom, tmp, and form-data to patched versions (#36013)

❤️ Thank You

22.7.5 (2026-05-27)

🩹 Fixes

❤️ Thank You

22.7.4 (2026-05-25)

🩹 Fixes

  • core: update brace-expansion and yaml (#35790)

❤️ Thank You

22.7.3 (2026-05-22)

🚀 Features

... (truncated)

Commits
  • a328bf1 fix(core): warn when the self-hosted remote cache disables TLS verification (...
  • a828076 fix(core): prevent path traversal / zip-slip in self-hosted remote cache (#36...
  • dc849bb fix(core): update brace-expansion and yaml (#35790)
  • 8fd1feb fix(core): allow local plugin subpath imports without custom conditions (#35751)
  • 22f3c2e fix(core): detect vscode copilot ai agent (#35757)
  • 0d18512 fix(misc): skip $ escaping in file paths on windows (#35692)
  • 7c1318f fix(core): handle object form of bin field in getPrettierPath (#35680)
  • a3acfd6 fix(core): treat undefined task parallelism as parallel when scheduling (#35736)
  • c574207 cleanup(core): drop stale @​nrwl dedup TODO in nx report (#35730)
  • 0d002ec fix(core): resolve local plugin subpath imports from source (#35631)
  • Additional commits viewable in compare view
Install script changes

This version modifies postinstall script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [nx](https://github.com/nrwl/nx/tree/HEAD/packages/nx) from 20.8.4 to 22.7.7.
- [Release notes](https://github.com/nrwl/nx/releases)
- [Commits](https://github.com/nrwl/nx/commits/22.7.7/packages/nx)

---
updated-dependencies:
- dependency-name: nx
  dependency-version: 22.7.7
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Aug 8, 2026
@babycoder-dev

Copy link
Copy Markdown
Owner

保留(不关、暂不合)。nx 20→22 跨两个大版本,但这条 PR 的价值不在版本号本身:

pnpm lint 当前走根脚本 pnpm -r --if-present lint(pnpm verify / CI 亦同),而 @nx/enforce-module-boundaries 因为没有 Nx project graph 会被静默跳过,日志里只有一行 No cached ProjectGraph is available. The rule will be skipped.。也就是说 eslint.config.mjs 里那张 tag 依赖约束表——"业务模块不得依赖其他模块内部实现"这条铁律的唯一自动守卫——在 CI 里从未真正执行。

对照实验(2026-10-05):同一条 lint 改走 pnpm exec nx run @work/presence-web:lint 时该警告消失、规则正常执行。

因此建议把本 PR 与「让边界守卫真正生效」打包成一个切片:先修 lint 路径并做负向验证(故意注入一条越界依赖,确认 pnpm verify 会红),再决定 nx 版本落点。已记入重新排期。

@babycoder-dev

Copy link
Copy Markdown
Owner

⚠️ 更正本评论中的技术结论(2026-10-05 晚,受控实验后)

原评论断言"@nx/enforce-module-boundaries 因为没有 Nx project graph 会被静默跳过、在 CI 里从未真正执行"——这个结论是错的,特此更正。

受控负向实验(同一份越界代码,故意在 modules/presence/web 里 import @work/approval-contract):

路径 结果
pnpm -r --if-present lint(= 根 lint,也就是 pnpm verify 与 CI 所走) exit 1,报 A project tagged with "scope:presence" can only depend on libs tagged with "scope:presence", "scope:platform", "scope:platform-sdk", "scope:shared"
nx run-many -t lint exit 1,同一条错误
pnpm --filter @work/presence-web lint(单项目) exit 1,同一条错误

结论修正:边界守卫在 CI 里是有效的,无需改根 lint 脚本。日志里偶现的 No cached ProjectGraph is available. The rule will be skipped. 是噪音,不代表该次运行未做判定(三次实验中至少两次在同一次运行里既打印该行、又照常报错)。

我犯的错误是:把一行 warning 当成了"规则没跑"的证据,而没有做负向验证。这正是本仓"假绿"风险的一个自我实例——只有会红的检查才算证据,日志不算。

因此本 PR 的处置依据改为:它只是一次跨两个大版本的依赖升级(nx 20→22),与本仓模块边界守卫无关。是否升级、何时升级是独立的依赖治理问题,不再与"守卫修复"捆绑。

(越界实验代码已还原,工作区干净。)

@dependabot @github

dependabot Bot commented on behalf of github Oct 7, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #42.

@dependabot dependabot Bot closed this Oct 7, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/nx-22.7.7 branch October 7, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant