m-public - @sitecore/sc-contenthub-webclient-sdk 1.2.7


Sitecore Content Hub WebClient JS SDK

Sitecore Content Hub WebClient JS SDK, which is a lightweight JS client for Sitecore Content Hub.

Internal resources

  • Backlog
  • Slack: #ch-devex-questions

Release process

There are currently three build configurations that are specified in bitbucket-pipelines.yml

  • A basic build runs each time a pull request is created or updated. This is to ensure that all unit tests are passing before committing any code to master.
  • Once a pull request has been completed and the code is merged to master, an internal build is triggered automatically.
  • Public releases can be created by tagging a commit with the following: release-<major>.<minor>.<patch> (e.g release-1.0.0). Upon a successful build all artifacts are pushed to the public channels.

To Release

  • Add new release tag, release-<major>.<minor>.<patch>.
  • Trigger a release build to publish final artifacts to the partners feed.
  • Cut the release branch, release\<major>.<minor>.x.
  • Update the Changelog in Documentation repository.
  • Update Content Hub repository with new official released version.
  • Bump version for the next release.

Documentation

Stylelabs.M.Docs reporitory

NOTE: There are multiple paths for various versions that need to be updated independently.

Dev test configuration

Some tests require an instance of ContentHub and a configuration to run.

  1. Create a .env file in project root.
  2. Configure an OAuth client in <path-to-contenthub>/en-us/admin/oauthclients.

Example .env config:

ENDPOINT=https://localhost:5001
OAUTH_CLIENT_ID=jssdk
OAUTH_CLIENT_SECRET=testsecret
USER_NAME=Administrator
USER_PASSWORD=admin
IGNORE_HTTPS_ERRORS=true

Owners

Maarten Vandendoorent bamboo

Authors

Sitecore

License

MIT

Keywords

sitecore, stylelabs, contenthub

Info

19705 total downloads
4095 downloads for version 1.2.7
Download (185.23 KB)

Dependencies

axios@^0.24.0, axios-extensions@^3.1.3, http-status-codes@^2.1.4, ow@^0.28.1, string-format@^2.0.0, ta-json@^2.5.0, urijs@^1.19.7, form-data@^4.0.0

Dependencies (dev)

@types/jest@^27.0.2, @types/node@^14.17.5, @types/urijs@^1.19.17, @typescript-eslint/eslint-plugin@^4.28.3, @typescript-eslint/parser@^4.28.3, dotenv@^10.0.0, eslint@^7.30.0, eslint-config-prettier@^8.3.0, eslint-plugin-deprecation@^1.2.1, eslint-plugin-prettier@^3.4.0, eslint-plugin-tsdoc@^0.2.14, jest@^27.3.1, prettier@^2.3.2, rimraf@^3.0.2, ts-jest@^27.0.7, typescript@^4.4.4

Package history

Version Size Last updated Downloads Mirrored?
1.2.8 185.34 KB Mon, 26 Jun 2023 14:37:56 GMT 1839
1.2.7 185.23 KB Thu, 17 Nov 2022 12:40:09 GMT 4095
1.2.6 185.31 KB Thu, 27 Oct 2022 13:12:08 GMT 761
1.2.5 185.21 KB Tue, 02 Aug 2022 04:53:16 GMT 1847
1.2.4 185.14 KB Fri, 29 Jul 2022 12:46:17 GMT 4
1.2.3 183.38 KB Thu, 23 Jun 2022 14:38:46 GMT 9
1.2.2 183.38 KB Thu, 23 Jun 2022 13:52:42 GMT 3
1.2.1 183.11 KB Mon, 14 Feb 2022 13:38:41 GMT 716
1.2.0 183.1 KB Tue, 08 Feb 2022 14:32:09 GMT 5
1.1.1 172.75 KB Wed, 23 Jun 2021 13:19:54 GMT 1974
1.1.0 172.75 KB Wed, 23 Jun 2021 12:45:57 GMT 4
1.0.33 172.75 KB Wed, 23 Jun 2021 12:29:27 GMT 3
1.0.6 169.87 KB Fri, 26 Feb 2021 13:19:26 GMT 8390
0.9.7 158.69 KB Thu, 30 Jul 2020 10:12:05 GMT 55