@tantainnovative/ndpr-toolkit 1.0.5 → 1.0.6

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.
Files changed (159) hide show
  1. package/README.md +447 -84
  2. package/dist/index.esm.js +2 -0
  3. package/dist/index.esm.js.map +1 -0
  4. package/dist/index.js +2 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/types/index.d.ts +35 -0
  7. package/package.json +52 -70
  8. package/CHANGELOG.md +0 -16
  9. package/CNAME +0 -1
  10. package/CONTRIBUTING.md +0 -87
  11. package/RELEASE-NOTES-v1.0.0.md +0 -140
  12. package/RELEASE-NOTES-v1.0.1.md +0 -69
  13. package/SECURITY.md +0 -21
  14. package/components.json +0 -21
  15. package/eslint.config.mjs +0 -16
  16. package/next-env.d.ts +0 -5
  17. package/next.config.js +0 -15
  18. package/next.config.ts +0 -62
  19. package/packages/ndpr-toolkit/README.md +0 -467
  20. package/packages/ndpr-toolkit/dist/index.esm.js +0 -2
  21. package/packages/ndpr-toolkit/dist/index.esm.js.map +0 -1
  22. package/packages/ndpr-toolkit/dist/index.js +0 -2
  23. package/packages/ndpr-toolkit/dist/index.js.map +0 -1
  24. package/packages/ndpr-toolkit/package-lock.json +0 -8197
  25. package/packages/ndpr-toolkit/package.json +0 -71
  26. package/packages/ndpr-toolkit/rollup.config.js +0 -34
  27. package/packages/ndpr-toolkit/src/components/breach/BreachNotificationManager.tsx +0 -701
  28. package/packages/ndpr-toolkit/src/components/breach/BreachReportForm.tsx +0 -631
  29. package/packages/ndpr-toolkit/src/components/breach/BreachRiskAssessment.tsx +0 -569
  30. package/packages/ndpr-toolkit/src/components/breach/RegulatoryReportGenerator.tsx +0 -496
  31. package/packages/ndpr-toolkit/src/components/consent/ConsentBanner.tsx +0 -270
  32. package/packages/ndpr-toolkit/src/components/consent/ConsentManager.tsx +0 -217
  33. package/packages/ndpr-toolkit/src/components/consent/ConsentStorage.tsx +0 -206
  34. package/packages/ndpr-toolkit/src/components/dpia/DPIAQuestionnaire.tsx +0 -342
  35. package/packages/ndpr-toolkit/src/components/dpia/DPIAReport.tsx +0 -373
  36. package/packages/ndpr-toolkit/src/components/dpia/StepIndicator.tsx +0 -174
  37. package/packages/ndpr-toolkit/src/components/dsr/DSRDashboard.tsx +0 -717
  38. package/packages/ndpr-toolkit/src/components/dsr/DSRRequestForm.tsx +0 -476
  39. package/packages/ndpr-toolkit/src/components/dsr/DSRTracker.tsx +0 -620
  40. package/packages/ndpr-toolkit/src/components/policy/PolicyExporter.tsx +0 -541
  41. package/packages/ndpr-toolkit/src/components/policy/PolicyGenerator.tsx +0 -454
  42. package/packages/ndpr-toolkit/src/components/policy/PolicyPreview.tsx +0 -333
  43. package/packages/ndpr-toolkit/src/hooks/useBreach.ts +0 -409
  44. package/packages/ndpr-toolkit/src/hooks/useConsent.ts +0 -263
  45. package/packages/ndpr-toolkit/src/hooks/useDPIA.ts +0 -457
  46. package/packages/ndpr-toolkit/src/hooks/useDSR.ts +0 -236
  47. package/packages/ndpr-toolkit/src/hooks/usePrivacyPolicy.ts +0 -428
  48. package/packages/ndpr-toolkit/src/index.ts +0 -44
  49. package/packages/ndpr-toolkit/src/setupTests.ts +0 -5
  50. package/packages/ndpr-toolkit/src/types/breach.ts +0 -283
  51. package/packages/ndpr-toolkit/src/types/consent.ts +0 -111
  52. package/packages/ndpr-toolkit/src/types/dpia.ts +0 -236
  53. package/packages/ndpr-toolkit/src/types/dsr.ts +0 -192
  54. package/packages/ndpr-toolkit/src/types/index.ts +0 -42
  55. package/packages/ndpr-toolkit/src/types/privacy.ts +0 -246
  56. package/packages/ndpr-toolkit/src/utils/breach.ts +0 -122
  57. package/packages/ndpr-toolkit/src/utils/consent.ts +0 -51
  58. package/packages/ndpr-toolkit/src/utils/dpia.ts +0 -104
  59. package/packages/ndpr-toolkit/src/utils/dsr.ts +0 -77
  60. package/packages/ndpr-toolkit/src/utils/privacy.ts +0 -100
  61. package/packages/ndpr-toolkit/tsconfig.json +0 -23
  62. package/postcss.config.mjs +0 -5
  63. package/public/NDPR TOOLKIT.svg +0 -1
  64. package/public/favicon/android-chrome-192x192.png +0 -0
  65. package/public/favicon/android-chrome-512x512.png +0 -0
  66. package/public/favicon/apple-touch-icon.png +0 -0
  67. package/public/favicon/favicon-16x16.png +0 -0
  68. package/public/favicon/favicon-32x32.png +0 -0
  69. package/public/favicon/site.webmanifest +0 -1
  70. package/public/file.svg +0 -1
  71. package/public/globe.svg +0 -1
  72. package/public/ndpr-toolkit-logo.svg +0 -108
  73. package/public/next.svg +0 -1
  74. package/public/vercel.svg +0 -1
  75. package/public/window.svg +0 -1
  76. package/src/app/accessibility.css +0 -70
  77. package/src/app/favicon.ico +0 -0
  78. package/src/app/globals.css +0 -123
  79. package/src/app/layout.tsx +0 -37
  80. package/src/app/ndpr-demos/breach/page.tsx +0 -354
  81. package/src/app/ndpr-demos/consent/page.tsx +0 -366
  82. package/src/app/ndpr-demos/dpia/page.tsx +0 -495
  83. package/src/app/ndpr-demos/dsr/page.tsx +0 -280
  84. package/src/app/ndpr-demos/page.tsx +0 -73
  85. package/src/app/ndpr-demos/policy/page.tsx +0 -771
  86. package/src/app/page.tsx +0 -452
  87. package/src/components/ErrorBoundary.tsx +0 -90
  88. package/src/components/breach-notification/BreachNotificationForm.tsx +0 -479
  89. package/src/components/consent/ConsentBanner.tsx +0 -193
  90. package/src/components/data-subject-rights/DataSubjectRequestForm.tsx +0 -530
  91. package/src/components/dpia/DPIAQuestionnaire.tsx +0 -523
  92. package/src/components/privacy-policy/PolicyGenerator.tsx +0 -1062
  93. package/src/components/privacy-policy/data.ts +0 -98
  94. package/src/components/privacy-policy/shared/CheckboxField.tsx +0 -38
  95. package/src/components/privacy-policy/shared/CheckboxGroup.tsx +0 -85
  96. package/src/components/privacy-policy/shared/FormField.tsx +0 -79
  97. package/src/components/privacy-policy/shared/StepIndicator.tsx +0 -86
  98. package/src/components/privacy-policy/steps/CustomSectionsStep.tsx +0 -361
  99. package/src/components/privacy-policy/steps/DataCollectionStep.tsx +0 -231
  100. package/src/components/privacy-policy/steps/DataSharingStep.tsx +0 -418
  101. package/src/components/privacy-policy/steps/OrganizationInfoStep.tsx +0 -202
  102. package/src/components/privacy-policy/steps/PolicyPreviewStep.tsx +0 -226
  103. package/src/components/ui/Badge.tsx +0 -46
  104. package/src/components/ui/Button.tsx +0 -59
  105. package/src/components/ui/Card.tsx +0 -92
  106. package/src/components/ui/Checkbox.tsx +0 -57
  107. package/src/components/ui/FormField.tsx +0 -50
  108. package/src/components/ui/Input.tsx +0 -38
  109. package/src/components/ui/Loading.tsx +0 -201
  110. package/src/components/ui/Select.tsx +0 -42
  111. package/src/components/ui/TextArea.tsx +0 -38
  112. package/src/components/ui/label.tsx +0 -24
  113. package/src/components/ui/switch.tsx +0 -31
  114. package/src/components/ui/tabs.tsx +0 -66
  115. package/src/hooks/useConsent.ts +0 -70
  116. package/src/hooks/useLoadingState.ts +0 -85
  117. package/src/lib/consentService.ts +0 -144
  118. package/src/lib/dpiaQuestions.ts +0 -188
  119. package/src/lib/requestService.ts +0 -79
  120. package/src/lib/sanitize.ts +0 -108
  121. package/src/lib/storage.ts +0 -222
  122. package/src/lib/utils.ts +0 -6
  123. package/src/types/html-to-docx.d.ts +0 -30
  124. package/src/types/index.ts +0 -77
  125. package/tailwind.config.ts +0 -65
  126. package/tsconfig.json +0 -41
  127. /package/{packages/ndpr-toolkit/dist → dist}/components/breach/BreachNotificationManager.d.ts +0 -0
  128. /package/{packages/ndpr-toolkit/dist → dist}/components/breach/BreachReportForm.d.ts +0 -0
  129. /package/{packages/ndpr-toolkit/dist → dist}/components/breach/BreachRiskAssessment.d.ts +0 -0
  130. /package/{packages/ndpr-toolkit/dist → dist}/components/breach/RegulatoryReportGenerator.d.ts +0 -0
  131. /package/{packages/ndpr-toolkit/dist → dist}/components/consent/ConsentBanner.d.ts +0 -0
  132. /package/{packages/ndpr-toolkit/dist → dist}/components/consent/ConsentManager.d.ts +0 -0
  133. /package/{packages/ndpr-toolkit/dist → dist}/components/consent/ConsentStorage.d.ts +0 -0
  134. /package/{packages/ndpr-toolkit/dist → dist}/components/dpia/DPIAQuestionnaire.d.ts +0 -0
  135. /package/{packages/ndpr-toolkit/dist → dist}/components/dpia/DPIAReport.d.ts +0 -0
  136. /package/{packages/ndpr-toolkit/dist → dist}/components/dpia/StepIndicator.d.ts +0 -0
  137. /package/{packages/ndpr-toolkit/dist → dist}/components/dsr/DSRDashboard.d.ts +0 -0
  138. /package/{packages/ndpr-toolkit/dist → dist}/components/dsr/DSRRequestForm.d.ts +0 -0
  139. /package/{packages/ndpr-toolkit/dist → dist}/components/dsr/DSRTracker.d.ts +0 -0
  140. /package/{packages/ndpr-toolkit/dist → dist}/components/policy/PolicyExporter.d.ts +0 -0
  141. /package/{packages/ndpr-toolkit/dist → dist}/components/policy/PolicyGenerator.d.ts +0 -0
  142. /package/{packages/ndpr-toolkit/dist → dist}/components/policy/PolicyPreview.d.ts +0 -0
  143. /package/{packages/ndpr-toolkit/dist → dist}/hooks/useBreach.d.ts +0 -0
  144. /package/{packages/ndpr-toolkit/dist → dist}/hooks/useConsent.d.ts +0 -0
  145. /package/{packages/ndpr-toolkit/dist → dist}/hooks/useDPIA.d.ts +0 -0
  146. /package/{packages/ndpr-toolkit/dist → dist}/hooks/useDSR.d.ts +0 -0
  147. /package/{packages/ndpr-toolkit/dist → dist}/hooks/usePrivacyPolicy.d.ts +0 -0
  148. /package/{packages/ndpr-toolkit/dist → dist}/index.d.ts +0 -0
  149. /package/{packages/ndpr-toolkit/dist → dist}/setupTests.d.ts +0 -0
  150. /package/{packages/ndpr-toolkit/dist → dist}/types/breach.d.ts +0 -0
  151. /package/{packages/ndpr-toolkit/dist → dist}/types/consent.d.ts +0 -0
  152. /package/{packages/ndpr-toolkit/dist → dist}/types/dpia.d.ts +0 -0
  153. /package/{packages/ndpr-toolkit/dist → dist}/types/dsr.d.ts +0 -0
  154. /package/{packages/ndpr-toolkit/dist → dist}/types/privacy.d.ts +0 -0
  155. /package/{packages/ndpr-toolkit/dist → dist}/utils/breach.d.ts +0 -0
  156. /package/{packages/ndpr-toolkit/dist → dist}/utils/consent.d.ts +0 -0
  157. /package/{packages/ndpr-toolkit/dist → dist}/utils/dpia.d.ts +0 -0
  158. /package/{packages/ndpr-toolkit/dist → dist}/utils/dsr.d.ts +0 -0
  159. /package/{packages/ndpr-toolkit/dist → dist}/utils/privacy.d.ts +0 -0
