@storm-software/cloudflare-tools 0.5.0 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.5.0",
3
+ "version": "0.6.1",
4
4
  "private": false,
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "keywords": [
@@ -47,7 +47,7 @@
47
47
  "@nx/webpack": "^19.1.0",
48
48
  "jest-resolve": "29.7.0",
49
49
  "tslib": "2.6.2",
50
- "wrangler": "3.57.1"
50
+ "wrangler": "3.58.0"
51
51
  },
52
52
  "publishConfig": {
53
53
  "access": "public"
@@ -6,6 +6,12 @@ import type { StormConfigInput } from "./types";
6
6
  * @returns The config values for the current Storm workspace
7
7
  */
8
8
  export declare const defineConfig: (input: StormConfigInput) => {
9
+ registry: {
10
+ github?: string | undefined;
11
+ npm?: string | undefined;
12
+ cargo?: string | undefined;
13
+ cyclone?: string | undefined;
14
+ };
9
15
  colors: {
10
16
  dark: {
11
17
  foreground?: string | undefined;
@@ -221,6 +221,23 @@ export declare const SingleThemeColorConfigSchema: z.ZodObject<{
221
221
  dark?: string | undefined;
222
222
  light?: string | undefined;
223
223
  }>;
224
+ export declare const RegistryUrlConfigSchema: z.ZodOptional<z.ZodString>;
225
+ export declare const RegistryConfigSchema: z.ZodObject<{
226
+ github: z.ZodOptional<z.ZodString>;
227
+ npm: z.ZodOptional<z.ZodString>;
228
+ cargo: z.ZodOptional<z.ZodString>;
229
+ cyclone: z.ZodOptional<z.ZodString>;
230
+ }, "strip", z.ZodTypeAny, {
231
+ github?: string | undefined;
232
+ npm?: string | undefined;
233
+ cargo?: string | undefined;
234
+ cyclone?: string | undefined;
235
+ }, {
236
+ github?: string | undefined;
237
+ npm?: string | undefined;
238
+ cargo?: string | undefined;
239
+ cyclone?: string | undefined;
240
+ }>;
224
241
  /**
225
242
  * Storm theme color config values used for styling various workspace elements
226
243
  */
@@ -790,6 +807,22 @@ export declare const StormConfigSchema: z.ZodObject<{
790
807
  locale: z.ZodDefault<z.ZodString>;
791
808
  logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]>>;
792
809
  cloudflareAccountId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
810
+ registry: z.ZodObject<{
811
+ github: z.ZodOptional<z.ZodString>;
812
+ npm: z.ZodOptional<z.ZodString>;
813
+ cargo: z.ZodOptional<z.ZodString>;
814
+ cyclone: z.ZodOptional<z.ZodString>;
815
+ }, "strip", z.ZodTypeAny, {
816
+ github?: string | undefined;
817
+ npm?: string | undefined;
818
+ cargo?: string | undefined;
819
+ cyclone?: string | undefined;
820
+ }, {
821
+ github?: string | undefined;
822
+ npm?: string | undefined;
823
+ cargo?: string | undefined;
824
+ cyclone?: string | undefined;
825
+ }>;
793
826
  configFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
794
827
  colors: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
795
828
  dark: z.ZodDefault<z.ZodString>;
@@ -1347,6 +1380,12 @@ export declare const StormConfigSchema: z.ZodObject<{
1347
1380
  locale: string;
1348
1381
  logLevel: "info" | "error" | "fatal" | "silent" | "warn" | "debug" | "trace" | "all";
1349
1382
  cloudflareAccountId: string | null;
1383
+ registry: {
1384
+ github?: string | undefined;
1385
+ npm?: string | undefined;
1386
+ cargo?: string | undefined;
1387
+ cyclone?: string | undefined;
1388
+ };
1350
1389
  configFile: string | null;
1351
1390
  colors: {
1352
1391
  dark: {
@@ -1468,6 +1507,12 @@ export declare const StormConfigSchema: z.ZodObject<{
1468
1507
  workspaceRoot?: string | undefined;
1469
1508
  packageDirectory?: string | undefined;
1470
1509
  }, {
1510
+ registry: {
1511
+ github?: string | undefined;
1512
+ npm?: string | undefined;
1513
+ cargo?: string | undefined;
1514
+ cyclone?: string | undefined;
1515
+ };
1471
1516
  colors: {
1472
1517
  dark: {
1473
1518
  foreground?: string | undefined;
@@ -3,4 +3,4 @@ import type { CargoPublishExecutorSchema } from "./schema.d";
3
3
  export default function runExecutor(options: CargoPublishExecutorSchema, context: ExecutorContext): Promise<{
4
4
  success: boolean;
5
5
  }>;
6
- export declare const getRegistryVersion: (name: string, version: string) => Promise<string>;
6
+ export declare const getRegistryVersion: (name: string, version: string, registry: string) => Promise<string>;