toAerIdentifier
toAerIdentifier(
raw):string
Defined in: packages/simply-cicd-core/src/build/aerPackage.ts:67
Reduce a package name or namespace to something aer accepts in a package file name: letters, digits and underscores, starting with a letter.
Each run of anything else becomes one underscore, and a name that doesn’t start with a letter is
prefixed with P. The rule is fixed rather than configurable because a dependent repo has to
compute the same file name to download the package.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”string
Throws
Section titled “Throws”If nothing usable is left, e.g. for a name made only of punctuation.