Skip to content

Relase updates - #1404

Open
Elizabeth Craig (ecraig12345) wants to merge 1 commit into
mainfrom
release-fixes
Open

Relase updates#1404
Elizabeth Craig (ecraig12345) wants to merge 1 commit into
mainfrom
release-fixes

Conversation

@ecraig12345

Copy link
Copy Markdown
Member

Update ESRP helper to check for tgz files in parent directory if no layer directories are found.

Update getNpmPackageInfo tests to work in release build.

Add rnx-kit yarn ignore plugin.

Copilot AI balanced review requested due to automatic review settings August 25, 2026 23:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates release packaging, registry tests, and dependency handling.

Changes:

  • Supports top-level .tgz release artifacts.
  • Runs registry tests against the configured release registry.
  • Stubs node-gyp using the Yarn ignore plugin.

Reviewed changes

Copilot reviewed 10 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.ado/release.yml Adjusts release script quoting and comments.
.yarn/plugins/@rnx-kit/yarn-plugin-ignore.cjs Adds the ignore protocol plugin.
.yarnrc.yml Registers the new Yarn plugin.
package.json Resolves node-gyp to an ignored stub.
yarn.lock Records the updated resolution graph.
packages/esrp-npm-release/src/runRelease.ts Handles top-level package archives.
packages/esrp-npm-release/src/__tests__/runRelease.test.ts Tests top-level archive releases.
packages/beachball/src/env.ts Removes release-pipeline detection.
packages/beachball/src/__functional__/packageManager/getNpmPackageInfo.test.ts Uses the configured registry in tests.
change/beachball-a2d3cc08-3a9b-4edc-b25c-48b2e6b6ce57.json Records the Beachball test change.
change/@microsoft-esrp-npm-release-7ee607e6-b57a-40f5-9197-19aaa1b39282.json Records the ESRP behavior change.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

const fetchSpy = jest.spyOn(globalThis, 'fetch');
const logs = initMockLogs();
const registry = 'https://registry.npmjs.org/';
const registry = process.env.REGISTRY_URL || 'https://registry.npmjs.org/';
Comment on lines +272 to +276
productInfo: expect.objectContaining({ version: 'commit-1-0' }),
}),
})
);
expect(state.markPublished).toHaveBeenCalledWith('0');
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.

2 participants