Skip to content

Conversation

@danialdezfouli
Copy link
Contributor

The issue occurred because .eslintignore, .prettierignore, and .graphql files were being included in the deployment package, but the Frontify Marketplace doesn't support this file extension for source files.

@changeset-bot
Copy link

changeset-bot bot commented Jul 8, 2025

⚠️ No Changeset found

Latest commit: 538b3a9

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

@SamuelAlev SamuelAlev requested review from fulopdaniel, peter-tudosa and ragi96 and removed request for anxobotana, hochreutenerl and imoutaharik September 2, 2025 16:08
@ragi96 ragi96 requested a review from Copilot September 4, 2025 06:35
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 fixes a deployment issue by excluding specific file types that aren't supported by the Frontify Marketplace from the deployment package.

  • Updates the SOURCE_FILE_BLOCK_LIST to exclude .eslintignore, .prettierignore, and .graphql files
  • Modifies the path processing logic to handle glob patterns properly when converting paths

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +127 to +132
const sourceFilesToIgnore = [...gitignoreEntries, ...SOURCE_FILE_BLOCK_LIST].map((path) => {
if (path.includes('*')) {
return `${projectPath}/${path}`;
}
return fastGlob.convertPathToPattern(`${projectPath}/${path}`);
});
Copy link

Copilot AI Sep 4, 2025

Choose a reason for hiding this comment

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

The condition path.includes('*') is too broad and could incorrectly identify non-glob patterns. For example, a file named 'my*file.txt' would be treated as a glob pattern. Consider using a more precise check like path.includes('**') || path.includes('*.') or use a proper glob pattern detection method.

Copilot uses AI. Check for mistakes.
@ragi96 ragi96 requested review from julianiff and mike85 and removed request for fulopdaniel and ragi96 September 4, 2025 06:36
@SamuelAlev SamuelAlev merged commit 7eb74ec into Frontify:main Sep 19, 2025
1 of 2 checks passed
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.

5 participants