Update
- this README.md
- SDK's README.md located at
template/models-typescript/README.md
- release-notes.md
Bump up the version of SDK in pom.xml
<npmVersion>M.m.p</npmVersion>
Update the version in package.json template/models-typescript/package.json
.
"version": "M.n.p",
Since the package.json
file is being copied from the template
directory instead of being created, the POM's version
is not effective. Keeping it aligned would still be beneficial though.
NOTE: The following changes need to be made manually currently in the Typescript packages. A template fix will follow shortly
vc+sd-jwt (currently encoded as vcsd_jwt). For TS this should be vcsd_jwt -> ['vc+sd-jwt']
sd-jwt_alg_values (currently encoded as sd_jwt_alg_values; this should be sd_jwt_alg_values -> ['sd-jwt_alg_values']
kb-jwt_alg_values (currently encoded as kb_jwt_alg_values) kb_jwt_alg_values -> ['kb-jwt_alg_values']
mvn clean
mvn install -P models-typescript
cd target/sdks/models/typescript
Fix model/format.ts to include the line ['vc+sd-jwt']?: SdJwtObject; as well as other replacements mentioned above
yarn install
yarn build
If not already logged in at npmjs.org with a token
yarn login
npm login
may ask a few questions.
yarn publish --access public
Check on npmjs.com
Install the module following the included README.md
.
If you have the correct settings in your local workspace, you can easily publish a new version on Sphereon
repository (sphereon-opensource-snapshots
)
if you do, you can create and upload a new version with running:
mvn clean deploy -P java