From 9fb57be99a05d08d2644ba4e45b932d39c1c1a58 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Mon, 30 Mar 2026 15:36:12 -0700 Subject: [PATCH 1/3] fix: Normalize CSS build environment --- .parcelrc | 1 - .../parcel-transformer-css-env/CSSEnvTransformer.js | 13 +++++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.parcelrc b/.parcelrc index 9ef6cb60e69..1e7ec4317b1 100644 --- a/.parcelrc +++ b/.parcelrc @@ -12,7 +12,6 @@ "*.svg": ["@parcel/transformer-svg-react"], "packages/@react-aria/example-theme/**/*.css": ["@parcel/transformer-css"], "starters/docs/src/*.css": ["@parcel/transformer-css"], - "*.css": ["...", "parcel-transformer-css-env"], "*.{js,mjs,jsm,jsx,es6,cjs,ts,tsx}": [ "@parcel/transformer-js", "@parcel/transformer-react-refresh-wrap" diff --git a/packages/dev/parcel-transformer-css-env/CSSEnvTransformer.js b/packages/dev/parcel-transformer-css-env/CSSEnvTransformer.js index bf6888f3b15..3974afa6df4 100644 --- a/packages/dev/parcel-transformer-css-env/CSSEnvTransformer.js +++ b/packages/dev/parcel-transformer-css-env/CSSEnvTransformer.js @@ -15,15 +15,20 @@ const {Transformer} = require('@parcel/plugin'); module.exports = new Transformer({ async transform({asset, options}) { // Normalize CSS so it always has the same environment and isn't duplicated. - // This is necessary because the server bundle has a "node" environment, whereas - // the client bundle has a "browser" environment. We want them to end up resolving - // to the same asset. + // This is so the legacy JS bundle and the modern JS bundle share the same CSS. asset.setEnvironment({ context: 'browser', engines: { browsers: 'baseline widely available' }, - shouldOptimize: asset.env.shouldOptimize + shouldOptimize: asset.env.shouldOptimize, + outputFormat: asset.env.outputFormat, + isLibrary: asset.env.isLibrary, + shouldScopeHoist: asset.env.shouldScopeHoist, + includeNodeModules: asset.env.includeNodeModules, + loc: asset.env.loc, + sourceMap: asset.env.sourceMap, + sourceType: asset.env.sourceType }); return [asset]; From 4453772d6bb2f8cb14df943440c6c1dd915502c3 Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Mon, 30 Mar 2026 15:36:58 -0700 Subject: [PATCH 2/3] turn on verdaccio --- .circleci/comment.js | 4 ++-- .circleci/config.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/comment.js b/.circleci/comment.js index fc238675dfe..fb9906eb906 100644 --- a/.circleci/comment.js +++ b/.circleci/comment.js @@ -10,7 +10,7 @@ async function run() { let pr; // If we aren't running on a PR commit, double check if this is a branch created for a fork. If so, we'll need to // comment the build link on the fork. - if (!process.env.CIRCLE_PULL_REQUEST) { + if (true) { try { const commit = await octokit.git.getCommit({ owner: 'adobe', @@ -41,7 +41,7 @@ async function run() { break; } } - } else if (!process.env.CIRCLE_PULL_REQUEST) { + } else if (true) { // If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build await octokit.repos.createCommitComment({ owner: 'adobe', diff --git a/.circleci/config.yml b/.circleci/config.yml index d2cdca6d379..5eaa4e69338 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -966,9 +966,9 @@ workflows: branches: only: main - verdaccio: - filters: - branches: - only: main + # filters: + # branches: + # only: main requires: - install - v-rsp-cra-18: From f54c514451a1f9ce92f8f271614ea5a496bddd5e Mon Sep 17 00:00:00 2001 From: Devon Govett Date: Mon, 30 Mar 2026 16:46:34 -0700 Subject: [PATCH 3/3] Revert "turn on verdaccio" This reverts commit 4453772d6bb2f8cb14df943440c6c1dd915502c3. --- .circleci/comment.js | 4 ++-- .circleci/config.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.circleci/comment.js b/.circleci/comment.js index fb9906eb906..fc238675dfe 100644 --- a/.circleci/comment.js +++ b/.circleci/comment.js @@ -10,7 +10,7 @@ async function run() { let pr; // If we aren't running on a PR commit, double check if this is a branch created for a fork. If so, we'll need to // comment the build link on the fork. - if (true) { + if (!process.env.CIRCLE_PULL_REQUEST) { try { const commit = await octokit.git.getCommit({ owner: 'adobe', @@ -41,7 +41,7 @@ async function run() { break; } } - } else if (true) { + } else if (!process.env.CIRCLE_PULL_REQUEST) { // If it isn't a PR commit, then we are on main. Create a comment for the test app and docs build await octokit.repos.createCommitComment({ owner: 'adobe', diff --git a/.circleci/config.yml b/.circleci/config.yml index 5eaa4e69338..d2cdca6d379 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -966,9 +966,9 @@ workflows: branches: only: main - verdaccio: - # filters: - # branches: - # only: main + filters: + branches: + only: main requires: - install - v-rsp-cra-18: