Skip to content

Content client package#18978

Merged
nielslyngsoe merged 37 commits intov16/devfrom
v16/task/content-package
Apr 14, 2025
Merged

Content client package#18978
nielslyngsoe merged 37 commits intov16/devfrom
v16/task/content-package

Conversation

@madsrasmussen
Copy link
Copy Markdown
Member

@madsrasmussen madsrasmussen commented Apr 8, 2025

The PR moves the Content, Content Type, and Property Type modules out of core and into their own package. In general, this doesn't impact packages since the import aliases remain the same: @umbraco-cms/backoffice/content, @umbraco-cms/backoffice/content-type and @umbraco-cms/backoffice/property-type.

The reason for the move is that the content module depends on the data type module. The data type module is not part of core; therefore, we can't depend on it. Now both packages are considered external, in relation to Core, meaning they can depend on each other.

Breaking Changes:

UmbWorkspaceHasCollectionCondition

  • Renamed class and types to include Content since the condition was expecting a content collection workspace.
  • Renamed constant UMB_WORKSPACE_HAS_COLLECTION_CONDITION_ALIAS to UMB_WORKSPACE_HAS_CONTENT_COLLECTION_CONDITION_ALIAS.
  • Exports moved from @umbraco-cms/backoffice/workspace to @umbraco-cms/backoffice/content

UmbWorkspaceContentTypeAliasCondition

Before
import type { UmbWorkspaceContentTypeAliasConditionConfig} from '@umbraco-cms/backoffice/workspace';

After
import type { UmbWorkspaceContentTypeAliasConditionConfig} from '@umbraco-cms/backoffice/content-type';

UmbPropertyStructureWorkspaceContext

Before
import type { UmbPropertyStructureWorkspaceContext} from '@umbraco-cms/backoffice/workspace';
import { UMB_PROPERTY_STRUCTURE_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/workspace';

After
import type { UmbPropertyStructureWorkspaceContext} from '@umbraco-cms/backoffice/content-type';
import { UMB_PROPERTY_STRUCTURE_WORKSPACE_CONTEXT } from '@umbraco-cms/backoffice/content-type';

@madsrasmussen madsrasmussen marked this pull request as ready for review April 9, 2025 08:58
Copilot AI review requested due to automatic review settings April 9, 2025 08:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 112 out of 114 changed files in this pull request and generated no comments.

Files not reviewed (2)
  • src/Umbraco.Web.UI.Client/package-lock.json: Language not supported
  • src/Umbraco.Web.UI.Client/package.json: Language not supported

@madsrasmussen madsrasmussen changed the title V16/task/content package Content package Apr 9, 2025
@madsrasmussen madsrasmussen changed the title Content package Content client package Apr 9, 2025
@nielslyngsoe nielslyngsoe enabled auto-merge (squash) April 14, 2025 13:55
@nielslyngsoe nielslyngsoe merged commit 797db55 into v16/dev Apr 14, 2025
26 of 27 checks passed
@nielslyngsoe nielslyngsoe deleted the v16/task/content-package branch April 14, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants