Skip to content

Ref/remove postcss#153

Open
RainerSchmoeger wants to merge 3 commits intomasterfrom
ref/remove-postcss
Open

Ref/remove postcss#153
RainerSchmoeger wants to merge 3 commits intomasterfrom
ref/remove-postcss

Conversation

@RainerSchmoeger
Copy link
Collaborator

No description provided.

@RainerSchmoeger RainerSchmoeger requested review from a team as code owners January 27, 2026 10:47
@RainerSchmoeger RainerSchmoeger requested review from Copilot and knime-ghub-bot and removed request for a team January 27, 2026 10:47
@changeset-bot
Copy link

changeset-bot bot commented Jan 27, 2026

⚠️ No Changeset found

Latest commit: 0797670

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

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.

Pull request overview

This PR removes PostCSS as a dependency and processing tool from the jsonforms package. The changes update all Vue single-file components to use plain CSS instead of PostCSS, remove PostCSS configuration, and eliminate the dependency from the build setup.

Changes:

  • Removed PostCSS dependency from package.json and build configuration
  • Updated all Vue component style blocks from lang="postcss" to plain CSS
  • Replaced PostCSS nesting syntax with standard CSS in one component
  • Deleted the PostCSS configuration file

Reviewed changes

Copilot reviewed 31 out of 32 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
packages/jsonforms/vite.config.js Removed PostCSS import and CSS configuration from Vite config
packages/jsonforms/postcss.config.cjs Deleted PostCSS configuration file entirely
packages/jsonforms/package.json Removed postcss dependency
packages/jsonforms/src/uiComponents/CheckboxControl.vue Changed from PostCSS to plain CSS and updated nesting syntax
Multiple Vue component files (29 files) Removed lang="postcss" attribute from style blocks
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

margin-bottom: -10px;

& .checkbox-container {
.checkbox-container {
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

The PostCSS nesting syntax & .checkbox-container has been replaced with .checkbox-container. However, this change modifies the CSS selector specificity. The original selector was .checkbox-input .checkbox-container (more specific), while the new selector targets any .checkbox-container (less specific). This could cause unintended styling changes if .checkbox-container exists elsewhere in the component or application. Consider using .checkbox-input .checkbox-container to maintain the original specificity.

Copilot uses AI. Check for mistakes.
<style lang="postcss" scoped>
<style scoped>
.set-button {
& span {
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

This selector still uses PostCSS nesting syntax (& span) despite the removal of lang="postcss". This should be updated to .set-button span to work with plain CSS, similar to the fix applied in CheckboxControl.vue.

Copilot uses AI. Check for mistakes.
<style lang="postcss" scoped>
<style scoped>
.section {
&:not(:first-child) {
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

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

This selector still uses PostCSS nesting syntax (&:not(:first-child)) despite the removal of lang="postcss". This should be updated to .section:not(:first-child) to work with plain CSS.

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link

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