@storm-software/cloudflare-tools 0.7.1 → 0.12.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/cloudflare-tools",
3
- "version": "0.7.1",
3
+ "version": "0.12.0",
4
4
  "type": "commonjs",
5
5
  "description": "⚡The Storm-Ops monorepo contains utility applications, tools, and various libraries to create modern and scalable web applications.",
6
6
  "repository": {
@@ -1,3 +1,3 @@
1
- import type { TypeScriptBuildOptions } from "../../declarations";
2
1
  import type { StormConfig } from "@storm-software/config";
2
+ import type { TypeScriptBuildOptions } from "../../declarations";
3
3
  export declare const generatePackageJson: (config: StormConfig, projectRoot: string, sourceRoot: string, projectName: string, options: TypeScriptBuildOptions) => Promise<Record<string, any>>;
@@ -6,12 +6,6 @@ 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
- };
15
9
  colors: {
16
10
  dark: {
17
11
  foreground?: string | undefined;
@@ -124,6 +118,7 @@ export declare const defineConfig: (input: StormConfigInput) => {
124
118
  light?: string | undefined;
125
119
  }>;
126
120
  name?: string | undefined;
121
+ $schema?: string | undefined;
127
122
  extends?: string | undefined;
128
123
  namespace?: string | undefined;
129
124
  organization?: string | undefined;
@@ -149,6 +144,12 @@ export declare const defineConfig: (input: StormConfigInput) => {
149
144
  locale?: string | undefined;
150
145
  logLevel?: "info" | "error" | "fatal" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
151
146
  cloudflareAccountId?: string | null | undefined;
147
+ registry?: {
148
+ github?: string | undefined;
149
+ npm?: string | undefined;
150
+ cargo?: string | undefined;
151
+ cyclone?: string | undefined;
152
+ } | undefined;
152
153
  configFile?: string | null | undefined;
153
154
  extensions?: Record<string, any> | undefined;
154
155
  };
@@ -222,7 +222,7 @@ export declare const SingleThemeColorConfigSchema: z.ZodObject<{
222
222
  light?: string | undefined;
223
223
  }>;
224
224
  export declare const RegistryUrlConfigSchema: z.ZodOptional<z.ZodString>;
225
- export declare const RegistryConfigSchema: z.ZodObject<{
225
+ export declare const RegistryConfigSchema: z.ZodDefault<z.ZodObject<{
226
226
  github: z.ZodOptional<z.ZodString>;
227
227
  npm: z.ZodOptional<z.ZodString>;
228
228
  cargo: z.ZodOptional<z.ZodString>;
@@ -237,7 +237,7 @@ export declare const RegistryConfigSchema: z.ZodObject<{
237
237
  npm?: string | undefined;
238
238
  cargo?: string | undefined;
239
239
  cyclone?: string | undefined;
240
- }>;
240
+ }>>;
241
241
  /**
242
242
  * Storm theme color config values used for styling various workspace elements
243
243
  */
@@ -781,6 +781,7 @@ export declare const ColorConfigMapSchema: z.ZodUnion<[z.ZodObject<{
781
781
  * Storm Workspace config values used during various dev-ops processes. It represents the config of the entire monorepo.
782
782
  */
783
783
  export declare const StormConfigSchema: z.ZodObject<{
784
+ $schema: z.ZodDefault<z.ZodString>;
784
785
  extends: z.ZodOptional<z.ZodString>;
785
786
  name: z.ZodOptional<z.ZodString>;
786
787
  namespace: z.ZodOptional<z.ZodString>;
@@ -807,7 +808,7 @@ export declare const StormConfigSchema: z.ZodObject<{
807
808
  locale: z.ZodDefault<z.ZodString>;
808
809
  logLevel: z.ZodDefault<z.ZodEnum<["silent", "fatal", "error", "warn", "info", "debug", "trace", "all"]>>;
809
810
  cloudflareAccountId: z.ZodDefault<z.ZodNullable<z.ZodString>>;
810
- registry: z.ZodObject<{
811
+ registry: z.ZodDefault<z.ZodObject<{
811
812
  github: z.ZodOptional<z.ZodString>;
812
813
  npm: z.ZodOptional<z.ZodString>;
813
814
  cargo: z.ZodOptional<z.ZodString>;
@@ -822,7 +823,7 @@ export declare const StormConfigSchema: z.ZodObject<{
822
823
  npm?: string | undefined;
823
824
  cargo?: string | undefined;
824
825
  cyclone?: string | undefined;
825
- }>;
826
+ }>>;
826
827
  configFile: z.ZodDefault<z.ZodNullable<z.ZodString>>;
827
828
  colors: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
828
829
  dark: z.ZodDefault<z.ZodString>;
@@ -1361,6 +1362,7 @@ export declare const StormConfigSchema: z.ZodObject<{
1361
1362
  }>]>>]>]>;
1362
1363
  extensions: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
1363
1364
  }, "strip", z.ZodTypeAny, {
1365
+ $schema: string;
1364
1366
  organization: string;
1365
1367
  license: string;
1366
1368
  homepage: string;
@@ -1507,12 +1509,6 @@ export declare const StormConfigSchema: z.ZodObject<{
1507
1509
  workspaceRoot?: string | undefined;
1508
1510
  packageDirectory?: string | undefined;
1509
1511
  }, {
1510
- registry: {
1511
- github?: string | undefined;
1512
- npm?: string | undefined;
1513
- cargo?: string | undefined;
1514
- cyclone?: string | undefined;
1515
- };
1516
1512
  colors: {
1517
1513
  dark: {
1518
1514
  foreground?: string | undefined;
@@ -1625,6 +1621,7 @@ export declare const StormConfigSchema: z.ZodObject<{
1625
1621
  light?: string | undefined;
1626
1622
  }>;
1627
1623
  name?: string | undefined;
1624
+ $schema?: string | undefined;
1628
1625
  extends?: string | undefined;
1629
1626
  namespace?: string | undefined;
1630
1627
  organization?: string | undefined;
@@ -1650,6 +1647,12 @@ export declare const StormConfigSchema: z.ZodObject<{
1650
1647
  locale?: string | undefined;
1651
1648
  logLevel?: "info" | "error" | "fatal" | "silent" | "warn" | "debug" | "trace" | "all" | undefined;
1652
1649
  cloudflareAccountId?: string | null | undefined;
1650
+ registry?: {
1651
+ github?: string | undefined;
1652
+ npm?: string | undefined;
1653
+ cargo?: string | undefined;
1654
+ cyclone?: string | undefined;
1655
+ } | undefined;
1653
1656
  configFile?: string | null | undefined;
1654
1657
  extensions?: Record<string, any> | undefined;
1655
1658
  }>;
@@ -1,5 +1,5 @@
1
+ import { ResolvedConfig, type LoadConfigOptions } from "c12";
1
2
  import type { StormConfigInput } from "@storm-software/config";
2
- import { type LoadConfigOptions, ResolvedConfig } from "c12";
3
3
  /**
4
4
  * Get the config file for the current Storm workspace
5
5
  *
@@ -1,3 +1,6 @@
1
1
  import { type ExecutorContext } from "@nx/devkit";
2
2
  import type { NpmPublishExecutorSchema } from "./schema.d";
3
- export default function npmPublishExecutorFn(options: NpmPublishExecutorSchema, context: ExecutorContext): Promise<unknown>;
3
+ export declare const LARGE_BUFFER: number;
4
+ export default function npmPublishExecutorFn(options: NpmPublishExecutorSchema, context: ExecutorContext): Promise<{
5
+ success: boolean;
6
+ }>;