@pinerohit11/testwidget 0.1.52 → 0.1.54
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/global.d.ts +8 -2
- package/next.config.ts +5 -0
- package/package.json +10 -8
package/global.d.ts
CHANGED
@@ -1,3 +1,9 @@
|
|
1
1
|
interface Window {
|
2
|
-
|
3
|
-
|
2
|
+
DatacapWebToken: unknown; // Replace with the actual type of DatacapWebToken if it's not a string
|
3
|
+
}
|
4
|
+
|
5
|
+
declare module 'bootstrap/dist/js/bootstrap.bundle.min.js' {
|
6
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
7
|
+
const content: unknown; // Safest way to type it as any value
|
8
|
+
export default content;
|
9
|
+
}
|
package/next.config.ts
CHANGED
@@ -2,6 +2,11 @@ import type { NextConfig } from "next";
|
|
2
2
|
|
3
3
|
const nextConfig: NextConfig = {
|
4
4
|
/* config options here */
|
5
|
+
// eslint: {
|
6
|
+
// // Warning: This allows production builds to successfully complete even if
|
7
|
+
// // your project has ESLint errors.
|
8
|
+
// ignoreDuringBuilds: true,
|
9
|
+
// },
|
5
10
|
};
|
6
11
|
|
7
12
|
export default nextConfig;
|
package/package.json
CHANGED
@@ -1,21 +1,26 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pinerohit11/testwidget",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.54",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
|
-
"dev": "next dev",
|
6
|
+
"dev": "next dev -p 4001",
|
7
7
|
"build": "next build",
|
8
8
|
"start": "next start",
|
9
9
|
"lint": "next lint",
|
10
10
|
"bundle": "tsup src/app/index.ts"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
+
"axios": "^1.8.0",
|
13
14
|
"bootstrap": "^5.3.3",
|
15
|
+
"credit-card-type": "^10.0.1",
|
14
16
|
"next": "15.0.3",
|
15
17
|
"node-forge": "^1.3.1",
|
16
18
|
"react": "18.3.1",
|
17
19
|
"react-bootstrap": "^2.10.5",
|
18
|
-
"react-
|
20
|
+
"react-bs-datatable": "^3.15.0",
|
21
|
+
"react-datepicker": "^7.6.0",
|
22
|
+
"react-dom": "18.3.1",
|
23
|
+
"react-toastify": "^10.0.6"
|
19
24
|
},
|
20
25
|
"peerdependencies": {
|
21
26
|
"next": "15.0.3",
|
@@ -23,20 +28,17 @@
|
|
23
28
|
"react-dom": "18.3.1"
|
24
29
|
},
|
25
30
|
"devDependencies": {
|
31
|
+
"@types/bootstrap": "^5.2.10",
|
26
32
|
"@types/node": "^20",
|
27
33
|
"@types/node-forge": "^1.3.11",
|
28
34
|
"@types/react": "^18",
|
29
35
|
"@types/react-dom": "^18",
|
30
|
-
"credit-card-type": "^10.0.1",
|
31
36
|
"eslint": "^8",
|
32
37
|
"eslint-config-next": "15.0.3",
|
33
|
-
"react-bs-datatable": "^3.15.0",
|
34
|
-
"react-datepicker": "^7.5.0",
|
35
|
-
"react-toastify": "^10.0.6",
|
36
38
|
"tsup": "^8.3.5",
|
37
39
|
"typescript": "^5"
|
38
40
|
},
|
39
|
-
"author": "
|
41
|
+
"author": "Mukul",
|
40
42
|
"license": "MIT",
|
41
43
|
"keywords": [
|
42
44
|
"nextjs",
|