@@ -1,222 +0,0 @@
1
- "use client";
2
-
3
- /**
4
- * Safe localStorage wrapper with error handling
5
- */
6
- export class SafeStorage {
7
- private static isStorageAvailable(): boolean {
8
- if (typeof window === "undefined") return false;
9
-
10
- try {
11
- const testKey = "__storage_test__";
12
- window.localStorage.setItem(testKey, "test");
13
- window.localStorage.removeItem(testKey);
14
- return true;
15
- } catch {
16
- return false;
17
- }
18
- }
19
-
20
- static getItem<T = unknown>(key: string, defaultValue?: T): T | null {
21
- if (!this.isStorageAvailable()) {
22
- console.warn("localStorage is not available");
23
- return defaultValue ?? null;
24
- }
25
-
26
- try {
27
- const item = window.localStorage.getItem(key);
28
- if (item === null) return defaultValue ?? null;
29
-
30
- // Try to parse as JSON, otherwise return as string
31
- try {
32
- return JSON.parse(item) as T;
33
- } catch {
34
- return item as unknown as T;
35
- }
36
- } catch (error) {
37
- console.error(`Error reading from localStorage: ${key}`, error);
38
- return defaultValue ?? null;
39
- }
40
- }
41
-
42
- static setItem(key: string, value: unknown): boolean {
43
- if (!this.isStorageAvailable()) {
44
- console.warn("localStorage is not available");
45
- return false;
46
- }
47
-
48
- try {
49
- const serialized =
50
- typeof value === "string" ? value : JSON.stringify(value);
51
- window.localStorage.setItem(key, serialized);
52
- return true;
53
- } catch (error) {
54
- if (error instanceof Error) {
55
- if (error.name === "QuotaExceededError") {
56
- console.error("localStorage quota exceeded");
57
- // Try to clear old data
58
- this.clearOldData();
59
- // Retry once
60
- try {
61
- const serialized =
62
- typeof value === "string" ? value : JSON.stringify(value);
63
- window.localStorage.setItem(key, serialized);
64
- return true;
65
- } catch {
66
- console.error("Failed to save after clearing old data");
67
- return false;
68
- }
69
- }
70
- }
71
- console.error(`Error writing to localStorage: ${key}`, error);
72
- return false;
73
- }
74
- }
75
-
76
- static removeItem(key: string): boolean {
77
- if (!this.isStorageAvailable()) {
78
- console.warn("localStorage is not available");
79
- return false;
80
- }
81
-
82
- try {
83
- window.localStorage.removeItem(key);
84
- return true;
85
- } catch (error) {
86
- console.error(`Error removing from localStorage: ${key}`, error);
87
- return false;
88
- }
89
- }
90
-
91
- static clear(): boolean {
92
- if (!this.isStorageAvailable()) {
93
- console.warn("localStorage is not available");
94
- return false;
95
- }
96
-
97
- try {
98
- window.localStorage.clear();
99
- return true;
100
- } catch (error) {
101
- console.error("Error clearing localStorage", error);
102
- return false;
103
- }
104
- }
105
-
106
- /**
107
- * Get storage size in bytes
108
- */
109
- static getStorageSize(): number {
110
- if (!this.isStorageAvailable()) return 0;
111
-
112
- let size = 0;
113
- try {
114
- for (const key in window.localStorage) {
115
- if (window.localStorage.hasOwnProperty(key)) {
116
- size += window.localStorage[key].length + key.length;
117
- }
118
- }
119
- } catch (error) {
120
- console.error("Error calculating storage size", error);
121
- }
122
- return size;
123
- }
124
-
125
- /**
126
- * Clear old data based on timestamp
127
- * Removes items older than specified days
128
- */
129
- static clearOldData(daysOld: number = 30): void {
130
- if (!this.isStorageAvailable()) return;
131
-
132
- const cutoffTime = Date.now() - daysOld * 24 * 60 * 60 * 1000;
133
- const keysToRemove: string[] = [];
134
-
135
- try {
136
- for (const key in window.localStorage) {
137
- if (window.localStorage.hasOwnProperty(key)) {
138
- try {
139
- const item = window.localStorage.getItem(key);
140
- if (item) {
141
- const parsed = JSON.parse(item);
142
- if (parsed.timestamp && parsed.timestamp < cutoffTime) {
143
- keysToRemove.push(key);
144
- }
145
- }
146
- } catch {
147
- // If parsing fails, skip this item
148
- }
149
- }
150
- }
151
-
152
- // Remove old items
153
- keysToRemove.forEach((key) => this.removeItem(key));
154
- } catch (error) {
155
- console.error("Error clearing old data", error);
156
- }
157
- }
158
-
159
- /**
160
- * Wrapper for data with timestamp
161
- */
162
- static setItemWithTimestamp(key: string, value: unknown): boolean {
163
- const wrappedData = {
164
- data: value,
165
- timestamp: Date.now(),
166
- };
167
- return this.setItem(key, wrappedData);
168
- }
169
-
170
- /**
171
- * Get item with timestamp check
172
- */
173
- static getItemWithTimestamp<T = unknown>(
174
- key: string,
175
- maxAge?: number,
176
- ): T | null {
177
- const wrapped = this.getItem<{ data: T; timestamp: number }>(key);
178
- if (!wrapped) return null;
179
-
180
- if (maxAge && wrapped.timestamp) {
181
- const age = Date.now() - wrapped.timestamp;
182
- if (age > maxAge) {
183
- this.removeItem(key);
184
- return null;
185
- }
186
- }
187
-
188
- return wrapped.data;
189
- }
190
- }
191
-
192
- // Retry decorator for storage operations
193
- export function withRetry<T extends (...args: unknown[]) => unknown>(
194
- fn: T,
195
- maxRetries: number = 3,
196
- delay: number = 100,
197
- ): T {
198
- return ((...args: Parameters<T>) => {
199
- let lastError: Error | null = null;
200
-
201
- for (let i = 0; i < maxRetries; i++) {
202
- try {
203
- return fn(...args);
204
- } catch (error) {
205
- lastError = error as Error;
206
- if (i < maxRetries - 1) {
207
- // Wait before retrying
208
- const waitTime = delay * Math.pow(2, i); // Exponential backoff
209
- const start = Date.now();
210
- while (Date.now() - start < waitTime) {
211
- // Busy wait
212
- }
213
- }
214
- }
215
- }
216
-
217
- throw lastError;
218
- }) as T;
219
- }
220
-
221
- // Export a default instance
222
- export const storage = SafeStorage;
package/src/lib/utils.ts DELETED
@@ -1,6 +0,0 @@
1
- import { clsx, type ClassValue } from "clsx"
2
- import { twMerge } from "tailwind-merge"
3
-
4
- export function cn(...inputs: ClassValue[]) {
5
- return twMerge(clsx(inputs))
6
- }
@@ -1,30 +0,0 @@
1
- declare module 'html-to-docx' {
2
- export default function htmlToDocx(
3
- htmlString: string,
4
- options?: {
5
- title?: string;
6
- margin?: {
7
- top?: number;
8
- right?: number;
9
- bottom?: number;
10
- left?: number;
11
- };
12
- header?: {
13
- default?: string;
14
- first?: string;
15
- even?: string;
16
- };
17
- footer?: {
18
- default?: string;
19
- first?: string;
20
- even?: string;
21
- };
22
- pageNumber?: boolean;
23
- orientation?: 'portrait' | 'landscape';
24
- font?: {
25
- family?: string;
26
- size?: number;
27
- };
28
- }
29
- ): Promise<Buffer>;
30
- }
@@ -1,77 +0,0 @@
1
- // Re-export all types from the package
2
- // This ensures consistency between the main app and the package
3
- export * from "@tantainnovative/ndpr-toolkit";
4
- import type { DSRStatus, DSRType } from "@tantainnovative/ndpr-toolkit";
5
-
6
- // Additional app-specific types that extend the package types
7
- export interface AppConfig {
8
- apiUrl?: string;
9
- environment: "development" | "staging" | "production";
10
- features: {
11
- consent: boolean;
12
- dsr: boolean;
13
- dpia: boolean;
14
- breach: boolean;
15
- privacy: boolean;
16
- };
17
- }
18
-
19
- // Legacy type aliases for backward compatibility
20
- // These map old type names to new ones from the package
21
- export type RequestStatus = DSRStatus;
22
- export type RequestType = DSRType;
23
-
24
- // Re-export specific types that might have different names
25
- export type {
26
- ConsentOption,
27
- BreachReport,
28
- RiskAssessment,
29
- NotificationRequirement,
30
- RegulatoryNotification,
31
- DSRRequest as DataSubjectRequest,
32
- DSRStatus,
33
- DSRType,
34
- PrivacyPolicy,
35
- PolicySection,
36
- PolicyTemplate,
37
- PolicyVariable,
38
- OrganizationInfo,
39
- DPIAQuestion as RiskAssessmentQuestion,
40
- DPIASection,
41
- DPIAResult,
42
- } from "@tantainnovative/ndpr-toolkit";
43
-
44
- // Define ConsentType locally since it's not exported from the package
45
- export type ConsentType =
46
- | "necessary"
47
- | "functional"
48
- | "analytics"
49
- | "marketing"
50
- | "preferences";
51
-
52
- // Define BreachSeverity type
53
- export type BreachSeverity = "low" | "medium" | "high" | "critical";
54
-
55
- // Define missing types that are not exported from the package
56
- export interface ConsentRecord {
57
- id: string;
58
- userId?: string;
59
- consents: Record<string, boolean>;
60
- timestamp: Date;
61
- ipAddress?: string;
62
- userAgent?: string;
63
- version: string;
64
- }
65
-
66
- export interface ConsentHistoryEntry {
67
- timestamp: Date;
68
- consents: Record<string, boolean>;
69
- action: "granted" | "revoked" | "updated";
70
- ipAddress?: string;
71
- userAgent?: string;
72
- version: string;
73
- }
74
-
75
- export interface ConsentPreferences {
76
- [key: string]: boolean;
77
- }
@@ -1,65 +0,0 @@
1
- import type { Config } from "tailwindcss";
2
-
3
- const config: Config = {
4
- darkMode: ["class", '[data-theme="dark"]'],
5
- content: [
6
- "./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
7
- "./src/components/**/*.{js,ts,jsx,tsx,mdx}",
8
- "./src/app/**/*.{js,ts,jsx,tsx,mdx}",
9
- ],
10
- theme: {
11
- container: {
12
- center: true,
13
- padding: "2rem",
14
- screens: {
15
- "2xl": "1400px",
16
- },
17
- },
18
- extend: {
19
- colors: {
20
- border: "var(--border)",
21
- input: "var(--input)",
22
- ring: "var(--ring)",
23
- background: "var(--background)",
24
- foreground: "var(--foreground)",
25
- primary: {
26
- DEFAULT: "var(--primary)",
27
- foreground: "var(--primary-foreground)",
28
- },
29
- secondary: {
30
- DEFAULT: "var(--secondary)",
31
- foreground: "var(--secondary-foreground)",
32
- },
33
- destructive: {
34
- DEFAULT: "var(--destructive)",
35
- foreground: "var(--destructive-foreground, var(--foreground))",
36
- },
37
- muted: {
38
- DEFAULT: "var(--muted)",
39
- foreground: "var(--muted-foreground)",
40
- },
41
- accent: {
42
- DEFAULT: "var(--accent)",
43
- foreground: "var(--accent-foreground)",
44
- },
45
- popover: {
46
- DEFAULT: "var(--popover)",
47
- foreground: "var(--popover-foreground)",
48
- },
49
- card: {
50
- DEFAULT: "var(--card)",
51
- foreground: "var(--card-foreground)",
52
- },
53
- },
54
- borderRadius: {
55
- lg: "var(--radius-lg)",
56
- md: "var(--radius-md)",
57
- sm: "var(--radius-sm)",
58
- xl: "var(--radius-xl)",
59
- },
60
- },
61
- },
62
- plugins: [],
63
- };
64
-
65
- export default config;
package/tsconfig.json DELETED
@@ -1,41 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2017",
4
- "lib": [
5
- "dom",
6
- "dom.iterable",
7
- "esnext"
8
- ],
9
- "allowJs": true,
10
- "skipLibCheck": true,
11
- "strict": true,
12
- "noEmit": true,
13
- "esModuleInterop": true,
14
- "module": "esnext",
15
- "moduleResolution": "bundler",
16
- "resolveJsonModule": true,
17
- "isolatedModules": true,
18
- "jsx": "preserve",
19
- "incremental": true,
20
- "plugins": [
21
- {
22
- "name": "next"
23
- }
24
- ],
25
- "paths": {
26
- "@/*": [
27
- "./src/*"
28
- ]
29
- }
30
- },
31
- "include": [
32
- "**/*.ts",
33
- "**/*.tsx",
34
- ".next/types/**/*.ts",
35
- "next-env.d.ts",
36
- "out/types/**/*.ts"
37
- ],
38
- "exclude": [
39
- "node_modules"
40
- ]
41
- }
File without changes