@sequenceholdings/studio-cli 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -12
- package/dist/app/commands.d.ts +16 -0
- package/dist/app/commands.js +227 -0
- package/dist/app/deploy.d.ts +49 -0
- package/dist/app/deploy.js +197 -0
- package/dist/app/kinds.d.ts +10 -0
- package/dist/app/kinds.js +36 -0
- package/dist/app/manifest.d.ts +94 -0
- package/dist/app/manifest.js +273 -0
- package/dist/app/scaffold.d.ts +28 -0
- package/dist/app/scaffold.js +263 -0
- package/dist/functions/manifest.d.ts +22 -0
- package/dist/functions/manifest.js +45 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.js +21 -0
- package/dist/pipeline/codegen.d.ts +2 -0
- package/dist/pipeline/codegen.js +118 -0
- package/dist/pipeline/commands.d.ts +7 -0
- package/dist/pipeline/commands.js +86 -12
- package/dist/pipeline/lifecycle.d.ts +1 -12
- package/dist/pipeline/lifecycle.js +140 -35
- package/dist/pipeline/templates.js +3 -1
- package/dist/secrets/commands.d.ts +3 -1
- package/dist/secrets/commands.js +87 -26
- package/package.json +8 -8
- package/dist/pipeline/pinning.d.ts +0 -5
- package/dist/pipeline/pinning.js +0 -9
package/dist/pipeline/pinning.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** Client-side pin rules mirrored from the server deploy adapter (SEQ-2450). */
|
|
2
|
-
export const FULL_SHA_PATTERN = /^[0-9a-f]{40}$/i;
|
|
3
|
-
export const PINNED_ENVIRONMENTS = new Set(['production', 'banksouth']);
|
|
4
|
-
export function isFullSha(ref) {
|
|
5
|
-
return FULL_SHA_PATTERN.test(ref);
|
|
6
|
-
}
|
|
7
|
-
export function requiresPinnedSha(environment) {
|
|
8
|
-
return PINNED_ENVIRONMENTS.has(environment);
|
|
9
|
-
}
|