GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Call `pnpm publish` directly from the directory of the published package by Andarist · Pull Request #1115 · changesets/changesets

Conversation

@Andarist

@Andarist Andarist commented Mar 21, 2023

Copy link
Copy Markdown
Member

No description provided.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dotansimha reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@Andarist
Call pnpm publish directly from the directory of the published package
7bb029f
@Andarist
Andarist requested a review from emmatown March 21, 2023 17:04
@changeset-bot

changeset-bot Bot commented Mar 21, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7bb029f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@codesandbox-ci

codesandbox-ci Bot commented Mar 21, 2023

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 7bb029f:

Sandbox Source
Vanilla Configuration
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Andarist
Andarist commented Mar 21, 2023
View reviewed changes
Comment thread packages/cli/src/commands/publish/npm-utils.ts
Comment on lines +185 to +197
let { code, stdout, stderr } =
publishTool.name === "pnpm"
? await spawn("pnpm", ["publish", "--json", ...publishFlags], {
env: Object.assign({}, process.env, envOverride),
cwd: opts.cwd,
})
: await spawn(
publishTool.name,
["publish", opts.publishDir, "--json", ...publishFlags],
{
env: Object.assign({}, process.env, envOverride),
}
);

@Andarist Andarist Mar 21, 2023

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This is getting gross so I'd like to refactor this sometime in the future...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dotansimha reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@dotansimha dotansimha mentioned this pull request Mar 22, 2023
Apply patch for changeset to fix release flow graphql-hive/graphql-inspector#2412
Merged
@dotansimha

dotansimha commented Mar 22, 2023

Copy link
Copy Markdown
Contributor

I can confirm it's working great on our end now https://github.com/kamilkisiela/graphql-inspector/actions/runs/4486084256/jobs/7888244003

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dotansimha
dotansimha approved these changes Mar 22, 2023
View reviewed changes
@dotansimha dotansimha mentioned this pull request Mar 22, 2023
pnpm publish fails ERR_PNPM_CANNOT_RESOLVE_WORKSPACE_PROTOCOL with when both workspace: and publishConfig.directory set pnpm/pnpm#6253
Closed
@Andarist
Andarist merged commit feddc88 into main Mar 22, 2023
@Andarist
Andarist deleted the fix/pnpm-publishConfig-directory branch March 22, 2023 06:36
@github-actions github-actions Bot mentioned this pull request Mar 22, 2023
Version Packages #1116
Merged
Jagaban2
Jagaban2 approved these changes May 30, 2023
View reviewed changes
@changesets changesets deleted a comment Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@emmatown emmatown Awaiting requested review from emmatown
2 more reviewers
@dotansimha dotansimha dotansimha approved these changes
@Jagaban2 Jagaban2 Jagaban2 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@Andarist @dotansimha @Jagaban2
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.