1.21.0 • Published 14 days ago

@skedulo/mex-types v1.21.0

Weekly downloads
-
License
MIT
Repository
github
Last release
14 days ago

mex-types

A central repository store for all the interfaces, type definitions of MEX engine. It also includes scripts that can read information from TypeScript files, which contain these interfaces and definitions. The data extracted from these files is then used by the Form Builder.

Node version

18.x

Install

Bootstrap

yarn bootstrap

How to test the package locally

From the root of mex-types, run

yarn clean
yarn build
npm pack --pack-destination /tmp

After this step, you should see a new file in the /tmp folder

  • For example: /tmp/skedulo-mex-types-0.0.1.tgz

Inside project uses this package, update package.json to point to *.tgz above

"dependencies": {
  "@skedulo@mex-types": "file:/tmp/skedulo-mex-types-0.0.1.tgz"
}

Semantic release

This project adheres to the Semantic Versioning (SemVer) release approach, and as such, we employ the tool Semantic Release to facilitate automated version incrementation.

Commit message convention

Tips: To simplify the process of creating commit messages that adhere to the Conventional Commits format, consider using the Commitizen tool. After you've staged all your changes, you can run either yarn commit or git cz. This tool will guide you through the process and make it easier to generate the correct commit message format.

Please use the guidelines outlined in this guide when writing your commit messages. Following this guide ensures that your commit messages follow a standard format. This standard format is important because it helps the semantic-release tool understand and manage versioning more effectively.

The table below shows which commit message gets you which release type when semantic-release runs (using the default configuration):

Commit messageRelease type
fix(api): resolve issue with data parsingPatch Fix Release
feat(login): add user authentication featureMinor Feature Release
feat(login): No backward compatibility BREAKING CHANGE: The graphiteWidth option has been removed.The default graphite width of 10mm is always used for performance reasons.` | Major Breaking Release (Note that the BREAKING CHANGE: token must be in the footer of the commit)

Publish workflow

Release channel

main branch

Pre-release channel

beta branch (Must be branched from main)

New feature (Pre-release) flow:

  • Create a branch from beta
  • Implement the feature
  • Raise PR from new branch into beta
  • After approved, using squash merge. Please enter commit message following conventional guidelines
    • At this stage, your beta version is ready to install. It might have a format like this 1.0.1-beta. (There is a bot will comment on your PR about new version after semantic-release publishing successfully.)
  • Raise PR from beta to main
  • Wait for approval and squash merge

Hot fix

  • Create a branch from main
  • Implement the fix
  • Raise PR from new branch into main
  • After approved, using squash merge.(Please use fix convention message)

Release type rules

  • If adding comments into the code that affect the output of parsed info, must release in patch type. Here are list of change might contribute to parsed output
    • jsdocs comment
    • the parser scripts get updated
  • If add new property, interface, type defs, must release in minor type
  • Break change (TBD)

Trigger release manually

Please follow this guidelines to trigger release manually

1.21.0

14 days ago

1.20.1

17 days ago

1.20.0

1 month ago

1.19.2

1 month ago

1.18.0

1 month ago

1.19.0

1 month ago

1.19.1

1 month ago

1.17.1

1 month ago

1.17.0

2 months ago

1.16.3

2 months ago

1.16.2

2 months ago

1.16.1

2 months ago

1.16.0

2 months ago

1.15.4

2 months ago

1.15.3

3 months ago

1.15.2

3 months ago

1.15.1

4 months ago

1.15.0

4 months ago

1.14.1

4 months ago

1.14.0

4 months ago

1.13.0

4 months ago

1.12.0

4 months ago

1.11.0

4 months ago

1.11.1

4 months ago

1.10.0

4 months ago

1.9.0

4 months ago

1.8.1

4 months ago

1.8.0

5 months ago

1.7.4

5 months ago

1.7.3

5 months ago

1.7.2

5 months ago

1.7.1

5 months ago

1.7.0

5 months ago

1.6.19

5 months ago

1.6.11

5 months ago

1.6.13

5 months ago

1.6.12

5 months ago

1.6.15

5 months ago

1.6.14

5 months ago

1.6.17

5 months ago

1.6.16

5 months ago

1.6.18

5 months ago

1.6.10

5 months ago

1.6.9

5 months ago

1.6.8

5 months ago

1.6.7

5 months ago

1.6.6

5 months ago

1.6.4

5 months ago

1.6.5

5 months ago

1.6.3

5 months ago

1.6.2

5 months ago

1.6.1

5 months ago

1.6.0

5 months ago

1.5.3

5 months ago

1.5.2

6 months ago

1.5.1

6 months ago

1.5.0

6 months ago

1.4.2

6 months ago

1.4.1

6 months ago

1.4.0

6 months ago

1.3.25

6 months ago

1.3.24

6 months ago

1.3.23

6 months ago

1.3.22

6 months ago

1.3.21

6 months ago

1.3.20

6 months ago

1.3.19

6 months ago

1.3.18

6 months ago

1.3.17

6 months ago

1.3.16

6 months ago

1.3.15

6 months ago

1.3.14

7 months ago

1.3.13

7 months ago

1.3.12

7 months ago

1.3.11

7 months ago

1.3.10

7 months ago

1.3.9

7 months ago

1.3.8

7 months ago

1.3.7

7 months ago

1.3.6

7 months ago

1.3.5

7 months ago

1.3.4

7 months ago

1.3.3

7 months ago

1.3.2

7 months ago

1.3.1

7 months ago

1.3.0

7 months ago

1.2.2

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.0

8 months ago

1.0.0

8 months ago

0.1.0

8 months ago

0.0.5

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.1

9 months ago