1.59.0-rc1 ā€¢ Published 11 days ago

cronofy-elements v1.59.0-rc1

Weekly downloads
2,353
License
ISC
Repository
-
Last release
11 days ago

Cronofy UI Elements

A suite of embeddable components that access the Cronofy API.

Full documentation can be found here: docs.cronofy.com/developers/ui-elements

Information about installing via npm can be found here: npm.README.md

Developer documentation

To setup the development environment, run:

make init

You will need to ensure /src/js/env.js is updated with your local development settings. See /src/js/env.example.js for an example of this.

To start development, run:

make dev

If using powprox for local API hosting (our default) you can set an environment variable to tell Node about a custom root CA in your .bash_profile or equivalent:

export NODE_EXTRA_CA_CERTS="$HOME/.powprox/ssl/ca/pow-root-ca.crt"

Alternatively, though not recommended, you can disable all TLS verification:

NODE_TLS_REJECT_UNAUTHORIZED=0 make dev

This will watch the source files and rebuild whenever you save changes. It will also host the demo app (demo/index.ejs) on port 8080

You can make a one-off development build (without watching the files or serving the demo) using:

make build_dev

You can make a production build with:

make build

To bump a patch version (e.g. from 0.0.1 to 0.0.2) and make a production build, run:

bump_patch

To bump a minor version (e.g. from 0.1.0 to 0.2.0) and make a production build, run:

bump_minor

To bump a major version (e.g. from 1.0.0 to 2.0.0) and make a production build, run:

bump_major

Releasing

Once you've got a feature branch which has been PR'ed and approved, do the following on the feature branch:

šŸ’” Be sure to have your branch is up to date with master. This is to be sure that when running the following steps, it won't bump the version to an incorrect number

  • cd js/elements
  • Run make bump_patch , make bump_minor or make bump_major based on the type of release
  • Commit the package.json change: git add .; git commit -m"Bump to v<version>"
  • Create an annotated tag: git tag -a v<version> -m "summary of changes"
  • Push! git push && git push --tags
  • Merge the PR
  • Go to the monorepos Github Actions and trigger "Elements release": https://github.com/cronofy/cronofy/actions/workflows/elements_release.yml This will build a fresh artifact, push it to S3 and update NPM. There can be a delay before the version shows up on NPM: https://www.npmjs.com/package/cronofy-elements
  • Once the version shows up on NPM, add a new entry to the elements_changelog.json and update the version number for elementsVersion in config.json in the Docs project to announce it to the world!

