Merge branch 'fix_lerna_ci' into 'development'

Add Typedoc to fromCashASM function

See merge request GeneralProtocols/xo/stack!75
This commit is contained in:
Jim Hamill
2025-04-22 03:49:45 +00:00
2 changed files with 17 additions and 4 deletions
+7 -4
View File
@@ -42,10 +42,13 @@ publish:development:
# Configure git to push with CI token
- git remote set-url origin "https://gitlab-ci-token:$GL_TOKEN@$CI_SERVER_HOST/$CI_PROJECT_PATH.git"
# Checkout the development branch so that we're not on a detached HEAD (which GitLab CI will default to).
- git checkout development
# Forcefully pull the latest changes.
- git pull
# Ensure full Git history so Lerna can detect changes
- git fetch --unshallow
- git fetch origin development
# Check the current HEAD and the associated branch
- 'echo "CI_COMMIT_SHA: ${CI_COMMIT_SHA}"'
- git log -1
# Setup npm config for npmjs.com
- npm config set registry https://registry.npmjs.org/
+10
View File
@@ -115,6 +115,16 @@ export class Script {
return new this(assembleResult.bytecode);
}
/**
* Create a Script Entity from the given CashASM String.
*
* @param cashASM String of CashASM to compile.
* @param data AddressData to pass to the CashASM compiler
*
* @throws {Error} If script cannot be decoded.
*
* @returns The created Script Entity.
*/
public static fromCashASM(
cashASM: string,
data?: Record<string, Uint8Array>,