Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web/web-react: Make sass dependency optional peer dependency and fix web-react dependencies #1286

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

literat
Copy link
Collaborator

@literat literat commented Feb 16, 2024

Description

Set sass as an optional peer dependency in the web package because there is no need to install it when you are using styles from CDN.

https://docs.npmjs.com/cli/v7/configuring-npm/package-json#peerdependenciesmeta

Additional context

Icon and web package are direct dependencies

  * we cannot use web-react without web and icons package
  * it also tells lerna how to manage builds and in what order

Issue reference

https://jira.almacareer.tech/browse/DS-1162

Before submitting the PR, please make sure you do the following

  • Read the Contributing Guidelines.
  • Follow the PR Title/Commit Message Convention.
  • Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
  • Ideally, include relevant tests that fail without this PR but pass with it.

@github-actions github-actions bot added the maintenance Changes to the build process or auxilary tools and libraries or other maintenance label Feb 16, 2024
Copy link

netlify bot commented Feb 16, 2024

Deploy Preview for spirit-design-system-react ready!

Name Link
🔨 Latest commit a78af4f
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-react/deploys/65d4b18743967e00089bc8b1
😎 Deploy Preview https://deploy-preview-1286--spirit-design-system-react.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 site configuration.

Copy link

netlify bot commented Feb 16, 2024

Deploy Preview for spirit-design-system-demo ready!

Name Link
🔨 Latest commit a78af4f
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-demo/deploys/65d4b187f65db6000885c32e
😎 Deploy Preview https://deploy-preview-1286--spirit-design-system-demo.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 site configuration.

Copy link

netlify bot commented Feb 16, 2024

Deploy Preview for spirit-design-system-storybook ready!

Name Link
🔨 Latest commit a78af4f
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-storybook/deploys/65d4b187f65db6000885c32a
😎 Deploy Preview https://deploy-preview-1286--spirit-design-system-storybook.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 site configuration.

@literat literat changed the title web: Make sass dependency optional peer dependency web/web-react: Make sass dependency optional peer dependency and fix web-react dependencies Feb 16, 2024
Copy link

netlify bot commented Feb 16, 2024

Deploy Preview for spirit-design-system-validations canceled.

Name Link
🔨 Latest commit a78af4f
🔍 Latest deploy log https://app.netlify.com/sites/spirit-design-system-validations/deploys/65d4b18742ee3500098b62cb

@coveralls
Copy link

coveralls commented Feb 16, 2024

Coverage Status

coverage: 80.9% (-15.5%) from 96.371%
when pulling 3a739ad on chore/DS-1162-sass-optional-dependency
into 8e171ed on main.

packages/web/README.md Outdated Show resolved Hide resolved
packages/web-react/package.json Outdated Show resolved Hide resolved
@literat literat force-pushed the chore/DS-1162-sass-optional-dependency branch from 3a739ad to a78af4f Compare February 20, 2024 14:04
@literat literat merged commit a680690 into main Feb 20, 2024
29 checks passed
@literat literat deleted the chore/DS-1162-sass-optional-dependency branch February 20, 2024 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Changes to the build process or auxilary tools and libraries or other maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants