Skip to content

Conversation

@neoandmatrix
Copy link
Contributor

Description

This pull request introduces the changes to update the files field in the apps/studio/package.json file to include only the necessary files and not the cache files in order to reduce the package size and bundle size.

Resolves #1193

Changes to files field in package.json:

  • Replaced the single entry /build with a comprehensive list of specific build files and subdirectories, such as /build/server, /build/standalone, and /build/static, among others. This provides finer-grained control over the included build artifacts.

Screenshots of package size taken up in cli by studio after removing cache files.

Screenshot From 2025-05-24 21-12-26
Screenshot From 2025-05-24 21-12-43
Screenshot From 2025-05-24 21-12-55
Screenshot From 2025-05-24 21-13-01
Screenshot From 2025-05-24 21-13-14

@netlify
Copy link

netlify bot commented May 24, 2025

Deploy Preview for modest-rosalind-098b67 ready!

Name Link
🔨 Latest commit 2d020a3
🔍 Latest deploy log https://app.netlify.com/projects/modest-rosalind-098b67/deploys/6831eb534170530008ce1d58
😎 Deploy Preview https://deploy-preview-1194--modest-rosalind-098b67.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify
Copy link

netlify bot commented May 24, 2025

Deploy Preview for asyncapi-studio-design-system ready!

Name Link
🔨 Latest commit 2d020a3
🔍 Latest deploy log https://app.netlify.com/projects/asyncapi-studio-design-system/deploys/6831eb5388eea10008ccef8a
😎 Deploy Preview https://deploy-preview-1194--asyncapi-studio-design-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

@neoandmatrix
Copy link
Contributor Author

Hey @Shurtu-gal done with changes. Sorry for delay.
Please have a look . I have tested everything locally and works fine for me.

Thanks.

@github-project-automation github-project-automation bot moved this from Backlog to Ready in Studio - Kanban May 25, 2025
@Shurtu-gal Shurtu-gal merged commit b3b8455 into asyncapi:master May 25, 2025
27 checks passed
@github-project-automation github-project-automation bot moved this from Ready to Done in Studio - Kanban May 25, 2025
@Shurtu-gal
Copy link
Collaborator

Shurtu-gal commented May 25, 2025

Tbh would still need to reduce cli node modules more. Let me mull on this a bit. You can do the same as well.

@neoandmatrix
Copy link
Contributor Author

Tbh would still need to reduce cli node modules more. Let me mull on this a bit. You can do the same as well.

Sure, let's keep that issue open.
Will look further for optimization.

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Reduce bundle and Package size of the studio.

2 participants