Skip to content

Conversation

@rsbh
Copy link
Member

@rsbh rsbh commented May 14, 2025

Description

This PR will add the dist-tags to the packages.
dist-tags can be added to packages with --npm.tags args.

using this tags, the user can install the package via alias.
eg. npm i @raystack/frontier@latest will install the latest stable version.
npm i @raystack/frontier@next will install the latest release candidate version.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes, no bug fixes just code improvements)
  • Chore (changes to the build process or auxiliary tools and libraries such as documentation generation)
  • Style (changes that do not affect the meaning of the code (white-space, formatting, etc))
  • Test (adding missing tests or correcting existing tests)
  • Improvement (Improvements to existing code)
  • Other (please specify)

How Has This Been Tested?

[Describe the tests that you ran to verify your changes]

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (.mdx files)
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Screenshots (if appropriate):

[Add screenshots here]

Related Issues

[Link any related issues here using #issue-number]

@rsbh rsbh requested review from Copilot and paanSinghCoder May 14, 2025 06:06
@vercel
Copy link

vercel bot commented May 14, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
apsara ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 14, 2025 6:06am

Copy link
Contributor

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 enhances the release process by adding npm dist-tags to the release workflow, allowing users to install packages via alias.

  • Updated the release command in .github/workflows/release.yaml to include the --npm.tag=latest flag.
  • Updated the release command in .github/workflows/release-rc.yaml to include the --npm.tag=next flag.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/release.yaml Added --npm.tag=latest to the release command to set the dist tag.
.github/workflows/release-rc.yaml Added --npm.tag=next to the release command for pre-release tagging.
Comments suppressed due to low confidence (2)

.github/workflows/release.yaml:53

  • The flag '--npm.tag' is used here, but the PR description and documentation refer to '--npm.tags'. Please confirm and update the flag for consistency if needed.
run: pnpm run release:ci --npm.tag=latest

.github/workflows/release-rc.yaml:53

  • The flag '--npm.tag' is used here, but the documentation reference suggests '--npm.tags'. Verify and update the parameter to match the intended usage.
run: pnpm run release:ci --npm.tag=next

@rsbh rsbh merged commit e76bdc1 into develop May 14, 2025
2 checks passed
@rsbh rsbh deleted the fix_ci_npm_tags branch May 14, 2025 06:14
rohilsurana added a commit that referenced this pull request Jun 9, 2025
* feat: Dropdown 2.0 (#367)

* wip: dropdown changes

* feat: migrate to ariakit dropdown menu

* fix: update dropdown doc

* feat: dropdown autocomplete support

* fix: dropdown focus loop

* feat: dropdown examples

* fix: remove redundant prop

* feat: update dropdown docs

* feat: update dropdown docs

* feat: update linear demo

* chore: update pnpm lock

* chore: update lockfile

* fix: ci breaking as checkout position incorrect (#391) (#400)

* fix: ci breaking as checkout position incorrect (#391)

* fix: update version in package.json (#394)

* fix: update version in package.json

* fix: add ref

---------

Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>

* ci: create release file for rc tags (#401)

* fix: update tag regex in github action (#403)

* ci: add npm dist tags to the package (#405)

* feat: add `autocomplete` support for Select (#395)

* feat: autocomplete functionality in select

* feat: select autocomplete qol changes

* feat: update select docs

* feat: update select doc tag

* feat: add support for htmlAutocomplete

* feat: select improvements (#397)

* feat: autocomplete functionality in select

* feat: select autocomplete qol changes

* feat: update select docs

* feat: update select doc tag

* feat: add support for htmlAutocomplete

* feat: select updates

* feat: update docs

* fix: use rs space tokens

* chore: merge main into develop (#408)

* Feat: Add Skeleton component (#381)

* feat(calendar): handle loading state (#382)

* feat(calendar): handle loading state

* chore: minor refactor

* fix: ci breaking as checkout position incorrect (#391)

* Revert/workflow 4573 (#392)

* fix (CI): Workflow breaking (#393)

fix: update release workflow to enforce branch and tag rules

* fix: update version in package.json (#394)

* fix: update version in package.json

* fix: add ref

* feat: Support for `as` in Sidebar.Item (#386)

* feat: as support for sidebar item

* feat: update props in doc

* Feat: Setup Code formatting, linting and import sorter (#384)

* feat: grid component (#383)

* feat: grid component

* feat: grid doc

* fix: Error prop not overriding for date-picker (#398)

* Fix release files tag main (#404)

* ci: create release file for rc tags

* fix: update tag regex in github action

* fix: Error prop not overriding for date-picker (#402)

* fix: Error prop not overriding for date-picker

* fix: Error prop not overriding for date-picker

---------

Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>

* chore (Box): Deprecate old Box component (#406)

* fix: update version in package.json

* chore: deprecate old box

* chore: update package version

* chore: update comment

---------

Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>
Co-authored-by: Pratik Kumar Singh <56654568+singh-pk@users.noreply.github.com>
Co-authored-by: Rishabh Mishra <me@rsbh.dev>

* fix: dropdown in breadcrumb and table (#409)

* feat: breadcrumb `as` support (#410)

* feat: breadcrumb as support

* feat: update docs

* fix: Tooltip.Arrow style  (#412)

* feat: tooltip arrow style changes

* feat: update doc

* feat: multi select support (#415)

* wip: select

* wip: multiselect

* feat: multi select

* feat: update doc

* chore: update types

* chore: revert types

* feat: auto chip logic

* fix: double click on keyboard use

* fix: avatar circular dependency

* fix: aria tags

* fix: multi select aria tag

* feat: children render prop

* feat: style changes

* chore: sync main into develop (#419)

* Feat: Add Skeleton component (#381)

* feat(calendar): handle loading state (#382)

* feat(calendar): handle loading state

* chore: minor refactor

* fix: ci breaking as checkout position incorrect (#391)

* Revert/workflow 4573 (#392)

* fix (CI): Workflow breaking (#393)

fix: update release workflow to enforce branch and tag rules

* fix: update version in package.json (#394)

* fix: update version in package.json

* fix: add ref

* feat: Support for `as` in Sidebar.Item (#386)

* feat: as support for sidebar item

* feat: update props in doc

* Feat: Setup Code formatting, linting and import sorter (#384)

* feat: grid component (#383)

* feat: grid component

* feat: grid doc

* fix: Error prop not overriding for date-picker (#398)

* Fix release files tag main (#404)

* ci: create release file for rc tags

* fix: update tag regex in github action

* fix: Error prop not overriding for date-picker (#402)

* fix: Error prop not overriding for date-picker

* fix: Error prop not overriding for date-picker

---------

Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>

* chore (Box): Deprecate old Box component (#406)

* fix: update version in package.json

* chore: deprecate old box

* chore: update package version

* chore: update comment

* chore: IconButton icon take size from parent (#411)

* fix: HTML sub element coming on top of thead during table content scroll (#413)

* fix (Sidebar): Item and container css fixes (#414)

fix: minor css fixes

* Fix/sidebar toggle position (#417)

* fix (sidebar): toggle on border click position

* chore: remove -2 padding

* chore: change resize cursor type

* feat: tooltip `followCursor` mode (#418)

* wip: tooltip follow

* feat: tooltip follow mode

* fix: clean up tooltip code

* fix: missing tooltip arrow changes

* chore: remove duplicate id prop

---------

Co-authored-by: Rohan Chakraborty <irohan1999@gmail.com>
Co-authored-by: Pratik Kumar Singh <56654568+singh-pk@users.noreply.github.com>
Co-authored-by: Rishabh Mishra <me@rsbh.dev>

* Chore/sync main into develop (#420)

* Feat: Add Skeleton component (#381)

* feat(calendar): handle loading state (#382)

* feat(calendar): handle loading state

* chore: minor refactor

* fix: ci breaking as checkout position incorrect (#391)

* Revert/workflow 4573 (#392)

* fix (CI): Workflow breaking (#393)

fix: update release workflow to enforce branch and tag rules

* fix: update version in package.json (#394)

* fix: update version in package.json

* fix: add ref

* feat: Support for `as` in Sidebar.Item (#386)

* feat: as support for sidebar item

* feat: update props in doc

* Feat: Setup Code formatting, linting and import sorter (#384)

* feat: grid component (#383)

* feat: grid component

* feat: grid doc

* fix: Error prop not overriding for date-picker (#398)

* Fix release files tag main (#404)

* ci: create release file for rc tags

* fix: update tag regex in github action

* fix: Error prop not overriding for date-picker (#402)

* fix: Error prop not overriding for date-picker

* fix: Error prop not overriding for date-picker

---------

Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>

* chore (Box): Deprecate old Box component (#406)

* fix: update version in package.json

* chore: deprecate old box

* chore: update package version

* chore: update comment

* chore: IconButton icon take size from parent (#411)

* fix: HTML sub element coming on top of thead during table content scroll (#413)

* fix (Sidebar): Item and container css fixes (#414)

fix: minor css fixes

* Fix/sidebar toggle position (#417)

* fix (sidebar): toggle on border click position

* chore: remove -2 padding

* chore: change resize cursor type

* feat: tooltip `followCursor` mode (#418)

* wip: tooltip follow

* feat: tooltip follow mode

* fix: clean up tooltip code

* fix: missing tooltip arrow changes

---------

Co-authored-by: Rohan Chakraborty <irohan1999@gmail.com>
Co-authored-by: Pratik Kumar Singh <56654568+singh-pk@users.noreply.github.com>
Co-authored-by: Rishabh Mishra <me@rsbh.dev>

---------

Co-authored-by: Rohan Chakraborty <irohan1999@gmail.com>
Co-authored-by: Rishabh Mishra <me@rsbh.dev>
Co-authored-by: Gaurav Singh <gaurav3017@gmail.com>
Co-authored-by: Pratik Kumar Singh <56654568+singh-pk@users.noreply.github.com>
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.

3 participants