Skip to content

Commit 809f67c

Browse files
committed
chore(verify): add shadow-npm-inject.js to package verification
- Added shadow-npm-inject.js to distFiles validation in both cli and cli-with-sentry - Ensures the shadow npm inject script is present in dist/ during package verification
1 parent 240a0fc commit 809f67c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli-with-sentry/scripts/verify-package.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ async function validate() {
105105
}
106106

107107
// Check dist files exist and validate Sentry integration.
108-
const distFiles = ['index.js', 'cli.js.bz']
108+
const distFiles = ['index.js', 'cli.js.bz', 'shadow-npm-inject.js']
109109
for (const file of distFiles) {
110110
logger.log(info(`Checking dist/${file}...`))
111111
const filePath = path.join(packageRoot, 'dist', file)

packages/cli/scripts/verify-package.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ async function validate() {
9797
}
9898

9999
// Check dist files exist.
100-
const distFiles = ['index.js', 'cli.js.bz']
100+
const distFiles = ['index.js', 'cli.js.bz', 'shadow-npm-inject.js']
101101
for (const file of distFiles) {
102102
logger.log(info(`Checking dist/${file}...`))
103103
const filePath = path.join(packageRoot, 'dist', file)

0 commit comments

Comments
 (0)