Things that need to be published in order to call a UI Element change "done"

  • new build file added to S3 bucket (so that it shows up at this URL: https://elements.cronofy.com/js/CronofyElements.vNEW_VERSION_NUMBER.js)
  • publish changes to NPM (checkable here: https://www.npmjs.com/package/cronofy-elements)
  • Add changes to docs if user-facing API has changed
  • Update v# and changelog in the docs (only do this after the S3 URL is available)
1.59.0-rc1

11 days ago

1.58.1

17 days ago

1.58.0

2 months ago

1.57.2

3 months ago

1.57.1

3 months ago

1.57.0

4 months ago

1.56.3

8 months ago

1.56.5

6 months ago

1.56.4

7 months ago

1.56.2

10 months ago

1.56.1

11 months ago

1.56.0

11 months ago

1.55.0

11 months ago

1.55.1

11 months ago

1.54.3

1 year ago

1.54.5

1 year ago

1.54.4

1 year ago

1.54.2

1 year ago

1.52.5

1 year ago

1.52.4

1 year ago

1.53.0

1 year ago

1.53.1

1 year ago

1.54.1

1 year ago

1.54.0

1 year ago

1.51.1

2 years ago

1.52.1

2 years ago

1.52.0

2 years ago

1.52.3

1 year ago

1.52.2

2 years ago

1.51.0

2 years ago

1.50.1

2 years ago

1.50.0

2 years ago

1.49.3

2 years ago

1.49.4

2 years ago

1.48.0

2 years ago

1.48.2

2 years ago

1.48.1

2 years ago

1.49.0-rc.0

2 years ago

1.45.0

2 years ago

1.49.1

2 years ago

1.49.0

2 years ago

1.49.2

2 years ago

1.46.0

2 years ago

1.46.1

2 years ago

1.47.0

2 years ago

1.40.2

3 years ago

1.44.0

2 years ago

1.44.1

2 years ago

1.41.0

3 years ago

1.42.0

2 years ago

1.42.1

2 years ago

1.43.0

2 years ago

1.40.1

3 years ago

1.40.0

3 years ago

1.39.2

3 years ago

1.39.1

3 years ago

1.39.0

3 years ago

1.38.1

3 years ago

1.38.0

3 years ago

1.37.1

3 years ago

1.37.2

3 years ago

1.37.0

3 years ago

1.36.0

3 years ago

1.35.4

3 years ago

1.35.3

3 years ago

1.35.2

3 years ago

1.35.1

3 years ago

1.35.0

3 years ago

1.34.8

3 years ago

1.34.7

3 years ago

1.34.6

3 years ago

1.34.5

3 years ago

1.34.4

3 years ago

1.34.3

3 years ago

1.34.2

3 years ago

1.34.1

3 years ago

1.34.0

3 years ago

1.33.0

3 years ago

1.32.0

3 years ago

1.30.0

3 years ago

1.31.0

3 years ago

1.29.2

3 years ago

1.29.1

3 years ago

1.29.0

3 years ago

1.27.0

3 years ago

1.27.1

3 years ago

1.28.0

3 years ago

1.26.1

3 years ago

1.26.0

3 years ago

1.25.3

3 years ago

1.25.2

3 years ago

1.25.1

3 years ago

1.25.0

3 years ago

1.24.1

3 years ago

1.24.0

3 years ago

1.23.1

3 years ago

1.23.0

3 years ago

1.22.3

3 years ago

1.22.2

3 years ago

1.22.1

3 years ago

1.22.0

3 years ago

1.21.0

4 years ago

1.21.1

4 years ago

1.20.13

4 years ago

1.20.12

4 years ago

1.20.11

4 years ago

1.20.10

4 years ago

1.20.9

4 years ago

1.20.8

4 years ago

1.20.7

4 years ago

1.20.6

4 years ago

1.20.5

4 years ago

1.20.3

4 years ago

1.20.2

4 years ago

1.20.1

4 years ago

1.20.0

4 years ago

1.19.0

4 years ago

1.18.1

4 years ago

1.18.0

4 years ago

1.17.8

4 years ago

1.17.7

4 years ago

1.17.6

4 years ago

1.17.5

4 years ago

1.17.4

4 years ago

1.17.3

4 years ago

1.17.2

4 years ago

1.17.1

4 years ago

1.17.0

4 years ago

1.16.1

4 years ago

1.16.0

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.0

4 years ago

1.13.3

4 years ago

1.13.2

4 years ago

1.13.1

4 years ago

1.13.0

4 years ago

1.12.1

4 years ago

1.12.0

4 years ago

1.11.1

4 years ago

1.11.0

4 years ago

1.10.0

4 years ago

1.9.4

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.21

4 years ago

1.7.19

4 years ago

1.7.17

4 years ago

1.7.15

4 years ago

1.7.14

5 years ago

1.7.13

5 years ago

1.7.12

5 years ago

1.7.11

5 years ago

1.7.10

5 years ago

1.7.9

5 years ago

1.7.8

5 years ago

1.7.6

5 years ago

1.7.4

5 years ago

1.7.0

5 years ago

1.4.1

5 years ago

1.3.6

5 years ago

1.3.5

5 years ago

1.3.4

5 years ago

1.3.3

5 years ago

1.3.2

5 years ago