medly / medly-components

🧩 Medly components provides numerous themable react components, each with multiple varitaions of sizes, colors, position etc.
https://medly.github.io/medly-components/
MIT License
79 stars 54 forks source link

chore: update packages and lerna to enable caching via nx #701

Closed gmukul01 closed 1 year ago

gmukul01 commented 1 year ago

affects: @medly-components/core, @medly-components/forms, @medly-components/icons, @medly-components/layout, @medly-components/loaders, @medly-components/markdown, @medly-components/theme, @medly-components/utils

PR Checklist

Description

(Replace This Text: Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.)

Type of change

What is the current behaviour?

Currenlty none of the script is cached

What is the new behaviour?

After upgrading to latest version of lerna which internally uses nx, now lint, test & build scripts are cached. Hence whenever you run these commands again nx will show the cached results. See the difference below:

Lint

image

Test

First run image Subsequent run image

Build

image

Does this PR introduce a breaking change?

Note: (Replace This Text: If this PR contains a breaking change please describe the impact and migration path for existing application.)

Checklist

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit bef3ffe91f05f6a2b81fca7a2caf82c19752c998. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 2 targets - [`lerna run build`](https://cloud.nx.app/runs/4EvpWaymJu) - [`lerna run lint`](https://cloud.nx.app/runs/x9NNSuxUZ3)

Sent with 💌 from NxCloud.

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication