Skip to content

Conversation

@amanabiy
Copy link
Member

@amanabiy amanabiy commented Jan 6, 2026

Description

This PR enables direct GitHub consumption of build-tools, eliminating the need for npm publishing.

Changes

The changes in this PR are as the following renamed the /src folder to /lib, and exported the /lib as . in package.json to make it accessible without any change in the consumers. The other change is to stop publishing the repository, and make the prebuild, build, and postbuild commands echoing for now as we are skipping them as we are not doing anything.

Deployment Strategy

⚠️ Do not merge immediately after approval

  1. First, update all consuming repositories to use the GitHub dependency: @cloudscape-design/build-tools": "github:cloudscape-design/build-tools#transition-main-do-not-edit
  2. Then we can create another similar PR to be merged to main, and update all the other dependencies to consume from the main branch.

Testing

Validated GitHub consumption in draft PRs across all dependent repositories:

  1. components (PR) - PR
  2. chat-components (PR) - PR
  3. chart-components (PR) - PR
  4. board-components (PR) - PR
  5. code-view (PR) - PR

Related links, issue #, if available: n/a

How has this been tested?

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@amanabiy amanabiy changed the title Transition main do not edit feat: enable direct GitHub consumption without npm publishing Jan 6, 2026
@amanabiy amanabiy marked this pull request as ready for review January 6, 2026 12:51
@amanabiy amanabiy requested a review from a team as a code owner January 6, 2026 12:51
@amanabiy amanabiy requested review from Harsh-Anand-Singh and pan-kot and removed request for a team January 6, 2026 12:51
package.json Outdated
"postbuild": "cp package.json NOTICE README.md LICENSE lib",
"prebuild": "echo 'prebuild skipped'",
"build": "echo 'build skipped'",
"postbuild": "echo 'postbuild skipped'",
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove prebuild and postbuild

Copy link
Member Author

Choose a reason for hiding this comment

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

Makes sense, I will remove them.

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