@adlas/create-app 1.0.31 → 1.0.32

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": "@adlas/create-app",
3
- "version": "1.0.31",
3
+ "version": "1.0.32",
4
4
  "description": "Adlas project initializer with Figma and Swagger integration",
5
5
  "type": "module",
6
6
  "main": "./dist/cli.js",
@@ -36,7 +36,7 @@ export type DatePickerProps = Omit<
36
36
  * Helper function to convert string or Date to DateValue
37
37
  */
38
38
  const convertToDateValue = (
39
- value: string | Date | null | undefined
39
+ value: string | Date | null | undefined,
40
40
  ): DateValue | null => {
41
41
  if (!value) {
42
42
  return null;
@@ -78,7 +78,7 @@ function DatePickerComponent({ value, onChange, ...props }: DatePickerProps) {
78
78
  onChange?.(null);
79
79
  }
80
80
  },
81
- [onChange]
81
+ [onChange],
82
82
  );
83
83
 
84
84
  return <BaseDatePicker {...props} value={dateValue} onChange={handleChange} />;
@@ -1,6 +1,5 @@
1
1
  import { QueryCache, QueryClient as TanStackQueryClient } from '@tanstack/react-query';
2
2
 
3
-
4
3
  const REACT_QUERY_CONFIG = {
5
4
  STALE_TIME: 5 * 60 * 1000, // 5 minutes
6
5
  GC_TIME: 10 * 60 * 1000, // 10 minutes
@@ -0,0 +1,17 @@
1
+ declare module 'next-pwa' {
2
+ import type { NextConfig } from 'next';
3
+
4
+ type PWAConfig = {
5
+ dest?: string;
6
+ register?: boolean;
7
+ skipWaiting?: boolean;
8
+ disable?: boolean;
9
+ sw?: string;
10
+ publicExcludes?: string[];
11
+ buildExcludes?: string[];
12
+ };
13
+
14
+ function withPWA(pwaConfig: PWAConfig): (nextConfig: NextConfig) => NextConfig;
15
+
16
+ export default withPWA;
17
+ }