Skip to content

chore(deps): bump the flex-fields packages to 10.0.0-rc.14 - #59

Merged
duguankui merged 1 commit into
mainfrom
chore/flex-fields-rc14
Sep 4, 2026
Merged

chore(deps): bump the flex-fields packages to 10.0.0-rc.14#59
duguankui merged 1 commit into
mainfrom
chore/flex-fields-rc14

Conversation

@duguankui

Copy link
Copy Markdown
Member

Moves @dignite/ng.flex-fields, its -ckeditor and -file-explorer adapters and
@dignite/ng.file-explorer from ^10.0.0-rc.13 to ^10.0.0-rc.14, in both the Host dev app and
the published library.

What is actually in rc.14

Library side: CSS only. The Tree control's config and search components stop painting hardcoded
light-mode ng-zorro chrome and follow the host theme instead — the same class of fix #57 and #58
made for this repository's own pickers. No API surface moved, which is why nothing here needed a
code change.

Release side: the half that matters. Through rc.13 the two adapter packages declared their
intra-repo siblings at ^10.0.0-rc.4. That range admits an older sibling, and Yarn Classic prefers
the latest-tagged version for any range that admits it, so a plain install produced two copies of
@dignite/ng.flex-fields. FLEX_FIELD_TYPES being a module-scoped InjectionToken, two copies are
two distinct DI keys: provideCKEditorFieldType() registers into a token FieldTypeResolver never
reads, and every field type is absent at runtime with nothing failing at install or build time.
rc.14 declares those siblings at the released version
(dignite-projects/abp-modules#211).

Verification

The upstream fix was verified here rather than taken on trust, because abp-modules' own post-publish
single-copy check never ran green against rc.14 — it failed on an unrelated npmrc bug in the release
workflow, which was fixed after the tag was cut and never re-run against it.

  • A full re-resolve with no lockfile and the resolutions block removed installs exactly one
    copy of each of the four @dignite/* packages, all at rc.14. The upstream fix does hold on its
    own.
  • check-angular-package-duplicates.mjs passes against the committed tree.
  • yarn test — 29 tests pass. ng build site and ng build Host both succeed.

Why resolutions is bumped rather than dropped

Only the manifest half of the problem is gone. abp-modules still publishes pre-releases under the
next dist-tag alone, so npmjs' latest keeps lagging, and a future range wide enough to admit an
older sibling would resolve backwards again. Keeping the block makes the single-copy guarantee
independent of a dist-tag this repository does not control; it now costs a version bump per upgrade
and nothing else. check-angular-package-duplicates.mjs is what will say when it has become
redundant rather than load-bearing.

Not covered

No live run of the content editor. The only runtime-visible failure mode — the duplicate-copy DI
split — is ruled out directly by the checks above, and the library diff is CSS.

Moves @dignite/ng.flex-fields, its -ckeditor and -file-explorer adapters and
@dignite/ng.file-explorer from ^10.0.0-rc.13 to ^10.0.0-rc.14, in both the Host dev app and the
published library.

The library-side change in rc.14 is CSS only - the Tree control's config and search components stop
painting hardcoded light-mode ng-zorro chrome and follow the host theme instead, matching what #57
and #58 did for this repository's own pickers. No API surface moved.

The release-side change is the one that matters here. Through rc.13 the two adapter packages
declared their intra-repo siblings at "^10.0.0-rc.4"; that range admits an older sibling, and Yarn
Classic prefers the latest-tagged version for any range that admits it, so a plain install produced
two copies of @dignite/ng.flex-fields - which, FLEX_FIELD_TYPES being a module-scoped
InjectionToken, is two distinct DI keys and every field type absent at runtime. rc.14 declares those
siblings at the released version.

Verified rather than assumed, because abp-modules' own post-publish single-copy check never ran
green against rc.14 - it failed on an unrelated npmrc bug in the release workflow, fixed after the
tag was cut and never re-run against it. A full re-resolve here with no lockfile and the
"resolutions" block removed installs exactly one copy of each of the four packages at rc.14, so the
upstream fix does hold. yarn test (29 tests), ng build site and ng build Host all pass.

The "resolutions" block is bumped rather than dropped: only the manifest half of the problem is
gone. abp-modules still publishes pre-releases under the "next" dist-tag alone, so npmjs' "latest"
keeps lagging, and the block makes the single-copy guarantee independent of a dist-tag this
repository does not control. check-angular-package-duplicates.mjs is what will say when it has
become redundant.
@duguankui
duguankui merged commit 1b1a9e4 into main Sep 4, 2026
1 check passed
@duguankui
duguankui deleted the chore/flex-fields-rc14 branch September 4, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant