@leo-h/create-nodejs-app 1.0.32 → 1.0.33

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": "@leo-h/create-nodejs-app",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "packageManager": "pnpm@9.15.9",
5
5
  "author": "Leonardo Henrique <leonardo0507.business@gmail.com>",
6
6
  "description": "Create a modern Node.js app with TypeScript using one command.",
@@ -24,6 +24,7 @@ dist
24
24
 
25
25
  # Environment variable files
26
26
  .env*
27
+ !.env.example
27
28
 
28
29
  # Misc
29
30
  .DS_Store
@@ -9,9 +9,11 @@ export type ZodRestrictFieldsShape<Target> = {
9
9
  };
10
10
 
11
11
  export type ZodUnrestrictShape<Target> = {
12
- [K in keyof Target]?: ZodType<Target[K]>;
12
+ [K in keyof Target | (string & {})]?: K extends keyof Target
13
+ ? ZodType<Target[K]>
14
+ : ZodTypeAny;
13
15
  };
14
16
 
15
17
  export type ZodUnrestrictFieldsShape<Target> = {
16
- [K in keyof Target]?: ZodTypeAny;
18
+ [K in keyof Target | (string & {})]?: ZodTypeAny;
17
19
  };