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

split up into two packages #193

Merged
merged 29 commits into from
Feb 19, 2024
Merged

split up into two packages #193

merged 29 commits into from
Feb 19, 2024

Conversation

phryneas
Copy link
Member

No description provided.

@phryneas phryneas changed the base branch from main to pr/generalized-package February 12, 2024 12:36
@phryneas
Copy link
Member Author

I've done a test release as

@apollo/client-react-streaming@0.0.0-commit-a50a2a9 and @apollo/experimental-nextjs-app-support@0.0.0-commit-a50a2a9 - see this CI run

Comment on lines +4 to +7
inputs:
version:
description: "The version to publish"
required: true
Copy link
Member Author

Choose a reason for hiding this comment

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

This workflow now needs to be manually triggered from the Github Actions UI, as we need to be very specific about the version that will be applied to all packages (and parsing some release title for a version number might turn out flimsy).

This also allows us to publish under a certain tag.

Copy link
Member

Choose a reason for hiding this comment

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

Would it be worth spending some effort getting changesets integrated? It handles workspaces with dependent packages pretty well from what I've seen (check our brand repo for an example, specifically the tailwind package that depends on the base brand package)

@@ -1,5 +1,6 @@
name: Snapshot Release
on:
workflow_dispatch:
Copy link
Member Author

Choose a reason for hiding this comment

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

This workflow can now also be triggered from the GitHub UI, which has the benefit that it will actually run the workflow version of that branch and not the workflow from main - meaning, we can not test it before merging into main.

@@ -1,5 +1,5 @@
"use client";
import { useContext, useEffect, useState } from "rehackt";
import { useContext, useEffect, useState } from "react";
Copy link
Member Author

Choose a reason for hiding this comment

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

With all the exports conditions we have in play for these packages now, we don't need rehackt anymore.

@phryneas phryneas marked this pull request as ready for review February 14, 2024 13:11
@phryneas phryneas requested a review from a team as a code owner February 14, 2024 13:11
Copy link
Member

@jerelmiller jerelmiller left a comment

Choose a reason for hiding this comment

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

💯 🔥 💯 Nice work!

Copy link
Member

Choose a reason for hiding this comment

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

[nit] Should the workspace name match the package name? In other words, would it be alright to drop the -support suffix from this folder name?

Copy link
Member Author

Choose a reason for hiding this comment

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

Can do :)

Base automatically changed from pr/generalized-package to main February 19, 2024 10:58
@phryneas phryneas merged commit aa304d6 into main Feb 19, 2024
9 checks passed
@phryneas phryneas deleted the pr/split-packages branch February 19, 2024 12:55
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.

None yet

2 participants