0.0.1-beta.42 • Published 10 months ago

@ordercloud/portal-javascript-sdk v0.0.1-beta.42

Weekly downloads
1
License
ISC
Repository
github
Last release
10 months ago

portal-javascript-sdk

⌨ Writing code

Unlike other libraries, most of the code here is not handwritten. We use @ordercloud/oc-codegen to generate the code based on a set of templates located in /codegen/. This tool uses the Ordercloud Portal OpenAPI specification along with the templates to generate the full SDK. Most changes should be taking place on the OpenAPI spec. Any direct changes in /src/ will simply be overwritten when you run npm run build.

Generating the SDK

Be sure you have installed dependencies with runnpm install. Then run npm run build to generate the SDK and docs.

npm run build

✨ Submitting a pull request

  1. Install dependencies
  2. Make your changes. Note: all of your changes should be to files in the openAPI spec or /codegen and not directly to any of the files in src/ as those files get overwritten when the code is generated.
  3. Run npm run build to regenerate the sdk, compile the code, run the tests, and generate the docs
  4. Verify your changes work as expected. Run npm install /path/to/this/folder in a different project to install locally and test
  5. Commit your changes. We adhere to the gitmoji standard
  6. Update the sdk version in the package.json and make a separate version commit in the format :bookmark: {newVersionHere}
  7. Push to master.

🚀 Releasing

Assuming you or a contributor followed the instructions for submitting a pull request and are a maintainer you can follow these instructions to release a new version of the sdk.

  1. Verify the version has been bumped and adheres to semantic versioning
  2. Create a publish a new release on github
  3. Make sure you are logged into npm with npm login
  4. Run npm publish --dry-run for a preview, or npm publish
0.0.1-beta.42

10 months ago

0.0.1-beta.41

1 year ago

0.0.1-beta.40

1 year ago

0.0.1-beta.39

2 years ago

0.0.1-beta.38

2 years ago

0.0.1-beta.36

2 years ago

0.0.1-beta.35

2 years ago

0.0.1-beta.37

2 years ago

0.0.1-beta.34

2 years ago

0.0.1-beta.33

3 years ago

0.0.1-beta.31

3 years ago

0.0.1-beta.30

3 years ago

0.0.1-beta.29

3 years ago

0.0.1-beta.28

3 years ago

0.0.1-beta.27

3 years ago

0.0.1-beta.25

3 years ago

0.0.1-beta.24

3 years ago

0.0.1-beta.26

3 years ago

0.0.1-beta.21

4 years ago

0.0.1-beta.20

4 years ago

0.0.1-beta.23

4 years ago

0.0.1-beta.22

4 years ago

0.0.1-beta.19

4 years ago

0.0.1-beta.18

5 years ago

0.0.1-beta.17

5 years ago

0.0.1-beta.16

5 years ago

0.0.1-beta.15

5 years ago

0.0.1-beta.14

5 years ago

0.0.1-beta.13

5 years ago

0.0.1-beta.12

5 years ago

0.0.1-beta.11

5 years ago

0.0.1-beta.10

5 years ago

0.0.1-beta.9

5 years ago

0.0.1-beta.8

5 years ago

0.0.1-beta.7

5 years ago

0.0.1-beta.6

5 years ago

0.0.1-beta.5

5 years ago

0.0.1-beta.4

5 years ago

0.0.1-beta.3

5 years ago

0.0.1-beta.2

5 years ago

0.0.1-beta.1

6 years ago