release-it-plugins / workspaces

A release-it plugin for publishing projects with workspaces
MIT License
62 stars 14 forks source link

Only publishes first package šŸ¤” #21

Closed rwjblue closed 4 years ago

rwjblue commented 4 years ago

Not sure exactly what happened, but when attempting to publish glimmer.js for a 2.0.0-beta.1 only the first package was actually published.

Need to dig in to figure out what happened, no error was presented.

The `--dry-run` had this output ``` ? Preparing to publish: @glimmer/blueprint@beta @glimmer/component@beta @glimmer/core@beta @glimmer/helper@beta @glimmer/modifier@beta @glimmer/ssr@beta @glimmer/tracking@beta @glimmer/babel-plugin-glimmer-env@beta @glimmer/babel-plugin-strict-template-precompile@beta Publish to npm: Yes $ npm publish . --tag beta --dry-run $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] $ npm publish . --tag beta --dry-run [cached] šŸ”— https://github.com/glimmerjs/glimmer.js/releases/tag/v2.0.0-beta.1 šŸ”— https://www.npmjs.com/package/@glimmer/blueprint šŸ”— https://www.npmjs.com/package/@glimmer/component šŸ”— https://www.npmjs.com/package/@glimmer/core šŸ”— https://www.npmjs.com/package/@glimmer/helper šŸ”— https://www.npmjs.com/package/@glimmer/modifier šŸ”— https://www.npmjs.com/package/@glimmer/ssr šŸ”— https://www.npmjs.com/package/@glimmer/tracking šŸ”— https://www.npmjs.com/package/@glimmer/babel-plugin-glimmer-env šŸ”— https://www.npmjs.com/package/@glimmer/babel-plugin-strict-template-precompile ```
The actual publishing showed this output ``` Changeset: M CHANGELOG.md M packages/@glimmer/blueprint/package.json M packages/@glimmer/component/package.json M packages/@glimmer/core/package.json M packages/@glimmer/helper/package.json M packages/@glimmer/modifier/package.json M packages/@glimmer/ssr/package.json M packages/@glimmer/tracking/package.json M packages/babel-plugins/@glimmer/babel-plugin-glimmer-env/package.json M packages/babel-plugins/@glimmer/babel-plugin-strict-template-precompile/package.json ? Commit (Release 2.0.0-beta.1)? Yes ? Tag (v2.0.0-beta.1)? Yes ? Push? Yes ? Create a pre-release on GitHub (Release 2.0.0-beta.1)? Yes ? Preparing to publish: @glimmer/blueprint@beta @glimmer/component@beta @glimmer/core@beta @glimmer/helper@beta @glimmer/modifier@beta @glimmer/ssr@beta @glimmer/tracking@beta @glimmer/babel-plugin-glimmer-env@beta @glimmer/babel-plugin-strict-template-precompile@beta Publish to npm: Yes ? Please enter OTP for npm: 968864 šŸ”— https://github.com/glimmerjs/glimmer.js/releases/tag/v2.0.0-beta.1 šŸ”— https://www.npmjs.com/package/@glimmer/blueprint šŸ”— https://www.npmjs.com/package/@glimmer/component šŸ”— https://www.npmjs.com/package/@glimmer/core šŸ”— https://www.npmjs.com/package/@glimmer/helper šŸ”— https://www.npmjs.com/package/@glimmer/modifier šŸ”— https://www.npmjs.com/package/@glimmer/ssr šŸ”— https://www.npmjs.com/package/@glimmer/tracking šŸ”— https://www.npmjs.com/package/@glimmer/babel-plugin-glimmer-env šŸ”— https://www.npmjs.com/package/@glimmer/babel-plugin-strict-template-precompile šŸ Done (in 454s.) ```

But in the end, only @glimmer/blueprint was published.

rwjblue commented 4 years ago

This might be related to #20 (the @glimmer/blueprint package was the only one that didn't have an invalid version specifier in its dependencies/devDependencies), but unclear.

rwjblue commented 4 years ago

Had a successful release of a monorepo yesterday, published all packages properly.

Closing...