@arrirpc/codegen-utils 0.65.2 → 0.66.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/README.md CHANGED
@@ -16,7 +16,7 @@ export interface MyPluginOptions {
16
16
  export default defineGeneratorPlugin((options: MyPluginOptions) => {
17
17
  return {
18
18
  options,
19
- generator: async (appDef, isDevServer) => {
19
+ run: async (appDef, isDevServer) => {
20
20
  // generate something using the app definition and the specified options
21
21
  },
22
22
  };
package/dist/index.d.cts CHANGED
@@ -57,7 +57,7 @@ declare const stringStartsWithNumber: (input: string) => boolean;
57
57
  declare function setNestedObjectProperty<T>(targetProp: string, value: T, object: Record<any, any>): Record<any, any>;
58
58
  declare function normalizeWhitespace(input: string): string;
59
59
  interface Generator<TOptions extends Record<string, any> | undefined> {
60
- generator: (def: AppDefinition, isDevServer?: boolean) => any;
60
+ run: (def: AppDefinition, isDevServer?: boolean) => any;
61
61
  options: TOptions;
62
62
  }
63
63
  type GeneratorPlugin<TOptions extends Record<string, any> | undefined> = (options: TOptions) => Generator<TOptions>;
package/dist/index.d.mts CHANGED
@@ -57,7 +57,7 @@ declare const stringStartsWithNumber: (input: string) => boolean;
57
57
  declare function setNestedObjectProperty<T>(targetProp: string, value: T, object: Record<any, any>): Record<any, any>;
58
58
  declare function normalizeWhitespace(input: string): string;
59
59
  interface Generator<TOptions extends Record<string, any> | undefined> {
60
- generator: (def: AppDefinition, isDevServer?: boolean) => any;
60
+ run: (def: AppDefinition, isDevServer?: boolean) => any;
61
61
  options: TOptions;
62
62
  }
63
63
  type GeneratorPlugin<TOptions extends Record<string, any> | undefined> = (options: TOptions) => Generator<TOptions>;
package/dist/index.d.ts CHANGED
@@ -57,7 +57,7 @@ declare const stringStartsWithNumber: (input: string) => boolean;
57
57
  declare function setNestedObjectProperty<T>(targetProp: string, value: T, object: Record<any, any>): Record<any, any>;
58
58
  declare function normalizeWhitespace(input: string): string;
59
59
  interface Generator<TOptions extends Record<string, any> | undefined> {
60
- generator: (def: AppDefinition, isDevServer?: boolean) => any;
60
+ run: (def: AppDefinition, isDevServer?: boolean) => any;
61
61
  options: TOptions;
62
62
  }
63
63
  type GeneratorPlugin<TOptions extends Record<string, any> | undefined> = (options: TOptions) => Generator<TOptions>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/codegen-utils",
3
- "version": "0.65.2",
3
+ "version": "0.66.0",
4
4
  "license": "MIT",
5
5
  "author": {
6
6
  "name": "joshmossas",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "scule": "^1.3.0",
26
- "jtd-utils": "0.65.2"
26
+ "jtd-utils": "0.66.0"
27
27
  },
28
28
  "devDependencies": {}
29
29
  }