mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-25 08:28:45 -05:00
Merge branch 'develop' into feat/protocol
This commit is contained in:
@@ -87,7 +87,7 @@ const getReleaseData = async (latestReleaseInfo) => {
|
||||
associatedIssues,
|
||||
})
|
||||
|
||||
prsInRelease.push(`https://github.com/cypress-io/cypress/pulls/${references[0].issue}`)
|
||||
prsInRelease.push(`https://github.com/cypress-io/cypress/pull/${references[0].issue}`)
|
||||
|
||||
associatedIssues.forEach((issueNumber) => {
|
||||
issuesInRelease.push(`https://github.com/cypress-io/cypress/issues/${issueNumber}`)
|
||||
|
||||
@@ -54,6 +54,11 @@ packlist({ path: currentPackageDir })
|
||||
const subPackageExports = cliPackageConfig.exports[`./${exportName}`] = {}
|
||||
const esmEntry = isModule ? currentPackageConfig.main : currentPackageConfig.module
|
||||
|
||||
if (types) {
|
||||
// ./react/dist/cypress-react-cjs.js, etc
|
||||
subPackageExports.types = `./${exportName}/${types}`
|
||||
}
|
||||
|
||||
if (esmEntry) {
|
||||
// ./react/dist/cypress-react-esm.js, etc
|
||||
subPackageExports.import = `./${exportName}/${esmEntry}`
|
||||
@@ -64,11 +69,6 @@ packlist({ path: currentPackageDir })
|
||||
subPackageExports.require = `./${exportName}/${currentPackageConfig.main}`
|
||||
}
|
||||
|
||||
if (types) {
|
||||
// ./react/dist/cypress-react-cjs.js, etc
|
||||
subPackageExports.types = `./${exportName}/${types}`
|
||||
}
|
||||
|
||||
if (!cliPackageConfig.files.includes(exportName)) {
|
||||
cliPackageConfig.files.push(exportName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user