Skip to content

fix(common): consolidate npm publishing#8587

Merged
mcdurdin merged 2 commits intomasterfrom
fix/common/7310-npm-publish-needs-to-hardcode-dep-versions
Apr 13, 2023
Merged

fix(common): consolidate npm publishing#8587
mcdurdin merged 2 commits intomasterfrom
fix/common/7310-npm-publish-needs-to-hardcode-dep-versions

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

Fixes #8586.
Fixes #7310.

Four fixes all centred around npm publish:

  • Sets dependency versions when publishing npm packages
  • All npm publish actions in the repository are now run as part of the Developer release build, hosted at present by kmc, until we setup a higher-level build script to do it.
  • Adds a 'pack' action which mirrors 'publish' for all npm packages.
  • Removes unnecessary dev dependencies of models-templates and models-wordbreakers from kmc-model.

The Web Release build CI step has been updated to check for presence of .build-builder for models-types.

@keymanapp-test-bot skip

Fixes #8586.

All npm publish actions in the repository are now run as part of the
Developer release build, hosted at present by kmc, until we setup a
higher-level build script to do it.

Adds a 'pack' action which mirrors 'publish' for all npm packages.

Removes unnecessary dev dependencies of models-templates and
models-wordbreakers from kmc-model.

Web Release build CI step has been updated to check for presence of
.build-builder.
@mcdurdin mcdurdin added this to the A17S10 milestone Apr 12, 2023
@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot bot commented Apr 12, 2023

User Test Results

Test specification and instructions

User tests are not required

"configure" \
"build" \
"test" \
"pack" \
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we have a description of pack? ...mirrors 'publish' for all npm packages

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Huh, and it usually comes second here, after publish... yeah, could definitely use some more clarity there on exactly what the distinction is.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

"build a local .tgz pack for testing" okay? See #8588, will fix up other refs shortly.

Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

Base automatically changed from fix/developer/8508-file-not-exist-message to master April 13, 2023 08:08
@mcdurdin mcdurdin merged commit 57087e4 into master Apr 13, 2023
@mcdurdin mcdurdin deleted the fix/common/7310-npm-publish-needs-to-hardcode-dep-versions branch April 13, 2023 08:08
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 17.0.87-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

4 participants