@mbao01/next 0.7.3 → 0.8.1

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": "@mbao01/next",
3
- "version": "0.7.3",
3
+ "version": "0.8.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "author": "Ayomide Bakare",
@@ -15,6 +15,15 @@
15
15
  ],
16
16
  "main": "./src/index.ts",
17
17
  "types": "dist/types/src/index.d.ts",
18
+ "exports": {
19
+ ".": {
20
+ "import": {
21
+ "types": "./dist/types/src/index.d.ts",
22
+ "default": "./src/index.ts"
23
+ }
24
+ },
25
+ "./styles": "./src/stylesheets/index.css"
26
+ },
18
27
  "files": [
19
28
  "src",
20
29
  "dist/types"
@@ -28,90 +37,83 @@
28
37
  "sideEffects": [
29
38
  "*.css"
30
39
  ],
31
- "scripts": {
32
- "clean": "pnpx rimraf node_modules",
33
- "dev": "storybook dev -p 6007",
34
- "build": "next build",
35
- "postbuild": "tsc --project tsconfig.declaration.json",
36
- "build-storybook": "storybook build -o ../../docs/storybook/next",
37
- "lint": "eslint --report-unused-disable-directives --max-warnings 0",
38
- "prettier": "prettier --check \"**/*.{ts,tsx}\"",
39
- "prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
40
- "preview": "next dev",
41
- "prod": "pnpx http-server ../../docs/storybook/next --port 6007",
42
- "start": "next start",
43
- "test": "vitest run",
44
- "test:coverage": "vitest run --coverage",
45
- "test:ui": "vitest --ui",
46
- "test:visual": "test-storybook --url http://127.0.0.1:6007",
47
- "test:visual:coverage": "test-storybook --coverage --url http://127.0.0.1:6007",
48
- "test:visual:ci": "test-storybook --ci --verbose --url http://127.0.0.1:6007",
49
- "test:visual:watch": "test-storybook --watch --url http://127.0.0.1:6007",
50
- "test:watch": "vitest"
51
- },
52
40
  "dependencies": {
53
- "@mbao01/common": "^0.7.3",
54
- "@storybook/nextjs-vite": "^10.1.11",
41
+ "@storybook/nextjs-vite": "^10.2.19",
55
42
  "clsx": "^2.1.1",
56
- "lucide-react": "^0.562.0"
43
+ "lucide-react": "^0.577.0",
44
+ "@mbao01/common": "0.8.1"
57
45
  },
58
46
  "devDependencies": {
59
- "@eslint/eslintrc": "^3.3.3",
60
- "@eslint/js": "^9.39.2",
61
- "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
62
- "@storybook/addon-a11y": "^10.1.11",
47
+ "@eslint/eslintrc": "^3.3.5",
48
+ "@eslint/js": "^9.39.4",
49
+ "@ianvs/prettier-plugin-sort-imports": "^4.7.1",
50
+ "@storybook/addon-a11y": "^10.2.19",
63
51
  "@storybook/addon-coverage": "^3.0.0",
64
- "@storybook/addon-docs": "^10.1.11",
65
- "@storybook/addon-links": "^10.1.11",
66
- "@storybook/addon-onboarding": "^10.1.11",
67
- "@storybook/addon-themes": "^10.1.11",
52
+ "@storybook/addon-docs": "^10.2.19",
53
+ "@storybook/addon-links": "^10.2.19",
54
+ "@storybook/addon-onboarding": "^10.2.19",
55
+ "@storybook/addon-themes": "^10.2.19",
68
56
  "@storybook/test-runner": "^0.24.2",
69
- "@tailwindcss/postcss": "^4.1.18",
57
+ "@tailwindcss/postcss": "^4.2.1",
70
58
  "@testing-library/jest-dom": "^6.9.1",
71
- "@testing-library/react": "^16.3.1",
59
+ "@testing-library/react": "^16.3.2",
72
60
  "@testing-library/user-event": "^14.6.1",
73
- "@types/jest-image-snapshot": "^6.4.0",
74
- "@types/node": "^25.0.3",
75
- "@types/react": "19.2.7",
61
+ "@types/jest-image-snapshot": "^6.4.1",
62
+ "@types/node": "^25.5.0",
63
+ "@types/react": "19.2.14",
76
64
  "@types/react-dom": "19.2.3",
77
- "@typescript-eslint/eslint-plugin": "^8.52.0",
78
- "@typescript-eslint/parser": "^8.52.0",
79
- "@vitejs/plugin-react": "^5.1.2",
65
+ "@typescript-eslint/eslint-plugin": "^8.57.0",
66
+ "@typescript-eslint/parser": "^8.57.0",
67
+ "@vitejs/plugin-react": "^5.2.0",
80
68
  "@vitest/coverage-v8": "^3.2.4",
81
69
  "@vitest/ui": "^3.2.4",
82
70
  "axe-playwright": "^2.2.2",
83
- "eslint": "^9.39.2",
84
- "eslint-config-next": "16.1.1",
71
+ "eslint": "^9.39.4",
72
+ "eslint-config-next": "16.1.6",
85
73
  "eslint-plugin-jsx-a11y": "^6.10.2",
86
74
  "eslint-plugin-react": "^7.37.5",
87
75
  "eslint-plugin-react-hooks": "^7.0.1",
88
76
  "eslint-plugin-react-refresh": "^0.4.26",
89
- "eslint-plugin-storybook": "^10.1.11",
77
+ "eslint-plugin-storybook": "^10.2.19",
90
78
  "globals": "^16.5.0",
91
- "jest-image-snapshot": "^6.5.1",
79
+ "jest-image-snapshot": "^6.5.2",
92
80
  "jsdom": "^27.4.0",
93
- "next": "16.1.1",
81
+ "next": "16.1.6",
94
82
  "next-router-mock": "^1.0.5",
95
83
  "path": "^0.12.7",
96
- "postcss": "^8.5.6",
97
- "prettier": "^3.7.4",
98
- "react": "19.2.3",
99
- "react-dom": "19.2.3",
100
- "react-router-dom": "^7.12.0",
101
- "storybook": "^10.1.11",
102
- "tailwindcss": "^4.1.18",
84
+ "postcss": "^8.5.8",
85
+ "prettier": "^3.8.1",
86
+ "react": "19.2.4",
87
+ "react-dom": "19.2.4",
88
+ "react-router-dom": "^7.13.1",
89
+ "storybook": "^10.2.19",
90
+ "tailwindcss": "^4.2.1",
103
91
  "typescript": "^5.9.3",
104
- "typescript-eslint": "^8.52.0",
92
+ "typescript-eslint": "^8.57.0",
105
93
  "vitest": "^3.2.4"
106
94
  },
107
95
  "peerDependencies": {
108
96
  "next": "16"
109
97
  },
110
- "pnpm": {
111
- "overrides": {
112
- "@types/react": "19.2.7",
113
- "@types/react-dom": "19.2.3"
114
- }
115
- },
116
- "gitHead": "380a94d58461df07134ae4413d365c39705b37f6"
117
- }
98
+ "scripts": {
99
+ "clean": "pnpx rimraf node_modules",
100
+ "dev": "storybook dev -p 6007",
101
+ "build": "next build",
102
+ "postbuild": "tsc --project tsconfig.declaration.json",
103
+ "build-storybook": "storybook build -o ../../docs/storybook/next",
104
+ "lint": "eslint --report-unused-disable-directives --max-warnings 0",
105
+ "prettier": "prettier --check \"**/*.{ts,tsx}\"",
106
+ "prettier:write": "prettier --write \"**/*.{ts,tsx}\"",
107
+ "preview": "next dev",
108
+ "prod": "pnpx http-server ../../docs/storybook/next --port 6007",
109
+ "start": "next start",
110
+ "test": "vitest run",
111
+ "test:coverage": "vitest run --coverage",
112
+ "test:ui": "vitest --ui",
113
+ "test:visual": "test-storybook --url http://127.0.0.1:6007",
114
+ "test:visual:coverage": "test-storybook --coverage --url http://127.0.0.1:6007",
115
+ "test:visual:ci": "test-storybook --ci --verbose --url http://127.0.0.1:6007",
116
+ "test:visual:watch": "test-storybook --watch --url http://127.0.0.1:6007",
117
+ "test:watch": "vitest"
118
+ }
119
+ }
@@ -0,0 +1 @@
1
+ @import "./tailwind.css";
@@ -0,0 +1,3 @@
1
+ @import "tailwindcss";
2
+
3
+ @source "../../src/**/*.{ts,tsx}";