@fjall/util 27.1.0 → 28.0.0
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/dist/.build-source-hash
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"package.json",
|
|
10
10
|
"tsconfig.json"
|
|
11
11
|
],
|
|
12
|
-
"hash": "
|
|
12
|
+
"hash": "a4a6c680a5fc47c3a9d558081fd672779b9a8c893baa8133400f8abe1c461588",
|
|
13
13
|
"files": {
|
|
14
14
|
"src/async/concurrency.ts": "3c7ebe0222a720f9",
|
|
15
15
|
"src/async/singleton.ts": "7bcc21b0fb920561",
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
"src/atomicTempNaming.ts": "d08f34bdb062be6f",
|
|
18
18
|
"src/aws/CloudFormationFailureAnalyser.ts": "4e68b353171edd31",
|
|
19
19
|
"src/aws/cloudformationTypes.ts": "e43bab9c96a21856",
|
|
20
|
-
"src/aws/costAllocationTags.ts": "
|
|
20
|
+
"src/aws/costAllocationTags.ts": "2bdaea75f6f8e18f",
|
|
21
21
|
"src/aws/deployProgress.ts": "be09dedb4deb9a7a",
|
|
22
22
|
"src/aws/driftSuspects.ts": "5400dc05ebd6c977",
|
|
23
23
|
"src/aws/errors.ts": "5addfa6bb2d1456a",
|
|
24
24
|
"src/aws/failureAnalysisCategories.ts": "85ab1632d8069273",
|
|
25
|
-
"src/aws/index.ts": "
|
|
25
|
+
"src/aws/index.ts": "8a394d0f6fce003f",
|
|
26
26
|
"src/aws/infraTags.ts": "6b1e65bf7119f32c",
|
|
27
27
|
"src/aws/ipamTags.ts": "ac19ecd6c36b3bc2",
|
|
28
28
|
"src/aws/maskFailureAnalysis.ts": "ae11250412cd6fd8",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"src/infra/domainExports.ts": "18de5b8668633aaf",
|
|
81
81
|
"src/infra/imageTags.ts": "82d14f3dfd6ca68f",
|
|
82
82
|
"src/infra/regions.ts": "26b80d7cea05454c",
|
|
83
|
-
"src/infra/tokenScopes.ts": "
|
|
83
|
+
"src/infra/tokenScopes.ts": "68f0152394fb416e",
|
|
84
84
|
"src/insights/computePatternFingerprint.ts": "b5d3a4704f42cc1f",
|
|
85
85
|
"src/logRotation.ts": "5ea989894082107b",
|
|
86
86
|
"src/logger.ts": "865ec4ec62a9a588",
|
|
@@ -131,9 +131,9 @@
|
|
|
131
131
|
"src/staticSiteOutput.ts": "cc81ed32acc597f1",
|
|
132
132
|
"src/targets.ts": "126280f0a5762e21",
|
|
133
133
|
"../scripts/minify-dist.mjs": "6b2e4b0df8aec601",
|
|
134
|
-
"package.json": "
|
|
134
|
+
"package.json": "c5cf041603e2cb51",
|
|
135
135
|
"tsconfig.json": "db759831ad95f396"
|
|
136
136
|
},
|
|
137
|
-
"outputHash": "
|
|
137
|
+
"outputHash": "38a1ddd9302ec2596da9c1bdbb547a88f936d9969acad82ff77b0bb6f2f0d0ac",
|
|
138
138
|
"outputFileCount": 247
|
|
139
139
|
}
|
package/dist/.minified
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
123 files minified at 2026-08-
|
|
1
|
+
123 files minified at 2026-08-31T22:01:17.574Z
|
|
@@ -32,6 +32,16 @@ export declare const COST_ALLOCATION_TAGS: {
|
|
|
32
32
|
* management (root) account and stage-less governance resources.
|
|
33
33
|
*/
|
|
34
34
|
export declare const DEFAULT_COST_ALLOCATION_ENVIRONMENT: "management";
|
|
35
|
+
/**
|
|
36
|
+
* Owner tag value when nothing more specific is known. Two producers share
|
|
37
|
+
* it: the fjall App stamps it tree-wide when neither an explicit
|
|
38
|
+
* `addTags` owner nor an orgId context resolves (`lib/app.ts`
|
|
39
|
+
* `applyTagsAspect()`), and the generator's `generateTags` emits it into
|
|
40
|
+
* scaffolded `addTags` blocks when the plan carries no owner — so every
|
|
41
|
+
* estate satisfies the posture `missing-required-tags` owner requirement
|
|
42
|
+
* without manual tagging.
|
|
43
|
+
*/
|
|
44
|
+
export declare const DEFAULT_COST_ALLOCATION_OWNER: "engineering";
|
|
35
45
|
/** SDK tag shape (`{ Key, Value }`) accepted by `CreateRepositoryCommand`. */
|
|
36
46
|
export interface EcrCreateTag {
|
|
37
47
|
readonly Key: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var n=Object.defineProperty;var e=(o,t)=>n(o,"name",{value:t,configurable:!0});const l={ENVIRONMENT:"fjall:costAllocation:environment",SERVICE:"fjall:costAllocation:service",DOMAIN:"fjall:costAllocation:domain",OWNER:"fjall:costAllocation:owner"},c="management",A="engineering";function O(o){return[{Key:l.SERVICE,Value:o}]}e(O,"ecrCreateRepositoryTags");export{l as COST_ALLOCATION_TAGS,c as DEFAULT_COST_ALLOCATION_ENVIRONMENT,A as DEFAULT_COST_ALLOCATION_OWNER,O as ecrCreateRepositoryTags};
|
package/dist/aws/index.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export { maskFailureAnalysis } from "./maskFailureAnalysis.js";
|
|
|
7
7
|
export { classifyDriftSuspectEvents, findCurrentOperationStart, isDriftSuspectReason, isOperationOpeningEvent, type DriftSuspectEvent } from "./driftSuspects.js";
|
|
8
8
|
export { IPAM_OPERATIONS_POOL_TAG_KEY, formatIpamPairTagValue } from "./ipamTags.js";
|
|
9
9
|
export { SDK_PRE_EMPTY_TAG_KEY } from "./infraTags.js";
|
|
10
|
-
export { COST_ALLOCATION_TAGS, DEFAULT_COST_ALLOCATION_ENVIRONMENT, ecrCreateRepositoryTags, type EcrCreateTag } from "./costAllocationTags.js";
|
|
10
|
+
export { COST_ALLOCATION_TAGS, DEFAULT_COST_ALLOCATION_ENVIRONMENT, DEFAULT_COST_ALLOCATION_OWNER, ecrCreateRepositoryTags, type EcrCreateTag } from "./costAllocationTags.js";
|
|
11
11
|
export { ACCOUNT_MONITORING_ROLE_NAME } from "./monitoringRole.js";
|
package/dist/aws/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{AWSError as e,NoRolesFoundError as t,InvalidCredentialsError as E,SSOTokenExpiredError as s,MissingRegionError as
|
|
1
|
+
import{AWSError as e,NoRolesFoundError as t,InvalidCredentialsError as E,SSOTokenExpiredError as s,MissingRegionError as O,ProfileNotFoundError as i,CommandError as A,isAWSError as _,isNoRolesFoundError as T,isSSOUnauthorizedError as a}from"./errors.js";import{STACK_NOT_FOUND_PATTERN as S,CDK_NO_STACKS_MATCH as p,isResourceEvent as N}from"./cloudformationTypes.js";import{countResourceProgress as m,formatElapsed as C}from"./deployProgress.js";import{CloudFormationFailureAnalyser as u}from"./CloudFormationFailureAnalyser.js";import{FAILURE_ANALYSIS_CATEGORIES as I}from"./failureAnalysisCategories.js";import{maskFailureAnalysis as L}from"./maskFailureAnalysis.js";import{classifyDriftSuspectEvents as F,findCurrentOperationStart as P,isDriftSuspectReason as c,isOperationOpeningEvent as D}from"./driftSuspects.js";import{IPAM_OPERATIONS_POOL_TAG_KEY as g,formatIpamPairTagValue as K}from"./ipamTags.js";import{SDK_PRE_EMPTY_TAG_KEY as G}from"./infraTags.js";import{COST_ALLOCATION_TAGS as y,DEFAULT_COST_ALLOCATION_ENVIRONMENT as Y,DEFAULT_COST_ALLOCATION_OWNER as W,ecrCreateRepositoryTags as k}from"./costAllocationTags.js";import{ACCOUNT_MONITORING_ROLE_NAME as h}from"./monitoringRole.js";export{h as ACCOUNT_MONITORING_ROLE_NAME,e as AWSError,p as CDK_NO_STACKS_MATCH,y as COST_ALLOCATION_TAGS,u as CloudFormationFailureAnalyser,A as CommandError,Y as DEFAULT_COST_ALLOCATION_ENVIRONMENT,W as DEFAULT_COST_ALLOCATION_OWNER,I as FAILURE_ANALYSIS_CATEGORIES,g as IPAM_OPERATIONS_POOL_TAG_KEY,E as InvalidCredentialsError,O as MissingRegionError,t as NoRolesFoundError,i as ProfileNotFoundError,G as SDK_PRE_EMPTY_TAG_KEY,s as SSOTokenExpiredError,S as STACK_NOT_FOUND_PATTERN,F as classifyDriftSuspectEvents,m as countResourceProgress,k as ecrCreateRepositoryTags,P as findCurrentOperationStart,C as formatElapsed,K as formatIpamPairTagValue,_ as isAWSError,c as isDriftSuspectReason,T as isNoRolesFoundError,D as isOperationOpeningEvent,N as isResourceEvent,a as isSSOUnauthorizedError,L as maskFailureAnalysis};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Single source of truth for scoped-token scope values shared across
|
|
3
|
-
* webapp (`/api/tokens` schemas + `scopedAuth.ts`) and CLI (
|
|
4
|
-
*
|
|
3
|
+
* webapp (`/api/tokens` schemas + `scopedAuth.ts`) and CLI (the
|
|
4
|
+
* `COMMAND_SCOPES` declaration registry in `util/agent/tokenScopes.ts`).
|
|
5
5
|
*
|
|
6
6
|
* Drift between the two sides previously meant a webapp role granting
|
|
7
7
|
* a scope the CLI did not know how to request, or vice versa. Both
|