@kitsy/cnos 1.10.0 → 1.11.1
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/index.cjs +331 -63
- package/dist/build/index.d.cts +1 -1
- package/dist/build/index.d.ts +1 -1
- package/dist/build/index.js +13 -15
- package/dist/{chunk-A5U7EZCJ.js → chunk-2DMCB3PK.js} +1 -1
- package/dist/{chunk-RTHKUGJV.js → chunk-5JGNRADB.js} +1 -1
- package/dist/{chunk-3EZGPQCE.js → chunk-DPC2BV3S.js} +1 -1
- package/dist/{chunk-FHXLOWAB.js → chunk-KJ57PF47.js} +1 -1
- package/dist/{chunk-ESBHCFC6.js → chunk-NU25VFA2.js} +1 -1
- package/dist/{chunk-UGLATJJD.js → chunk-RNTTPI5S.js} +1 -1
- package/dist/{chunk-UKNL2Y4N.js → chunk-T3E57MSQ.js} +1 -1
- package/dist/{chunk-CSA4L64V.js → chunk-V3USPV5U.js} +8 -8
- package/dist/{chunk-MQ4WG3K6.js → chunk-WPB4HB2K.js} +320 -49
- package/dist/{chunk-EIK7OUFP.js → chunk-X4PBPUKL.js} +157 -37
- package/dist/configure/index.cjs +329 -59
- package/dist/configure/index.d.cts +3 -3
- package/dist/configure/index.d.ts +3 -3
- package/dist/configure/index.js +8 -8
- package/dist/{core-Ud1o2MBn.d.cts → core-CGJObpyy.d.cts} +40 -2
- package/dist/{core-Ud1o2MBn.d.ts → core-CGJObpyy.d.ts} +40 -2
- package/dist/{envNaming-DxxqiGKN.d.cts → envNaming-DIaBgT6E.d.cts} +1 -1
- package/dist/{envNaming-CPwXl4I6.d.ts → envNaming-_WD9sLZI.d.ts} +1 -1
- package/dist/index.cjs +480 -91
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +10 -10
- package/dist/internal.cjs +89 -23
- package/dist/internal.d.cts +3 -3
- package/dist/internal.d.ts +3 -3
- package/dist/internal.js +2 -2
- package/dist/plugin/basic-schema.cjs +4 -1
- package/dist/plugin/basic-schema.d.cts +1 -1
- package/dist/plugin/basic-schema.d.ts +1 -1
- package/dist/plugin/basic-schema.js +2 -2
- package/dist/plugin/cli-args.cjs +4 -1
- package/dist/plugin/cli-args.d.cts +1 -1
- package/dist/plugin/cli-args.d.ts +1 -1
- package/dist/plugin/cli-args.js +2 -2
- package/dist/plugin/dotenv.cjs +6 -3
- package/dist/plugin/dotenv.d.cts +2 -2
- package/dist/plugin/dotenv.d.ts +2 -2
- package/dist/plugin/dotenv.js +2 -2
- package/dist/plugin/env-export.cjs +5 -2
- package/dist/plugin/env-export.d.cts +2 -2
- package/dist/plugin/env-export.d.ts +2 -2
- package/dist/plugin/env-export.js +2 -2
- package/dist/plugin/filesystem.cjs +13 -10
- package/dist/plugin/filesystem.d.cts +1 -1
- package/dist/plugin/filesystem.d.ts +1 -1
- package/dist/plugin/filesystem.js +2 -2
- package/dist/plugin/process-env.cjs +4 -1
- package/dist/plugin/process-env.d.cts +2 -2
- package/dist/plugin/process-env.d.ts +2 -2
- package/dist/plugin/process-env.js +2 -2
- package/dist/runtime/index.cjs +480 -91
- package/dist/runtime/index.d.cts +13 -6
- package/dist/runtime/index.d.ts +13 -6
- package/dist/runtime/index.js +10 -10
- package/dist/{toPublicEnv-fUZMRUOz.d.cts → toPublicEnv-C3A8aLjo.d.cts} +1 -1
- package/dist/{toPublicEnv-C9wPSpRo.d.ts → toPublicEnv-DLNNcEso.d.ts} +1 -1
- package/package.json +1 -1
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LogicalKey, g as CnosRuntime, I as InspectResult } from '../core-
|
|
1
|
+
import { b as LogicalKey, g as CnosRuntime, s as SecretVaultProviderFactory, C as CnosCreateOptions, I as InspectResult } from '../core-CGJObpyy.cjs';
|
|
2
2
|
|
|
3
3
|
interface CnosSingleton {
|
|
4
4
|
<T = unknown>(key: LogicalKey): T | undefined;
|
|
@@ -14,11 +14,16 @@ interface CnosSingleton {
|
|
|
14
14
|
toPublicEnv(options?: Parameters<CnosRuntime['toPublicEnv']>[0]): ReturnType<CnosRuntime['toPublicEnv']>;
|
|
15
15
|
format(message: string): string;
|
|
16
16
|
log(message: string): string;
|
|
17
|
-
loadProjection(source: string): Promise<void>;
|
|
17
|
+
loadProjection(source: string, options?: CnosSingletonProjectionOptions): Promise<void>;
|
|
18
18
|
registerRuntimeProvider(namespace: string, provider: Parameters<CnosRuntime['registerRuntimeProvider']>[1]): void;
|
|
19
|
+
registerSecretVaultProvider(factory: SecretVaultProviderFactory): void;
|
|
20
|
+
registerSecretVaultProviders(factories: SecretVaultProviderFactory[]): void;
|
|
19
21
|
refreshSecrets(): Promise<void>;
|
|
20
22
|
refreshSecret(key: LogicalKey): Promise<void>;
|
|
21
|
-
ready(): Promise<void>;
|
|
23
|
+
ready(options?: CnosCreateOptions): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
interface CnosSingletonProjectionOptions {
|
|
26
|
+
secretVaultProviders?: SecretVaultProviderFactory[];
|
|
22
27
|
}
|
|
23
28
|
declare const cnos: CnosSingleton & {
|
|
24
29
|
read<T = unknown>(key: LogicalKey): T | undefined;
|
|
@@ -33,11 +38,13 @@ declare const cnos: CnosSingleton & {
|
|
|
33
38
|
toPublicEnv(options: Parameters<CnosRuntime["toPublicEnv"]>[0]): Record<string, string>;
|
|
34
39
|
format(message: string): string;
|
|
35
40
|
log(message: string): string;
|
|
36
|
-
loadProjection(source: string): Promise<void>;
|
|
41
|
+
loadProjection(source: string, options?: CnosSingletonProjectionOptions): Promise<void>;
|
|
37
42
|
registerRuntimeProvider(namespace: string, provider: Parameters<CnosRuntime["registerRuntimeProvider"]>[1]): void;
|
|
43
|
+
registerSecretVaultProvider(factory: SecretVaultProviderFactory): void;
|
|
44
|
+
registerSecretVaultProviders(factories: SecretVaultProviderFactory[]): void;
|
|
38
45
|
refreshSecrets(): Promise<void>;
|
|
39
46
|
refreshSecret(key: LogicalKey): Promise<void>;
|
|
40
|
-
ready(): Promise<void>;
|
|
47
|
+
ready(options?: CnosCreateOptions): Promise<void>;
|
|
41
48
|
};
|
|
42
49
|
|
|
43
|
-
export { type CnosSingleton, cnos as default };
|
|
50
|
+
export { type CnosSingleton, type CnosSingletonProjectionOptions, cnos as default };
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LogicalKey, g as CnosRuntime, I as InspectResult } from '../core-
|
|
1
|
+
import { b as LogicalKey, g as CnosRuntime, s as SecretVaultProviderFactory, C as CnosCreateOptions, I as InspectResult } from '../core-CGJObpyy.js';
|
|
2
2
|
|
|
3
3
|
interface CnosSingleton {
|
|
4
4
|
<T = unknown>(key: LogicalKey): T | undefined;
|
|
@@ -14,11 +14,16 @@ interface CnosSingleton {
|
|
|
14
14
|
toPublicEnv(options?: Parameters<CnosRuntime['toPublicEnv']>[0]): ReturnType<CnosRuntime['toPublicEnv']>;
|
|
15
15
|
format(message: string): string;
|
|
16
16
|
log(message: string): string;
|
|
17
|
-
loadProjection(source: string): Promise<void>;
|
|
17
|
+
loadProjection(source: string, options?: CnosSingletonProjectionOptions): Promise<void>;
|
|
18
18
|
registerRuntimeProvider(namespace: string, provider: Parameters<CnosRuntime['registerRuntimeProvider']>[1]): void;
|
|
19
|
+
registerSecretVaultProvider(factory: SecretVaultProviderFactory): void;
|
|
20
|
+
registerSecretVaultProviders(factories: SecretVaultProviderFactory[]): void;
|
|
19
21
|
refreshSecrets(): Promise<void>;
|
|
20
22
|
refreshSecret(key: LogicalKey): Promise<void>;
|
|
21
|
-
ready(): Promise<void>;
|
|
23
|
+
ready(options?: CnosCreateOptions): Promise<void>;
|
|
24
|
+
}
|
|
25
|
+
interface CnosSingletonProjectionOptions {
|
|
26
|
+
secretVaultProviders?: SecretVaultProviderFactory[];
|
|
22
27
|
}
|
|
23
28
|
declare const cnos: CnosSingleton & {
|
|
24
29
|
read<T = unknown>(key: LogicalKey): T | undefined;
|
|
@@ -33,11 +38,13 @@ declare const cnos: CnosSingleton & {
|
|
|
33
38
|
toPublicEnv(options: Parameters<CnosRuntime["toPublicEnv"]>[0]): Record<string, string>;
|
|
34
39
|
format(message: string): string;
|
|
35
40
|
log(message: string): string;
|
|
36
|
-
loadProjection(source: string): Promise<void>;
|
|
41
|
+
loadProjection(source: string, options?: CnosSingletonProjectionOptions): Promise<void>;
|
|
37
42
|
registerRuntimeProvider(namespace: string, provider: Parameters<CnosRuntime["registerRuntimeProvider"]>[1]): void;
|
|
43
|
+
registerSecretVaultProvider(factory: SecretVaultProviderFactory): void;
|
|
44
|
+
registerSecretVaultProviders(factories: SecretVaultProviderFactory[]): void;
|
|
38
45
|
refreshSecrets(): Promise<void>;
|
|
39
46
|
refreshSecret(key: LogicalKey): Promise<void>;
|
|
40
|
-
ready(): Promise<void>;
|
|
47
|
+
ready(options?: CnosCreateOptions): Promise<void>;
|
|
41
48
|
};
|
|
42
49
|
|
|
43
|
-
export { type CnosSingleton, cnos as default };
|
|
50
|
+
export { type CnosSingleton, type CnosSingletonProjectionOptions, cnos as default };
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runtime_default
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-X4PBPUKL.js";
|
|
4
|
+
import "../chunk-T3E57MSQ.js";
|
|
5
|
+
import "../chunk-V3USPV5U.js";
|
|
6
|
+
import "../chunk-DPC2BV3S.js";
|
|
7
|
+
import "../chunk-5JGNRADB.js";
|
|
8
|
+
import "../chunk-NU25VFA2.js";
|
|
9
|
+
import "../chunk-RNTTPI5S.js";
|
|
10
|
+
import "../chunk-2DMCB3PK.js";
|
|
11
|
+
import "../chunk-KJ57PF47.js";
|
|
12
|
+
import "../chunk-WPB4HB2K.js";
|
|
13
13
|
export {
|
|
14
14
|
runtime_default as default
|
|
15
15
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedGraph, N as NormalizedManifest, T as ToEnvOptions, c as ToPublicEnvOptions } from './core-
|
|
1
|
+
import { R as ResolvedGraph, N as NormalizedManifest, T as ToEnvOptions, c as ToPublicEnvOptions } from './core-CGJObpyy.cjs';
|
|
2
2
|
|
|
3
3
|
declare function toEnv(graph: ResolvedGraph, manifest: NormalizedManifest, options?: ToEnvOptions, helpers?: {
|
|
4
4
|
read?: (key: string) => unknown;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedGraph, N as NormalizedManifest, T as ToEnvOptions, c as ToPublicEnvOptions } from './core-
|
|
1
|
+
import { R as ResolvedGraph, N as NormalizedManifest, T as ToEnvOptions, c as ToPublicEnvOptions } from './core-CGJObpyy.js';
|
|
2
2
|
|
|
3
3
|
declare function toEnv(graph: ResolvedGraph, manifest: NormalizedManifest, options?: ToEnvOptions, helpers?: {
|
|
4
4
|
read?: (key: string) => unknown;
|